1fa4c88d0e
- automake-1.4 sets default values for INCLUDES which we can't overwrite. - automake-1.5 renames this to DEFAULT_INCLUDES and leaves INCLUDES open for the developer to use. Thus for automake-1.4 we are forced to 'append' to INCLUDES and in automake-1.5 we can just set the value to whatever we like. Unfortunately, the behaviors of the two versions are mutually incompatible. The solution I am committing now works for both versions but automake-1.5 generates a lot of spurious warning messages that are annoying, but not fatal.
25 lines
828 B
Makefile
25 lines
828 B
Makefile
noinst_LIBRARIES = libWeatherCM.a
|
|
|
|
EXTRA_DIST = linintp2.h linintp2.inl sphrintp.h sphrintp.inl
|
|
|
|
libWeatherCM_a_SOURCES = \
|
|
FGAirPressureItem.cpp FGAirPressureItem.h \
|
|
FGCloud.h FGCloudItem.cpp FGCloudItem.h \
|
|
FGLocalWeatherDatabase.cpp FGLocalWeatherDatabase.h \
|
|
FGPhysicalProperties.cpp FGPhysicalProperties.h \
|
|
FGPhysicalProperty.cpp FGPhysicalProperty.h \
|
|
FGSnowRain.h \
|
|
FGTemperatureItem.cpp FGTemperatureItem.h \
|
|
FGThunderstorm.cpp FGThunderstorm.h \
|
|
FGTurbulenceItem.cpp FGTurbulenceItem.h \
|
|
FGVaporPressureItem.cpp FGVaporPressureItem.h \
|
|
FGWeatherDefs.h FGWeatherFeature.h FGWeatherUtils.h \
|
|
FGWeatherParse.cpp FGWeatherParse.h \
|
|
FGWeatherVectorWrap.h \
|
|
FGWindItem.cpp FGWindItem.h
|
|
|
|
if OLD_AUTOMAKE
|
|
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
|
|
else
|
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
|
endif
|