1998-07-16 17:33:34 +00:00
|
|
|
if ENABLE_AUDIO_SUPPORT
|
|
|
|
DEFS += -DENABLE_AUDIO_SUPPORT
|
1998-06-17 21:35:10 +00:00
|
|
|
AUDIO_LIBS = \
|
1998-07-30 23:48:24 +00:00
|
|
|
$(top_builddir)/Lib/Audio/src/libsl.a \
|
|
|
|
$(top_builddir)/Lib/Audio/src/libsm.a
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_IRIX_AUDIO
|
|
|
|
LIBS += -laudio
|
1998-06-17 21:35:10 +00:00
|
|
|
endif
|
|
|
|
|
1998-07-16 17:33:34 +00:00
|
|
|
if ENABLE_WIN32_AUDIO
|
1998-06-17 21:35:10 +00:00
|
|
|
LIBS += -lwinmm
|
1998-06-03 00:47:11 +00:00
|
|
|
endif
|
|
|
|
|
1998-10-25 10:57:18 +00:00
|
|
|
if ENABLE_JOYSTICK_SUPPORT
|
|
|
|
DEFS += -DENABLE_JOYSTICK_SUPPORT
|
|
|
|
JOYSTICK_LIBS = $(top_builddir)/Simulator/Joystick/libJoystick.a
|
|
|
|
else
|
|
|
|
JOYSTICK_LIBS =
|
|
|
|
endif
|
|
|
|
|
1998-07-16 17:33:34 +00:00
|
|
|
if ENABLE_XMESA_FX
|
|
|
|
DEFS += -DXMESA -DFX
|
|
|
|
endif
|
|
|
|
|
1998-08-24 20:33:48 +00:00
|
|
|
EXTRA_DIST = runfgfs.in runfgfs.bat.in
|
1998-04-03 22:09:02 +00:00
|
|
|
|
1998-08-24 20:33:48 +00:00
|
|
|
bin_PROGRAMS = fgfs
|
1998-04-03 22:09:02 +00:00
|
|
|
|
1998-08-24 20:33:48 +00:00
|
|
|
bin_SCRIPTS = runfgfs runfgfs.bat
|
1998-04-03 22:09:02 +00:00
|
|
|
|
1998-08-24 20:33:48 +00:00
|
|
|
fgfs_SOURCES = \
|
1998-08-25 15:34:54 +00:00
|
|
|
GLUTkey.cxx GLUTkey.hxx GLUTmain.cxx \
|
1998-04-08 23:32:28 +00:00
|
|
|
fg_config.h \
|
1998-04-22 13:25:39 +00:00
|
|
|
fg_init.cxx fg_init.hxx \
|
1998-04-24 00:49:17 +00:00
|
|
|
options.cxx options.hxx \
|
1998-07-06 02:42:02 +00:00
|
|
|
splash.cxx splash.hxx \
|
1998-04-22 13:25:39 +00:00
|
|
|
views.cxx views.hxx
|
1998-04-08 23:32:28 +00:00
|
|
|
|
1998-08-24 20:33:48 +00:00
|
|
|
fgfs_LDADD = \
|
1998-06-12 00:57:38 +00:00
|
|
|
$(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 \
|
1998-06-12 14:27:25 +00:00
|
|
|
$(top_builddir)/Simulator/GUI/libGUI.a \
|
1998-06-12 00:57:38 +00:00
|
|
|
$(top_builddir)/Simulator/Scenery/libScenery.a \
|
1998-09-14 13:49:42 +00:00
|
|
|
$(top_builddir)/Simulator/Airports/libAirports.a \
|
1998-08-25 16:59:08 +00:00
|
|
|
$(top_builddir)/Simulator/Objects/libObjects.a \
|
1998-06-12 00:57:38 +00:00
|
|
|
$(top_builddir)/Simulator/Time/libTime.a \
|
|
|
|
$(top_builddir)/Simulator/Weather/libWeather.a \
|
1998-10-25 10:57:18 +00:00
|
|
|
$(JOYSTICK_LIBS) $(AUDIO_LIBS) \
|
1998-07-30 23:48:24 +00:00
|
|
|
$(top_builddir)/Lib/Math/libMath.a \
|
|
|
|
$(top_builddir)/Lib/Bucket/libBucket.a \
|
|
|
|
$(top_builddir)/Lib/Debug/libDebug.a \
|
|
|
|
$(top_builddir)/Lib/PUI/libPUI.a \
|
1998-09-01 19:02:53 +00:00
|
|
|
$(top_builddir)/Lib/zlib/libz.a \
|
|
|
|
$(top_builddir)/Lib/Misc/libMisc.a
|
1998-04-03 22:09:02 +00:00
|
|
|
|
1998-04-14 02:21:01 +00:00
|
|
|
INCLUDES += \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_builddir)/Lib \
|
|
|
|
-I$(top_builddir)/Simulator
|