diff --git a/FlightGear.dsp b/FlightGear.dsp index 4911b9214..e42fcdf36 100644 --- a/FlightGear.dsp +++ b/FlightGear.dsp @@ -2373,6 +2373,21 @@ SOURCE=.\src\Main\options.cxx # End Source File # Begin Source File +SOURCE=.\src\Main\soundmgr.cxx + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\main" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\main" + +!ENDIF + +# End Source File +# Begin Source File + SOURCE=.\src\Main\splash.cxx !IF "$(CFG)" == "FlightGear - Win32 Release" diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index b359d223c..1f8250ec6 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -42,9 +42,7 @@ fgfs_SOURCES = \ fgfs.cxx fgfs.hxx \ globals.cxx globals.hxx \ keyboard.cxx keyboard.hxx \ - morse.cxx morse.hxx \ options.cxx options.hxx \ - soundmgr.cxx soundmgr.hxx \ splash.cxx splash.hxx \ viewer.cxx viewer.hxx \ viewer_lookat.cxx viewer_lookat.hxx \ @@ -65,6 +63,7 @@ fgfs_LDADD = \ $(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 \ diff --git a/src/Main/globals.hxx b/src/Main/globals.hxx index 79afec3b2..06155b7bc 100644 --- a/src/Main/globals.hxx +++ b/src/Main/globals.hxx @@ -36,7 +36,7 @@ #include #include -#include "soundmgr.hxx" +#include #include "viewmgr.hxx" FG_USING_STD( vector ); diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 9cd830f71..d3246848e 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -83,6 +83,10 @@ #endif #include #include +#ifdef ENABLE_AUDIO_SUPPORT +# include +# include +#endif #include