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

125 lines
3.7 KiB
Text
Raw Normal View History

EXTRA_DIST = 3dfx.sh runfgfs.in runfgfs.bat.in \
fg_os_sdl.cxx fg_os.cxx fg_os.hxx
2003-03-21 20:33:41 +00:00
if ENABLE_MPLAYER_AS
MPLAYER_LIBS = $(top_builddir)/src/MultiPlayer/libMultiPlayer.a
2003-03-21 20:33:41 +00:00
else
MPLAYER_LIBS =
endif
if ENABLE_SP_FDM
SP_FDM_LIBS = $(top_builddir)/src/FDM/SP/libSPFDM.a
else
SP_FDM_LIBS =
endif
if WITH_THREADS
THREAD_LIBS = -lsgthreads $(thread_LIBS)
else
THREAD_LIBS =
endif
if USE_FESTIVAL
VOICE_LIBS = $(top_builddir)/src/Voice/libVoice.a
else
VOICE_LIBS =
endif
if USE_SDL
GFX_CODE = fg_os_sdl.cxx fg_os.hxx
else
GFX_CODE = fg_os.cxx fg_os.hxx
endif
2006-01-12 15:04:22 +00:00
JSBSIM_LIBS = \
$(top_builddir)/src/FDM/JSBSim/libJSBSim.a \
$(top_builddir)/src/FDM/JSBSim/initialization/libInit.a \
$(top_builddir)/src/FDM/JSBSim/models/libModels.a \
$(top_builddir)/src/FDM/JSBSim/models/flight_control/libFlightControl.a\
$(top_builddir)/src/FDM/JSBSim/models/atmosphere/libAtmosphere.a \
$(top_builddir)/src/FDM/JSBSim/models/propulsion/libPropulsion.a \
$(top_builddir)/src/FDM/JSBSim/input_output/libInputOutput.a \
$(top_builddir)/src/FDM/JSBSim/math/libMath.a
AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkgdatadir)\"
1999-06-04 20:35:47 +00:00
bin_PROGRAMS = fgfs metar
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
2003-08-17 09:54:41 +00:00
noinst_LIBRARIES = libMain.a
2001-07-12 17:55:44 +00:00
# bin_SCRIPTS = runfgfs
1998-04-03 22:09:02 +00:00
2003-08-17 09:54:41 +00:00
libMain_a_SOURCES = \
main.cxx main.hxx \
renderer.cxx renderer.hxx \
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 \
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 \
$(GFX_CODE)
2003-08-17 09:54:41 +00:00
fgfs_SOURCES = bootstrap.cxx
1998-08-24 20:33:48 +00:00
fgfs_LDADD = \
2003-08-17 09:54:41 +00:00
$(top_builddir)/src/Main/libMain.a \
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/Cockpit/libCockpit.a \
$(top_builddir)/src/Cockpit/built_in/libBuilt_in.a \
2000-02-15 03:30:01 +00:00
$(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 \
2006-01-12 15:04:22 +00:00
$(JSBSIM_LIBS) \
$(top_builddir)/src/FDM/YASim/libYASim.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/FDM/LaRCsim/libLaRCsim.a \
$(top_builddir)/src/FDM/UIUCModel/libUIUCModel.a \
$(SP_FDM_LIBS) \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/GUI/libGUI.a \
2004-01-31 19:47:45 +00:00
$(top_builddir)/src/Autopilot/libAutopilot.a \
$(top_builddir)/src/Input/libInput.a \
2005-11-30 00:50:07 +00:00
$(top_builddir)/src/Instrumentation/KLN89/libKLN89.a \
$(top_builddir)/src/Instrumentation/libInstrumentation.a \
$(top_builddir)/src/Model/libModel.a \
$(top_builddir)/src/AIModel/libAIModel.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 \
$(top_builddir)/src/Scripting/libScripting.a \
$(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) \
$(VOICE_LIBS) \
$(top_builddir)/src/Systems/libSystems.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Time/libTime.a \
$(top_builddir)/src/Traffic/libTraffic.a \
2004-03-16 20:19:07 +00:00
$(top_builddir)/src/Environment/libEnvironment.a \
2003-08-28 21:05:01 +00:00
-lsgroute -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb -lsgmodel \
-lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops -lsgdebug \
2003-11-25 22:50:17 +00:00
-lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound -lsgserial \
-lsgstructure -lsgenvironment \
$(THREAD_LIBS) \
-lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul \
$(network_LIBS) \
-lz \
$(opengl_LIBS) \
$(openal_LIBS)
metar_SOURCES = metar_main.cxx
metar_LDADD = \
-lsgenvironment -lsgio -lsgbucket -lsgmisc -lsgstructure -lsgdebug \
2004-02-23 14:22:53 +00:00
-lplibnet -lplibul $(network_LIBS) \
-lz $(base_LIBS)
2006-01-12 15:04:22 +00:00
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/FDM/JSBSim