AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} this_includedir=${includedir}/${subdir} this_include_HEADERS = \ all.hpp \ analyticdigitalamericanengine.hpp \ analyticdividendeuropeanengine.hpp \ analyticeuropeanengine.hpp \ analytichestonengine.hpp \ baroneadesiwhaleyengine.hpp \ batesengine.hpp \ binomialengine.hpp \ bjerksundstenslandengine.hpp \ discretizedvanillaoption.hpp \ integralengine.hpp \ jumpdiffusionengine.hpp \ juquadraticengine.hpp \ fdamericanengine.hpp \ fdbermudanengine.hpp \ fddividendamericanengine.hpp \ fddividendengine.hpp \ fddividendeuropeanengine.hpp \ fddividendshoutengine.hpp \ fdeuropeanengine.hpp \ fdmultiperiodengine.hpp \ fdshoutengine.hpp \ fdstepconditionengine.hpp \ fdvanillaengine.hpp \ fdconditions.hpp \ mcamericanengine.hpp \ mcdigitalengine.hpp \ mceuropeanengine.hpp \ mceuropeanhestonengine.hpp \ mcvanillaengine.hpp libVanillaEngines_la_SOURCES = \ analyticdigitalamericanengine.cpp \ analyticdividendeuropeanengine.cpp \ analyticeuropeanengine.cpp \ analytichestonengine.cpp \ baroneadesiwhaleyengine.cpp \ batesengine.cpp \ bjerksundstenslandengine.cpp \ discretizedvanillaoption.cpp \ integralengine.cpp \ jumpdiffusionengine.cpp \ juquadraticengine.cpp \ fddividendengine.cpp \ fdeuropeanengine.cpp \ fdmultiperiodengine.cpp \ fdstepconditionengine.cpp \ fdvanillaengine.cpp \ mcamericanengine.cpp \ mcdigitalengine.cpp noinst_LTLIBRARIES = libVanillaEngines.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