]> git.mxchange.org Git - flightgear.git/blob - Areas/Makefile
Initial revision.
[flightgear.git] / Areas / Makefile
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.2h from Makefile.am
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 #---------------------------------------------------------------------------
15 # Makefile
16 #
17 # Written by Curtis Olson, started January 1998.
18 #
19 # Copyright (C) 1998  Curtis L. Olson  - curt@me.umn.edu
20 #
21 # This program is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 2 of the License, or
24 # (at your option) any later version.
25 #
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29 # GNU General Public License for more details.
30 #
31 # You should have received a copy of the GNU General Public License
32 # along with this program; if not, write to the Free Software
33 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
34 #
35 # $Id$
36 # (Log is kept at end of this file)
37 #---------------------------------------------------------------------------
38
39
40 SHELL = /bin/sh
41
42 srcdir = .
43 top_srcdir = ../..
44 prefix = /usr/local
45 exec_prefix = ${prefix}
46
47 bindir = ${exec_prefix}/bin
48 sbindir = ${exec_prefix}/sbin
49 libexecdir = ${exec_prefix}/libexec
50 datadir = ${prefix}/share
51 sysconfdir = ${prefix}/etc
52 sharedstatedir = ${prefix}/com
53 localstatedir = ${prefix}/var
54 libdir = /opt/X11R6/lib
55 infodir = ${prefix}/info
56 mandir = ${prefix}/man
57 includedir = ${prefix}/include
58 oldincludedir = /usr/include
59
60 DISTDIR =
61
62 pkgdatadir = $(datadir)/FlightGear
63 pkglibdir = $(libdir)/FlightGear
64 pkgincludedir = $(includedir)/FlightGear
65
66 top_builddir = ../..
67
68 ACLOCAL = aclocal
69 AUTOCONF = autoconf
70 AUTOMAKE = automake
71 AUTOHEADER = autoheader
72
73 INSTALL = /usr/bin/install -c
74 INSTALL_PROGRAM = ${INSTALL}
75 INSTALL_DATA = ${INSTALL} -m 644
76 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
77 transform = s,x,x,
78
79 NORMAL_INSTALL = :
80 PRE_INSTALL = :
81 POST_INSTALL = :
82 NORMAL_UNINSTALL = :
83 PRE_UNINSTALL = :
84 POST_UNINSTALL = :
85 host_alias = i586-pc-linux-gnulibc1
86 host_triplet = i586-pc-linux-gnulibc1
87 CC = gcc
88 CXX = c++
89 LD = /usr/bin/ld
90 LIBTOOL = $(SHELL) $(top_builddir)/libtool
91 LN_S = ln -s
92 MAINT = #M#
93 MAKEINFO = /amd/wiley/export/home/curt/projects/FlightGear/missing makeinfo
94 NM = /usr/bin/nm -B
95 PACKAGE = FlightGear
96 RANLIB = ranlib
97 VERSION = 0.51
98
99 bin_PROGRAMS = areas
100
101 areas_SOURCES = area.cxx area.hxx main.cxx
102
103 areas_LDADD = $(top_builddir)/Lib/Bucket/libBucket.la
104 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
105 CONFIG_HEADER = ../../Include/config.h
106 CONFIG_CLEAN_FILES = 
107 PROGRAMS =  $(bin_PROGRAMS)
108
109
110 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../../Include
111 CPPFLAGS = -I/usr/local/include -I/usr/X11R6/include
112 LDFLAGS = -L/usr/local/lib -L/usr/X11R6/lib
113 LIBS = -lglut -lMesaGLU -lMesaGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lm 
114 X_CFLAGS =  -I/usr/X11R6/include
115 X_LIBS =  -L/usr/X11R6/lib
116 X_EXTRA_LIBS = 
117 X_PRE_LIBS =  -lSM -lICE
118 areas_OBJECTS =  area.o main.o
119 areas_DEPENDENCIES =  $(top_builddir)/Lib/Bucket/libBucket.la
120 areas_LDFLAGS = 
121 CXXFLAGS = -Wall
122 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
123 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
124 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
125 DIST_COMMON =  README Makefile.am Makefile.in
126
127
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
129
130 TAR = tar
131 GZIP = --best
132 DEP_FILES =  .deps/area.P .deps/main.P
133 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
134 SOURCES = $(areas_SOURCES)
135 OBJECTS = $(areas_OBJECTS)
136
137 all: Makefile $(PROGRAMS)
138
139 .SUFFIXES:
140 .SUFFIXES: .S .c .cxx .lo .o .s
141 $(srcdir)/Makefile.in: #M# Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
142         cd $(top_srcdir) && $(AUTOMAKE) --gnu Tools/Areas/Makefile
143
144 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
145         cd $(top_builddir) \
146           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
147
148
149 mostlyclean-binPROGRAMS:
150
151 clean-binPROGRAMS:
152         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
153
154 distclean-binPROGRAMS:
155
156 maintainer-clean-binPROGRAMS:
157
158 install-binPROGRAMS: $(bin_PROGRAMS)
159         @$(NORMAL_INSTALL)
160         $(mkinstalldirs) $(DESTDIR)$(bindir)
161         @list='$(bin_PROGRAMS)'; for p in $$list; do \
162           if test -f $$p; then \
163             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
164             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
165           else :; fi; \
166         done
167
168 uninstall-binPROGRAMS:
169         @$(NORMAL_UNINSTALL)
170         list='$(bin_PROGRAMS)'; for p in $$list; do \
171           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
172         done
173
174 .s.o:
175         $(COMPILE) -c $<
176
177 .S.o:
178         $(COMPILE) -c $<
179
180 mostlyclean-compile:
181         -rm -f *.o core *.core
182
183 clean-compile:
184
185 distclean-compile:
186         -rm -f *.tab.c
187
188 maintainer-clean-compile:
189
190 .s.lo:
191         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
192
193 .S.lo:
194         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
195
196 mostlyclean-libtool:
197         -rm -f *.lo
198
199 clean-libtool:
200         -rm -rf .libs _libs
201
202 distclean-libtool:
203
204 maintainer-clean-libtool:
205
206 areas: $(areas_OBJECTS) $(areas_DEPENDENCIES)
207         @rm -f areas
208         $(CXXLINK) $(areas_LDFLAGS) $(areas_OBJECTS) $(areas_LDADD) $(LIBS)
209 .cxx.o:
210         $(CXXCOMPILE) -c $<
211 .cxx.lo:
212         $(LTCXXCOMPILE) -c $<
213
214 tags: TAGS
215
216 ID: $(HEADERS) $(SOURCES) $(LISP)
217         here=`pwd` && cd $(srcdir) \
218           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
219
220 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
221         tags=; \
222         here=`pwd`; \
223         list='$(SOURCES) $(HEADERS)'; \
224         unique=`for i in $$list; do echo $$i; done | \
225           awk '    { files[$$0] = 1; } \
226                END { for (i in files) print i; }'`; \
227         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
228           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
229
230 mostlyclean-tags:
231
232 clean-tags:
233
234 distclean-tags:
235         -rm -f TAGS ID
236
237 maintainer-clean-tags:
238
239 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
240
241 subdir = Tools/Areas
242
243 distdir: $(DISTFILES)
244         here=`cd $(top_builddir) && pwd`; \
245         top_distdir=`cd $(top_distdir) && pwd`; \
246         distdir=`cd $(distdir) && pwd`; \
247         cd $(top_srcdir) \
248           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Tools/Areas/Makefile
249         @for file in $(DISTFILES); do \
250           d=$(srcdir); \
251           test -f $(distdir)/$$file \
252           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
253           || cp -p $$d/$$file $(distdir)/$$file; \
254         done
255
256 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
257
258 -include $(DEP_FILES)
259
260 mostlyclean-depend:
261
262 clean-depend:
263
264 distclean-depend:
265
266 maintainer-clean-depend:
267         -rm -rf .deps
268
269 %.o: %.c
270         @echo '$(COMPILE) -c $<'; \
271         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
272
273 %.lo: %.c
274         @echo '$(LTCOMPILE) -c $<'; \
275         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
276         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
277           < .deps/$(*F).p > .deps/$(*F).P
278         @-rm -f .deps/$(*F).p
279
280 %.o: %.cxx
281         @echo '$(CXXCOMPILE) -c $<'; \
282         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
283
284 %.lo: %.cxx
285         @echo '$(LTCXXCOMPILE) -c $<'; \
286         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
287         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
288           < .deps/$(*F).p > .deps/$(*F).P
289         @-rm -f .deps/$(*F).p
290 info:
291 dvi:
292 check: all
293         $(MAKE)
294 installcheck:
295 install-exec: install-binPROGRAMS
296         @$(NORMAL_INSTALL)
297
298 install-data: 
299         @$(NORMAL_INSTALL)
300
301 install: install-exec install-data all
302         @:
303
304 uninstall: uninstall-binPROGRAMS
305
306 install-strip:
307         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
308 installdirs:
309         $(mkinstalldirs)  $(DATADIR)$(bindir)
310
311
312 mostlyclean-generic:
313         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
314
315 clean-generic:
316         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
317
318 distclean-generic:
319         -rm -f Makefile $(DISTCLEANFILES)
320         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
321         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
322
323 maintainer-clean-generic:
324         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
325         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
326 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
327                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
328                 mostlyclean-generic
329
330 clean:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
331                 clean-depend clean-generic mostlyclean
332
333 distclean:  distclean-binPROGRAMS distclean-compile distclean-libtool \
334                 distclean-tags distclean-depend distclean-generic clean
335         -rm -f config.status
336         -rm -f libtool
337
338 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
339                 maintainer-clean-libtool maintainer-clean-tags \
340                 maintainer-clean-depend maintainer-clean-generic \
341                 distclean
342         @echo "This command is intended for maintainers to use;"
343         @echo "it deletes files that may require special tools to rebuild."
344
345 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
346 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
347 mostlyclean-compile distclean-compile clean-compile \
348 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
349 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
350 distclean-tags clean-tags maintainer-clean-tags distdir \
351 mostlyclean-depend distclean-depend clean-depend \
352 maintainer-clean-depend info dvi installcheck install-exec install-data \
353 install uninstall all installdirs mostlyclean-generic distclean-generic \
354 clean-generic maintainer-clean-generic clean mostlyclean distclean \
355 maintainer-clean
356
357
358 INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
359
360 #---------------------------------------------------------------------------
361 # $Log$
362 # Revision 1.1  1998/07/20 12:54:05  curt
363 # Initial revision.
364 #
365 # Revision 1.2  1998/04/14 02:25:59  curt
366 # Code reorganizations.  Added a Lib/ directory for more general libraries.
367 #
368 # Revision 1.1  1998/04/08 22:54:57  curt
369 # Adopted Gnu automake/autoconf system.
370 #
371 # Revision 1.2  1998/01/21 02:55:46  curt
372 # Incorporated new make system from Bob Kuehne <rpk@sgi.com>.
373 #
374 # Revision 1.1  1998/01/15 02:45:25  curt
375 # Initial revision.
376 #
377
378 # Tell versions [3.59,3.63) of GNU make to not export all variables.
379 # Otherwise a system limit (for SysV at least) may be exceeded.
380 .NOEXPORT: