if ENABLE_UNIX_SERIAL SERIAL_LIBS = -lsgserial else SERIAL_LIBS = endif if ENABLE_OLD_WEATHER WEATHER_LIBS = $(top_builddir)/src/Weather/libWeather.a else WEATHER_LIBS = $(top_builddir)/src/WeatherCM/libWeatherCM.a endif if ENABLE_NETWORK_OLK NETWORK_LIBS = \ $(top_builddir)/src/Network/libNetwork.a \ $(top_builddir)/src/NetworkOLK/libNetworkOLK.a else NETWORK_LIBS = \ $(top_builddir)/src/Network/libNetwork.a endif if OLD_AUTOMAKE CXXFLAGS += -DPKGLIBDIR=\"$(pkglibdir)\" else AM_CXXFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\" endif EXTRA_DIST = 3dfx.sh runfgfs.in runfgfs.bat.in bin_PROGRAMS = fgfs bin_SCRIPTS = runfgfs runfgfs.bat fgfs_SOURCES = \ bfi.cxx bfi.hxx \ fg_init.cxx fg_init.hxx \ fg_io.cxx fg_io.hxx \ keyboard.cxx keyboard.hxx \ main.cxx \ options.cxx options.hxx \ save.cxx save.hxx \ splash.cxx splash.hxx \ views.cxx views.hxx # fg_serial.cxx fg_serial.hxx \ fgfs_LDADD = \ $(top_builddir)/src/Aircraft/libAircraft.a \ $(top_builddir)/src/Astro/libAstro.a \ $(top_builddir)/src/Autopilot/libAutopilot.a \ $(top_builddir)/src/Cockpit/libCockpit.a \ $(top_builddir)/src/Controls/libControls.a \ $(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 \ $(NETWORK_LIBS) \ $(top_builddir)/src/Objects/libObjects.a \ $(top_builddir)/src/Clouds/libClouds.a \ $(top_builddir)/src/Time/libTime.a \ $(WEATHER_LIBS) \ $(top_builddir)/src/Joystick/libJoystick.a \ $(SERIAL_LIBS) \ -lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmisc \ -lplibpu -lplibfnt -lplibssg -lplibsg \ -lz \ $(opengl_LIBS) \ $(audio_LIBS) INCLUDES += -I$(top_builddir) -I$(top_builddir)/src