- Removed some old cruft.
- Removed some support for older versions of automake which technically was
correct, but caused the newer automakes to squawk warnings during an
initial sanity check (which isn't done very intelligently.)
NOTE: this fix is technically not correct for older version of automake.
These older version use the variable "INCLUDES" internally and could have
them already set to an important value. That is why we were appending
our values to them. However, newer versions of automake don't set this
value themselves so it is an error to append to a non-existant variable.
We seem to "get away" with overwriting the value on older versions of
automake, but if you have problems, consider upgrading to at least
automake-1.5.
/* Define if you have the wait3 system call. */
#undef HAVE_WAIT3
-/* Define if you have MetaKit installed system wide. */
-#undef HAVE_MK4
-
-/* Define if you have zlib installed system wide. */
-#undef HAVE_ZLIB
-
/* Define as __inline if that's what the C compiler calls it. */
#undef inline
AIEntity.hxx AIEntity.cxx \
AILocalTraffic.hxx AILocalTraffic.cxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
libAircraft_a_SOURCES = aircraft.cxx aircraft.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
genrunways_SOURCES = genrunways.cxx
genrunways_LDADD = libAirports.a -lsgdebug -lsgmisc -lsgxml -lmk4 -lz
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
auto_gui.cxx auto_gui.hxx \
newauto.cxx newauto.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
radiostack.cxx radiostack.hxx \
steam.cxx steam.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
SUBDIRS = built_in
libBuilt_in_a_SOURCES = \
FGMagRibbon.cxx FGMagRibbon.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
libControls_a_SOURCES = controls.cxx controls.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
environment_mgr.cxx environment_mgr.hxx \
environment_ctrl.cxx environment_ctrl.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
libBalloon_a_SOURCES = BalloonSim.cpp BalloonSim.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
# noinst_PROGRAMS = testJSBsim
if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
DEFS += -DFGFS
else
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
AM_CXXFLAGS = -DFGFS
endif
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
FGSwitch.cpp FGSwitch.h
if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
DEFS += -DFGFS
else
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
AM_CXXFLAGS = -DFGFS
endif
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
$(AIRCRAFT_MODEL) \
ls_interface.c ls_interface.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
UFO.cxx UFO.hxx \
NullFDM.cxx NullFDM.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
uiuc_warnings_errors.cpp uiuc_warnings_errors.h \
uiuc_wrapper.cpp uiuc_wrapper.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
Vector.hpp \
Wing.cpp Wing.hpp
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
sgVec3Slider.cxx sgVec3Slider.hxx \
trackball.c trackball.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
fgjs_LDADD = $(audio_LIBS)
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
-if ENABLE_UNIX_SERIAL
-SERIAL_LIBS = -lsgserial
-else
-SERIAL_LIBS =
-endif
-
if ENABLE_WEATHERCM
WEATHER_LIBS = $(top_builddir)/src/WeatherCM/libWeatherCM.a
else
$(top_builddir)/src/Input/libInput.a \
-lsgroute -lsgsky -lsgephem -lsgtiming -lsgio -lsgscreen \
-lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml \
- $(SERIAL_LIBS) \
+ -lsgserial \
$(THREAD_LIBS) \
-lplibpu -lplibfnt -lplibnet -lplibssg -lplibsg \
-lmk4 -lz \
fgfs_CFLAGS = -DTHIS_IS_A_TEST
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
-
-
acmodel.cxx acmodel.hxx \
panelnode.cxx panelnode.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
-lsgtiming -lsgmath -lsgmisc -lsgdebug -lsgmagvar -lsgxml \
-lz
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
ray.cxx ray.hxx \
rul.cxx rul.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
libNetworkOLK_a_SOURCES = \
net_send.cxx net_hud.cxx network.cxx network.h fgd.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
obj.cxx obj.hxx \
texload.c texload.h colours.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
tileentry.cxx tileentry.hxx \
tilemgr.cxx tilemgr.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
morse.cxx morse.hxx \
soundmgr.cxx soundmgr.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
sunpos.cxx sunpos.hxx \
tmp.cxx tmp.hxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif
linintp2.cpp linintp2.h \
sphrintp.cpp sphrintp.h
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif