1 SUBDIRS = Include Lib Simulator Tools Tests
3 EXTRA_DIST = README.Unix README.Linux README.Win32 \
4 README.autoconf README.running Thanks acsite.m4
7 tar cf - Hints | (cd $(distdir); tar xvf -)
10 ##########################################################################
11 # extra targets to do various things ...
14 ##########################################################################
16 FG_ROOT=$(HOME)/FlightGear
18 # refresh the fg-root installation
20 tar cf - AUTHORS COPYING NEWS README README.Linux README.Unix \
21 README.Win32 README.anoncvs README.autoconf README.running \
23 | (cd $HOME/FlightGear; tar xvf -)
25 # make the base distribution with textures, sounds and a bit of
26 # scenery, and all the other associated files
27 fgfs-base: fgfs-base-tar fgfs-base-zip
31 tar czvf fgfs-base-$(VERSION).tar.gz \
33 FlightGear/Scenery/w120n030/w111n033 \
35 FlightGear/Textures FlightGear/Thanks \
40 zip -r fgfs-base-$(VERSION).zip \
42 FlightGear/Scenery/w120n030/w111n033 \
44 FlightGear/Textures FlightGear/Thanks \
47 # make the documentation distribution
48 fgfs-docs: fgfs-docs-tar fgfs-docs-zip
51 tar czvf fgfs-docs-$(VERSION).tar.gz Docs
53 # make the documentation distribution
55 zip -r fgfs-docs-$(VERSION).zip Docs
57 # make the win32-bin distribution
60 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
62 # make the win32-libs distribution
64 ( zip -r win32-libs-$(VERSION).zip Win32/Makefile \
65 Win32/README.glut Win32/cygwinb19.dll Win32/def \
66 Win32/*.exp Win32/gen-def-from-errors.pl \
67 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
68 Win32/impdef.exe Win32/include \
70 Win32/lib Win32/zlib.lib )
72 # clean up dependencies
75 Lib/.deps Simulator/.deps Tools/.deps Test/.deps \
76 Lib/*/.deps Simulator/*/.deps Tools/*/.deps \
77 Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \
80 # clean up after libtool
82 rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \
83 Lib/*/.libs Simulator/*/.libs Tools/*/.libs \
84 Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs
85 rm -f Simulator/*/so_locations Lib/*/so_locations \
86 Simulator/*/*/so_locations Lib/*/*/so_locations
88 # clean up after winbloze spews random case for file names :-(
89 clean-winbloze: clean-deps clean-libs
90 rm -f makefile Include/makefile Lib/makefile Simulator/makefile \
92 Lib/*/makefile Simulator/*/makefile Tools/*/makefile \
93 Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile \
95 rm -f Src/Main/fg.exe Tools/*/*.exe