1
0
Fork 0
flightgear/Makefile.am

141 lines
3.5 KiB
Text
Raw Normal View History

2000-02-15 16:52:48 +00:00
SUBDIRS = \
tests \
2002-12-03 15:38:41 +00:00
man \
scripts \
2002-12-03 15:38:41 +00:00
src \
utils
2000-02-15 16:52:48 +00:00
EXTRA_DIST = \
Thanks \
acinclude.m4 \
autogen.sh \
FlightGear.dsp \
FlightGear.dsw
2000-02-15 16:52:48 +00:00
dist-hook:
(cd $(top_srcdir); $(HOME)/projects/FlightGear-0.7/admin/am2dsp.pl)
2001-05-14 23:58:54 +00:00
(cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
2001-07-12 17:48:57 +00:00
-cf - docs-mini ) | (cd $(distdir); tar xvf -)
2000-02-15 16:52:48 +00:00
##########################################################################
# extra targets to do various things ...
#
# Use "make <target>"
##########################################################################
# make the base distribution with textures, sounds and a bit of
# scenery, and all the other associated files
fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
2000-02-15 16:52:48 +00:00
fgfs-base-tar:
(cd $(HOME); \
2001-06-20 17:08:27 +00:00
tar --exclude=CVS \
--exclude='*/c172/Instruments.high' \
--exclude='*/Models/Aircraft/*' \
--exclude='*/Textures/Unused' \
--exclude='*/Textures.high/*.save' \
-czvf fgfs-base-$(VERSION).tar.gz \
2000-09-26 23:38:26 +00:00
FlightGear/A[A-su-z]* \
FlightGear/[B-CE-R]* \
FlightGear/Scenery/w130n30/w123n37 \
FlightGear/Scenery/w130n30/w122n37 \
2000-02-15 16:52:48 +00:00
FlightGear/Sounds \
FlightGear/[T-Za]* FlightGear/[c-z]*)
2000-02-15 16:52:48 +00:00
fgfs-base-zip:
(cd $(HOME); \
zip -rv fgfs-base-$(VERSION).zip \
2000-09-26 23:38:26 +00:00
FlightGear/A[A-su-z]* \
FlightGear/[B-CE-R]* \
FlightGear/Scenery/w130n30/w123n37 \
FlightGear/Scenery/w130n30/w122n37 \
2000-02-15 16:52:48 +00:00
FlightGear/Sounds \
FlightGear/[T-Za]* FlightGear/[c-z]* \
2001-06-20 17:08:27 +00:00
-x '*/CVS/*' -x '*/Textures/Unused/*' -x '*/Models/Aircraft/*' )
2000-02-15 16:52:48 +00:00
2000-03-29 00:15:26 +00:00
fgfs-base-patch:
(cd $(HOME); \
2001-06-20 17:08:27 +00:00
tar --newer 6/18/2001 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \
2000-09-26 23:38:26 +00:00
FlightGear/A[A-su-z]* \
FlightGear/[B-CE-R]* \
FlightGear/Scenery/w130n30/w123n37 \
FlightGear/Scenery/w130n30/w122n37 \
2000-03-29 00:15:26 +00:00
FlightGear/Sounds \
FlightGear/[T-Za]* FlightGear/[c-z]*)
fgfs-textures-high:
(cd $(HOME); \
tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
FlightGear/Textures.high)
2000-03-29 00:15:26 +00:00
2000-02-15 16:52:48 +00:00
# make the mini JSBsim data distribution
jsbsim-data:
(cd $(HOME); \
tar czvf jsbsim-data-$(VERSION).tar.gz \
FlightGear/Aircraft \
FlightGear/Engine)
# make the documentation distribution
fgfs-docs: fgfs-docs-tar fgfs-manual-zip
fgfs-docs-tar:
2001-06-20 17:08:27 +00:00
( cd $(HOME); \
tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
2000-02-15 16:52:48 +00:00
# fgfs-docs-zip:
# ( cd $(HOME)/projects ; \
2000-05-18 23:05:30 +00:00
# zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
2000-02-15 16:52:48 +00:00
fgfs-manual-zip:
2001-06-20 17:08:27 +00:00
( cd $(HOME) ; \
zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
2000-02-15 16:52:48 +00:00
# make the win32-bin distribution
fgfs-win32-bin:
(cd $(HOME); \
zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
FlightGear/bin/Win32 )
2000-02-15 16:52:48 +00:00
# make the win32-libs distribution (depricated)
win32-libs:
( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
Win32/README.glut Win32/cygwinb1.dll Win32/def \
Win32/*.exp Win32/gen-def-from-errors.pl \
Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
Win32/impdef.exe Win32/include \
Win32/install.exe \
Win32/lib Win32/zlib.lib )
# make the MacOS (MWCWP3) devel support archive
macos-devel:
( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
# clean up dependencies
clean-deps:
rm -rf .deps \
src/.deps tests/.deps \
src/*/.deps \
src/*/*/.deps \
tests/.deps
# clean up after libtool
clean-libs:
rm -rf .libs src/.libs \
src/*/.libs \
src/*/*/.libs
rm -f src/*/so_locations \
src/*/*/so_locations
# clean up after winbloze spews random case for file names :-(
clean-winbloze: clean-deps clean-libs
rm -f makefile src/Include/makefile src/makefile \
src/*/makefile \
src/*/*/makefile \
tests/makefile
rm -f src/Main/fg.exe