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