Annotation of OpenXM/src/pari/Makefile, Revision 1.12
1.12 ! noro 1: # $OpenXM: OpenXM/src/pari/Makefile,v 1.11 2000/08/31 06:28:21 takayama 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:
30: clean:
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:
39: configure:
40: @if [ ! -f ./.configure_done ]; then \
41: (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \
42: fi
43: @touch ./.configure_done
1.8 maekawa 44:
45: install-lib: all
1.9 maekawa 46: (cd $(PARI) ; make install-lib-sta)
1.12 ! noro 47: ranlib ../../lib/libpari-2.2.a
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>