This commit was manufactured by cvs2svn to create branch
[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 if USE_NETWORK
12 NETWORK_SRCS = kmatrix.c multi.c multibot.c network.c netmisc.c
13 endif
14
15 if EDITOR
16 EDITOR_SRCS = bmread.c
17 endif
18
19 libmain_a_SOURCES = ${EDITOR_SRCS} ${NETWORK_SRCS} \
20 ai.c        ai2.c       aipath.c    automap.c   bm.c        \
21 cmd.c       cntrlcen.c  collide.c   config.c    console.c   \
22 controls.c  credits.c   crypt.c     effects.c   endlevel.c  \
23 escort.c    fireball.c  fuelcen.c   fvi.c       game.c      \
24 gamecntl.c  gamefont.c  gamemine.c  gamepal.c   gamerend.c  \
25 gamesave.c  gameseg.c   gameseq.c   gauges.c    hostage.c   \
26 hud.c       inferno.c   kconfig.c   kludge.c    laser.c     \
27 lighting.c  menu.c      mglobal.c   mission.c   morph.c     \
28 movie.c     \
29 newdemo.c   newmenu.c   object.c    paging.c    physics.c   \
30 piggy.c     player.c    playsave.c  polyobj.c   powerup.c   \
31 render.c    robot.c     scores.c    segment.c   slew.c      \
32 songs.c     state.c     switch.c    terrain.c   texmerge.c  \
33 text.c      titles.c    vclip.c     wall.c      weapon.c
34
35 EXTRA_libmain_a_SOURCES = \
36 kmatrix.c multi.c multibot.c network.c netmisc.c \
37 bmread.c
38
39 EXTRA_DIST = ${EXTRA_SUBDIRS} \
40 descent.cfg inferno.ini \
41 link.bat \
42 ai.h aistruct.h automap.h bm.h bmread.h cntrlcen.h collide.h \
43 compbit.h config.h controls.h credits.h desc_id.h desw.h digi.h \
44 effects.h endlevel.h escort.h \
45 fireball.h fuelcen.h fvi.h fvi_a.h game.h gamefont.h gamemine.h \
46 gamepal.h gamesave.h gameseg.h gameseq.h gamestat.h gauges.h \
47 hostage.h hudmsg.h inferno.h joydefs.h kconfig.h \
48 kmatrix.h laser.h lighting.h menu.h mission.h modem.h morph.h movie.h multi.h \
49 multibot.h netmisc.h network.h newdemo.h newmenu.h \
50 object.h paging.h physics.h piggy.h player.h playsave.h polyobj.h powerup.h \
51 render.h reorder.h robot.h scores.h screens.h segment.h segpoint.h slew.h \
52 songs.h sounds.h state.h switch.h terrain.h texmerge.h text.h textures.h \
53 titles.h vclip.h vers_id.h wall.h weapon.h \
54 dumpmine.c joydefs.c