1
0
Fork 0
flightgear/Makefile.am

104 lines
3 KiB
Text
Raw Normal View History

1998-04-25 14:59:29 +00:00
SUBDIRS = Include Lib Simulator Tools Tests
EXTRA_DIST = FG-FAQ.v3 README.Unix README.Linux README.MacOS README.Win32 \
README.autoconf README.gfc README.gpc README.plib README.running \
Thanks VERSION acsite.m4 acconfig.h irix-hack.pl
1998-04-09 01:43:36 +00:00
dist-hook:
tar cf - Hints | (cd $(distdir); tar xvf -)
tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
1998-10-02 21:33:36 +00:00
##########################################################################
# extra targets to do various things ...
#
# Use "make <target>"
##########################################################################
1998-11-02 18:27:40 +00:00
1998-10-02 21:33:36 +00:00
# make the base distribution with textures, sounds and a bit of
# scenery, and all the other associated files
1998-11-06 14:03:48 +00:00
1998-10-02 21:33:36 +00:00
fgfs-base: fgfs-base-tar fgfs-base-zip
fgfs-base-tar:
(cd $(HOME); \
tar czvf fgfs-base-$(VERSION).tar.gz \
FlightGear/[A-CE-R]* \
FlightGear/Scenery/w120n30/w111n33 \
1998-10-02 21:33:36 +00:00
FlightGear/Sounds \
FlightGear/Textures FlightGear/Thanks \
FlightGear/[m-r]* )
fgfs-base-zip:
(cd $(HOME); \
zip -r fgfs-base-$(VERSION).zip \
FlightGear/[A-CE-R]* \
FlightGear/Scenery/w120n30/w111n33 \
1998-10-02 21:33:36 +00:00
FlightGear/Sounds \
FlightGear/Textures FlightGear/Thanks \
FlightGear/[m-r]* )
1998-11-06 14:03:48 +00:00
1998-10-02 21:33:36 +00:00
# make the documentation distribution
1998-11-06 14:03:48 +00:00
1999-03-11 23:08:18 +00:00
fgfs-docs: fgfs-docs-tar fgfs-manual-zip
1998-10-02 21:33:36 +00:00
fgfs-docs-tar:
1998-11-06 14:03:48 +00:00
( cd .. ; \
tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
1998-10-02 21:33:36 +00:00
1999-03-11 23:08:18 +00:00
# fgfs-docs-zip:
# ( cd .. ; \
# zip -r fgfs-docs-$(VERSION).zip FlightGear/Docs )
1998-11-06 14:03:48 +00:00
1999-03-11 23:08:18 +00:00
fgfs-manual-zip:
( cd .. ; \
zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
1998-10-02 21:33:36 +00:00
# make the win32-bin distribution
1998-11-06 14:03:48 +00:00
1998-10-02 21:33:36 +00:00
fgfs-win32-bin:
(cd $(HOME); \
zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
# make the win32-libs distribution (depricated)
1998-10-02 21:33:36 +00:00
win32-libs:
1998-11-06 14:03:48 +00:00
( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
Win32/README.glut Win32/cygwinb1.dll Win32/def \
1998-10-02 21:33:36 +00:00
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 )
1998-10-02 21:33:36 +00:00
# clean up dependencies
clean-deps:
rm -rf .deps \
Lib/.deps Simulator/.deps Tools/.deps Test/.deps \
Lib/*/.deps Simulator/*/.deps Tools/*/.deps \
Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \
1999-04-11 13:17:42 +00:00
Lib/*/*/*/.deps Lib/*/*/*/*/.deps \
1998-10-02 21:33:36 +00:00
Tests/.deps
# clean up after libtool
clean-libs:
rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \
Lib/*/.libs Simulator/*/.libs Tools/*/.libs \
Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs
rm -f Simulator/*/so_locations Lib/*/so_locations \
Simulator/*/*/so_locations Lib/*/*/so_locations
# clean up after winbloze spews random case for file names :-(
clean-winbloze: clean-deps clean-libs
rm -f makefile Include/makefile Lib/makefile Simulator/makefile \
Tools/makefile \
Lib/*/makefile Simulator/*/makefile Tools/*/makefile \
1998-11-02 18:27:40 +00:00
Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile \
Tests/makefile
1998-10-02 21:33:36 +00:00
rm -f Src/Main/fg.exe Tools/*/*.exe