portable-izing file loading routines
[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 = ipx_drv.c kmatrix.c multi.c multibot.c network.c
13 #               ipclienc.c ip_base.cpp ipclient.cpp netlist.c netpkt.c multipow.c
14 endif
15
16 if EDITOR
17 EDITOR_SRCS = bmread.c
18 endif
19
20 if SHAREWARE
21 SHAREWARE_SRCS = terrain.c
22 endif
23
24 MOVIE_SRCS = movie.c mvelib.c mve_audio.c mveplay.c
25
26 libmain_a_SOURCES = \
27 ${EDITOR_SRCS} ${NETWORK_SRCS} ${SHAREWARE_SRCS} ${MOVIE_SRCS} \
28 ai.c        gamerend.c  lighting.c  paging.c    switch.c \
29 ai2.c       effects.c   gamesave.c  menu.c      physics.c   texmerge.c \
30 aipath.c    endlevel.c  gameseg.c   mglobal.c   piggy.c     text.c \
31 automap.c   escort.c    gameseq.c   mission.c   playsave.c  titles.c \
32 bm.c        fireball.c  gauges.c    morph.c     polyobj.c   vclip.c \
33 fuelcen.c   hostage.c   powerup.c   wall.c \
34 cntrlcen.c  fvi.c       hud.c       render.c    weapon.c \
35 collide.c   game.c      inferno.c   netmisc.c   robot.c \
36 config.c    gamecntl.c  kconfig.c   scores.c \
37 controls.c  gamefont.c  kludge.c    newdemo.c   slew.c \
38 credits.c   gamemine.c  newmenu.c   songs.c \
39 crypt.c     gamepal.c   laser.c     object.c    state.c \
40 console.c   cmd.c       player.c
41
42 EXTRA_libmain_a_SOURCES = \
43 ipx_drv.c kmatrix.c multi.c multibot.c network.c netpkt.c \
44 bmread.c terrain.c movie.c ipclienc.c netlist.c multipow.c \
45 ip_base.cpp ipclient.cpp
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 hostage.h \
54 hudmsg.h inferno.h ip_base.h ip_basec.h ipclient.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 multipow.h netmisc.h netpkt.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 \
62 ipserver.cpp
63