]> www.ginac.de Git - ginac.git/blob - doc/examples/Makefile.am
numeric.cpp, archive.cpp: don't include config.h
[ginac.git] / doc / examples / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 EXFILES = archive1.cpp compile1.cpp compile2.cpp compile3.cpp lanczos.cpp \
4  mystring.cpp derivative.cpp
5
6 TEXI = ginac-examples.texi
7
8 info_TEXINFOS = $(TEXI)
9
10 TXT = ginac-examples.txt
11 HTML = ginac-examples.html
12
13 all: $(EXFILES)
14         ${MAKEINFO} --no-split --no-headers $(srcdir)/$(TEXI) > $(TXT)
15         ${MAKEINFO} --no-split --html $(srcdir)/$(TEXI)
16
17 CLEANFILES = $(TXT) $(HTML)
18
19 EXTRA_DIST = $(EXFILES) CMakeLists.txt
20
21 AM_CPPFLAGS = -I$(srcdir)/../../ginac -I../../ginac -DIN_GINAC
22
23 noinst_PROGRAMS = archive1 \
24                   compile1 \
25                   compile3 \
26                   mystring \
27                   derivative
28
29 archive1_SOURCES = archive1.cpp
30 archive1_LDADD = ../../ginac/libginac.la
31
32 compile1_SOURCES = compile1.cpp
33 compile1_LDADD = ../../ginac/libginac.la
34
35 # compile2 example uses the Cuba library: (http://www.feynarts.de)
36 # compile2_SOURCES = compile2.cpp
37 # compile2_LDADD = ../../ginac/libginac.la
38
39 compile3_SOURCES = compile3.cpp
40 compile3_LDADD = ../../ginac/libginac.la
41
42 mystring_SOURCES = mystring.cpp
43 mystring_LDADD = ../../ginac/libginac.la
44
45 derivative_SOURCES = derivative.cpp
46 derivative_LDADD = ../../ginac/libginac.la