Annotation of OpenXM/src/pari/Makefile, Revision 1.14
1.14 ! noro 1: # $OpenXM: OpenXM/src/pari/Makefile,v 1.13 2001/12/27 07:10:38 noro Exp $
1.1 maekawa 2:
1.12 noro 3: PARI = ../../../OpenXM_contrib/pari-2.2
1.10 takayama 4: OpenXM_ROOT = ../../../OpenXM
1.1 maekawa 5:
6: all: configure
7: @if [ ! -f ./.make_done ]; then \
8: (cd $(PARI) ; make all) \
9: fi
10: @touch ./.make_done
11:
1.11 takayama 12: install: install-lib-bin
13:
14: install-lib-bin: all install-lib
15: (cd $(PARI)/O*-* ; make install-lib-dyn)
16: (cd $(PARI)/O*-* ; make install-include)
17: (cd $(PARI)/O*-* ; make install-bin)
18: (cd $(PARI)/O*-* ; make install-misc)
19: (cd $(PARI)/O*-* ; make install-man)
20: (cd $(PARI)/O*-* ; make install-data)
21:
22: install-doc: all
23: (cd $(PARI) ; make doc)
1.10 takayama 24: @if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \
25: mkdir $(OpenXM_ROOT)/doc/pari ;\
26: fi
27: -cp $(OpenXM_ROOT)/lib/pari/users.dvi $(OpenXM_ROOT)/doc/pari/users.dvi
28: -cp $(OpenXM_ROOT)/lib/pari/tutorial.dvi $(OpenXM_ROOT)/doc/pari/tutorial.dvi
1.1 maekawa 29:
1.13 noro 30: clean: patch-clean
1.1 maekawa 31: @if [ -f ./.make_done ]; then \
32: (cd $(PARI) ; make clean) \
33: fi
1.3 maekawa 34: @rm -f ./.make_done ./.configure_done
35:
36: distclean:
1.7 maekawa 37: @cat BINARIES | xargs -t rm -rf
1.1 maekawa 38:
1.13 noro 39: configure: patch
1.1 maekawa 40: @if [ ! -f ./.configure_done ]; then \
41: (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \
42: fi
43: @touch ./.configure_done
1.13 noro 44:
45: patch:
46: @if [ ! -f ./.patch_done ]; then \
1.14 ! noro 47: (cd $(PARI)/config ; patch < ../../../OpenXM/src/pari/Makefile.SH.diff) \
1.13 noro 48: fi
49: @touch ./.patch_done
50:
51: patch-clean:
52: @if [ -f ./.patch_done ]; then \
1.14 ! noro 53: (cd $(PARI)/config ; patch -R < ../../../OpenXM/src/pari/Makefile.SH.diff) \
1.13 noro 54: fi
55: @rm -f ./.patch_done
1.8 maekawa 56:
57: install-lib: all
1.9 maekawa 58: (cd $(PARI) ; make install-lib-sta)
1.12 noro 59: ranlib ../../lib/libpari-2.2.a
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>