]> www.ginac.de Git - ginac.git/blob - ginac/Makefile.am
polynomial: introduce a helper function to divide polynomial by ring element.
[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/debug.hpp
33
34 libginac_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -release $(LT_RELEASE)
35 libginac_la_LIBADD = $(DL_LIBS)
36 ginacincludedir = $(includedir)/ginac
37 ginacinclude_HEADERS = ginac.h add.h archive.h assertion.h basic.h class_info.h \
38   clifford.h color.h constant.h container.h ex.h excompiler.h expair.h expairseq.h \
39   exprseq.h fail.h factor.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h \
40   inifcns.h integral.h lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h \
41   power.h print.h pseries.h ptr.h registrar.h relational.h structure.h \
42   symbol.h symmetry.h tensor.h version.h wildcard.h \
43   parser/parser.hpp \
44   parser/parse_context.hpp
45
46 EXTRA_DIST = function.pl version.h.in \
47 parser/default_reader.tpl parser/builtin_fcns.def
48
49 # Files produced by autogen(1) from templates
50 $(srcdir)/parser/builtin_fcns.cpp: $(srcdir)/parser/builtin_fcns.def $(srcdir)/parser/default_reader.tpl
51         set -e; if [ -n "$(AUTOGEN)" ]; then \
52                 cd $(srcdir)/parser; \
53                 $(AUTOGEN) -T default_reader.tpl builtin_fcns.def; \
54         elif [ -f $@ ]; then \
55                 echo "WARNING: AutoGen is not available, the \"$@\" file WON'T be re-generated"; \
56         else \
57                 echo "*** ERROR: the \"$@\" file does not exist, and AutoGen is not installed on your system"; \
58                 echo "***        Please install AutoGen (http://www.gnu.org/software/autogen)"; \
59                 exit 1; \
60         fi
61                 
62
63 # Files which are generated by perl scripts
64 $(srcdir)/function.h $(srcdir)/function.cpp: $(srcdir)/function.pl
65         cd $(srcdir) && perl -w function.pl
66
67 # Force build of headers before compilation
68 $(srcdir)/add.cpp: $(srcdir)/function.h