]> git.mxchange.org Git - flightgear.git/blob - Makefile.am
Friday the 13th JSBSim update ... :-0 !!!
[flightgear.git] / Makefile.am
1 SUBDIRS = \
2         tests \
3         src
4
5 EXTRA_DIST = Thanks VERSION acsite.m4 acconfig.h irix-hack.pl
6
7 dist-hook:
8         tar --exclude docs-mini/CVS --exclude hints/CVS -cf - docs-mini hints \
9                 | (cd $(distdir); tar xvf -)
10         # tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
11
12
13 ##########################################################################
14 # extra targets to do various things ...
15 #
16 # Use "make <target>"
17 ##########################################################################
18
19
20 # make the base distribution with textures, sounds and a bit of
21 # scenery, and all the other associated files
22
23 fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
24
25 fgfs-base-tar:
26         (cd $(HOME); \
27         tar czvf fgfs-base-$(VERSION).tar.gz \
28         FlightGear/A[A-su-z]* \
29         FlightGear/[B-CE-R]* \
30         FlightGear/Scenery/w120n30/w111n33 \
31         FlightGear/Sounds \
32         FlightGear/Textures \
33         FlightGear/T[A-Za-df-z]* \
34         FlightGear/[U-W]* FlightGear/[c-m]*)
35
36 fgfs-base-zip:
37         (cd $(HOME); \
38         zip -rv fgfs-base-$(VERSION).zip \
39         FlightGear/A[A-su-z]* \
40         FlightGear/[B-CE-R]* \
41         FlightGear/Scenery/w120n30/w111n33 \
42         FlightGear/Sounds \
43         FlightGear/Textures \
44         FlightGear/T[A-Za-df-z]* \
45         FlightGear/[U-W]* FlightGear/[c-z]*)
46
47 fgfs-base-patch:
48         (cd $(HOME); \
49         tar --newer 9/18/2000 -czvf fgfs-base-patch-$(VERSION)b.tar.gz \
50         FlightGear/A[A-su-z]* \
51         FlightGear/[B-CE-R]* \
52         FlightGear/Scenery/w120n30/w111n33 \
53         FlightGear/Sounds \
54         FlightGear/Textures \
55         FlightGear/T[A-Za-df-z]* \
56         FlightGear/[U-W]* FlightGear/[c-m]*)
57
58 fgfs-textures-high:
59         (cd $(HOME); \
60         tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
61         FlightGear/Textures.high)
62
63 # make the mini JSBsim data distribution
64 jsbsim-data:
65         (cd $(HOME); \
66         tar czvf jsbsim-data-$(VERSION).tar.gz \
67         FlightGear/Aircraft \
68         FlightGear/Engine)
69
70 # make the documentation distribution
71
72 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
73
74 fgfs-docs-tar:
75         ( cd ../.. ; \
76         tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear-0.7/docs )
77
78 # fgfs-docs-zip:
79 #       ( cd ../.. ; \
80 #       zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
81
82 fgfs-manual-zip:
83         ( cd ../.. ; \
84         zip -r fgfs-manual-$(VERSION).zip FlightGear-0.7/docs/InstallGuide )
85
86 # make the win32-bin distribution
87
88 fgfs-win32-bin:
89         (cd $(HOME); \
90         zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
91
92 # make the win32-libs distribution (depricated)
93 win32-libs:
94         ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
95         Win32/README.glut Win32/cygwinb1.dll Win32/def \
96         Win32/*.exp Win32/gen-def-from-errors.pl \
97         Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
98         Win32/impdef.exe Win32/include \
99         Win32/install.exe \
100         Win32/lib Win32/zlib.lib )
101
102 # make the MacOS (MWCWP3) devel support archive
103 macos-devel:
104         ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
105
106 # clean up dependencies
107 clean-deps:
108         rm -rf .deps \
109         src/.deps tests/.deps \
110         src/*/.deps \
111         src/*/*/.deps \
112         tests/.deps
113
114 # clean up after libtool
115 clean-libs:
116         rm -rf .libs src/.libs \
117                 src/*/.libs \
118                 src/*/*/.libs 
119         rm -f src/*/so_locations \
120                 src/*/*/so_locations 
121
122 # clean up after winbloze spews random case for file names :-(
123 clean-winbloze: clean-deps clean-libs
124         rm -f makefile src/Include/makefile src/makefile \
125                 src/*/makefile \
126                 src/*/*/makefile \
127                 tests/makefile
128         rm -f src/Main/fg.exe