1 # Link the yasim executable against the individual object files rather
2 # than libYASim. The library references other stuff in FlightGear,
3 # and some linkers (Irix) do dependency checks per-library instead of
6 # I think that it's permissible to list the same source files more
7 # than once in a Makefile.am. Hopefully this doesn't break anything.
9 SHARED_SOURCE_FILES = \
10 Airplane.cpp Airplane.hpp \
11 Atmosphere.cpp Atmosphere.hpp \
13 ControlMap.cpp ControlMap.hpp \
17 Ground.cpp Ground.hpp \
19 Launchbar.cpp Launchbar.hpp \
20 Integrator.cpp Integrator.hpp \
24 PropEngine.cpp PropEngine.hpp \
25 Propeller.cpp Propeller.hpp \
27 PistonEngine.cpp PistonEngine.hpp \
28 TurbineEngine.cpp TurbineEngine.hpp \
29 RigidBody.cpp RigidBody.hpp \
31 Rotorblade.cpp Rotorblade.hpp \
32 Rotorpart.cpp Rotorpart.hpp \
33 SimpleJet.cpp SimpleJet.hpp \
34 Surface.cpp Surface.hpp \
35 Thruster.cpp Thruster.hpp \
38 Turbulence.cpp Turbulence.hpp
40 noinst_LIBRARIES = libYASim.a
42 libYASim_a_SOURCES = YASim.cxx YASim.hxx FGGround.cpp FGGround.hpp $(SHARED_SOURCE_FILES)
45 noinst_PROGRAMS = proptest
47 yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCE_FILES)
49 yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lplibssg -lplibul -lplibsg $(opengl_LIBS) $(base_LIBS)
51 proptest_SOURCES = proptest.cpp $(SHARED_SOURCE_FILES)
52 proptest_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lplibssg -lplibul -lplibsg $(opengl_LIBS) $(base_LIBS)
54 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src