2001-01-19 03:34:09 +00:00
|
|
|
INCLUDES = -I $(top_srcdir)/includes -fwritable-strings
|
2001-01-19 03:30:16 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = d2x
|
|
|
|
|
|
|
|
d2x_SOURCES = \
|
|
|
|
ai.c gamerend.c lighting.c paging.c switch.c \
|
|
|
|
ai2.c effects.c gamesave.c menu.c physics.c texmerge.c \
|
|
|
|
aipath.c endlevel.c gameseg.c mglobal.c piggy.c text.c \
|
|
|
|
automap.c escort.c gameseq.c mission.c playsave.c titles.c \
|
|
|
|
bm.c fireball.c gauges.c morph.c polyobj.c vclip.c \
|
|
|
|
bmread.c fuelcen.c hostage.c multi.c powerup.c wall.c \
|
|
|
|
cntrlcen.c fvi.c hud.c multibot.c render.c weapon.c \
|
|
|
|
collide.c game.c inferno.c netmisc.c robot.c \
|
|
|
|
config.c gamecntl.c kconfig.c network.c scores.c \
|
|
|
|
controls.c gamefont.c kludge.c newdemo.c slew.c \
|
|
|
|
credits.c gamemine.c kmatrix.c newmenu.c songs.c \
|
|
|
|
crypt.c gamepal.c laser.c object.c state.c \
|
|
|
|
console.c cmd.c
|
|
|
|
|
|
|
|
|
|
|
|
d2x_LDFLAGS = -export-dynamic
|
2001-01-19 03:34:09 +00:00
|
|
|
|
|
|
|
if ENV_DJGPP
|
|
|
|
d2x_LDADD = ../3d/lib3d.a ../2d/lib2d.a ../mem/libmem.a ../cfile/libcfile.a ../iff/libiff.a ../texmap/libtexmap.a ../misc/libmisc.a ../maths/libmaths.a ../video/libvideo.a ../arch/libarch.a ../sound/libsound.a ../input/libinput.a
|
|
|
|
|
2001-01-19 03:30:16 +00:00
|
|
|
else
|
2001-01-22 15:50:21 +00:00
|
|
|
d2x_LDADD = ../3d/lib3d.a ../2d/lib2d.a ../mem/libmem.a ../cfile/libcfile.a ../iff/libiff.a ../texmap/libtexmap.a ../misc/libmisc.a ../maths/libmaths.a ../arch/libarch.a ../video/libvideo.a ../sound/libsound.a ../input/libinput.a -lm -ldl -lpthread ${SDL_LIBS}
|
|
|
|
|
|
|
|
if USE_OPENGL
|
|
|
|
d2x_LDADD += ${OGL_LIBS} -lgii -L/usr/X11R6/lib -lXext
|
|
|
|
endif
|
|
|
|
|
2001-01-22 13:39:54 +00:00
|
|
|
if USE_SVGALIB
|
2001-01-22 15:50:21 +00:00
|
|
|
d2x_LDADD += ${SVGA_LIBS}
|
2001-01-22 13:39:54 +00:00
|
|
|
endif
|
2001-01-22 15:50:21 +00:00
|
|
|
|
|
|
|
if USE_GGI
|
|
|
|
d2x_LDADD += ${GGI_LIBS}
|
2001-01-19 03:34:09 +00:00
|
|
|
endif
|
2001-01-22 15:50:21 +00:00
|
|
|
|
2001-01-19 03:30:16 +00:00
|
|
|
endif
|