2002-11-30 20:22:25 +00:00
|
|
|
# Link the yasim executable against the individual object files rather
|
|
|
|
# than libYASim. The library references other stuff in FlightGear,
|
|
|
|
# and some linkers (Irix) do dependency checks per-library instead of
|
|
|
|
# per-object.
|
|
|
|
#
|
|
|
|
# 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.
|
2002-11-30 06:28:18 +00:00
|
|
|
|
2003-10-31 21:15:43 +00:00
|
|
|
SHARED_SOURCE_FILES = \
|
2002-11-30 20:22:25 +00:00
|
|
|
Airplane.cpp Airplane.hpp \
|
|
|
|
Atmosphere.cpp Atmosphere.hpp \
|
|
|
|
BodyEnvironment.hpp \
|
|
|
|
ControlMap.cpp ControlMap.hpp \
|
|
|
|
FGFDM.cpp FGFDM.hpp \
|
|
|
|
Gear.cpp Gear.hpp \
|
|
|
|
Glue.cpp Glue.hpp \
|
|
|
|
Integrator.cpp Integrator.hpp \
|
|
|
|
Jet.cpp Jet.hpp \
|
|
|
|
Math.cpp Math.hpp \
|
|
|
|
Model.cpp Model.hpp \
|
|
|
|
PropEngine.cpp PropEngine.hpp \
|
|
|
|
Propeller.cpp Propeller.hpp \
|
2004-05-01 00:26:33 +00:00
|
|
|
Engine.hpp \
|
|
|
|
PistonEngine.cpp PistonEngine.hpp \
|
|
|
|
TurbineEngine.cpp TurbineEngine.hpp \
|
2002-11-30 20:22:25 +00:00
|
|
|
RigidBody.cpp RigidBody.hpp \
|
2003-10-16 14:56:13 +00:00
|
|
|
Rotor.cpp Rotor.hpp \
|
|
|
|
Rotorblade.cpp Rotorblade.hpp \
|
|
|
|
Rotorpart.cpp Rotorpart.hpp \
|
2002-11-30 20:22:25 +00:00
|
|
|
SimpleJet.cpp SimpleJet.hpp \
|
|
|
|
Surface.cpp Surface.hpp \
|
|
|
|
Thruster.cpp Thruster.hpp \
|
|
|
|
Vector.hpp \
|
2004-01-09 17:05:26 +00:00
|
|
|
Wing.cpp Wing.hpp \
|
|
|
|
Turbulence.cpp Turbulence.hpp
|
2002-11-30 20:22:25 +00:00
|
|
|
|
2003-08-29 09:03:49 +00:00
|
|
|
noinst_LIBRARIES = libYASim.a
|
|
|
|
|
2003-10-31 21:15:43 +00:00
|
|
|
libYASim_a_SOURCES = YASim.cxx YASim.hxx $(SHARED_SOURCE_FILES)
|
2003-08-29 09:03:49 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = yasim
|
|
|
|
|
2003-10-31 21:15:43 +00:00
|
|
|
yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCE_FILES)
|
2003-08-29 09:03:49 +00:00
|
|
|
|
2003-12-27 22:27:27 +00:00
|
|
|
yasim_LDADD = -lsgxml -lsgprops -lsgmisc -lsgdebug -lsgstructure $(base_LIBS)
|
2002-11-30 06:28:18 +00:00
|
|
|
|
2001-12-28 22:29:59 +00:00
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|