]> www.ginac.de Git - ginac.git/blob - cint/Makefile.am
- diff() is now only defined on classes ex and basic, where it handles
[ginac.git] / cint / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 bin_PROGRAMS = ginaccint.bin ginaccint
4 noinst_LTLIBRARIES = libginac.la
5 ginaccint_bin_SOURCES = ginaccint.bin.cpp dummies.cpp dummies.h
6 man_MANS = ginaccint.1
7
8 # Build a modified library in the ginac-subdir and put it into the cint-subdir:
9 libginac.la:
10         (cd ../ginac && \
11           $(MAKE) clean; \
12           $(MAKE) CXXFLAGS="$$CXXFLAGS -DNO_NAMESPACE_GINAC" && \
13           $(MAKE) install-libLTLIBRARIES prefix=`pwd`/../cint libdir=`pwd`/../cint && \
14           $(MAKE) clean)
15
16 ginaccint.bin: libginac.la ginaccint.bin.cpp
17         $(MAKE) -f Makefile.makecint
18
19 EXTRA_DIST = dummies.pl
20
21 # Files which are generated by perl scripts
22 $(srcdir)/dummies.h $(srcdir)/dummies.cpp: $(srcdir)/dummies.pl
23         cd $(srcdir) && perl dummies.pl
24
25 # Force build of headers before compilation
26 $(srcdir)/ginaccint.bin.cpp: $(srcdir)/dummies.h
27
28 # Force make clean to call Makecint's own Makefile
29 makecint_clean:
30         (if [ -f Makefile.makecint ]; then $(MAKE) -f Makefile.makecint clean; fi)
31 clean: makecint_clean