attempt to support d1 for mac mission
[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    hoard.c     \
26 hostage.c   \
27 hud.c       inferno.c   kconfig.c   kludge.c    laser.c     \
28 lighting.c  menu.c      mglobal.c   mission.c   morph.c     \
29 movie.c     mvelib.c    mve_audio.c mveplay.c   \
30 newdemo.c   newmenu.c   object.c    paging.c    physics.c   \
31 piggy.c     player.c    playsave.c  polyobj.c   powerup.c   \
32 render.c    robot.c     scores.c    segment.c   slew.c      \
33 songs.c     state.c     switch.c    terrain.c   texmerge.c  \
34 text.c      titles.c    vclip.c     wall.c      weapon.c
35
36 EXTRA_libmain_a_SOURCES = \
37 kmatrix.c multi.c multibot.c network.c \
38 bmread.c
39
40 EXTRA_DIST = ${EXTRA_SUBDIRS} \
41 descent.cfg inferno.ini \
42 link.bat \
43 ai.h aistruct.h automap.h bm.h bmread.h cntrlcen.h collide.h \
44 compbit.h config.h controls.h credits.h desc_id.h desw.h digi.h effects.h \
45 endlevel.h 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 hoard.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 \
55 ipserver.cpp
56