1 ## Process this file with automake to produce Makefile.in
3 lib_LTLIBRARIES = libginac.la
4 libginac_la_SOURCES = add.cpp archive.cpp basic.cpp clifford.cpp color.cpp \
5 constant.cpp ex.cpp excompiler.cpp expair.cpp expairseq.cpp exprseq.cpp \
6 fail.cpp factor.cpp fderivative.cpp function.cpp idx.cpp indexed.cpp inifcns.cpp \
7 inifcns_trans.cpp inifcns_gamma.cpp inifcns_nstdsums.cpp \
8 integral.cpp lst.cpp matrix.cpp mul.cpp ncmul.cpp normal.cpp numeric.cpp \
9 operators.cpp power.cpp registrar.cpp relational.cpp remember.cpp \
10 pseries.cpp print.cpp symbol.cpp symmetry.cpp tensor.cpp \
11 utils.cpp wildcard.cpp \
12 remember.h tostring.h utils.h crc32.h hash_seed.h compiler.h \
13 parser/parse_binop_rhs.cpp \
15 parser/parse_context.cpp \
16 parser/builtin_fcns.cpp \
19 parser/parser_compat.cpp \
21 polynomial/mod_gcd.cpp \
22 polynomial/cra_garner.cpp \
23 polynomial/gcd_euclid.h \
24 polynomial/remainder.h \
25 polynomial/normalize.h \
27 polynomial/ring_traits.h \
28 polynomial/mod_gcd.h \
29 polynomial/cra_garner.h \
30 polynomial/upoly_io.h \
31 polynomial/upoly_io.cpp \
32 polynomial/prem_uvar.h \
33 polynomial/eval_uvar.h \
34 polynomial/interpolate_padic_uvar.h \
35 polynomial/sr_gcd_uvar.h \
36 polynomial/heur_gcd_uvar.h \
37 polynomial/gcd_uvar.cpp \
38 polynomial/chinrem_gcd.cpp \
39 polynomial/chinrem_gcd.h \
40 polynomial/collect_vargs.cpp \
41 polynomial/collect_vargs.h \
42 polynomial/divide_in_z_p.cpp \
43 polynomial/divide_in_z_p.h \
44 polynomial/euclid_gcd_wrap.h \
45 polynomial/eval_point_finder.h \
47 polynomial/newton_interpolate.h \
48 polynomial/optimal_vars_finder.cpp \
49 polynomial/optimal_vars_finder.h \
52 polynomial/poly_cra.h \
53 polynomial/primes_factory.h \
54 polynomial/primpart_content.cpp \
55 polynomial/smod_helpers.h \
58 libginac_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -release $(LT_RELEASE)
59 libginac_la_LIBADD = $(DL_LIBS)
60 ginacincludedir = $(includedir)/ginac
61 ginacinclude_HEADERS = ginac.h add.h archive.h assertion.h basic.h class_info.h \
62 clifford.h color.h constant.h container.h ex.h excompiler.h expair.h expairseq.h \
63 exprseq.h fail.h factor.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h \
64 inifcns.h integral.h lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h \
65 power.h print.h pseries.h ptr.h registrar.h relational.h structure.h \
66 symbol.h symmetry.h tensor.h version.h wildcard.h \
68 parser/parse_context.h
70 EXTRA_DIST = function.pl version.h.in \
71 parser/default_reader.tpl parser/builtin_fcns.def
73 # Files produced by autogen(1) from templates
74 $(srcdir)/parser/builtin_fcns.cpp: $(srcdir)/parser/builtin_fcns.def $(srcdir)/parser/default_reader.tpl
75 set -e; if [ -n "$(AUTOGEN)" ]; then \
76 cd $(srcdir)/parser; \
77 $(AUTOGEN) -T default_reader.tpl builtin_fcns.def; \
78 elif [ -f $@ ]; then \
79 echo "WARNING: AutoGen is not available, the \"$@\" file WON'T be re-generated"; \
81 echo "*** ERROR: the \"$@\" file does not exist, and AutoGen is not installed on your system"; \
82 echo "*** Please install AutoGen (http://www.gnu.org/software/autogen)"; \
87 # Files which are generated by perl scripts
88 $(srcdir)/function.h $(srcdir)/function.cpp: $(srcdir)/function.pl
89 cd $(srcdir) && perl -w function.pl
91 # Force build of headers before compilation
92 $(srcdir)/add.cpp: $(srcdir)/function.h