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 \
FGWeatherVectorWrap.h \
FGWindItem.cpp FGWindItem.h
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib -I$(top_builddir)/Simulator
+if OLD_AUTOMAKE
+INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
+else
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
+endif