]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Makefile.am
Fix bug 141, by ensuring certain subsystems are assigned to the 'post FDM' group...
[flightgear.git] / src / FDM / YASim / Makefile.am
index abff0d1b05698ec88730a7da7ecf14a97f0418c8..f75029429feed8959da3e35f5c7de644503e73d0 100644 (file)
@@ -6,7 +6,7 @@
 # I think that it's permissible to list the same source files more
 # than once in a Makefile.am.  Hopefully this doesn't break anything.
 
-SHARED_SOURCES = \
+SHARED_SOURCE_FILES = \
         Airplane.cpp Airplane.hpp \
         Atmosphere.cpp Atmosphere.hpp \
         BodyEnvironment.hpp \
@@ -14,28 +14,49 @@ SHARED_SOURCES = \
         FGFDM.cpp FGFDM.hpp \
         Gear.cpp Gear.hpp \
         Glue.cpp Glue.hpp \
+        Ground.cpp Ground.hpp \
+        Hitch.cpp Hitch.hpp \
+        Hook.cpp Hook.hpp \
+        Launchbar.cpp Launchbar.hpp \
         Integrator.cpp Integrator.hpp \
         Jet.cpp Jet.hpp \
         Math.cpp Math.hpp \
         Model.cpp Model.hpp \
-        PistonEngine.cpp PistonEngine.hpp \
         PropEngine.cpp PropEngine.hpp \
         Propeller.cpp Propeller.hpp \
+        Engine.hpp \
+        PistonEngine.cpp PistonEngine.hpp \
+        TurbineEngine.cpp TurbineEngine.hpp \
         RigidBody.cpp RigidBody.hpp \
+        Rotor.cpp Rotor.hpp \
+        Rotorpart.cpp Rotorpart.hpp \
         SimpleJet.cpp SimpleJet.hpp \
         Surface.cpp Surface.hpp \
         Thruster.cpp Thruster.hpp \
         Vector.hpp \
-        Wing.cpp Wing.hpp
+        Wing.cpp Wing.hpp \
+        Turbulence.cpp Turbulence.hpp
 
 noinst_LIBRARIES = libYASim.a
 
-libYASim_a_SOURCES = YASim.cxx YASim.hxx $(SHARED_SOURCES)
+libYASim_a_SOURCES = YASim.cxx YASim.hxx FGGround.cpp FGGround.hpp $(SHARED_SOURCE_FILES)
 
 bin_PROGRAMS = yasim
+noinst_PROGRAMS = proptest
+
+yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCE_FILES)
+
+yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lsgtiming $(base_LIBS)
 
-yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCES)
+proptest_SOURCES = proptest.cpp $(SHARED_SOURCE_FILES)
+proptest_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lsgtiming $(base_LIBS)
 
-yasim_LDADD = -lsgxml -lsgprops -lsgmisc -lsgdebug $(base_LIBS)
+if HAVE_FRAMEWORK_OSG
+yasim_LDFLAGS = $(openthreads_FRAMEWORKS)
+proptest_LDFLAGS = $(openthreads_FRAMEWORKS)
+else
+yasim_LDFLAGS = $(openthreads_LIBS)
+proptest_LDFLAGS = $(openthreads_LIBS)
+endif
 
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src