1 SUBDIRS = 2d 3d maths mem cfile iff texmap misc arch main
3 EXTRA_SUBDIRS = include tools unused debian rpm utilities
5 bin_PROGRAMS = @TARGETS@
7 EXTRA_PROGRAMS = d2x d2x-sdl d2x-gl d2x-svga d2x-ggi
9 ARCH_LIBS = $(foreach subdir,${D2X_ARCH_SUBDIRS},arch/${subdir}/libarch_${subdir}.a)
12 LD_KLUDGE = main/inferno.o
16 EDITOR_LIBS = main/editor/libeditor.a
25 d2x_LDADD = ${LD_KLUDGE} main/libmain.a ${EDITOR_LIBS} 3d/lib3d.a 2d/lib2d.a ${ARCH_LIBS} mem/libmem.a cfile/libcfile.a iff/libiff.a texmap/libtexmap.a misc/libmisc.a maths/libmaths.a
29 d2x_sdl_LDADD = ${d2x_LDADD} -lwsock32
31 d2x_sdl_LDADD = ${d2x_LDADD}
34 d2x_sdl_LDADD = ${d2x_LDADD} -lm
36 d2x_gl_LDADD = ${d2x_sdl_LDADD} ${OGL_LIBS}
37 d2x_svga_LDADD = ${d2x_sdl_LDADD} ${SVGA_LIBS}
38 d2x_ggi_LDADD = ${d2x_sdl_LDADD} ${GGI_LIBS}
41 rm -rf `find $(distdir) -name CVS`
42 # rm -f `find $(distdir) -name Makefile`
44 cp -a $(srcdir)/ChangeLog $(distdir)
47 cd $(srcdir) && tools/cvs2cl/cvs2cl.pl -b --utc --accum
48 # rm -f $(srcdir)/ChangeLog.bak
50 pkgdatadir = @sharepath@
51 missiondir = ${pkgdatadir}/missions
53 dist_mission_DATA = descent.msn
55 EXTRA_DIST = ${EXTRA_SUBDIRS} \
59 cvshowto.txt readme.txt installation.txt compilerdefs.txt \