]> git.mxchange.org Git - flightgear.git/blob - Makefile.am
Get rid of the double comma's for the file section of the generic protocol also.
[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/A-10 \
49                 data/Aircraft/A320 \
50                 data/Aircraft/AN-225 \
51                 data/Aircraft/B-52F \
52                 data/Aircraft/BAC-TSR2 \
53                 data/Aircraft/ComperSwift \
54                 data/Aircraft/Generic \
55                 data/Aircraft/Hunter \
56                 data/Aircraft/Instruments \
57                 data/Aircraft/Instruments-3d \
58                 data/Aircraft/OV10 \
59                 data/Aircraft/T38 \
60                 data/Aircraft/UIUC \
61                 data/Aircraft/X15 \
62                 data/Aircraft/YF-23 \
63                 data/Aircraft/a4 \
64                 data/Aircraft/beech99 \
65                 data/Aircraft/bo105 \
66                 data/Aircraft/c172 \
67                 data/Aircraft/c172-fs-set.xml \
68                 data/Aircraft/c172-le \
69                 data/Aircraft/c172p \
70                 data/Aircraft/c172r \
71                 data/Aircraft/c172x \
72                 data/Aircraft/c182 \
73                 data/Aircraft/c310 \
74                 data/Aircraft/c310u3a \
75                 data/Aircraft/dc3 \
76                 data/Aircraft/f16 \
77                 data/Aircraft/j22 \
78                 data/Aircraft/j3cub \
79                 data/Aircraft/ornithopter \
80                 data/Aircraft/p51d \
81                 data/Aircraft/pa28-161 \
82                 data/Aircraft/seahawk \
83                 data/Aircraft/sgs233 \
84                 data/Aircraft/t6texan2 \
85                 data/Aircraft/tu154 \
86                 data/Aircraft/ufo \
87                 data/Aircraft/wrightFlyer1903 \
88                 data/Airports \
89                 data/Astro \
90                 data/[C-H]* \
91                 data/Input \
92                 data/[J-R]* \
93                 data/Scenery \
94                 data/Sounds \
95                 data/[T-W]* \
96                 data/gui \
97                 data/[j-p]* \
98                 data/version \
99         )
100
101 fgfs-textures-high:
102         (cd $(HOME); \
103         tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
104         FlightGear/Textures.high)
105
106 # make the mini JSBsim data distribution
107 jsbsim-data:
108         (cd $(HOME); \
109         tar czvf jsbsim-data-$(VERSION).tar.gz \
110         FlightGear/Aircraft \
111         FlightGear/Engine)
112
113 # make the documentation distribution
114
115 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
116
117 fgfs-docs-tar:
118         ( cd $(HOME); \
119         tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
120
121 # fgfs-docs-zip:
122 #       ( cd $(HOME)/projects ; \
123 #       zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
124
125 fgfs-manual-zip:
126         ( cd $(HOME) ; \
127         zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
128
129 # make the win32-bin distribution
130
131 fgfs-win32-bin:
132         (cd $(HOME); \
133         zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
134         FlightGear/bin/Win32 )
135
136 # make the win32-libs distribution (depricated)
137 win32-libs:
138         ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
139         Win32/README.glut Win32/cygwinb1.dll Win32/def \
140         Win32/*.exp Win32/gen-def-from-errors.pl \
141         Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
142         Win32/impdef.exe Win32/include \
143         Win32/install.exe \
144         Win32/lib Win32/zlib.lib )
145
146 # make the MacOS (MWCWP3) devel support archive
147 macos-devel:
148         ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
149
150 # clean up dependencies
151 clean-deps:
152         rm -rf .deps \
153         src/.deps tests/.deps \
154         src/*/.deps \
155         src/*/*/.deps \
156         tests/.deps
157
158 # clean up after libtool
159 clean-libs:
160         rm -rf .libs src/.libs \
161                 src/*/.libs \
162                 src/*/*/.libs 
163         rm -f src/*/so_locations \
164                 src/*/*/so_locations 
165
166 # clean up after winbloze spews random case for file names :-(
167 clean-winbloze: clean-deps clean-libs
168         rm -f makefile src/Include/makefile src/makefile \
169                 src/*/makefile \
170                 src/*/*/makefile \
171                 tests/makefile
172         rm -f src/Main/fg.exe