builddir -> srcdir so builds can be done outside the master source directory.
This commit is contained in:
parent
02def51a97
commit
e891774a8c
22 changed files with 24 additions and 21 deletions
|
@ -2,4 +2,4 @@ noinst_LIBRARIES = libAircraft.a
|
|||
|
||||
libAircraft_a_SOURCES = aircraft.cxx aircraft.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -4,4 +4,4 @@ libAutopilot_a_SOURCES = \
|
|||
auto_gui.cxx auto_gui.hxx \
|
||||
newauto.cxx newauto.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -13,4 +13,4 @@ libCockpit_a_SOURCES = \
|
|||
sp_panel.cxx sp_panel.hxx \
|
||||
steam.cxx steam.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -2,4 +2,4 @@ noinst_LIBRARIES = libControls.a
|
|||
|
||||
libControls_a_SOURCES = controls.cxx controls.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -2,4 +2,4 @@ noinst_LIBRARIES = libBalloon.a
|
|||
|
||||
libBalloon_a_SOURCES = BalloonSim.cpp BalloonSim.h
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -34,6 +34,6 @@ testJSBsim_SOURCES = JSBSim.cpp
|
|||
|
||||
testJSBsim_LDADD = libJSBSim.a filtersjb/libfiltersjb.a
|
||||
|
||||
INCLUDES += -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir)/src
|
||||
|
||||
DEFS += -DFGFS
|
||||
|
|
|
@ -12,6 +12,6 @@ libfiltersjb_a_SOURCES = \
|
|||
FGSummer.cpp FGSummer.h \
|
||||
FGSwitch.cpp FGSwitch.h
|
||||
|
||||
INCLUDES += -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir)/src
|
||||
|
||||
DEFS += -DFGFS
|
||||
|
|
|
@ -31,4 +31,4 @@ libLaRCsim_a_SOURCES = \
|
|||
$(AIRCRAFT_MODEL) \
|
||||
ls_interface.c ls_interface.h
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -19,4 +19,4 @@ engine_LDADD = libFlight.a
|
|||
|
||||
pstest_SOURCES = ps-10520c.cxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -47,4 +47,4 @@ libUIUCModel_a_SOURCES = \
|
|||
uiuc_warnings_errors.cpp uiuc_warnings_errors.h \
|
||||
uiuc_wrapper.cpp uiuc_wrapper.h
|
||||
|
||||
INCLUDES += -I$(top_builddir)
|
||||
INCLUDES += -I$(top_srcdir)
|
||||
|
|
|
@ -2,4 +2,4 @@ noinst_LIBRARIES = libGUI.a
|
|||
|
||||
libGUI_a_SOURCES = gui.cxx gui.h
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -225,6 +225,9 @@
|
|||
/* Define if you have the m library (-lm). */
|
||||
#undef HAVE_LIBM
|
||||
|
||||
/* Define if you have the plibul library (-lplibul). */
|
||||
#undef HAVE_LIBPLIBUL
|
||||
|
||||
/* Define if you have the pthread library (-lpthread). */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@ noinst_PROGRAMS = js_demo
|
|||
|
||||
js_demo_SOURCES = js_demo.cxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -73,4 +73,4 @@ fgfs_LDADD = \
|
|||
$(opengl_LIBS) \
|
||||
$(audio_LIBS)
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -10,4 +10,4 @@ libNavaids_a_SOURCES = \
|
|||
testnavs_SOURCES = testnavs.cxx
|
||||
testnavs_LDADD = libNavaids.a -lsgmath -lsgmisc -lsgdebug -lz
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -10,4 +10,4 @@ libNetwork_a_SOURCES = \
|
|||
rul.cxx rul.hxx \
|
||||
joyclient.cxx joyclient.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -4,4 +4,4 @@ libNetworkOLK_a_SOURCES = \
|
|||
net_send.cxx net_hud.cxx network.cxx network.h fgd.h \
|
||||
features.cxx features.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -6,4 +6,4 @@ libObjects_a_SOURCES = \
|
|||
obj.cxx obj.hxx \
|
||||
texload.c texload.h colours.h
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -7,4 +7,4 @@ libScenery_a_SOURCES = \
|
|||
tileentry.cxx tileentry.hxx \
|
||||
tilemgr.cxx tilemgr.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -13,4 +13,4 @@ libTime_a_SOURCES = \
|
|||
# lowleveltime.cxx lowleveltime.h \
|
||||
# timezone.cxx timezone.h
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -6,4 +6,4 @@ noinst_LIBRARIES = libWeather.a
|
|||
|
||||
libWeather_a_SOURCES = weather.cxx weather.hxx
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -18,4 +18,4 @@ libWeatherCM_a_SOURCES = \
|
|||
FGWeatherVectorWrap.h \
|
||||
FGWindItem.cpp FGWindItem.h
|
||||
|
||||
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|
||||
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
Loading…
Reference in a new issue