1998-07-16 17:33:34 +00:00
|
|
|
if ENABLE_AUDIO_SUPPORT
|
|
|
|
DEFS += -DENABLE_AUDIO_SUPPORT
|
1999-04-03 04:21:01 +00:00
|
|
|
AUDIO_LIBS = -L$(top_builddir)/Lib/plib/src/sl -lsl -lsm
|
1998-07-30 23:48:24 +00:00
|
|
|
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-27 02:14:21 +00:00
|
|
|
if ENABLE_LINUX_JOYSTICK
|
|
|
|
DEFS += -DENABLE_LINUX_JOYSTICK
|
1998-10-25 10:57:18 +00:00
|
|
|
else
|
1998-10-27 02:14:21 +00:00
|
|
|
DEFS += -DENABLE_GLUT_JOYSTICK
|
1998-10-25 10:57:18 +00:00
|
|
|
endif
|
|
|
|
|
1998-07-16 17:33:34 +00:00
|
|
|
if ENABLE_XMESA_FX
|
|
|
|
DEFS += -DXMESA -DFX
|
|
|
|
endif
|
|
|
|
|
1998-11-16 13:59:58 +00:00
|
|
|
if ENABLE_UNIX_SERIAL
|
|
|
|
SERIAL_LIBS = $(top_builddir)/Lib/Serial/libSerial.a
|
|
|
|
else
|
|
|
|
SERIAL_LIBS =
|
|
|
|
endif
|
|
|
|
|
1999-04-19 20:19:36 +00:00
|
|
|
EXTRA_DIST = 3dfx.sh 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-22 13:25:39 +00:00
|
|
|
fg_init.cxx fg_init.hxx \
|
1998-11-16 13:59:58 +00:00
|
|
|
fg_serial.cxx fg_serial.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 \
|
1999-02-01 21:33:23 +00:00
|
|
|
$(top_builddir)/Simulator/FDM/libFlight.a \
|
|
|
|
$(top_builddir)/Simulator/FDM/External/libExternal.a \
|
1999-02-05 21:28:09 +00:00
|
|
|
$(top_builddir)/Simulator/FDM/JSBsim/libJSBsim.a \
|
1999-02-01 21:33:23 +00:00
|
|
|
$(top_builddir)/Simulator/FDM/LaRCsim/libLaRCsim.a \
|
|
|
|
$(top_builddir)/Simulator/FDM/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-27 02:14:21 +00:00
|
|
|
$(top_builddir)/Simulator/Joystick/libJoystick.a \
|
1999-04-03 04:21:01 +00:00
|
|
|
$(AUDIO_LIBS) \
|
|
|
|
$(SERIAL_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 \
|
1999-04-03 04:21:01 +00:00
|
|
|
-L$(top_builddir)/Lib/plib/src/pui -lpu \
|
1998-09-01 19:02:53 +00:00
|
|
|
$(top_builddir)/Lib/zlib/libz.a \
|
1998-11-04 23:01:39 +00:00
|
|
|
$(top_builddir)/Lib/Misc/libMisc.a \
|
1998-12-03 01:14:58 +00:00
|
|
|
$(opengl_LIBS)
|
1998-04-03 22:09:02 +00:00
|
|
|
|
1998-04-14 02:21:01 +00:00
|
|
|
INCLUDES += \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_builddir)/Lib \
|
1999-04-03 04:21:01 +00:00
|
|
|
-I$(top_builddir)/Lib/plib/include \
|
1998-04-14 02:21:01 +00:00
|
|
|
-I$(top_builddir)/Simulator
|