]> git.mxchange.org Git - flightgear.git/blob - Makefile.am
Initial checkin of a TurbineEngine implementation. This hasn't been
[flightgear.git] / Makefile.am
1 SUBDIRS = \
2         tests \
3         man \
4         scripts \
5         src \
6         utils
7
8 EXTRA_DIST = \
9         Thanks \
10         acinclude.m4 \
11         autogen.sh \
12         FlightGear.dsp \
13         FlightGear.dsw
14
15 dist-hook:
16         (cd $(top_srcdir); $(HOME)/projects/FlightGear-0.9/admin/am2dsp.pl)
17         (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
18                 -cf - docs-mini ) | (cd $(distdir); tar xvf -)
19
20
21 ##########################################################################
22 # extra targets to do various things ...
23 #
24 # Use "make <target>"
25 ##########################################################################
26
27
28 # make the base distribution with textures, sounds and a bit of
29 # scenery, and all the other associated files
30
31 fgfs-base-tar:
32         (cd ..; \
33         tar \
34         --exclude=CVS \
35         --exclude='*~' \
36         --exclude='*.tex' \
37         --exclude='*.xcf' \
38         --exclude='*/c172/Instruments.high' \
39         --exclude='*/Textures/Unused' \
40         --exclude='*/Textures.high/*.save' \
41         --exclude='*/Textures.high/*.new' \
42         --exclude='*/Docs/source' \
43         -czvf fgfs-base-$(VERSION).tar.gz \
44                 data/ATC \
45                 data/AUTHORS \
46                 data/Aircraft/737 \
47                 data/Aircraft/747 \
48                 data/Aircraft/A320 \
49                 data/Aircraft/ComperSwift \
50                 data/Aircraft/Generic \
51                 data/Aircraft/Hunter \
52                 data/Aircraft/Instruments \
53                 data/Aircraft/Instruments-3d \
54                 data/Aircraft/OV10 \
55                 data/Aircraft/T38 \
56                 data/Aircraft/UIUC \
57                 data/Aircraft/X15 \
58                 data/Aircraft/YF-23 \
59                 data/Aircraft/a4 \
60                 data/Aircraft/an225 \
61                 data/Aircraft/b52 \
62                 data/Aircraft/bo105 \
63                 data/Aircraft/c172 \
64                 data/Aircraft/c172-fs-set.xml \
65                 data/Aircraft/c172-le \
66                 data/Aircraft/c172p \
67                 data/Aircraft/c172r \
68                 data/Aircraft/c172x \
69                 data/Aircraft/c182 \
70                 data/Aircraft/c310 \
71                 data/Aircraft/c310u3a \
72                 data/Aircraft/dc3 \
73                 data/Aircraft/f16 \
74                 data/Aircraft/j22 \
75                 data/Aircraft/j3cub \
76                 data/Aircraft/ornithopter \
77                 data/Aircraft/p51d \
78                 data/Aircraft/pa28-161 \
79                 data/Aircraft/seahawk \
80                 data/Aircraft/sgs233 \
81                 data/Aircraft/t6texan2 \
82                 data/Aircraft/tsr2 \
83                 data/Aircraft/ufo \
84                 data/Aircraft/wrightFlyer1903 \
85                 data/Airports \
86                 data/Astro \
87                 data/[C-H]* \
88                 data/Input \
89                 data/[J-R]* \
90                 data/Scenery \
91                 data/Sounds \
92                 data/[T-W]* \
93                 data/gui \
94                 data/[j-p]* \
95                 data/version \
96         )
97
98 fgfs-textures-high:
99         (cd $(HOME); \
100         tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
101         FlightGear/Textures.high)
102
103 # make the mini JSBsim data distribution
104 jsbsim-data:
105         (cd $(HOME); \
106         tar czvf jsbsim-data-$(VERSION).tar.gz \
107         FlightGear/Aircraft \
108         FlightGear/Engine)
109
110 # make the documentation distribution
111
112 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
113
114 fgfs-docs-tar:
115         ( cd $(HOME); \
116         tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
117
118 # fgfs-docs-zip:
119 #       ( cd $(HOME)/projects ; \
120 #       zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
121
122 fgfs-manual-zip:
123         ( cd $(HOME) ; \
124         zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
125
126 # make the win32-bin distribution
127
128 fgfs-win32-bin:
129         (cd $(HOME); \
130         zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
131         FlightGear/bin/Win32 )
132
133 # make the win32-libs distribution (depricated)
134 win32-libs:
135         ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
136         Win32/README.glut Win32/cygwinb1.dll Win32/def \
137         Win32/*.exp Win32/gen-def-from-errors.pl \
138         Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
139         Win32/impdef.exe Win32/include \
140         Win32/install.exe \
141         Win32/lib Win32/zlib.lib )
142
143 # make the MacOS (MWCWP3) devel support archive
144 macos-devel:
145         ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
146
147 # clean up dependencies
148 clean-deps:
149         rm -rf .deps \
150         src/.deps tests/.deps \
151         src/*/.deps \
152         src/*/*/.deps \
153         tests/.deps
154
155 # clean up after libtool
156 clean-libs:
157         rm -rf .libs src/.libs \
158                 src/*/.libs \
159                 src/*/*/.libs 
160         rm -f src/*/so_locations \
161                 src/*/*/so_locations 
162
163 # clean up after winbloze spews random case for file names :-(
164 clean-winbloze: clean-deps clean-libs
165         rm -f makefile src/Include/makefile src/makefile \
166                 src/*/makefile \
167                 src/*/*/makefile \
168                 tests/makefile
169         rm -f src/Main/fg.exe