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 ##########################################################################
17 # make the base distribution with textures, sounds and a bit of
18 # 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 \
41 # make the documentation distribution
43 fgfs-docs: fgfs-docs-tar fgfs-docs-zip
47 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
51 zip -r fgfs-docs-$(VERSION).zip FlightGear/Docs )
54 # make the win32-bin distribution
58 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
60 # make the win32-libs distribution
62 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
63 Win32/README.glut Win32/cygwinb1.dll Win32/def \
64 Win32/*.exp Win32/gen-def-from-errors.pl \
65 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
66 Win32/impdef.exe Win32/include \
68 Win32/lib Win32/zlib.lib )
70 # clean up dependencies
73 Lib/.deps Simulator/.deps Tools/.deps Test/.deps \
74 Lib/*/.deps Simulator/*/.deps Tools/*/.deps \
75 Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \
78 # clean up after libtool
80 rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \
81 Lib/*/.libs Simulator/*/.libs Tools/*/.libs \
82 Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs
83 rm -f Simulator/*/so_locations Lib/*/so_locations \
84 Simulator/*/*/so_locations Lib/*/*/so_locations
86 # clean up after winbloze spews random case for file names :-(
87 clean-winbloze: clean-deps clean-libs
88 rm -f makefile Include/makefile Lib/makefile Simulator/makefile \
90 Lib/*/makefile Simulator/*/makefile Tools/*/makefile \
91 Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile \
93 rm -f Src/Main/fg.exe Tools/*/*.exe