1 ## Process this file with automake to produce Makefile.in
3 bin_PROGRAMS = ginaccint.bin
4 bin_SCRIPTS = ginaccint
5 noinst_LTLIBRARIES = libginac.la
6 ginaccint_bin_SOURCES = ginaccint.bin.cpp dummies.cpp dummies.h
9 # Build a modified library in the ginac-subdir and put it into the cint-subdir:
13 $(MAKE) CXXFLAGS="$$CXXFLAGS -DNO_NAMESPACE_GINAC" && \
14 $(MAKE) install-libLTLIBRARIES prefix=`pwd`/../cint libdir=`pwd`/../cint && \
17 ginaccint.bin: libginac.la ginaccint.bin.cpp
18 $(MAKE) -f Makefile.makecint
20 EXTRA_DIST = dummies.pl
22 # Files which are generated by perl scripts
23 $(srcdir)/dummies.h $(srcdir)/dummies.cpp: $(srcdir)/dummies.pl
24 cd $(srcdir) && perl dummies.pl
26 # Force build of headers before compilation
27 $(srcdir)/ginaccint.bin.cpp: $(srcdir)/dummies.h
29 # Force make clean to call Makecint's own Makefile
31 (if [ -f Makefile.makecint ]; then $(MAKE) -f Makefile.makecint clean; fi)