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