1 SUBDIRS = 2d 3d maths mem cfile iff texmap misc arch main libmve utilities
3 EXTRA_SUBDIRS = include unused debian rpm
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 AM_LDFLAGS = -all_load
20 EDITOR_LIBS = main/editor/libeditor.a
29 d2x_LDADD = ${LD_KLUDGE} main/libmain.a ${EDITOR_LIBS} 3d/lib3d.a 2d/lib2d.a ${ARCH_LIBS} libmve/libmve.a mem/libmem.a cfile/libcfile.a iff/libiff.a texmap/libtexmap.a misc/libmisc.a maths/libmaths.a
33 d2x_sdl_LDADD = ${d2x_LDADD} -lwsock32
35 d2x_sdl_LDADD = ${d2x_LDADD}
38 d2x_sdl_LDADD = ${d2x_LDADD} -lm
40 d2x_gl_LDADD = ${d2x_sdl_LDADD} ${OGL_LIBS}
41 d2x_svga_LDADD = ${d2x_sdl_LDADD} ${SVGA_LIBS}
42 d2x_ggi_LDADD = ${d2x_sdl_LDADD} ${GGI_LIBS}
45 rm -rf `find $(distdir) -name CVS`
46 # rm -f `find $(distdir) -name Makefile`
48 pkgdatadir = @sharepath@
49 missiondir = ${pkgdatadir}/missions
51 EXTRA_DIST = ${EXTRA_SUBDIRS} \
56 cvshowto.txt readme.txt installation.txt compilerdefs.txt \