]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/Makefile.am
Bugfix: no automatic runway selection with --parkpos=
[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_SOURCE_FILES = \
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         Ground.cpp Ground.hpp \
18         Hitch.cpp Hitch.hpp \
19         Hook.cpp Hook.hpp \
20         Launchbar.cpp Launchbar.hpp \
21         Integrator.cpp Integrator.hpp \
22         Jet.cpp Jet.hpp \
23         Math.cpp Math.hpp \
24         Model.cpp Model.hpp \
25         PropEngine.cpp PropEngine.hpp \
26         Propeller.cpp Propeller.hpp \
27         Engine.hpp \
28         PistonEngine.cpp PistonEngine.hpp \
29         TurbineEngine.cpp TurbineEngine.hpp \
30         RigidBody.cpp RigidBody.hpp \
31         Rotor.cpp Rotor.hpp \
32         Rotorpart.cpp Rotorpart.hpp \
33         SimpleJet.cpp SimpleJet.hpp \
34         Surface.cpp Surface.hpp \
35         Thruster.cpp Thruster.hpp \
36         Vector.hpp \
37         Wing.cpp Wing.hpp \
38         Turbulence.cpp Turbulence.hpp
39
40 noinst_LIBRARIES = libYASim.a
41
42 libYASim_a_SOURCES = YASim.cxx YASim.hxx FGGround.cpp FGGround.hpp $(SHARED_SOURCE_FILES)
43
44 bin_PROGRAMS = yasim
45 noinst_PROGRAMS = proptest
46
47 yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCE_FILES)
48
49 yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lsgtiming $(base_LIBS)
50
51 proptest_SOURCES = proptest.cpp $(SHARED_SOURCE_FILES)
52 proptest_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lsgtiming $(base_LIBS)
53
54 if HAVE_FRAMEWORK_OSG
55 yasim_LDFLAGS = $(openthreads_FRAMEWORKS)
56 proptest_LDFLAGS = $(openthreads_FRAMEWORKS)
57 else
58 yasim_LDFLAGS = $(openthreads_LIBS)
59 proptest_LDFLAGS = $(openthreads_LIBS)
60 endif
61
62 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src