Newer
Older
To build SyncTERM, you *will need* the following bits from the Synchronet CVS
tree:
src/build/*
src/conio/*
src/sbbs3/telnet.c
src/sbbs3/telnet.h
src/sbbs3/zmodem.c
src/sbbs3/zmodem.h
src/sbbs3/xmodem.h
3rdp/build/Common.gmake
3rdp/build/Common.make
3rdp/build/GNUmakefile
3rdp/build/targets.mk
3rdp/dist/cryptlib.zip
The directory structure under src *must* be kept intact. Once you have all
this in place, a simple "make" should build everything you need. If you're
using *nix you must use GNU Make... under some systems (Such a most BSDs) this
is optional and installed as "gmake" rather than "make".
When building from the source archive, need to set SRC_ROOT to the extracted
path name to locate the bundled 3rd party sources like so:
make SRC_ROOT=/path/to/syncterm-20120226
This can be done using backticks as well:
make SRC_ROOT=`cd .. ; pwd`
or:
make SRC_ROOT=`realpath ..`
Refer to src/build/Common.gmake or src/build/Common.bmake for details of some
of the make options the build system supports.
Release builds for Mac OS X use the following command line:
make RELEASE=1 USE_SDL_AUDIO=1 PREFIX=/usr
The package is generated and copied do a disk image which is then converted
with the following command:
hdiutil convert ~/Desktop/SyncTERM.dmg -format UDRO -o /Volumes/Synchronet/sbbs/web/root/syncterm.bbsdev.net/SyncTERM.dmg -ov
Release builds for Win32 using MinGW32 use the following command line:
gmake CC=mingw32-gcc VERBOSE=please AR=mingw32-ar AS=mingw32-as RANLIB=mingw32-ranlib RELEASE=1 CXX=mingw32-g++ WINDRES=mingw32-windres
Release builds of jsdoor (not related at all)
gmake jsdoor NO_LD_RUN_PATH=dumbass CC=mingw32-gcc VERBOSE=please AR=mingw32-ar AS=mingw32-as RANLIB=mingw32-ranlib RELEASE=1 CXX=mingw32-g++ WINDRES=mingw32-windres JSLIBDIR=../../3rdp/win32.release/mozjs/bin/ JSINCLUDE=../../3rdp/win32.release/mozjs/include/ JSLIB=mozjs