1 # extra targets to do various things ...
3 # Use "make -f Makefile.extra <target>
7 FG_ROOT=$(HOME)/FlightGear
9 # make the base distribution with textures, sounds and a bit of
10 # scenery, and all the other associated files
13 tar czvf fgfs-base-$(VERSION).tar.gz \
15 FlightGear/Scenery/w120n030/w111n033 \
17 FlightGear/Textures FlightGear/Thanks \
22 zip -r fgfs-base-$(VERSION).zip \
24 FlightGear/Scenery/w120n030/w111n033 \
26 FlightGear/Textures FlightGear/Thanks \
29 # make the win32-bin distribution
32 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
34 # make the win32-libs distribution
36 ( zip -r win32-libs-$(VERSION).zip Win32/Makefile \
37 Win32/README.glut Win32/cygwinb19.dll Win32/def \
38 Win32/*.exp Win32/gen-def-from-errors.pl \
39 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
40 Win32/impdef.exe Win32/include \
42 Win32/lib Win32/zlib.lib )
44 # clean up dependencies
47 Lib/.deps Simulator/.deps Tools/.deps Test/.deps \
48 Lib/*/.deps Simulator/*/.deps Tools/*/.deps \
49 Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \
52 # clean up after libtool
54 rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \
55 Lib/*/.libs Simulator/*/.libs Tools/*/.libs \
56 Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs
57 rm -f Simulator/*/so_locations Lib/*/so_locations \
58 Simulator/*/*/so_locations Lib/*/*/so_locations
60 # clean up after winbloze spews random case for file names :-(
61 clean-winbloze: clean-deps clean-libs
62 rm -f makefile Include/makefile Lib/makefile Simulator/makefile \
64 Lib/*/makefile Simulator/*/makefile Tools/*/makefile \
65 Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile
66 rm -f Src/Main/fg.exe Tools/*/*.exe