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 # make the base distribution with textures, sounds and a bit of
19 # scenery, and all the other associated files
20 fgfs-base: fgfs-base-tar fgfs-base-zip
24 tar czvf fgfs-base-$(VERSION).tar.gz \
26 FlightGear/Scenery/w120n030/w111n033 \
28 FlightGear/Textures FlightGear/Thanks \
33 zip -r fgfs-base-$(VERSION).zip \
35 FlightGear/Scenery/w120n030/w111n033 \
37 FlightGear/Textures FlightGear/Thanks \
40 # make the documentation distribution
41 fgfs-docs: fgfs-docs-tar fgfs-docs-zip
44 tar czvf fgfs-docs-$(VERSION).tar.gz Docs
46 # make the documentation distribution
48 zip -r fgfs-docs-$(VERSION).zip Docs
50 # make the win32-bin distribution
53 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
55 # make the win32-libs distribution
57 ( zip -r win32-libs-$(VERSION).zip Win32/Makefile \
58 Win32/README.glut Win32/cygwinb19.dll Win32/def \
59 Win32/*.exp Win32/gen-def-from-errors.pl \
60 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
61 Win32/impdef.exe Win32/include \
63 Win32/lib Win32/zlib.lib )
65 # clean up dependencies
68 Lib/.deps Simulator/.deps Tools/.deps Test/.deps \
69 Lib/*/.deps Simulator/*/.deps Tools/*/.deps \
70 Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \
73 # clean up after libtool
75 rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \
76 Lib/*/.libs Simulator/*/.libs Tools/*/.libs \
77 Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs
78 rm -f Simulator/*/so_locations Lib/*/so_locations \
79 Simulator/*/*/so_locations Lib/*/*/so_locations
81 # clean up after winbloze spews random case for file names :-(
82 clean-winbloze: clean-deps clean-libs
83 rm -f makefile Include/makefile Lib/makefile Simulator/makefile \
85 Lib/*/makefile Simulator/*/makefile Tools/*/makefile \
86 Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile
87 rm -f Src/Main/fg.exe Tools/*/*.exe