Source

oclegacy / build.bat

Full commit
@Echo off
rem Copyright (C) 2001-2004 Daybo Logic.
rem All rights reserved.

rem Redistribution and use in source and binary forms, with or without
rem modification, are permitted provided that the following conditions
rem are met:
rem 1. Redistributions of source code must retain the above copyright
rem    notice, this list of conditions and the following disclaimer.
rem 2. Redistributions in binary form must reproduce the above copyright
rem    notice, this list of conditions and the following disclaimer in the
rem    documentation and/or other materials provided with the distribution.
rem 3. Neither the name of the project nor the names of its contributors
rem    may be used to endorse or promote products derived from this software
rem    without specific prior written permission.

rem THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
rem ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
rem IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
rem ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
rem FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
rem DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
rem OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
rem HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
rem LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
rem OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
rem SUCH DAMAGE.

rem $Id: build.bat,v 0.2 2004/02/05 12:00:00 ddrp Exp $

echo Welcome to OverChat
echo (C) Copyright 2001-2004 Daybo Logic - www.daybologic.co.uk
echo for more information visit www.overchat.org
echo.
echo This program will attempt to compile the OverChat server,
echo first, please take a moment to review the license terms.
pause
cls
more < LICENSE
pause
cls
echo Attention!  Attention!  Attention!
echo ----------------------------------
echo You are about to Build OVERCHAT.  A chat server written by David
echo Duncan Ross Palmer of Daybo Logic.  DDRP (daybologic.co.uk/mailddrp)
echo.
echo You will need Borland C++ on the path in order to perform the
echo compilation.  It is assumed that you are building on Windows NT.
echo Windows 9x may work but some areas of the build may fail and some
echo of the resulting binaries may fail.
echo If you can find satisfactory fixes for this, please send them!
echo You can use my mailer page (above) or you can visit www.overchat.org
echo and submit them to the appropriate maintainer.
echo.
echo DOS, or a 16-bit C++ compiler are not good enough for this build
echo process.
echo.
echo The build may take some time.
echo.
pause
cd configure
call build.bat
configure --disable-debug --without-tv
cd ..
make -f Makefile.bor
echo.
echo Review the above message, if the build was successful you will find many
echo programs scattered around.  The following EXE programs were produced:
dir *.exe /s /b