- clifford.h color.h constant.h container.h ex.h expair.h expairseq.h exprseq.h \
- fail.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h inifcns.h \
- lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h power.h print.h \
- pseries.h ptr.h registrar.h relational.h structure.h symbol.h symmetry.h \
- tensor.h tinfos.h version.h wildcard.h
-LFLAGS = -Pginac_yy -olex.yy.c
-YFLAGS = -p ginac_yy -d
-EXTRA_DIST = function.pl input_parser.h version.h.in
+ clifford.h color.h constant.h container.h ex.h excompiler.h expair.h expairseq.h \
+ exprseq.h fail.h factor.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h \
+ inifcns.h integral.h lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h \
+ power.h print.h pseries.h ptr.h registrar.h relational.h structure.h \
+ symbol.h symmetry.h tensor.h version.h wildcard.h \
+ parser/parser.hpp \
+ parser/parse_context.hpp
+
+AM_LFLAGS = -Pginac_yy -olex.yy.c
+AM_YFLAGS = -p ginac_yy -d
+EXTRA_DIST = function.pl input_parser.h version.h.in \
+parser/default_reader.tpl parser/builtin_fcns.def
+
+# Files produced by autogen(1) from templates
+$(srcdir)/parser/builtin_fcns.cpp: $(srcdir)/parser/builtin_fcns.def $(srcdir)/parser/default_reader.tpl
+ set -e; if [ -n "$(AUTOGEN)" ]; then \
+ cd $(srcdir)/parser; \
+ $(AUTOGEN) -T default_reader.tpl builtin_fcns.def; \
+ elif [ -f $@ ]; then \
+ echo "WARNING: AutoGen is not available, the \"$@\" file WON'T be re-generated"; \
+ else \
+ echo "*** ERROR: the \"$@\" file does not exist, and AutoGen is not installed on your system"; \
+ echo "*** Please install AutoGen (http://www.gnu.org/software/autogen)"; \
+ fi
+