]> icculus.org git repositories - btb/d2x.git/blob - main/Makefile.am
deb stuff
[btb/d2x.git] / main / Makefile.am
1 SUBDIRS = @D2X_MAIN_SUBDIRS@
2
3 DIST_SUBDIRS = editor
4
5 EXTRA_SUBDIRS = old
6
7 noinst_LIBRARIES = libmain.a
8
9 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/arch/include
10
11 CFLAGS += -fwritable-strings
12
13 if USE_NETWORK
14 NETWORK_SRCS = ipx_drv.c kmatrix.c multi.c multibot.c network.c
15 #               ipclienc.c ip_base.cpp ipclient.cpp netlist.c netpkt.c multipow.c
16 endif
17
18 if EDITOR
19 EDITOR_SRCS = bmread.c
20 endif
21
22 if SHAREWARE
23 SHAREWARE_SRCS = terrain.c
24 endif
25
26 if MOVIE_TRICK
27 MOVIE_SRCS = movie.c
28 endif
29
30 libmain_a_SOURCES = \
31 ${EDITOR_SRCS} ${NETWORK_SRCS} ${SHAREWARE_SRCS} ${MOVIE_SRCS} \
32 ai.c        gamerend.c  lighting.c  paging.c    switch.c \
33 ai2.c       effects.c   gamesave.c  menu.c      physics.c   texmerge.c \
34 aipath.c    endlevel.c  gameseg.c   mglobal.c   piggy.c     text.c \
35 automap.c   escort.c    gameseq.c   mission.c   playsave.c  titles.c \
36 bm.c        fireball.c  gauges.c    morph.c     polyobj.c   vclip.c \
37 fuelcen.c   hostage.c   powerup.c   wall.c \
38 cntrlcen.c  fvi.c       hud.c       render.c    weapon.c \
39 collide.c   game.c      inferno.c   netmisc.c   robot.c \
40 config.c    gamecntl.c  kconfig.c   scores.c \
41 controls.c  gamefont.c  kludge.c    newdemo.c   slew.c \
42 credits.c   gamemine.c  newmenu.c   songs.c \
43 crypt.c     gamepal.c   laser.c     object.c    state.c \
44 console.c   cmd.c
45
46 EXTRA_libmain_a_SOURCES = \
47 ipx_drv.c kmatrix.c multi.c multibot.c network.c netpkt.c \
48 bmread.c terrain.c movie.c ipclienc.c netlist.c multipow.c \
49 ip_base.cpp ipclient.cpp
50
51 EXTRA_DIST = ${EXTRA_SUBDIRS} \
52 descent.cfg inferno.ini \
53 link.bat \
54 ai.h aistruct.h automap.h bm.h bmread.h cdrom.h cntrlcen.h collide.h \
55 compbit.h config.h controls.h credits.h desc_id.h desw.h digi.h effects.h \
56 endlevel.h fireball.h fuelcen.h fvi.h fvi_a.h game.h gamefont.h gamemine.h \
57 gamepal.h gamesave.h gameseg.h gameseq.h gamestat.h gauges.h hostage.h \
58 hudmsg.h inferno.h ip_base.h ip_basec.h ipclient.h joydefs.h kconfig.h \
59 kmatrix.h laser.h lighting.h menu.h mission.h modem.h morph.h movie.h multi.h \
60 multibot.h multipow.h netmisc.h netpkt.h network.h newdemo.h newmenu.h \
61 object.h paging.h physics.h piggy.h player.h playsave.h polyobj.h powerup.h \
62 render.h reorder.h robot.h scores.h screens.h segment.h segpoint.h slew.h \
63 songs.h sounds.h state.h switch.h terrain.h texmerge.h text.h textures.h \
64 titles.h vclip.h vers_id.h wall.h weapon.h \
65 dumpmine.c \
66 ipserver.cpp
67