920eefd4a7
Starting a bit of reorganization of lighting code.
411 lines
12 KiB
Makefile
411 lines
12 KiB
Makefile
# Makefile.in generated automatically by automake 1.2h from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DISTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ../..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
CC = @CC@
|
|
CXX = @CXX@
|
|
LD = @LD@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
NM = @NM@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
VERSION = @VERSION@
|
|
|
|
EXTRA_DIST = runfg.in runfg.bat.in
|
|
|
|
bin_PROGRAMS = fg
|
|
|
|
bin_SCRIPTS = runfg runfg.bat
|
|
|
|
fg_SOURCES = \
|
|
GLUTkey.cxx GLUTkey.hxx \
|
|
GLUTmain.cxx \
|
|
fg_config.h \
|
|
fg_getopt.c fg_getopt.h \
|
|
fg_init.cxx fg_init.hxx \
|
|
views.cxx views.hxx
|
|
|
|
fg_LDADD = \
|
|
$(top_builddir)/Simulator/Aircraft/libAircraft.la \
|
|
$(top_builddir)/Simulator/Astro/libAstro.la \
|
|
$(top_builddir)/Simulator/Autopilot/libAutopilot.la \
|
|
$(top_builddir)/Simulator/Cockpit/libCockpit.la \
|
|
$(top_builddir)/Simulator/Controls/libControls.la \
|
|
$(top_builddir)/Simulator/Flight/libFlight.la \
|
|
$(top_builddir)/Simulator/Flight/LaRCsim/libLaRCsim.la \
|
|
$(top_builddir)/Simulator/Flight/Slew/libSlew.la \
|
|
$(top_builddir)/Simulator/Scenery/libScenery.la \
|
|
$(top_builddir)/Simulator/Time/libTime.la \
|
|
$(top_builddir)/Simulator/Weather/libWeather.la \
|
|
$(top_builddir)/Simulator/Joystick/libJoystick.la \
|
|
$(top_builddir)/Lib/Math/libMath.la \
|
|
$(top_builddir)/Lib/Bucket/libBucket.la \
|
|
$(top_builddir)/Lib/Debug/libDebug.la \
|
|
$(top_builddir)/Lib/zlib/libz.la
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = ../../Include/config.h
|
|
CONFIG_CLEAN_FILES = runfg runfg.bat
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
X_LIBS = @X_LIBS@
|
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
|
X_PRE_LIBS = @X_PRE_LIBS@
|
|
fg_OBJECTS = GLUTkey.o GLUTmain.o fg_getopt.o fg_init.o views.o
|
|
fg_DEPENDENCIES = $(top_builddir)/Simulator/Aircraft/libAircraft.la \
|
|
$(top_builddir)/Simulator/Astro/libAstro.la \
|
|
$(top_builddir)/Simulator/Autopilot/libAutopilot.la \
|
|
$(top_builddir)/Simulator/Cockpit/libCockpit.la \
|
|
$(top_builddir)/Simulator/Controls/libControls.la \
|
|
$(top_builddir)/Simulator/Flight/libFlight.la \
|
|
$(top_builddir)/Simulator/Flight/LaRCsim/libLaRCsim.la \
|
|
$(top_builddir)/Simulator/Flight/Slew/libSlew.la \
|
|
$(top_builddir)/Simulator/Scenery/libScenery.la \
|
|
$(top_builddir)/Simulator/Time/libTime.la \
|
|
$(top_builddir)/Simulator/Weather/libWeather.la \
|
|
$(top_builddir)/Simulator/Joystick/libJoystick.la \
|
|
$(top_builddir)/Lib/Math/libMath.la \
|
|
$(top_builddir)/Lib/Bucket/libBucket.la \
|
|
$(top_builddir)/Lib/Debug/libDebug.la $(top_builddir)/Lib/zlib/libz.la
|
|
fg_LDFLAGS =
|
|
SCRIPTS = $(bin_SCRIPTS)
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
|
|
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
|
|
CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
DIST_COMMON = README Makefile.am Makefile.in runfg.bat.in runfg.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP = --best
|
|
DEP_FILES = .deps/GLUTkey.P .deps/GLUTmain.P .deps/fg_getopt.P \
|
|
.deps/fg_init.P .deps/views.P
|
|
CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
|
|
SOURCES = $(fg_SOURCES)
|
|
OBJECTS = $(fg_OBJECTS)
|
|
|
|
all: Makefile $(PROGRAMS) $(SCRIPTS)
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .cxx .lo .o .s
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu Simulator/Main/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
runfg: $(top_builddir)/config.status runfg.in
|
|
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
|
runfg.bat: $(top_builddir)/config.status runfg.bat.in
|
|
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
.s.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.S.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
fg: $(fg_OBJECTS) $(fg_DEPENDENCIES)
|
|
@rm -f fg
|
|
$(CXXLINK) $(fg_LDFLAGS) $(fg_OBJECTS) $(fg_LDADD) $(LIBS)
|
|
|
|
install-binSCRIPTS: $(bin_SCRIPTS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else if test -f $(srcdir)/$$p; then \
|
|
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else :; fi; fi; \
|
|
done
|
|
|
|
uninstall-binSCRIPTS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(bin_SCRIPTS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
.cxx.o:
|
|
$(CXXCOMPILE) -c $<
|
|
.cxx.lo:
|
|
$(LTCXXCOMPILE) -c $<
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
subdir = Simulator/Main
|
|
|
|
distdir: $(DISTFILES)
|
|
here=`cd $(top_builddir) && pwd`; \
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
|
distdir=`cd $(distdir) && pwd`; \
|
|
cd $(top_srcdir) \
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Simulator/Main/Makefile
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
done
|
|
|
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
|
|
|
-include $(DEP_FILES)
|
|
|
|
mostlyclean-depend:
|
|
|
|
clean-depend:
|
|
|
|
distclean-depend:
|
|
|
|
maintainer-clean-depend:
|
|
-rm -rf .deps
|
|
|
|
%.o: %.c
|
|
@echo '$(COMPILE) -c $<'; \
|
|
$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
|
|
|
%.lo: %.c
|
|
@echo '$(LTCOMPILE) -c $<'; \
|
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
|
< .deps/$(*F).p > .deps/$(*F).P
|
|
@-rm -f .deps/$(*F).p
|
|
|
|
%.o: %.cxx
|
|
@echo '$(CXXCOMPILE) -c $<'; \
|
|
$(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
|
|
|
|
%.lo: %.cxx
|
|
@echo '$(LTCXXCOMPILE) -c $<'; \
|
|
$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
|
|
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
|
|
< .deps/$(*F).p > .deps/$(*F).P
|
|
@-rm -f .deps/$(*F).p
|
|
info:
|
|
dvi:
|
|
check: all
|
|
$(MAKE)
|
|
installcheck:
|
|
install-exec: install-binPROGRAMS install-binSCRIPTS
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data:
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-exec install-data all
|
|
@:
|
|
|
|
uninstall: uninstall-binPROGRAMS uninstall-binSCRIPTS
|
|
|
|
install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
installdirs:
|
|
$(mkinstalldirs) $(DATADIR)$(bindir) $(DATADIR)$(bindir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(DISTCLEANFILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
|
mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
|
|
mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
|
|
mostlyclean-generic
|
|
|
|
clean: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
clean-depend clean-generic mostlyclean
|
|
|
|
distclean: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
|
distclean-tags distclean-depend distclean-generic clean
|
|
-rm -f config.status
|
|
-rm -f libtool
|
|
|
|
maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
|
|
maintainer-clean-libtool maintainer-clean-tags \
|
|
maintainer-clean-depend maintainer-clean-generic \
|
|
distclean
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
|
|
install-binSCRIPTS tags mostlyclean-tags distclean-tags clean-tags \
|
|
maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
|
|
clean-depend maintainer-clean-depend info dvi installcheck install-exec \
|
|
install-data install uninstall all installdirs mostlyclean-generic \
|
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
|
|
INCLUDES += \
|
|
-DGLUT \
|
|
-I$(top_builddir) \
|
|
-I$(top_builddir)/Lib \
|
|
-I$(top_builddir)/Simulator
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|