equal
deleted
inserted
replaced
43 # WIN32: building on Windows |
43 # WIN32: building on Windows |
44 # UNIX: building on *nix derivate (Linux, FreeBSD) |
44 # UNIX: building on *nix derivate (Linux, FreeBSD) |
45 # OSX: building on Mac OS X |
45 # OSX: building on Mac OS X |
46 # MORPHOS: building on MorphOS |
46 # MORPHOS: building on MorphOS |
47 # BEOS: building on BeOS |
47 # BEOS: building on BeOS |
|
48 # SUNOS: building on SunOS (Solaris) |
48 # |
49 # |
49 # Summary of library choice defines |
50 # Summary of library choice defines |
50 # WITH_ZLIB: savegames using zlib |
51 # WITH_ZLIB: savegames using zlib |
51 # WITH_PNG: screenshots using PNG |
52 # WITH_PNG: screenshots using PNG |
52 # WITH_SDL: SDL video driver support |
53 # WITH_SDL: SDL video driver support |
240 REV_NUMBER := $(shell if test -d .svn; then svnversion . | tr -dc 0-9; fi) |
241 REV_NUMBER := $(shell if test -d .svn; then svnversion . | tr -dc 0-9; fi) |
241 |
242 |
242 ifdef RELEASE |
243 ifdef RELEASE |
243 REV:=$(RELEASE) |
244 REV:=$(RELEASE) |
244 else |
245 else |
245 REV := $(shell if test -d .svn; then echo -n r; svnversion .; fi) |
246 REV := $(shell if test -d .svn; then svnversion . | awk '{ print "r"$0 }'; fi) |
246 tmp_test:=$(shell echo "$(REV)" | grep "M" ) |
247 tmp_test:=$(shell echo "$(REV)" | grep "M" ) |
247 ifdef tmp_test |
248 ifdef tmp_test |
248 REV_NUMBER:=1 |
249 REV_NUMBER:=1 |
249 endif |
250 endif |
250 endif |
251 endif |
336 LDFLAGS += -lmidi -lbe |
337 LDFLAGS += -lmidi -lbe |
337 ifdef WITH_NETWORK |
338 ifdef WITH_NETWORK |
338 ifdef BEOS_NET_SERVER |
339 ifdef BEOS_NET_SERVER |
339 CDEFS += -DBEOS_NET_SERVER |
340 CDEFS += -DBEOS_NET_SERVER |
340 endif |
341 endif |
|
342 endif |
|
343 endif |
|
344 |
|
345 ifdef SUNOS |
|
346 CDEFS += -DSUNOS |
|
347 ifdef WITH_NETWORK |
|
348 LDFLAGS += -lnsl -lsocket |
341 endif |
349 endif |
342 endif |
350 endif |
343 |
351 |
344 # SDL config |
352 # SDL config |
345 ifdef WITH_SDL |
353 ifdef WITH_SDL |