AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} this_includedir=${includedir}/${subdir} this_include_HEADERS = \ all.hpp \ analysis.hpp \ capflooredcoupon.hpp \ cashflowvectors.hpp \ cmscoupon.hpp \ conundrumpricer.hpp \ coupon.hpp \ couponpricer.hpp \ dividend.hpp \ fixedratecoupon.hpp \ floatingratecoupon.hpp \ iborcoupon.hpp \ rangeaccrual.hpp \ simplecashflow.hpp \ timebasket.hpp libCashFlows_la_SOURCES = \ analysis.cpp \ capflooredcoupon.cpp \ cashflowvectors.cpp \ cmscoupon.cpp \ conundrumpricer.cpp \ couponpricer.cpp \ dividend.cpp \ floatingratecoupon.cpp \ iborcoupon.cpp \ rangeaccrual.cpp \ timebasket.cpp noinst_LTLIBRARIES = libCashFlows.la all.hpp: Makefile.am echo "/* This file is automatically generated; do not edit. */" > $@ echo "/* Add the files to be included into Makefile.am instead. */" >> $@ echo >> $@ for i in $(filter-out all.hpp, $(this_include_HEADERS)); do \ echo "#include <${subdir}/$$i>" >> $@; \ done echo >> $@ subdirs='$(SUBDIRS)'; for i in $$subdirs; do \ echo "#include <${subdir}/$$i/all.hpp>" >> $@; \ done