Annotation of OpenXM/src/Makefile, Revision 1.53
1.53 ! maekawa 1: ## $OpenXM: OpenXM/src/Makefile,v 1.52 2000/01/09 18:44:55 maekawa Exp $
1.33 maekawa 2:
1.53 ! maekawa 3: LIBDIR=../lib
! 4: BINDIR=../bin
! 5:
! 6: all: configure all-asir all-gnuplot all-k097 all-kan96xx all-kxx \
! 7: all-pari all-phc all-openmath all-oxmath all-tigers
1.26 maekawa 8:
1.41 maekawa 9: all-asir: configure-asir
1.52 maekawa 10: (cd asir2000 ; make all)
1.21 maekawa 11:
1.41 maekawa 12: all-gnuplot: configure-gnuplot
1.52 maekawa 13: (cd gnuplot ; make all)
1.32 maekawa 14:
1.49 maekawa 15: all-k097: configure-k097
1.52 maekawa 16: (cd k097 ; make all)
1.49 maekawa 17:
1.45 maekawa 18: all-kan96xx: configure-kan96xx
1.47 maekawa 19: (cd kan96xx ; make all)
1.32 maekawa 20:
1.45 maekawa 21: all-kxx: configure-kxx
1.52 maekawa 22: (cd kxx ; make all)
1.31 maekawa 23:
1.30 maekawa 24: all-openmath:
25: @if ../misc/which.pl -s javac ; then \
26: (cd OpenMath ; make) ; \
27: else \
28: echo -n "Warning: javac (java compiler) is not found " ; \
29: echo "in your search path. OpenMath will not be compiled." ; \
30: fi
31:
1.45 maekawa 32: all-oxmath: configure-oxmath
1.27 maekawa 33: @if test -d /usr/local/mathematica ; then \
34: (cd ox_math ; make) ; \
35: else \
36: echo -n "Warning: Mathematica is not found. " ; \
37: echo "ox_math will not be compiled." ; \
1.23 maekawa 38: fi
39:
1.37 maekawa 40: all-pari: configure-pari
41: (cd pari ; make all)
1.25 maekawa 42:
1.22 maekawa 43: all-phc:
1.51 maekawa 44: (cd phc ; make all)
1.22 maekawa 45:
46: all-tigers:
1.51 maekawa 47: (cd tigers ; make all)
1.1 maekawa 48:
1.52 maekawa 49: install: install-asir install-gnuplot install-k097 install-kan96xx \
1.53 ! maekawa 50: install-kxx install-openmath install-oxmath install-pari \
! 51: install-phc install-tigers
1.52 maekawa 52:
53: install-asir: all-asir
54: (cd asir2000 ; make install)
55:
56: install-gnuplot: all-gnuplot
57: (cd gnuplot ; make install)
58:
59: install-k097: all-k097
60: (cd k097 ; make install)
1.37 maekawa 61:
1.47 maekawa 62: install-kan96xx: all-kan96xx
63: (cd kan96xx ; make install2)
64:
1.52 maekawa 65: install-kxx: all-kxx
66: (cd kxx ; make install2)
67:
1.53 ! maekawa 68: install-openmath: all-openmath
! 69:
! 70: install-oxmath: all-oxmath
! 71:
1.37 maekawa 72: install-pari: all-pari
1.45 maekawa 73: (cd pari ; make install)
1.51 maekawa 74:
75: install-phc: all-phc
76: (cd phc ; make install)
77:
78: install-tigers: all-tigers
79: (cd tigers ; make install)
1.37 maekawa 80:
1.29 maekawa 81: clean:
1.52 maekawa 82: (cd asir2000 ; make clean)
83: (cd gnuplot ; make clean)
84: (cd k097 ; make clean)
1.36 maekawa 85: (cd kan96xx ; make clean)
1.1 maekawa 86: (cd kxx ; make clean)
1.52 maekawa 87: # (cd ox_math ; make clean)
1.38 maekawa 88: (cd pari ; make clean)
1.36 maekawa 89: (cd phc ; make clean)
1.52 maekawa 90: (cd tigers ; make clean)
1.11 takayama 91:
1.39 maekawa 92: distclean: clean
1.46 maekawa 93: (cd asir2000 ; make distclean)
1.40 maekawa 94: (cd gnuplot ; make distclean)
1.36 maekawa 95: (cd kan96xx ; make distclean)
1.38 maekawa 96: (cd pari ; make distclean)
1.44 maekawa 97: (cd phc ; make distclean)
1.40 maekawa 98: (cd tigers ; make distclean)
1.53 ! maekawa 99: rm -rf $(BINDIR)/d0 $(BINDIR)/fep.linux $(BINDIR)/k0 \
! 100: $(BINDIR)/lin_phcv2p $(BINDIR)/ox $(BINDIR)/ox_sm1 \
! 101: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
! 102: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 103:
1.53 ! maekawa 104: configure: configure-links configure-bin configure-asir configure-gnuplot \
1.50 maekawa 105: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
106: configure-pari
1.37 maekawa 107:
1.52 maekawa 108: configure-asir:
1.42 maekawa 109: (cd asir2000; make configure)
1.41 maekawa 110:
1.45 maekawa 111: configure-bin:
1.53 ! maekawa 112: (cd $(BINDIR) ; ./configure2)
1.45 maekawa 113:
1.41 maekawa 114: configure-gnuplot:
115: (cd gnuplot ; make configure)
1.48 maekawa 116:
117: configure-k097: install-kan96xx
1.37 maekawa 118:
1.45 maekawa 119: configure-kan96xx:
120: (cd kan96xx ; make configure)
121:
1.47 maekawa 122: configure-kxx: install-kan96xx
1.45 maekawa 123: (cd kxx ; make configure)
124:
1.37 maekawa 125: configure-links:
1.53 ! maekawa 126: rm -f bin SSkan gmp gc $(LIBDIR)/k097 $(LIBDIR)/sm1
! 127: ln -f -s $(BINDIR) bin
! 128: ln -f -s kan96xx SSkan
! 129: ln -f -s $OPENXM_CONTRIB/gmp gmp
! 130: ln -f -s $OPENXM_CONTRIB/gc gc
! 131: (cd $(LIBDIR) ; ln -f -s ../src/k097 k097)
! 132: (cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1)
1.45 maekawa 133:
134: configure-oxmath:
135: (cd ox_math; ./configure)
1.37 maekawa 136:
137: configure-pari:
1.36 maekawa 138: (cd pari ; make configure)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>