]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/Makefile.am
8619c58a4cf20f196618b82474dd5548bab4417f
[flightgear.git] / src / FDM / YASim / Makefile.am
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
4 # per-object.
5 #
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.
8
9 SHARED_SOURCES = \
10         Airplane.cpp Airplane.hpp \
11         Atmosphere.cpp Atmosphere.hpp \
12         BodyEnvironment.hpp \
13         ControlMap.cpp ControlMap.hpp \
14         FGFDM.cpp FGFDM.hpp \
15         Gear.cpp Gear.hpp \
16         Glue.cpp Glue.hpp \
17         Integrator.cpp Integrator.hpp \
18         Jet.cpp Jet.hpp \
19         Math.cpp Math.hpp \
20         Model.cpp Model.hpp \
21         PistonEngine.cpp PistonEngine.hpp \
22         PropEngine.cpp PropEngine.hpp \
23         Propeller.cpp Propeller.hpp \
24         RigidBody.cpp RigidBody.hpp \
25         SimpleJet.cpp SimpleJet.hpp \
26         Surface.cpp Surface.hpp \
27         Thruster.cpp Thruster.hpp \
28         Vector.hpp \
29         Wing.cpp Wing.hpp
30
31 noinst_LIBRARIES = libYASim.a
32
33 libYASim_a_SOURCES = YASim.cxx YASim.hxx $(SHARED_SOURCES)
34
35 bin_PROGRAMS = yasim
36
37 yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCES)
38
39 yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgstructure  $(base_LIBS)
40
41 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src