1
0
Fork 0
flightgear/Main/Makefile.am
curt 197b94fcf4 Changes to the automake/autoconf system to reduce the number of libraries
that are unnecessarily linked into the various executables.
1998-11-04 23:01:39 +00:00

69 lines
1.8 KiB
Makefile

if ENABLE_AUDIO_SUPPORT
DEFS += -DENABLE_AUDIO_SUPPORT
AUDIO_LIBS = \
$(top_builddir)/Lib/Audio/src/libsl.a \
$(top_builddir)/Lib/Audio/src/libsm.a
endif
if ENABLE_IRIX_AUDIO
LIBS += -laudio
endif
if ENABLE_WIN32_AUDIO
LIBS += -lwinmm
endif
if ENABLE_LINUX_JOYSTICK
DEFS += -DENABLE_LINUX_JOYSTICK
else
DEFS += -DENABLE_GLUT_JOYSTICK
endif
if ENABLE_XMESA_FX
DEFS += -DXMESA -DFX
endif
EXTRA_DIST = runfgfs.in runfgfs.bat.in
bin_PROGRAMS = fgfs
bin_SCRIPTS = runfgfs runfgfs.bat
fgfs_SOURCES = \
GLUTkey.cxx GLUTkey.hxx GLUTmain.cxx \
fg_config.h \
fg_init.cxx fg_init.hxx \
options.cxx options.hxx \
splash.cxx splash.hxx \
views.cxx views.hxx
fgfs_LDADD = \
$(top_builddir)/Simulator/Aircraft/libAircraft.a \
$(top_builddir)/Simulator/Astro/libAstro.a \
$(top_builddir)/Simulator/Autopilot/libAutopilot.a \
$(top_builddir)/Simulator/Cockpit/libCockpit.a \
$(top_builddir)/Simulator/Controls/libControls.a \
$(top_builddir)/Simulator/Flight/libFlight.a \
$(top_builddir)/Simulator/Flight/LaRCsim/libLaRCsim.a \
$(top_builddir)/Simulator/Flight/Slew/libSlew.a \
$(top_builddir)/Simulator/GUI/libGUI.a \
$(top_builddir)/Simulator/Scenery/libScenery.a \
$(top_builddir)/Simulator/Airports/libAirports.a \
$(top_builddir)/Simulator/Objects/libObjects.a \
$(top_builddir)/Simulator/Time/libTime.a \
$(top_builddir)/Simulator/Weather/libWeather.a \
$(top_builddir)/Simulator/Joystick/libJoystick.a \
$(AUDIO_LIBS) \
$(top_builddir)/Lib/Math/libMath.a \
$(top_builddir)/Lib/Bucket/libBucket.a \
$(top_builddir)/Lib/Debug/libDebug.a \
$(top_builddir)/Lib/PUI/libPUI.a \
$(top_builddir)/Lib/zlib/libz.a \
$(top_builddir)/Lib/Misc/libMisc.a \
$(opengl_LIBS) \
$(base_LIBS)
INCLUDES += \
-I$(top_builddir) \
-I$(top_builddir)/Lib \
-I$(top_builddir)/Simulator