]> www.ginac.de Git - ginac.git/blob - ginac/Makefile.am
271230936f9a8020c6d9c68103e3c686cbd40514
[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 constant.cpp diff.cpp \
5   ex.cpp expairseq.cpp exprseq.cpp fail.cpp function.cpp inifcns.cpp \
6   inifcns_trans.cpp inifcns_zeta.cpp inifcns_gamma.cpp matrix.cpp mul.cpp \
7   normal.cpp numeric.cpp operators.cpp power.cpp registrar.cpp relational.cpp \
8   symbol.cpp pseries.cpp utils.cpp ncmul.cpp clifford.cpp structure.cpp \
9   color.cpp indexed.cpp idx.cpp isospin.cpp exprseq_suppl.cpp lst.cpp \
10   lst_suppl.cpp simp_lor.cpp coloridx.cpp lorentzidx.cpp lortensor.cpp \
11   debugmsg.h utils.h 
12 libginac_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
13   -release $(LT_RELEASE)
14 ginacincludedir = $(includedir)/ginac
15 ginacinclude_HEADERS = ginac.h add.h archive.h basic.h clifford.h color.h \
16   coloridx.h constant.h ex.h expair.h expairseq.h exprseq.h fail.h flags.h \
17   function.h idx.h indexed.h inifcns.h isospin.h lorentzidx.h lst.h matrix.h \
18   mul.h ncmul.h normal.h numeric.h operators.h power.h registrar.h \
19   relational.h pseries.h simp_lor.h structure.h symbol.h lortensor.h tinfos.h \
20   assertion.h
21 EXTRA_DIST = container.pl function.pl structure.pl
22
23 # Files which are generated by perl scripts
24 $(srcdir)/function.h $(srcdir)/function.cpp: $(srcdir)/function.pl
25         cd $(srcdir) && perl function.pl
26
27 $(srcdir)/lst.h $(srcdir)/lst.cpp: $(srcdir)/container.pl
28         cd $(srcdir) && perl container.pl lst
29
30 $(srcdir)/exprseq.h $(srcdir)/exprseq.cpp: $(srcdir)/container.pl
31         cd $(srcdir) && perl container.pl exprseq
32
33 # Force build of headers before compilation
34 $(srcdir)/add.cpp: $(srcdir)/function.h $(srcdir)/lst.h $(srcdir)/exprseq.h