Annotation of rpl/rplcas/Makefile.in, revision 1.5
1.1 bertrand 1: srcdir=@srcdir@
2: top_builddir=@abs_top_builddir@
3:
1.3 bertrand 4: .PHONY: configure clean
5:
1.4 bertrand 6: all: lib/libgiac.a
1.2 bertrand 7:
1.4 bertrand 8: lib/libgmp.a:
1.1 bertrand 9: if [ ! -d @GMP@ ]; then \
10: mkdir @GMP@; \
11: fi
12: if [ ! -f @GMP@/config.log ]; then \
13: (cd @GMP@ && ../$(srcdir)/@GMP@/configure --with-readline=no \
1.4 bertrand 14: --disable-shared --enable-static \
15: --prefix=$(top_builddir)/rplcas); \
1.1 bertrand 16: fi
1.5 ! bertrand 17: make -C @GMP@ $(AM_MAKEFLAGS) all && make -C $(AM_MAKEFLAGS) @GMP@ install
1.3 bertrand 18:
1.4 bertrand 19: lib/libmpfr.a: lib/libgmp.a
1.2 bertrand 20: if [ ! -d @MPFR@ ]; then \
21: mkdir @MPFR@ ; \
22: fi
1.1 bertrand 23: if [ ! -f @MPFR@/config.log ]; then \
1.4 bertrand 24: (cd @MPFR@ && ../$(srcdir)/@MPFR@/configure \
25: --with-gmp=$(top_builddir)/rplcas \
26: --disable-shared --enable-static \
27: --prefix=$(top_builddir)/rplcas); \
1.1 bertrand 28: fi
1.5 ! bertrand 29: make -C @MPFR@ $(AM_MAKEFLAGS) all && make -C @MPFR@ $(AM_MAKEFLAGS) install
1.3 bertrand 30:
1.4 bertrand 31: lib/ntl.a:
1.5 ! bertrand 32: make -C @NTL@/src $(AM_MAKEFLAGS)
1.4 bertrand 33: cp @NTL@/src/ntl.a lib/ntl.a
34: cp @NTL@/src/ntl.a lib/ntl.a
35: cp -R @NTL@/include/NTL include
1.3 bertrand 36:
1.4 bertrand 37: lib/libcocoa.a: lib/libgmp.a
1.2 bertrand 38: if [ ! -f @COCOA@/configuration/autoconf.mk ]; then \
1.4 bertrand 39: (cd @COCOA@ && ./configure --with-libgmp=../lib/libgmp.a \
40: --with-libgsl=../../tools/@GSL@/.libs/libgsl.a); \
1.2 bertrand 41: fi
1.5 ! bertrand 42: make -C @COCOA@ $(AM_MAKEFLAGS) library
1.4 bertrand 43: cp @COCOA@/lib/libcocoa.a lib/libcocoa.a
44: cp -R @COCOA@/include/CoCoA include
1.3 bertrand 45:
1.4 bertrand 46: lib/libpari.a: lib/libgmp.a
47: if [ ! -f @PARI@/configured ]; then \
48: (cd @PARI@ && ./Configure --prefix=$(top_builddir)/rplcas \
49: --with-gmp=../lib/libgmp.a \
50: --without-readline --graphic=none -s); \
51: touch @PARI@/configured; \
52: fi
1.5 ! bertrand 53: make -C @PARI@ $(AM_MAKEFLAGS) gp && make -C @PARI@ $(AM_MAKEFLAGS) install
1.4 bertrand 54:
55: lib/libgiac.a: lib/libgmp.a lib/libmpfr.a lib/ntl.a \
56: lib/libcocoa.a lib/libpari.a
57: if [ ! -d @GIAC@ ]; then \
58: mkdir @GIAC@ ; \
59: fi
60: if [ ! -f @GIAC@/config.log ]; then \
1.5 ! bertrand 61: (cd @GIAC@ && \
! 62: CPPFLAGS="-I$(top_builddir)/rplcas/lib/include $(CPPFLAGS)" \
! 63: LDFLAGS="-L$(top_builddir)/rplcas/lib $(LDFLAGS)" \
1.4 bertrand 64: ../$(srcdir)/@GIAC@/configure --prefix=$(top_builddir)/rplcas \
65: --enable-pari=$(top_builddir)/rplcas \
66: --enable-ntl=$(top_builddir)/rplcas \
67: --enable-cocoa=$(top_builddir)/rplcas \
68: --enable-gsl=../../tools/@GSL@/.libs/libgsl.a \
1.5 ! bertrand 69: --disable-shared --enable-static \
! 70: --disable-gui --without-x && \
! 71: sed 's/SUBDIRS = src check intl po debianold debian doc examples/SUBDIRS = src check intl po debianold debian/g' Makefile | \
! 72: > Makefile2); \
! 73: fi
! 74: make -C @GIAC@ $(AM_MAKEFLAGS) -f Makefile2
! 75: for i in mkinstalldirs xcas.xpm xcas.desktop xcas.applications; \
! 76: do cp $(srcdir)/@GIAC@/$$i @GIAC@/$$i; done
! 77: make -C @GIAC@ $(AM_MAKEFLAGS) install -f Makefile2
1.1 bertrand 78:
79: install: all
80:
1.3 bertrand 81: clean:
1.2 bertrand 82:
83: distdir:
CVSweb interface <joel.bertrand@systella.fr>