File: Makefile.am

package info (click to toggle)
quantlib 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 45,532 kB
  • sloc: cpp: 388,042; makefile: 6,661; sh: 4,381; lisp: 86
file content (39 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

AM_CPPFLAGS = -I${top_builddir} -I${top_srcdir}

this_includedir=${includedir}/${subdir}
this_include_HEADERS = \
	all.hpp \
	abcdinterpolation.hpp \
	backwardflatinterpolation.hpp \
	backwardflatlinearinterpolation.hpp \
	bicubicsplineinterpolation.hpp \
	bilinearinterpolation.hpp \
	convexmonotoneinterpolation.hpp \
	cubicinterpolation.hpp \
	extrapolation.hpp \
	flatextrapolation2d.hpp \
	forwardflatinterpolation.hpp \
	interpolation2d.hpp \
	kernelinterpolation.hpp \
	kernelinterpolation2d.hpp \
	lagrangeinterpolation.hpp \
	linearinterpolation.hpp \
	loginterpolation.hpp \
	mixedinterpolation.hpp \
	multicubicspline.hpp \
	sabrinterpolation.hpp \
	xabrinterpolation.hpp

all.hpp: Makefile.am
	echo "/* This file is automatically generated; do not edit.     */" > ${srcdir}/$@
	echo "/* Add the files to be included into Makefile.am instead. */" >> ${srcdir}/$@
	echo >> ${srcdir}/$@
	for i in $(filter-out all.hpp, $(this_include_HEADERS)); do \
		echo "#include <${subdir}/$$i>" >> ${srcdir}/$@; \
	done
	echo >> ${srcdir}/$@
	subdirs='$(SUBDIRS)'; for i in $$subdirs; do \
		echo "#include <${subdir}/$$i/all.hpp>" >> ${srcdir}/$@; \
	done