1 SUBDIRS = Include Lib Simulator Tools Tests
3 EXTRA_DIST = FG-FAQ.v3 README.Unix README.Linux README.MacOS README.Win32 \
4 README.Win32-X README.autoconf README.gfc README.gpc README.plib \
5 README.running Thanks VERSION acsite.m4 acconfig.h irix-hack.pl
8 tar cf - Hints | (cd $(distdir); tar xvf -)
9 tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
12 ##########################################################################
13 # extra targets to do various things ...
16 ##########################################################################
19 # make the base distribution with textures, sounds and a bit of
20 # scenery, and all the other associated files
22 fgfs-base: fgfs-base-tar fgfs-base-zip
26 tar czvf fgfs-base-$(VERSION).tar.gz \
27 FlightGear/[A-CE-R]* \
28 FlightGear/Scenery/w120n30/w111n33 \
30 FlightGear/Textures FlightGear/Thanks \
35 zip -r fgfs-base-$(VERSION).zip \
36 FlightGear/[A-CE-R]* \
37 FlightGear/Scenery/w120n30/w111n33 \
39 FlightGear/Textures FlightGear/Thanks \
43 # make the documentation distribution
45 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
49 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
53 # zip -r fgfs-docs-$(VERSION).zip FlightGear/Docs )
57 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
59 # make the win32-bin distribution
63 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
65 # make the win32-libs distribution (depricated)
67 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
68 Win32/README.glut Win32/cygwinb1.dll Win32/def \
69 Win32/*.exp Win32/gen-def-from-errors.pl \
70 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
71 Win32/impdef.exe Win32/include \
73 Win32/lib Win32/zlib.lib )
75 # make the MacOS (MWCWP3) devel support archive
77 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
79 # clean up dependencies
82 Lib/.deps Simulator/.deps Tools/.deps Test/.deps \
83 Lib/*/.deps Simulator/*/.deps Tools/*/.deps \
84 Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \
85 Lib/*/*/*/.deps Lib/*/*/*/*/.deps \
88 # clean up after libtool
90 rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \
91 Lib/*/.libs Simulator/*/.libs Tools/*/.libs \
92 Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs
93 rm -f Simulator/*/so_locations Lib/*/so_locations \
94 Simulator/*/*/so_locations Lib/*/*/so_locations
96 # clean up after winbloze spews random case for file names :-(
97 clean-winbloze: clean-deps clean-libs
98 rm -f makefile Include/makefile Lib/makefile Simulator/makefile \
100 Lib/*/makefile Simulator/*/makefile Tools/*/makefile \
101 Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile \
103 rm -f Src/Main/fg.exe Tools/*/*.exe