$(top_builddir)/src/Network/libNetwork.a
endif
+if WITH_THREADS
+THREAD_LIBS = -lsgthreads
+else
+THREAD_LIBS =
+endif
+
if OLD_AUTOMAKE
# nothing CXXFLAGS += -DPKGLIBDIR=\"$(pkglibdir)\"
else
bin_PROGRAMS = fgfs
-noinst_SCRIPTS = runfgfs runfgfs.bat
+noinst_SCRIPTS = runfgfs.bat runfgfs
-bin_SCRIPTS = runfgfs
+# bin_SCRIPTS = runfgfs
fgfs_SOURCES = \
main.cxx \
- bfi.cxx bfi.hxx \
+ fg_commands.cxx fg_commands.hxx \
fg_init.cxx fg_init.hxx \
fg_io.cxx fg_io.hxx \
fg_props.cxx fg_props.hxx \
fgfs.cxx fgfs.hxx \
globals.cxx globals.hxx \
- keyboard.cxx keyboard.hxx \
options.cxx options.hxx \
- soundmgr.cxx soundmgr.hxx \
splash.cxx splash.hxx \
viewer.cxx viewer.hxx \
viewer_lookat.cxx viewer_lookat.hxx \
fgfs_LDADD = \
$(top_builddir)/src/Aircraft/libAircraft.a \
+ $(top_builddir)/src/ATC/libATC.a \
$(top_builddir)/src/Autopilot/libAutopilot.a \
$(top_builddir)/src/Cockpit/libCockpit.a \
$(top_builddir)/src/Controls/libControls.a \
$(top_builddir)/src/GUI/libGUI.a \
$(top_builddir)/src/Navaids/libNavaids.a \
$(top_builddir)/src/Scenery/libScenery.a \
+ $(top_builddir)/src/Sound/libSound.a \
$(top_builddir)/src/Airports/libAirports.a \
$(NETWORK_LIBS) \
$(top_builddir)/src/Objects/libObjects.a \
$(top_builddir)/src/Time/libTime.a \
$(WEATHER_LIBS) \
- $(top_builddir)/src/Joystick/libJoystick.a \
- -lsgroute -lsgsky -lsgephem -lsgmetar -lsgtiming -lsgio -lsgscreen \
+ $(top_builddir)/src/Input/libInput.a \
+ -lsgroute -lsgsky -lsgephem -lsgtiming -lsgio -lsgscreen \
-lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml \
$(SERIAL_LIBS) \
- -lplibpu -lplibfnt -lplibssg -lplibsg \
+ $(THREAD_LIBS) \
+ -lplibpu -lplibfnt -lplibnet -lplibssg -lplibsg \
-lmk4 -lz \
$(opengl_LIBS) \
$(audio_LIBS)