]> www.ginac.de Git - ginac.git/blob - ginac/Makefile.am
Added internal code for multivariate factorization.
[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 input_parser.yy input_lexer.ll \
12   input_lexer.h 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/debug.hpp
20   
21 libginac_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -release $(LT_RELEASE)
22 libginac_la_LIBADD = $(DL_LIBS)
23 ginacincludedir = $(includedir)/ginac
24 ginacinclude_HEADERS = ginac.h add.h archive.h assertion.h basic.h class_info.h \
25   clifford.h color.h constant.h container.h ex.h excompiler.h expair.h expairseq.h \
26   exprseq.h fail.h factor.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h \
27   inifcns.h integral.h lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h \
28   power.h print.h pseries.h ptr.h registrar.h relational.h structure.h \
29   symbol.h symmetry.h tensor.h version.h wildcard.h \
30   parser/parser.hpp \
31   parser/parse_context.hpp
32
33 AM_LFLAGS = -Pginac_yy -olex.yy.c
34 AM_YFLAGS = -p ginac_yy -d
35 EXTRA_DIST = function.pl input_parser.h version.h.in \
36 parser/default_reader.tpl parser/builtin_fcns.def
37
38 # Files produced by autogen(1) from templates
39 $(srcdir)/parser/builtin_fcns.cpp: $(srcdir)/parser/builtin_fcns.def $(srcdir)/parser/default_reader.tpl
40         set -e; if [ -n "$(AUTOGEN)" ]; then \
41                 cd $(srcdir)/parser; \
42                 $(AUTOGEN) -T default_reader.tpl builtin_fcns.def; \
43         elif [ -f $@ ]; then \
44                 echo "WARNING: AutoGen is not available, the \"$@\" file WON'T be re-generated"; \
45         else \
46                 echo "*** ERROR: the \"$@\" file does not exist, and AutoGen is not installed on your system"; \
47                 echo "***        Please install AutoGen (http://www.gnu.org/software/autogen)"; \
48                 exit 1; \
49         fi
50                 
51
52 # Files which are generated by perl scripts
53 $(srcdir)/function.h $(srcdir)/function.cpp: $(srcdir)/function.pl
54         cd $(srcdir) && perl -w function.pl
55
56 # Force build of headers before compilation
57 $(srcdir)/add.cpp: $(srcdir)/function.h