warzone2100/Makefile.am

37 lines
1.3 KiB
Makefile
Raw Normal View History

SUBDIRS = build_tools win32 lib src data po doc icons pkg tests
dist_doc_DATA = \
AUTHORS \
ChangeLog \
COPYING \
COPYING.NONGPL \
COPYING.README
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST= \
autogen.sh \
autorevision.conf \
config.rpath \
configure.ac \
macosx/external/bison.sh \
macosx/prebuilt/SDL.tar.gz \
macosx/README.BUILD.txt \
macosx/README.txt \
macosx/Resources/GenericFramework-Info.plist \
macosx/Resources/ogg/English.lproj/InfoPlist.strings \
macosx/Resources/ogg/Info.plist \
macosx/Resources/theora/English.lproj/InfoPlist.strings \
macosx/Resources/theora/Info.plist \
macosx/Resources/vorbis/English.lproj/InfoPlist.strings \
macosx/Resources/vorbis/Info.plist \
macosx/Resources/Warzone.icns \
macosx/Resources/Warzone-Info.plist \
macosx/Warzone.xcodeproj/project.pbxproj
# HACK Don't give make errors when switching between trunk and branches.
# Now with PD-ksh support.
all: fixdeps
fixdeps:
cd "$(top_srcdir)/src" ; mkdir -p "$(abs_top_builddir)/src/.deps" ; for ext in c cpp ; do for a in *.$$ext ; do grep -q "\b$$a\b" "$(abs_top_builddir)/src/.deps/`echo "$$a" | sed s/\.$$ext/.Po/`" 2> /dev/null || echo "`echo "$$a" | sed s/\.$$ext/.o/`: ../$(top_srcdir)/src/$$a" | tee "$(abs_top_builddir)/src/.deps/`echo "$$a" | sed s/\.$$ext/.Po/`" ; done ; done