1 #####################################################################
6 if $(DEBUG) { DEFINES += DEBUG_BUILD ; }
10 Echo "MSG: using local saves" ;
11 DEFINES += LOCAL_SAVES ;
15 if $(DISABLE_IMLIB2) {
17 Echo "MSG: disabling imlib2" ;
23 if $(DISABLE_LIBPNG) {
25 Echo "MSG: disabling libpng" ;
32 Echo "MSG: sound support enabled" ;
33 #LINKLIBS += -lSDL_mixer ;
34 #C++LINKLIBS += -lSDL_mixer ;
36 Echo "MSG: sound support disabled; USE_SOUND=1 will enable it" ;
37 DEFINES += DISABLE_SOUND ;
42 Echo "MSG: imlib2 found" ;
43 lib-config "pkg-config imlib2" ;
44 DEFINES += HAVE_IMLIB2 ;
49 Echo "MSG: libpng found" ;
50 lib-config "pkg-config libpng" ;
51 DEFINES += HAVE_LIBPNG ;
55 if $(HAVE_IMLIB2) || $(HAVE_LIBPNG) {
56 if $(ENABLE_PNG_SHOTS) {
57 Echo "MSG: savegame screenshots will be in PNG format" ;
59 Echo "MSG: savegame screenshots will be in internal format" ;
60 DEFINES += SGAME_SHOTS_IPU ;
64 if $(WINDOZE) { HAVE_ZLIB = tan ; }
65 if $(WINDOZE) { HAVE_ZLIB = ; }
67 if $(HAVE_ZLIB) && ! $(DISABLE_ZLIB) {
68 Echo "MSG: support for compressed saves turned on" ;