Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

COMPILING 1.35 KB
Newer Older
deuce's avatar
deuce committed
1 2 3 4 5 6 7 8 9 10
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
deuce's avatar
deuce committed
11
src/sbbs3/sexyz.h
deuce's avatar
deuce committed
12 13 14 15 16 17 18
src/smblib/crc16.c
src/smblic/crc16.h
src/smblib/crc32.c
src/smblic/crc32.h
src/syncterm/*
src/uifc/*
src/xpdev/*
deuce's avatar
deuce committed
19
src/comio/*
deuce's avatar
deuce committed
20 21 22 23 24 25

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".

26 27 28 29 30 31 32 33
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 ..`

deuce's avatar
deuce committed
34 35
Refer to src/build/Common.gmake or src/build/Common.bmake for details of some
of the make options the build system supports.
deuce's avatar
deuce committed
36 37

Release builds for Mac OS X use the following command line:
deuce's avatar
deuce committed
38
make USE_SDL_AUDIO=1 STATIC_SDL=1 RELEASE=1 PREFIX=/usr
39 40 41

The package is generated and copied do a disk image which is then converted
with the following command:
42
hdiutil convert ~/Desktop/SyncTERM.dmg -format UDRO -o /synchronet/sbbs/web/root/syncterm.bbsdev.net/SyncTERM.dmg