1
0
Fork 0
flightgear/src/Main/Makefile.am

79 lines
2 KiB
Text
Raw Normal View History

if ENABLE_AUDIO_SUPPORT
DEFS += -DENABLE_AUDIO_SUPPORT
AUDIO_LIBS = -lsl -lsm
endif
if ENABLE_IRIX_AUDIO
LIBS += -laudio
endif
if ENABLE_WIN32_AUDIO
LIBS += -lwinmm
endif
if ENABLE_PLIB_JOYSTICK
DEFS += -DENABLE_PLIB_JOYSTICK
else
DEFS += -DENABLE_GLUT_JOYSTICK
endif
if ENABLE_XMESA_FX
DEFS += -DXMESA -DFX
endif
if ENABLE_UNIX_SERIAL
SERIAL_LIBS = $(top_builddir)/Lib/Serial/libSerial.a
else
SERIAL_LIBS =
endif
1999-06-04 20:35:47 +00:00
DEFS += -DPKGLIBDIR=\"$(pkglibdir)\"
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 \
fg_init.cxx fg_init.hxx \
fg_serial.cxx fg_serial.hxx \
options.cxx options.hxx \
splash.cxx splash.hxx \
views.cxx views.hxx
1998-08-24 20:33:48 +00:00
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/FDM/libFlight.a \
$(top_builddir)/Simulator/FDM/External/libExternal.a \
$(top_builddir)/Simulator/FDM/JSBsim/libJSBsim.a \
$(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 \
$(top_builddir)/Simulator/Scenery/libScenery.a \
$(top_builddir)/Simulator/Airports/libAirports.a \
1998-08-25 16:59:08 +00:00
$(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) \
$(SERIAL_LIBS) \
$(top_builddir)/Lib/Math/libMath.a \
$(top_builddir)/Lib/Bucket/libBucket.a \
$(top_builddir)/Lib/Debug/libDebug.a \
-lpu -lfnt \
$(top_builddir)/Lib/Misc/libMisc.a \
$(top_builddir)/Lib/zlib/libz.a \
1998-12-03 01:14:58 +00:00
$(opengl_LIBS)
1998-04-03 22:09:02 +00:00
INCLUDES += \
-I$(top_builddir) \
-I$(top_builddir)/Lib \
-I$(top_builddir)/Lib/plib/include \
-I$(top_builddir)/Simulator