2000-02-15 16:52:48 +00:00
|
|
|
SUBDIRS = \
|
|
|
|
tests \
|
2002-12-03 15:38:41 +00:00
|
|
|
man \
|
2002-05-15 21:45:39 +00:00
|
|
|
scripts \
|
2002-12-03 15:38:41 +00:00
|
|
|
src \
|
|
|
|
utils
|
2000-02-15 16:52:48 +00:00
|
|
|
|
2002-05-23 15:47:11 +00:00
|
|
|
EXTRA_DIST = \
|
2002-08-30 17:04:00 +00:00
|
|
|
acinclude.m4 \
|
2002-05-23 15:47:11 +00:00
|
|
|
autogen.sh \
|
2006-03-27 19:47:48 +00:00
|
|
|
projects \
|
2007-09-01 10:06:56 +00:00
|
|
|
README \
|
|
|
|
README.OpenAL \
|
|
|
|
README.plib \
|
2007-09-01 12:51:56 +00:00
|
|
|
README.OSG \
|
2007-09-01 10:06:56 +00:00
|
|
|
README.SimGear \
|
2006-03-27 19:47:48 +00:00
|
|
|
Thanks
|
2000-02-15 16:52:48 +00:00
|
|
|
|
|
|
|
dist-hook:
|
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 -)
|
2006-03-27 19:47:48 +00:00
|
|
|
rm -rf `find $(distdir)/projects -name CVS`
|
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
|
|
|
|
|
2006-03-21 18:46:38 +00:00
|
|
|
# note, fedora core tar does case insensitive wildcard matching for
|
|
|
|
# directories, but apparently not files ... some stupid reason. :-(
|
|
|
|
|
2008-08-28 21:19:38 +00:00
|
|
|
data-tar:
|
2004-03-23 19:49:07 +00:00
|
|
|
(cd ..; \
|
|
|
|
tar \
|
|
|
|
--exclude=CVS \
|
|
|
|
--exclude='*~' \
|
2004-03-26 21:46:49 +00:00
|
|
|
--exclude='*.tex' \
|
2004-03-23 19:49:07 +00:00
|
|
|
--exclude='*.xcf' \
|
2001-06-20 17:08:27 +00:00
|
|
|
--exclude='*/c172/Instruments.high' \
|
|
|
|
--exclude='*/Textures/Unused' \
|
2006-03-27 19:47:48 +00:00
|
|
|
--exclude='*/Textures/*.orig' \
|
2004-03-23 19:49:07 +00:00
|
|
|
--exclude='*/Textures.high/*.new' \
|
2006-03-27 19:47:48 +00:00
|
|
|
--exclude='*/Textures.high/*.orig' \
|
|
|
|
--exclude='*/Textures.high/*.save' \
|
2006-04-05 19:52:52 +00:00
|
|
|
--exclude='*/data/Data' \
|
2004-03-23 19:49:07 +00:00
|
|
|
--exclude='*/Docs/source' \
|
2005-11-07 16:19:03 +00:00
|
|
|
--exclude='*/Models/MNUAV' \
|
2006-03-21 18:46:38 +00:00
|
|
|
--exclude='*/Models/Airspace' \
|
2008-08-28 21:19:38 +00:00
|
|
|
-cjvf source/FlightGear-data-$(VERSION).tar.bz2 \
|
2006-04-05 19:52:52 +00:00
|
|
|
data/AI \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/Aircraft/Generic \
|
|
|
|
data/Aircraft/Instruments \
|
|
|
|
data/Aircraft/Instruments-3d \
|
|
|
|
data/Aircraft/UIUC \
|
2008-12-10 16:04:50 +00:00
|
|
|
data/Aircraft/777-200 \
|
|
|
|
data/Aircraft/A6M2 \
|
|
|
|
data/Aircraft/b1900d \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/Aircraft/bo105 \
|
|
|
|
data/Aircraft/c172p \
|
2008-12-10 16:04:50 +00:00
|
|
|
data/Aircraft/CitationX \
|
|
|
|
data/Aircraft/Dragonfly \
|
|
|
|
data/Aircraft/dhc2 \
|
|
|
|
data/Aircraft/f-14b \
|
2008-12-10 18:19:52 +00:00
|
|
|
data/Aircraft/j3cub \
|
2008-12-10 16:04:50 +00:00
|
|
|
data/Aircraft/SenecaII \
|
|
|
|
data/Aircraft/sopwithCamel \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/Aircraft/ufo \
|
2008-12-10 16:04:50 +00:00
|
|
|
data/Aircraft/ZLT-NT \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/Airports \
|
|
|
|
data/Astro \
|
2005-11-10 15:39:36 +00:00
|
|
|
data/ATC \
|
|
|
|
data/AUTHORS \
|
2006-03-21 18:46:38 +00:00
|
|
|
data/ChangeLog \
|
|
|
|
data/cloudlayers.xml \
|
|
|
|
data/COPYING \
|
|
|
|
data/D* \
|
2010-01-17 17:11:03 +00:00
|
|
|
data/Effects \
|
2006-03-21 18:46:38 +00:00
|
|
|
data/Fonts \
|
|
|
|
data/gui \
|
|
|
|
data/Huds \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/Input \
|
2006-03-27 19:47:48 +00:00
|
|
|
data/joysticks.xml \
|
2006-03-21 18:46:38 +00:00
|
|
|
data/keyboard.xml \
|
|
|
|
data/Lighting \
|
|
|
|
data/materials.dtd \
|
|
|
|
data/materials.xml \
|
|
|
|
data/mice.xml \
|
|
|
|
data/Models \
|
|
|
|
data/N* \
|
|
|
|
data/options.xml \
|
|
|
|
data/preferences.xml \
|
|
|
|
data/Protocol \
|
|
|
|
data/README \
|
2010-02-18 16:07:12 +00:00
|
|
|
data/Scenery/Airports \
|
2006-03-27 19:47:48 +00:00
|
|
|
data/Scenery/Objects \
|
|
|
|
data/Scenery/Terrain \
|
2010-01-17 17:11:03 +00:00
|
|
|
data/Shaders \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/Sounds \
|
2005-11-11 16:46:08 +00:00
|
|
|
data/T* \
|
2004-03-23 19:49:07 +00:00
|
|
|
data/version \
|
|
|
|
)
|
2000-10-13 23:34:54 +00:00
|
|
|
|
|
|
|
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:
|
2004-10-12 16:18:05 +00:00
|
|
|
# ( 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); \
|
2002-09-18 14:57:20 +00:00
|
|
|
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
|