]> git.mxchange.org Git - simgear.git/blob - Makefile.am
Removed metakit and zlib from the configure/build process. The
[simgear.git] / Makefile.am
1 EXTRA_DIST = \
2         acsite.m4 \
3         acconfig.h \
4         mksymlinks.sh \
5         SimGear.dsp \
6         SimGear.dsw \
7         metakit-2.4.2-32.tar.gz \
8         zlib-1.1.3.tar.gz
9
10 SUBDIRS = simgear
11
12 #
13 # Additional all, clean, and distclean rules for additional packages.
14 # We can't just include the additional package dirs in SUBDIRS (which 
15 # would be nice because there are then problems with make dist
16 #
17
18 old_all: 
19         @list='@subdirs@'; \
20         target=`echo $@`; \
21         for subdir in $$list; do \
22           echo "Making $$target in $$subdir"; \
23           if test "$$subdir" = "."; then \
24             dot_seen=yes; \
25             local_target="$$target-am"; \
26           else \
27             local_target="$$target"; \
28           fi; \
29           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
30            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
31         done
32
33 old_install: 
34         @list='@subdirs@'; \
35         target=`echo $@`; \
36         for subdir in $$list; do \
37           echo "Making $$target in $$subdir"; \
38           if test "$$subdir" = "."; then \
39             dot_seen=yes; \
40             local_target="$$target-am"; \
41           else \
42             local_target="$$target"; \
43           fi; \
44           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
45            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
46         done
47
48 old_clean: 
49         @list='@subdirs@'; \
50         target=`echo $@`; \
51         for subdir in $$list; do \
52           echo "Making $$target in $$subdir"; \
53           if test "$$subdir" = "."; then \
54             dot_seen=yes; \
55             local_target="$$target-am"; \
56           else \
57             local_target="$$target"; \
58           fi; \
59           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
60            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
61         done
62
63 old_distclean: 
64         @list='@subdirs@'; \
65         target=`echo $@`; \
66         for subdir in $$list; do \
67           echo "Making $$target in $$subdir"; \
68           if test "$$subdir" = "."; then \
69             dot_seen=yes; \
70             local_target="$$target-am"; \
71           else \
72             local_target="$$target"; \
73           fi; \
74           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
75            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
76         done
77
78 #
79 # distclean the associated packages and include them in the dist
80 #
81
82 old_dist-hook:
83         (cd $(top_srcdir); \
84                 $(HOME)/projects/FlightGear-0.7/admin/am2dsp.pl --lib)
85         pwd
86         echo "copying simgear/metar"
87         echo "other stuff"
88         @list='@subdirs@'; \
89         target=distclean; \
90         for subdir in $$list; do \
91           echo "Making $$target in $$subdir"; \
92           if test "$$subdir" = "."; then \
93             dot_seen=yes; \
94             local_target="$$target-am"; \
95           else \
96             local_target="$$target"; \
97           fi; \
98           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
99            || case "$$amf" in *=*) echo "distclean error ignored...";; *k*) fail=yes;; *) echo "distclean error ignored...";; esac; \
100         done
101         (cd $(top_srcdir); tar cf - simgear/metakit) | \
102                 (cd $(distdir); tar xvf -)
103
104
105 #
106 # Rule to build RPM distribution package
107 #
108 rpm: dist
109         rpm -ta $(PACKAGE)-$(VERSION).tar.gz
110