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

78 lines
2 KiB
Text
Raw Normal View History

if ENABLE_UNIX_SERIAL
2000-02-15 03:30:01 +00:00
SERIAL_LIBS = -lsgserial
else
SERIAL_LIBS =
endif
if ENABLE_OLD_WEATHER
2000-02-15 03:30:01 +00:00
WEATHER_LIBS = $(top_builddir)/src/Weather/libWeather.a
else
2000-02-15 03:30:01 +00:00
WEATHER_LIBS = $(top_builddir)/src/WeatherCM/libWeatherCM.a
endif
if ENABLE_NETWORK_OLK
NETWORK_LIBS = \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Network/libNetwork.a \
$(top_builddir)/src/NetworkOLK/libNetworkOLK.a
else
NETWORK_LIBS = \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Network/libNetwork.a
endif
if OLD_AUTOMAKE
CXXFLAGS += -DPKGLIBDIR=\"$(pkglibdir)\"
else
AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\"
endif
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
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 = \
main.cxx \
bfi.cxx bfi.hxx \
fg_init.cxx fg_init.hxx \
1999-11-19 02:10:24 +00:00
fg_io.cxx fg_io.hxx \
keyboard.cxx keyboard.hxx \
options.cxx options.hxx \
save.cxx save.hxx \
splash.cxx splash.hxx \
views.cxx views.hxx
1999-11-19 02:10:24 +00:00
# fg_serial.cxx fg_serial.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/Autopilot/libAutopilot.a \
$(top_builddir)/src/Cockpit/libCockpit.a \
$(top_builddir)/src/Controls/libControls.a \
2000-03-16 23:19:39 +00:00
$(top_builddir)/src/Ephemeris/libEphemeris.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/JSBsim/libJSBsim.a \
$(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/Navaids/libNavaids.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Scenery/libScenery.a \
$(top_builddir)/src/Airports/libAirports.a \
$(NETWORK_LIBS) \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Objects/libObjects.a \
$(top_builddir)/src/Clouds/libClouds.a \
$(top_builddir)/src/Time/libTime.a \
$(WEATHER_LIBS) \
$(top_builddir)/src/Sky/libSky.a \
2000-02-15 03:30:01 +00:00
$(top_builddir)/src/Joystick/libJoystick.a \
$(SERIAL_LIBS) \
2000-03-29 00:15:58 +00:00
-lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc \
2000-02-04 22:50:04 +00:00
-lplibpu -lplibfnt -lplibssg -lplibsg \
-lgdbm -lz \
$(opengl_LIBS) \
$(audio_LIBS)
2000-02-15 03:30:01 +00:00
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src