59 lines
1.5 KiB
Makefile
59 lines
1.5 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_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/Airports/libAirports.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/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
|
|
|
|
INCLUDES += \
|
|
-I$(top_builddir) \
|
|
-I$(top_builddir)/Lib \
|
|
-I$(top_builddir)/Simulator
|