2001-10-25 02:27:57 +00:00
|
|
|
SUBDIRS = @D2X_MAIN_SUBDIRS@
|
2001-01-24 11:11:07 +00:00
|
|
|
|
2001-10-25 02:27:57 +00:00
|
|
|
DIST_SUBDIRS = editor
|
|
|
|
|
|
|
|
EXTRA_SUBDIRS = old
|
2001-10-19 09:37:48 +00:00
|
|
|
|
2001-10-25 02:27:57 +00:00
|
|
|
noinst_LIBRARIES = libmain.a
|
2001-01-19 03:30:16 +00:00
|
|
|
|
2001-01-29 14:09:49 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)/includes -I$(top_srcdir)/arch/include
|
|
|
|
|
2001-11-27 20:00:51 +00:00
|
|
|
CFLAGS += -fwritable-strings
|
2001-10-25 02:27:57 +00:00
|
|
|
|
2001-10-19 00:30:31 +00:00
|
|
|
if USE_NETWORK
|
2002-02-13 10:45:49 +00:00
|
|
|
NETWORK_SRCS = ipx_drv.c kmatrix.c multi.c multibot.c network.c ipclienc.c \
|
|
|
|
ip_base.cpp ipclient.cpp netlist.c netpkt.c multipow.c
|
2001-10-19 00:30:31 +00:00
|
|
|
endif
|
|
|
|
|
2001-10-23 21:51:50 +00:00
|
|
|
if EDITOR
|
|
|
|
EDITOR_SRCS = bmread.c
|
|
|
|
endif
|
|
|
|
|
2001-11-11 23:38:18 +00:00
|
|
|
if SHAREWARE
|
|
|
|
SHAREWARE_SRCS = terrain.c
|
|
|
|
endif
|
|
|
|
|
2002-01-18 07:26:54 +00:00
|
|
|
if MOVIE_TRICK
|
|
|
|
MOVIE_SRCS = movie.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
libmain_a_SOURCES = \
|
|
|
|
${EDITOR_SRCS} ${NETWORK_SRCS} ${SHAREWARE_SRCS} ${MOVIE_SRCS} \
|
2001-10-12 00:18:40 +00:00
|
|
|
ai.c gamerend.c lighting.c paging.c switch.c \
|
2001-01-19 03:30:16 +00:00
|
|
|
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 \
|
2001-10-23 21:51:50 +00:00
|
|
|
fuelcen.c hostage.c powerup.c wall.c \
|
|
|
|
cntrlcen.c fvi.c hud.c render.c weapon.c \
|
2001-01-19 03:30:16 +00:00
|
|
|
collide.c game.c inferno.c netmisc.c robot.c \
|
2001-10-23 22:03:03 +00:00
|
|
|
config.c gamecntl.c kconfig.c scores.c \
|
2001-01-19 03:30:16 +00:00
|
|
|
controls.c gamefont.c kludge.c newdemo.c slew.c \
|
2001-10-23 21:51:50 +00:00
|
|
|
credits.c gamemine.c newmenu.c songs.c \
|
2001-01-19 03:30:16 +00:00
|
|
|
crypt.c gamepal.c laser.c object.c state.c \
|
2001-11-11 23:38:18 +00:00
|
|
|
console.c cmd.c
|
2001-01-19 03:30:16 +00:00
|
|
|
|
2001-11-13 22:44:52 +00:00
|
|
|
EXTRA_libmain_a_SOURCES = \
|
2002-02-13 10:45:49 +00:00
|
|
|
ipx_drv.c kmatrix.c multi.c multibot.c network.c netpkt.c \
|
|
|
|
bmread.c terrain.c movie.c ipclienc.c netlist.c multipow.c \
|
|
|
|
ip_base.cpp ipclient.cpp
|
2001-11-13 22:44:52 +00:00
|
|
|
|
2001-10-20 03:11:35 +00:00
|
|
|
EXTRA_DIST = ${EXTRA_SUBDIRS} \
|
2001-01-24 11:11:07 +00:00
|
|
|
descent.cfg inferno.ini \
|
|
|
|
link.bat \
|
|
|
|
ai.h aistruct.h automap.h bm.h bmread.h cdrom.h cntrlcen.h collide.h \
|
|
|
|
compbit.h config.h controls.h credits.h desc_id.h desw.h digi.h effects.h \
|
|
|
|
endlevel.h fireball.h fuelcen.h fvi.h fvi_a.h game.h gamefont.h gamemine.h \
|
|
|
|
gamepal.h gamesave.h gameseg.h gameseq.h gamestat.h gauges.h hostage.h \
|
2002-02-13 10:45:49 +00:00
|
|
|
hudmsg.h inferno.h ip_base.h ip_basec.h ipclient.h joydefs.h kconfig.h \
|
|
|
|
kmatrix.h laser.h lighting.h menu.h mission.h modem.h morph.h movie.h multi.h \
|
|
|
|
multibot.h multipow.h netmisc.h netpkt.h network.h newdemo.h newmenu.h \
|
|
|
|
object.h paging.h physics.h piggy.h player.h playsave.h polyobj.h powerup.h \
|
|
|
|
render.h reorder.h robot.h scores.h screens.h segment.h segpoint.h slew.h \
|
2001-01-24 11:11:07 +00:00
|
|
|
songs.h sounds.h state.h switch.h terrain.h texmerge.h text.h textures.h \
|
|
|
|
titles.h vclip.h vers_id.h wall.h weapon.h \
|
2002-02-13 10:45:49 +00:00
|
|
|
dumpmine.c \
|
|
|
|
ipserver.cpp
|
|
|
|
|