Univariate Hensel lifting now uses upoly.
[ginac.git] / ginac / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
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 compiler.h \
13   parser/parse_binop_rhs.cpp \
14   parser/parser.cpp \
15   parser/parse_context.cpp \
16   parser/builtin_fcns.cpp \
17   parser/lexer.cpp \
18   parser/lexer.hpp \
19   parser/parser_compat.cpp \
20   parser/debug.hpp \
21 polynomial/mod_gcd.cpp \
22 polynomial/cra_garner.cpp \
23 polynomial/gcd_euclid.tcc \
24 polynomial/remainder.tcc \
25 polynomial/normalize.tcc \
26 polynomial/upoly.hpp \
27 polynomial/ring_traits.hpp \
28 polynomial/mod_gcd.hpp \
29 polynomial/cra_garner.hpp \
30 polynomial/upoly_io.hpp \
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/debug.hpp
39
40 libginac_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -release $(LT_RELEASE)
41 libginac_la_LIBADD = $(DL_LIBS)
42 ginacincludedir = $(includedir)/ginac
43 ginacinclude_HEADERS = ginac.h add.h archive.h assertion.h basic.h class_info.h \
44   clifford.h color.h constant.h container.h ex.h excompiler.h expair.h expairseq.h \
45   exprseq.h fail.h factor.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h \
46   inifcns.h integral.h lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h \
47   power.h print.h pseries.h ptr.h registrar.h relational.h structure.h \
48   symbol.h symmetry.h tensor.h version.h wildcard.h \
49   parser/parser.hpp \
50   parser/parse_context.hpp
51
52 EXTRA_DIST = function.pl version.h.in \
53 parser/default_reader.tpl parser/builtin_fcns.def
54
55 # Files produced by autogen(1) from templates
56 $(srcdir)/parser/builtin_fcns.cpp: $(srcdir)/parser/builtin_fcns.def $(srcdir)/parser/default_reader.tpl
57         set -e; if [ -n "$(AUTOGEN)" ]; then \
58                 cd $(srcdir)/parser; \
59                 $(AUTOGEN) -T default_reader.tpl builtin_fcns.def; \
60         elif [ -f $@ ]; then \
61                 echo "WARNING: AutoGen is not available, the \"$@\" file WON'T be re-generated"; \
62         else \
63                 echo "*** ERROR: the \"$@\" file does not exist, and AutoGen is not installed on your system"; \
64                 echo "***        Please install AutoGen (http://www.gnu.org/software/autogen)"; \
65                 exit 1; \
66         fi
67                 
68
69 # Files which are generated by perl scripts
70 $(srcdir)/function.h $(srcdir)/function.cpp: $(srcdir)/function.pl
71         cd $(srcdir) && perl -w function.pl
72
73 # Force build of headers before compilation
74 $(srcdir)/add.cpp: $(srcdir)/function.h