[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src

Annotation of OpenXM/src/Makefile, Revision 1.127

1.127   ! takayama    1: ## $OpenXM: OpenXM/src/Makefile,v 1.126 2003/09/03 00:21:14 takayama Exp $
1.33      maekawa     2:
1.124     takayama    3: OpenXM_HOME=..
                      4: OpenXM_contrib=../../OpenXM_contrib
                      5: OpenXM_contrib2=../../OpenXM_contrib2
1.53      maekawa     6: LIBDIR=../lib
                      7: BINDIR=../bin
1.68      takayama    8: RCDIR=../rc
1.69      takayama    9: COPYRIGHTDIR=../Copyright
1.53      maekawa    10:
1.124     takayama   11: all: all-util all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \
1.113     takayama   12:      all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep
1.85      takayama   13:
                     14: all-gc:
1.124     takayama   15:        (cd gc; make all)
1.85      takayama   16:
                     17: all-gmp: configure-gmp
1.124     takayama   18:        (cd gmp; make all)
1.26      maekawa    19:
1.124     takayama   20: all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-util
1.87      ohara      21:        (cd ox_toolkit; make)
                     22:
1.98      ohara      23: all-oxc: configure-oxc install-oxtoolkit
                     24:        (cd oxc; make)
                     25:
1.124     takayama   26: all-asir: configure-asir install-pari
                     27:        (cd asir2000 ; make all)
1.21      maekawa    28:
1.41      maekawa    29: all-gnuplot: configure-gnuplot
1.100     takayama   30:        -(cd gnuplot ; make all)
1.32      maekawa    31:
1.124     takayama   32: all-k097: configure-k097 all-kan96xx all-kxx install-oxtags
1.52      maekawa    33:        (cd k097 ; make all)
1.49      maekawa    34:
1.124     takayama   35: all-kan96xx: configure-kan96xx install-gc install-gmp install-util install-oxtags
1.47      maekawa    36:        (cd kan96xx ; make all)
1.32      maekawa    37:
1.124     takayama   38: all-kxx: configure-kxx all-kan96xx install-util install-oxtags
1.52      maekawa    39:        (cd kxx ; make all)
1.31      maekawa    40:
1.30      maekawa    41: all-openmath:
1.110     takayama   42:        -@if ../misc/which.pl -s javac ; then \
1.60      tam        43:                (cd OpenMath ; make all) ; \
1.30      maekawa    44:        else \
                     45:                echo -n "Warning: javac (java compiler) is not found " ; \
                     46:                echo "in your search path. OpenMath will not be compiled." ; \
                     47:        fi
                     48:
1.88      ohara      49: all-oxmath: configure-oxmath install-oxtoolkit
1.114     ohara      50:        -@if test -d /usr/local/mathematica ; then \
1.100     takayama   51:                (cd ox_math ; make) ; \
1.27      maekawa    52:        else \
                     53:                echo -n "Warning: Mathematica is not found. " ; \
                     54:                echo "ox_math will not be compiled." ; \
1.23      maekawa    55:        fi
                     56:
1.37      maekawa    57: all-pari: configure-pari
                     58:        (cd pari ; make all)
1.25      maekawa    59:
1.22      maekawa    60: all-phc:
1.51      maekawa    61:        (cd phc ; make all)
1.22      maekawa    62:
                     63: all-tigers:
1.51      maekawa    64:        (cd tigers ; make all)
1.1       maekawa    65:
1.113     takayama   66: all-fep:
1.124     takayama   67:        -(cd ${OpenXM_contrib2}/fep ; make all)
1.113     takayama   68:
1.102     takayama   69:
1.124     takayama   70: all-misc : install-util
1.67      takayama   71:        (cd ../rc ; make repl)
1.71      takayama   72:        (cd ../doc ; make all-install)
                     73:        (cd ../doc ; make all-spec)
1.67      takayama   74:
1.104     takayama   75: all-rc:
                     76:        (cd ../rc ; make )
1.124     takayama   77: all-util:
                     78:        (cd util ; make all)
1.104     takayama   79:
1.124     takayama   80: install: install-oxtags install-util install-asir install-gnuplot \
                     81:         install-k097 install-kan96xx \
1.53      maekawa    82:         install-kxx install-openmath install-oxmath install-pari \
1.83      takayama   83:         install-phc install-tigers install-asir-doc install-asir-contrib \
1.124     takayama   84:         install-misc install-fep install-uuencoded
1.52      maekawa    85:
1.124     takayama   86: install-oxtags:
                     87:        (cd ../doc/OpenXM-web ; make install-exec)
                     88:
                     89: install-util: all-util
                     90:        (cd util; make install)
1.85      takayama   91:
                     92: install-gc : all-gc
1.124     takayama   93:        (cd gc; make install)
1.85      takayama   94:
                     95:
                     96: install-gmp : all-gmp
1.124     takayama   97:        (cd gmp; make install)
1.85      takayama   98:
1.52      maekawa    99: install-asir: all-asir
1.124     takayama  100:        (cd asir2000 ; make install) ; \
1.52      maekawa   101:
                    102: install-gnuplot: all-gnuplot
1.100     takayama  103:        -(cd gnuplot ; make install)
1.52      maekawa   104:
1.126     takayama  105: install-k097:  install-kxx all-k097
1.52      maekawa   106:        (cd k097 ; make install)
1.37      maekawa   107:
1.47      maekawa   108: install-kan96xx: all-kan96xx
1.57      takayama  109:        (cd kan96xx ; make install)
1.47      maekawa   110:
1.52      maekawa   111: install-kxx: all-kxx
1.58      takayama  112:        (cd kxx ; make install)
1.52      maekawa   113:
1.53      maekawa   114: install-openmath: all-openmath
1.110     takayama  115:        -@if ../misc/which.pl -s javac ; then \
1.66      takayama  116:                (cd OpenMath ; make install) ; \
                    117:        else \
                    118:                echo -n "Warning: javac (java compiler) is not found " ; \
                    119:                echo "in your search path. OpenMath will not be installed." ; \
                    120:        fi
                    121:
1.87      ohara     122: install-oxtoolkit: all-oxtoolkit
                    123:        (cd ox_toolkit; make install)
1.53      maekawa   124:
1.98      ohara     125: install-oxc: all-oxc
                    126:        (cd oxc; make install)
                    127:
1.124     takayama  128: install-oxmath: all-oxmath
1.114     ohara     129:        -@if test -d /usr/local/mathematica ; then \
1.100     takayama  130:                (cd ox_math ; make install) ; \
1.70      takayama  131:        else \
                    132:                echo -n "Warning: Mathematica is not found. " ; \
                    133:                echo "ox_math will not be installed." ; \
                    134:        fi
                    135:        -(cd ox_math/documents ; make install)
                    136:        -(cd ox_math/lib ; make install)
1.53      maekawa   137:
1.37      maekawa   138: install-pari: all-pari
1.45      maekawa   139:        (cd pari ; make install)
1.51      maekawa   140:
                    141: install-phc: all-phc
                    142:        (cd phc ; make install)
                    143:
                    144: install-tigers: all-tigers
                    145:        (cd tigers ; make install)
1.37      maekawa   146:
1.127   ! takayama  147: install-asir-contrib: install-asir-contrib-asir-progs \
        !           148:                       install-asir-contrib-oxservers
        !           149: install-asir-contrib-oxservers: install-asir install-util \
        !           150:                 install-k097 install-kxx install-openmath install-oxmath \
        !           151:                 install-phc install-tigers install-uuencoded install-gnuplot
        !           152: install-asir-contrib-asir-progs: install-asir install-util
1.59      takayama  153:        (cd asir-contrib ; make install)
1.127   ! takayama  154:
1.63      noro      155:
                    156: install-asir-doc: install-asir
1.105     takayama  157:        -(cd asir-doc ; make install)
1.83      takayama  158:
                    159: install-misc:
                    160:        (cd ../rc ; make install.man)
1.59      takayama  161:
1.113     takayama  162: install-fep: all-fep
1.124     takayama  163:        -(cd ${OpenXM_contrib2}/fep ; make PREFIX=../../OpenXM install)
1.113     takayama  164:
1.104     takayama  165: install-rc: all-rc
                    166:        (cd ../rc ; make install)
                    167:
1.124     takayama  168: install-uuencoded:
                    169:        (cd uuencoded ; make install)
                    170:
1.29      maekawa   171: clean:
1.101     takayama  172:        -rm ./.configure-links-done
1.124     takayama  173:        -rm ${OpenXM_contrib}/gmp/.gmp_*
                    174:        -rm ${OpenXM_contrib}/gc/.gc_*
                    175:        -(cd ${OpenXM_contrib}/gmp ; make clean)
                    176:        -(cd ${OpenXM_contrib}/gc ; make clean ; /bin/rm -f *.a)
                    177:        -(cd asir2000 ; make clean)
                    178:        -(cd gnuplot ; make clean)
                    179:        -(cd k097 ; make clean)
                    180:        -(cd kan96xx ; make clean)
1.77      takayama  181:        -(cd kxx ; make clean)
1.124     takayama  182:        -(cd OpenMath ; make clean)
1.77      takayama  183:        -(cd ox_math ; make clean)
1.124     takayama  184:        -(cd pari ; make clean)
                    185:        -(cd phc ; make clean)
                    186:        -(cd tigers ; make clean)
                    187:        -(cd asir-doc ; make clean)
                    188:        -(cd asir-contrib ; make clean)
                    189:        -(cd ${OpenXM_contrib2}/fep ; make clean)
                    190:        -(cd util ; make clean)
1.11      takayama  191:
1.39      maekawa   192: distclean: clean
1.108     takayama  193:        (cd uuencoded ; make distclean)
1.124     takayama  194:        -(cd ${OpenXM_contrib}/gmp ; make distclean)
                    195:        (cd ${OpenXM_contrib}/gc ; make clean ; /bin/rm -f *.a)
1.46      maekawa   196:        (cd asir2000 ; make distclean)
1.40      maekawa   197:        (cd gnuplot ; make distclean)
1.36      maekawa   198:        (cd kan96xx ; make distclean)
1.77      takayama  199:        -(cd kxx ; make distclean)
1.60      tam       200:        (cd OpenMath ; make distclean)
1.38      maekawa   201:        (cd pari ; make distclean)
1.44      maekawa   202:        (cd phc ; make distclean)
1.40      maekawa   203:        (cd tigers ; make distclean)
1.89      ohara     204:        -(cd ox_toolkit ; make distclean)
                    205:        -(cd ox_math ; make distclean)
1.56      maekawa   206:        rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53      maekawa   207:               $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
                    208:               $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11      takayama  209:
1.124     takayama  210: configure: configure-asir \
1.62      takayama  211:           configure-gnuplot \
1.50      maekawa   212:           configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.85      takayama  213:           configure-pari configure-gmp
1.111     takayama  214:
1.124     takayama  215: configure-gmp:
                    216:        (cd gmp; make configure)
1.101     takayama  217:
1.124     takayama  218: configure-asir:
                    219:        (cd asir2000 ; make configure)
1.45      maekawa   220:
1.41      maekawa   221: configure-gnuplot:
1.100     takayama  222:        -(cd gnuplot ; make configure)
1.48      maekawa   223:
1.124     takayama  224: configure-k097:
1.125     takayama  225:        (cd k097 ; ./make-configure)
1.37      maekawa   226:
1.124     takayama  227: configure-kan96xx:
1.45      maekawa   228:        (cd kan96xx ; make configure)
                    229:
1.124     takayama  230: configure-kxx:
1.77      takayama  231:        ( cd kxx ; ./make-configure)
1.45      maekawa   232:
1.124     takayama  233: configure-oxtoolkit:
1.87      ohara     234:        (cd ox_toolkit; ./make-configure)
1.98      ohara     235:
1.124     takayama  236: configure-oxc:
1.98      ohara     237:        (cd oxc; ./make-configure)
1.45      maekawa   238:
1.124     takayama  239: configure-oxmath:
1.80      ohara     240:        (cd ox_math; ./make-configure)
1.37      maekawa   241:
                    242: configure-pari:
1.36      maekawa   243:        (cd pari ; make configure)
1.78      takayama  244:
1.79      takayama  245: generate-source-distribution : generate-source-distribution-kxx \
                    246:                                generate-source-distribution-ox_toolkit
1.78      takayama  247:
                    248: generate-source-distribution-kxx :
1.95      takayama  249:        (cd kxx ; rm -f .configure_done Makefile )
                    250:
1.79      takayama  251: generate-source-distribution-ox_toolkit :
                    252:        (cd ox_toolkit ; rm -f Makefile ; autoconf)
1.67      takayama  253:
1.68      takayama  254: clean-rc :
                    255:        (cd $(RCDIR) ; make clean )
1.69      takayama  256: all-Copyright :
                    257:        (cd $(COPYRIGHTDIR) ; make copy-copyright )
1.68      takayama  258:
1.82      takayama  259: post-install-correction: install
1.92      takayama  260: # I think that we no longer need post-install-correction-for-asir
                    261: # post-install-corrections-other
                    262:        (cd ../rc ; make install.man)
                    263:
                    264: post-install-correction-for-asir:
1.91      takayama  265:        (cd ../bin ; rm -f asir ox_asir )
                    266:        cp ../lib/asir/asir ../bin/asir
                    267:        (cd ../bin ; ln -s ./asir ox_asir)
                    268:        (cd ../lib/asir ; rm -f asir ; ln -s ../../bin/asir asir)
1.74      takayama  269:        (cd ../lib/asir ; rm -f ox_asir ox_launch ox_plot help ; ln -s ./asir ox_asir ; ln -s ./asir ox_launch ; ln -s ./asir ox_plot ; ln -s ./help-eg help)
1.106     takayama  270:        -(cd asir-doc ; make install-man-pages)
1.82      takayama  271:
1.93      takayama  272: install-all-asir-lib:
                    273:        (cd asir2000 ; make install-lib-small)
                    274:
                    275: binary-dist : all-Copyright clean-rc all all-misc post-install-correction install-all-asir-lib
1.74      takayama  276:
1.103     takayama  277: ## Targets for debugging
                    278: install-for-debug:
                    279:        (cd kan96xx; make install-for-debug)
                    280:        (cd kxx; make install-for-debug)
                    281:        (cd k097 ; make install-for-debug)
1.105     takayama  282:        (cd ../bin ; rm -f asir ; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.103     takayama  283:
                    284:
1.102     takayama  285: ##  Sub binary packages
1.105     takayama  286: ##  1: asir: asir only.   target:  all-asir install-asir install-asir-doc
1.62      takayama  287:
1.105     takayama  288: ##  2: kan-ox: k0 and sm1 with ox_asir.  target: all-kan-ox install-kan-ox
                    289: configure-all-kan-ox :  configure-links configure-include  configure-asir \
1.102     takayama  290:                        configure-kan96xx configure-kxx configure-k097 \
                    291:                        configure-oxc
1.105     takayama  292: all-kan-ox:  configure-all-kan-ox all-asir all-kan96xx all-kxx all-k097 all-oxc
                    293: install-kan-ox: all-kan-ox  install-asir install-kan96xx install-kxx \
                    294:                install-k097 install-oxc install-asir-doc \
                    295:                post-install-kan-ox
                    296: post-install-kan-ox:
                    297:        (cd ../bin ; /bin/rm -f ox_asir; ln -s ./asir ox_asir)
                    298:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>