X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2FMakefile.am;h=f0896bd4d802447fd52bfc63ca53000829c75eef;hp=d215d8ce94d7ad8641e77ed1ddf4076004cc160e;hb=da2ce481c6a4c5f79e3c2d888bbab45b9a476bd4;hpb=6b3768e8c544739ae53321539cb4d1e3112ded1b diff --git a/ginac/Makefile.am b/ginac/Makefile.am index d215d8ce..f0896bd4 100644 --- a/ginac/Makefile.am +++ b/ginac/Makefile.am @@ -1,16 +1,36 @@ ## Process this file with automake to produce Makefile.in + lib_LTLIBRARIES = libginac.la -libginac_la_SOURCES = add.cpp basic.cpp constant.cpp diff.cpp ex.cpp \ - expairseq.cpp exprseq.cpp fail.cpp function.cpp inifcns.cpp \ - inifcns_trans.cpp inifcns_gamma.cpp matrix.cpp mul.cpp normal.cpp \ - numeric.cpp operators.cpp power.cpp print.cpp printraw.cpp printtree.cpp \ - printcsrc.cpp relational.cpp symbol.cpp utils.cpp series.cpp ncmul.cpp \ - clifford.cpp structure.cpp color.cpp indexed.cpp idx.cpp isospin.cpp \ - exprseq_suppl.cpp lst.cpp lst_suppl.cpp simp_lor.cpp coloridx.cpp \ - lorentzidx.cpp utils.h +libginac_la_SOURCES = add.cpp archive.cpp basic.cpp constant.cpp ex.cpp \ + expair.cpp expairseq.cpp exprseq.cpp fail.cpp function.cpp inifcns.cpp \ + inifcns_trans.cpp inifcns_zeta.cpp inifcns_gamma.cpp matrix.cpp mul.cpp \ + normal.cpp numeric.cpp operators.cpp power.cpp registrar.cpp relational.cpp \ + symbol.cpp pseries.cpp utils.cpp ncmul.cpp structure.cpp exprseq_suppl.cpp \ + lst.cpp lst_suppl.cpp input_parser.yy input_lexer.ll input_lexer.h \ + remember.h remember.cpp utils.h idx.cpp indexed.cpp tensor.cpp color.cpp \ + clifford.cpp wildcard.cpp print.cpp symmetry.cpp fderivative.cpp tostring.h +libginac_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ + -release $(LT_RELEASE) ginacincludedir = $(includedir)/ginac -ginacinclude_HEADERS = ginac.h add.h basic.h clifford.h color.h coloridx.h \ - constant.h debugmsg.h ex.h expair.h expairseq.h exprseq.h fail.h flags.h \ - function.h idx.h indexed.h inifcns.h isospin.h lorentzidx.h lst.h matrix.h \ - mul.h ncmul.h normal.h numeric.h operators.h power.h relational.h series.h \ - simp_lor.h structure.h symbol.h tinfos.h +ginacinclude_HEADERS = ginac.h add.h archive.h basic.h constant.h ex.h \ + expair.h expairseq.h exprseq.h fail.h flags.h function.h inifcns.h \ + lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h power.h \ + registrar.h relational.h pseries.h structure.h symbol.h tinfos.h assertion.h \ + version.h idx.h indexed.h tensor.h color.h clifford.h wildcard.h print.h \ + symmetry.h fderivative.h +LFLAGS = -Pginac_yy -olex.yy.c +YFLAGS = -p ginac_yy -d +EXTRA_DIST = container.pl function.pl structure.pl input_parser.h version.h.in + +# Files which are generated by perl scripts +$(srcdir)/function.h $(srcdir)/function.cpp: $(srcdir)/function.pl + cd $(srcdir) && perl -w function.pl + +$(srcdir)/lst.h $(srcdir)/lst.cpp: $(srcdir)/container.pl + cd $(srcdir) && perl -w container.pl lst + +$(srcdir)/exprseq.h $(srcdir)/exprseq.cpp: $(srcdir)/container.pl + cd $(srcdir) && perl -w container.pl exprseq + +# Force build of headers before compilation +$(srcdir)/add.cpp: $(srcdir)/function.h $(srcdir)/lst.h $(srcdir)/exprseq.h