1998-11-16 13:59:58 +00:00
|
|
|
if ENABLE_UNIX_SERIAL
|
2000-02-15 03:30:01 +00:00
|
|
|
SERIAL_LIBS = -lsgserial
|
1998-11-16 13:59:58 +00:00
|
|
|
else
|
|
|
|
SERIAL_LIBS =
|
|
|
|
endif
|
|
|
|
|
1999-10-14 20:30:54 +00:00
|
|
|
if ENABLE_OLD_WEATHER
|
2000-02-15 03:30:01 +00:00
|
|
|
WEATHER_LIBS = $(top_builddir)/src/Weather/libWeather.a
|
1999-10-14 20:30:54 +00:00
|
|
|
else
|
2000-02-15 03:30:01 +00:00
|
|
|
WEATHER_LIBS = $(top_builddir)/src/WeatherCM/libWeatherCM.a
|
2000-01-12 18:09:35 +00:00
|
|
|
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
|
2000-01-12 18:09:35 +00:00
|
|
|
else
|
|
|
|
NETWORK_LIBS = \
|
2000-02-15 03:30:01 +00:00
|
|
|
$(top_builddir)/src/Network/libNetwork.a
|
1999-08-12 17:13:44 +00:00
|
|
|
endif
|
|
|
|
|
1999-10-30 04:27:21 +00:00
|
|
|
if OLD_AUTOMAKE
|
|
|
|
CXXFLAGS += -DPKGLIBDIR=\"$(pkglibdir)\"
|
|
|
|
else
|
1999-10-30 02:37:56 +00:00
|
|
|
AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\"
|
1999-10-30 04:27:21 +00:00
|
|
|
endif
|
1999-06-04 20:35:47 +00:00
|
|
|
|
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 = \
|
2000-02-26 18:01:13 +00:00
|
|
|
bfi.cxx bfi.hxx \
|
1998-04-22 13:25:39 +00:00
|
|
|
fg_init.cxx fg_init.hxx \
|
1999-11-19 02:10:24 +00:00
|
|
|
fg_io.cxx fg_io.hxx \
|
1999-06-18 03:42:54 +00:00
|
|
|
keyboard.cxx keyboard.hxx \
|
|
|
|
main.cxx \
|
1998-04-24 00:49:17 +00:00
|
|
|
options.cxx options.hxx \
|
2000-02-11 22:27:23 +00:00
|
|
|
save.cxx save.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
|
|
|
|
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/LaRCsim/libLaRCsim.a \
|
|
|
|
$(top_builddir)/src/GUI/libGUI.a \
|
|
|
|
$(top_builddir)/src/Scenery/libScenery.a \
|
|
|
|
$(top_builddir)/src/Airports/libAirports.a \
|
2000-01-12 18:09:35 +00:00
|
|
|
$(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 \
|
1999-08-12 17:13:44 +00:00
|
|
|
$(WEATHER_LIBS) \
|
2000-03-02 13:51:31 +00:00
|
|
|
$(top_builddir)/src/Sky/libSky.a \
|
2000-02-15 03:30:01 +00:00
|
|
|
$(top_builddir)/src/Joystick/libJoystick.a \
|
1999-04-03 04:21:01 +00:00
|
|
|
$(SERIAL_LIBS) \
|
2000-02-15 03:30:01 +00:00
|
|
|
-lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmisc \
|
2000-02-04 22:50:04 +00:00
|
|
|
-lplibpu -lplibfnt -lplibssg -lplibsg \
|
2000-02-15 03:30:01 +00:00
|
|
|
-lz \
|
1999-06-24 20:38:31 +00:00
|
|
|
$(opengl_LIBS) \
|
|
|
|
$(audio_LIBS)
|
|
|
|
|
2000-02-15 03:30:01 +00:00
|
|
|
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|