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

102 lines
2.8 KiB
Text
Raw Normal View History

if ENABLE_WEATHERCM
2000-02-15 03:30:01 +00:00
WEATHER_LIBS = $(top_builddir)/src/WeatherCM/libWeatherCM.a
else
WEATHER_LIBS = $(top_builddir)/src/Environment/libEnvironment.a
endif
2003-03-21 20:33:41 +00:00
if ENABLE_MPLAYER_AS
MPLAYER_LIBS = $(top_builddir)/src/MultiPlayer/libMultiPlayer.a $(network_LIBS)
2003-03-21 20:33:41 +00:00
else
MPLAYER_LIBS =
endif
if ENABLE_NETWORK_OLK
NETWORK_LIBS = $(top_builddir)/src/NetworkOLK/libNetworkOLK.a $(network_LIBS)
else
2003-03-21 20:33:41 +00:00
NETWORK_LIBS =
endif
2003-03-21 20:33:41 +00:00
if WITH_THREADS
THREAD_LIBS = -lsgthreads $(thread_LIBS)
else
THREAD_LIBS =
endif
if HAVE_PLIB_PSL
SCRIPTING_LIBS = $(top_builddir)/src/Scripting/libScripting.a
PSL_LIBS = -lplibpsl
else
SCRIPTING_LIBS =
PSL_LIBS =
endif
AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\"
1999-06-04 20:35:47 +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
2001-07-12 17:55:44 +00:00
noinst_SCRIPTS = runfgfs.bat runfgfs
2000-09-14 17:36:39 +00:00
2001-07-12 17:55:44 +00:00
# bin_SCRIPTS = runfgfs
1998-04-03 22:09:02 +00:00
1998-08-24 20:33:48 +00:00
fgfs_SOURCES = \
main.cxx \
fg_commands.cxx fg_commands.hxx \
fg_init.cxx fg_init.hxx \
1999-11-19 02:10:24 +00:00
fg_io.cxx fg_io.hxx \
fg_props.cxx fg_props.hxx \
fgfs.cxx fgfs.hxx \
globals.cxx globals.hxx \
2002-03-12 16:29:00 +00:00
logger.cxx logger.hxx \
options.cxx options.hxx \
splash.cxx splash.hxx \
2002-09-27 22:02:09 +00:00
util.cxx util.hxx \
viewer.cxx viewer.hxx \
viewmgr.cxx viewmgr.hxx
1998-08-24 20:33:48 +00:00
fgfs_LDADD = \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Aircraft/libAircraft.a \
$(top_builddir)/src/ATC/libATC.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Autopilot/libAutopilot.a \
$(top_builddir)/src/Cockpit/libCockpit.a \
$(top_builddir)/src/Cockpit/built_in/libBuilt_in.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Controls/libControls.a \
$(top_builddir)/src/FDM/libFlight.a \
$(top_builddir)/src/FDM/Balloon/libBalloon.a \
$(top_builddir)/src/FDM/ExternalNet/libExternalNet.a \
2003-03-03 04:34:27 +00:00
$(top_builddir)/src/FDM/ExternalPipe/libExternalPipe.a \
2000-07-24 17:27:12 +00:00
$(top_builddir)/src/FDM/JSBSim/libJSBSim.a \
$(top_builddir)/src/FDM/YASim/libYASim.a \
2000-07-24 17:27:12 +00:00
$(top_builddir)/src/FDM/JSBSim/filtersjb/libfiltersjb.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/FDM/LaRCsim/libLaRCsim.a \
$(top_builddir)/src/FDM/UIUCModel/libUIUCModel.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/GUI/libGUI.a \
$(top_builddir)/src/Input/libInput.a \
$(top_builddir)/src/Instrumentation/libInstrumentation.a \
$(top_builddir)/src/Model/libModel.a \
2003-03-21 20:33:41 +00:00
$(top_builddir)/src/Network/libNetwork.a \
$(top_builddir)/src/Navaids/libNavaids.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Scenery/libScenery.a \
$(SCRIPTING_LIBS) \
$(top_builddir)/src/Sound/libSound.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Airports/libAirports.a \
2003-03-21 20:33:41 +00:00
$(MPLAYER_LIBS) \
$(NETWORK_LIBS) \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Objects/libObjects.a \
$(top_builddir)/src/Systems/libSystems.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Time/libTime.a \
$(WEATHER_LIBS) \
-lsgroute -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb -lsgmodel \
-lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops -lsgdebug \
-lsgmagvar -lsgmisc -lsgxml -lsgsound -lsgserial \
$(THREAD_LIBS) \
-lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul \
$(PSL_LIBS) \
-lmk4 -lz \
$(opengl_LIBS) \
$(audio_LIBS)
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src