]> git.mxchange.org Git - flightgear.git/blob - Main/Makefile.in
C++ - ifing the code.
[flightgear.git] / Main / Makefile.in
1 # Makefile.in generated automatically by automake 1.2h from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DISTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ../..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 CC = @CC@
63 CXX = @CXX@
64 LD = @LD@
65 LIBTOOL = @LIBTOOL@
66 LN_S = @LN_S@
67 MAINT = @MAINT@
68 MAKEINFO = @MAKEINFO@
69 NM = @NM@
70 PACKAGE = @PACKAGE@
71 RANLIB = @RANLIB@
72 VERSION = @VERSION@
73
74 EXTRA_DIST = runfg.in runfg.bat.in
75
76 bin_PROGRAMS = fg
77
78 bin_SCRIPTS = runfg runfg.bat
79
80 fg_SOURCES = \
81         GLUTkey.cxx GLUTkey.hxx \
82         GLUTmain.cxx \
83         fg_config.h \
84         fg_getopt.c fg_getopt.h \
85         fg_init.cxx fg_init.hxx \
86         views.cxx views.hxx
87
88 fg_LDADD = \
89         $(top_builddir)/Simulator/Aircraft/libAircraft.la \
90         $(top_builddir)/Simulator/Astro/libAstro.la \
91         $(top_builddir)/Simulator/Autopilot/libAutopilot.la \
92         $(top_builddir)/Simulator/Cockpit/libCockpit.la \
93         $(top_builddir)/Simulator/Controls/libControls.la \
94         $(top_builddir)/Simulator/Flight/libFlight.la \
95         $(top_builddir)/Simulator/Flight/LaRCsim/libLaRCsim.la \
96         $(top_builddir)/Simulator/Flight/Slew/libSlew.la \
97         $(top_builddir)/Simulator/Scenery/libScenery.la \
98         $(top_builddir)/Simulator/Time/libTime.la \
99         $(top_builddir)/Simulator/Weather/libWeather.la \
100         $(top_builddir)/Simulator/Joystick/libJoystick.la \
101         $(top_builddir)/Lib/Math/libMath.la \
102         $(top_builddir)/Lib/Bucket/libBucket.la \
103         $(top_builddir)/Lib/Debug/libDebug.la \
104         $(top_builddir)/Lib/zlib/libz.la
105 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
106 CONFIG_HEADER = ../../Include/config.h
107 CONFIG_CLEAN_FILES =  runfg runfg.bat
108 PROGRAMS =  $(bin_PROGRAMS)
109
110
111 DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
112 CPPFLAGS = @CPPFLAGS@
113 LDFLAGS = @LDFLAGS@
114 LIBS = @LIBS@
115 X_CFLAGS = @X_CFLAGS@
116 X_LIBS = @X_LIBS@
117 X_EXTRA_LIBS = @X_EXTRA_LIBS@
118 X_PRE_LIBS = @X_PRE_LIBS@
119 fg_OBJECTS =  GLUTkey.o GLUTmain.o fg_getopt.o fg_init.o views.o
120 fg_DEPENDENCIES =  $(top_builddir)/Simulator/Aircraft/libAircraft.la \
121 $(top_builddir)/Simulator/Astro/libAstro.la \
122 $(top_builddir)/Simulator/Autopilot/libAutopilot.la \
123 $(top_builddir)/Simulator/Cockpit/libCockpit.la \
124 $(top_builddir)/Simulator/Controls/libControls.la \
125 $(top_builddir)/Simulator/Flight/libFlight.la \
126 $(top_builddir)/Simulator/Flight/LaRCsim/libLaRCsim.la \
127 $(top_builddir)/Simulator/Flight/Slew/libSlew.la \
128 $(top_builddir)/Simulator/Scenery/libScenery.la \
129 $(top_builddir)/Simulator/Time/libTime.la \
130 $(top_builddir)/Simulator/Weather/libWeather.la \
131 $(top_builddir)/Simulator/Joystick/libJoystick.la \
132 $(top_builddir)/Lib/Math/libMath.la \
133 $(top_builddir)/Lib/Bucket/libBucket.la \
134 $(top_builddir)/Lib/Debug/libDebug.la $(top_builddir)/Lib/zlib/libz.la
135 fg_LDFLAGS = 
136 SCRIPTS =  $(bin_SCRIPTS)
137
138 CXXFLAGS = @CXXFLAGS@
139 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
140 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
141 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
142 CFLAGS = @CFLAGS@
143 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
144 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
145 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
146 DIST_COMMON =  README Makefile.am Makefile.in runfg.bat.in runfg.in
147
148
149 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
150
151 TAR = tar
152 GZIP = --best
153 DEP_FILES =  .deps/GLUTkey.P .deps/GLUTmain.P .deps/fg_getopt.P \
154 .deps/fg_init.P .deps/views.P
155 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
156 SOURCES = $(fg_SOURCES)
157 OBJECTS = $(fg_OBJECTS)
158
159 all: Makefile $(PROGRAMS) $(SCRIPTS)
160
161 .SUFFIXES:
162 .SUFFIXES: .S .c .cxx .lo .o .s
163 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
164         cd $(top_srcdir) && $(AUTOMAKE) --gnu Simulator/Main/Makefile
165
166 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
167         cd $(top_builddir) \
168           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
169
170 runfg: $(top_builddir)/config.status runfg.in
171         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
172 runfg.bat: $(top_builddir)/config.status runfg.bat.in
173         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
174
175 mostlyclean-binPROGRAMS:
176
177 clean-binPROGRAMS:
178         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
179
180 distclean-binPROGRAMS:
181
182 maintainer-clean-binPROGRAMS:
183
184 install-binPROGRAMS: $(bin_PROGRAMS)
185         @$(NORMAL_INSTALL)
186         $(mkinstalldirs) $(DESTDIR)$(bindir)
187         @list='$(bin_PROGRAMS)'; for p in $$list; do \
188           if test -f $$p; then \
189             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
190             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
191           else :; fi; \
192         done
193
194 uninstall-binPROGRAMS:
195         @$(NORMAL_UNINSTALL)
196         list='$(bin_PROGRAMS)'; for p in $$list; do \
197           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
198         done
199
200 .s.o:
201         $(COMPILE) -c $<
202
203 .S.o:
204         $(COMPILE) -c $<
205
206 mostlyclean-compile:
207         -rm -f *.o core *.core
208
209 clean-compile:
210
211 distclean-compile:
212         -rm -f *.tab.c
213
214 maintainer-clean-compile:
215
216 .s.lo:
217         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
218
219 .S.lo:
220         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
221
222 mostlyclean-libtool:
223         -rm -f *.lo
224
225 clean-libtool:
226         -rm -rf .libs _libs
227
228 distclean-libtool:
229
230 maintainer-clean-libtool:
231
232 fg: $(fg_OBJECTS) $(fg_DEPENDENCIES)
233         @rm -f fg
234         $(CXXLINK) $(fg_LDFLAGS) $(fg_OBJECTS) $(fg_LDADD) $(LIBS)
235
236 install-binSCRIPTS: $(bin_SCRIPTS)
237         @$(NORMAL_INSTALL)
238         $(mkinstalldirs) $(DESTDIR)$(bindir)
239         @list='$(bin_SCRIPTS)'; for p in $$list; do \
240           if test -f $$p; then \
241             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
242             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
243           else if test -f $(srcdir)/$$p; then \
244             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
245             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
246           else :; fi; fi; \
247         done
248
249 uninstall-binSCRIPTS:
250         @$(NORMAL_UNINSTALL)
251         list='$(bin_SCRIPTS)'; for p in $$list; do \
252           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
253         done
254 .cxx.o:
255         $(CXXCOMPILE) -c $<
256 .cxx.lo:
257         $(LTCXXCOMPILE) -c $<
258
259 tags: TAGS
260
261 ID: $(HEADERS) $(SOURCES) $(LISP)
262         here=`pwd` && cd $(srcdir) \
263           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
264
265 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
266         tags=; \
267         here=`pwd`; \
268         list='$(SOURCES) $(HEADERS)'; \
269         unique=`for i in $$list; do echo $$i; done | \
270           awk '    { files[$$0] = 1; } \
271                END { for (i in files) print i; }'`; \
272         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
273           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
274
275 mostlyclean-tags:
276
277 clean-tags:
278
279 distclean-tags:
280         -rm -f TAGS ID
281
282 maintainer-clean-tags:
283
284 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
285
286 subdir = Simulator/Main
287
288 distdir: $(DISTFILES)
289         here=`cd $(top_builddir) && pwd`; \
290         top_distdir=`cd $(top_distdir) && pwd`; \
291         distdir=`cd $(distdir) && pwd`; \
292         cd $(top_srcdir) \
293           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Simulator/Main/Makefile
294         @for file in $(DISTFILES); do \
295           d=$(srcdir); \
296           test -f $(distdir)/$$file \
297           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
298           || cp -p $$d/$$file $(distdir)/$$file; \
299         done
300
301 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
302
303 -include $(DEP_FILES)
304
305 mostlyclean-depend:
306
307 clean-depend:
308
309 distclean-depend:
310
311 maintainer-clean-depend:
312         -rm -rf .deps
313
314 %.o: %.c
315         @echo '$(COMPILE) -c $<'; \
316         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
317
318 %.lo: %.c
319         @echo '$(LTCOMPILE) -c $<'; \
320         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
321         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
322           < .deps/$(*F).p > .deps/$(*F).P
323         @-rm -f .deps/$(*F).p
324
325 %.o: %.cxx
326         @echo '$(CXXCOMPILE) -c $<'; \
327         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
328
329 %.lo: %.cxx
330         @echo '$(LTCXXCOMPILE) -c $<'; \
331         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
332         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
333           < .deps/$(*F).p > .deps/$(*F).P
334         @-rm -f .deps/$(*F).p
335 info:
336 dvi:
337 check: all
338         $(MAKE)
339 installcheck:
340 install-exec: install-binPROGRAMS install-binSCRIPTS
341         @$(NORMAL_INSTALL)
342
343 install-data: 
344         @$(NORMAL_INSTALL)
345
346 install: install-exec install-data all
347         @:
348
349 uninstall: uninstall-binPROGRAMS uninstall-binSCRIPTS
350
351 install-strip:
352         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
353 installdirs:
354         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DATADIR)$(bindir)
355
356
357 mostlyclean-generic:
358         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
359
360 clean-generic:
361         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
362
363 distclean-generic:
364         -rm -f Makefile $(DISTCLEANFILES)
365         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
366         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
367
368 maintainer-clean-generic:
369         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
370         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
371 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
372                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
373                 mostlyclean-generic
374
375 clean:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
376                 clean-depend clean-generic mostlyclean
377
378 distclean:  distclean-binPROGRAMS distclean-compile distclean-libtool \
379                 distclean-tags distclean-depend distclean-generic clean
380         -rm -f config.status
381         -rm -f libtool
382
383 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
384                 maintainer-clean-libtool maintainer-clean-tags \
385                 maintainer-clean-depend maintainer-clean-generic \
386                 distclean
387         @echo "This command is intended for maintainers to use;"
388         @echo "it deletes files that may require special tools to rebuild."
389
390 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
391 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
392 mostlyclean-compile distclean-compile clean-compile \
393 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
394 clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
395 install-binSCRIPTS tags mostlyclean-tags distclean-tags clean-tags \
396 maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
397 clean-depend maintainer-clean-depend info dvi installcheck install-exec \
398 install-data install uninstall all installdirs mostlyclean-generic \
399 distclean-generic clean-generic maintainer-clean-generic clean \
400 mostlyclean distclean maintainer-clean
401
402
403 INCLUDES += \
404         -DGLUT \
405         -I$(top_builddir) \
406         -I$(top_builddir)/Lib \
407         -I$(top_builddir)/Simulator
408
409 # Tell versions [3.59,3.63) of GNU make to not export all variables.
410 # Otherwise a system limit (for SysV at least) may be exceeded.
411 .NOEXPORT: