This commit was manufactured by cvs2svn to create tag 'd2x-0_1_2'.
[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)/includes -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 endif
16
17 if EDITOR
18 EDITOR_SRCS = bmread.c
19 endif
20
21 if SHAREWARE
22 SHAREWARE_SRCS = terrain.c
23 endif
24
25 if MOVIE_TRICK
26 MOVIE_SRCS = movie.c
27 endif
28
29 libmain_a_SOURCES = \
30 ${EDITOR_SRCS} ${NETWORK_SRCS} ${SHAREWARE_SRCS} ${MOVIE_SRCS} \
31 ai.c        gamerend.c  lighting.c  paging.c    switch.c \
32 ai2.c       effects.c   gamesave.c  menu.c      physics.c   texmerge.c \
33 aipath.c    endlevel.c  gameseg.c   mglobal.c   piggy.c     text.c \
34 automap.c   escort.c    gameseq.c   mission.c   playsave.c  titles.c \
35 bm.c        fireball.c  gauges.c    morph.c     polyobj.c   vclip.c \
36 fuelcen.c   hostage.c   powerup.c   wall.c \
37 cntrlcen.c  fvi.c       hud.c       render.c    weapon.c \
38 collide.c   game.c      inferno.c   netmisc.c   robot.c \
39 config.c    gamecntl.c  kconfig.c   scores.c \
40 controls.c  gamefont.c  kludge.c    newdemo.c   slew.c \
41 credits.c   gamemine.c  newmenu.c   songs.c \
42 crypt.c     gamepal.c   laser.c     object.c    state.c \
43 console.c   cmd.c
44
45 EXTRA_libmain_a_SOURCES = \
46 ipx_drv.c kmatrix.c multi.c multibot.c network.c \
47 bmread.c \
48 terrain.c \
49 movie.c
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 \
59 inferno.h joydefs.h kconfig.h kmatrix.h laser.h lighting.h menu.h mission.h \
60 modem.h morph.h movie.h multi.h multibot.h netmisc.h network.h newdemo.h \
61 newmenu.h object.h paging.h physics.h piggy.h player.h playsave.h polyobj.h \
62 powerup.h render.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 ipx_drv.c