1 EXTRA_SUBDIRS = editor old
3 CFLAGS += -fwritable-strings
5 INCLUDES = -I$(top_srcdir)/includes -I$(top_srcdir)/arch/include
7 bin_PROGRAMS = @TARGETS@
9 EXTRA_PROGRAMS = d2x d2x-sdl d2x-ogl d2x-svga d2x-ggi
11 LDFLAGS = -export-dynamic
14 ARCH_LIBS = ../arch/win32/libarch_win32.a
19 d2x_LDADD = ${ARCH_LIBS} ../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
23 d2x_sdl_LDADD = ${d2x_LDADD} ${SDL_LIBS} -lwsock32
25 d2x_sdl_LDADD = ${d2x_LDADD} ${SDL_LIBS}
28 d2x_sdl_LDADD = ${d2x_LDADD} -lm -ldl -lpthread ${SDL_LIBS}
30 d2x_ogl_LDADD = ${d2x_sdl_LDADD} ${OGL_LIBS}
31 d2x_svga_LDADD = ${d2x_sdl_LDADD} ${SVGA_LIBS}
32 d2x_ggi_LDADD = ${d2x_sdl_LDADD} ${GGI_LIBS}
35 NETWORK_SRCS = ipx_drv.c
40 d2x_SOURCES = ${NETWORK_SRCS} \
41 ai.c gamerend.c lighting.c paging.c switch.c \
42 ai2.c effects.c gamesave.c menu.c physics.c texmerge.c \
43 aipath.c endlevel.c gameseg.c mglobal.c piggy.c text.c \
44 automap.c escort.c gameseq.c mission.c playsave.c titles.c \
45 bm.c fireball.c gauges.c morph.c polyobj.c vclip.c \
46 bmread.c fuelcen.c hostage.c multi.c powerup.c wall.c \
47 cntrlcen.c fvi.c hud.c multibot.c render.c weapon.c \
48 collide.c game.c inferno.c netmisc.c robot.c \
49 config.c gamecntl.c kconfig.c network.c scores.c \
50 controls.c gamefont.c kludge.c newdemo.c slew.c \
51 credits.c gamemine.c kmatrix.c newmenu.c songs.c \
52 crypt.c gamepal.c laser.c object.c state.c \
55 d2x_sdl_SOURCES = ${d2x_SOURCES}
56 d2x_ogl_SOURCES = ${d2x_SOURCES}
57 d2x_svga_SOURCES = ${d2x_SOURCES}
58 d2x_ggi_SOURCES = ${d2x_SOURCES}
61 descent.cfg inferno.ini \
63 ai.h aistruct.h automap.h bm.h bmread.h cdrom.h cntrlcen.h collide.h \
64 compbit.h config.h controls.h credits.h desc_id.h desw.h digi.h effects.h \
65 endlevel.h fireball.h fuelcen.h fvi.h fvi_a.h game.h gamefont.h gamemine.h \
66 gamepal.h gamesave.h gameseg.h gameseq.h gamestat.h gauges.h hostage.h \
67 inferno.h joydefs.h kconfig.h kmatrix.h laser.h lighting.h menu.h mission.h \
68 modem.h morph.h movie.h multi.h multibot.h netmisc.h network.h newdemo.h \
69 newmenu.h object.h paging.h physics.h piggy.h player.h playsave.h polyobj.h \
70 powerup.h render.h robot.h scores.h screens.h segment.h segpoint.h slew.h \
71 songs.h sounds.h state.h switch.h terrain.h texmerge.h text.h textures.h \
72 titles.h vclip.h vers_id.h wall.h weapon.h \
76 list='$(EXTRA_SUBDIRS)'; for subdir in $$list; do \
77 ( cd $(srcdir) && tar --exclude=CVS -cf - $$subdir ) \
78 | ( cd $(distdir) && tar xf - ) \