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

Annotation of OpenXM/src/kan96xx/Makefile, Revision 1.30

1.30    ! takayama    1: #  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.29 2003/09/02 03:24:47 takayama Exp $
1.29      takayama    2: #
                      3: # Building kan96xx depends on
                      4: #   install-gmp, install-gc [install-asir-gc]
                      5: #
                      6: OpenXM_HOME=../..
                      7: OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib
                      8: OpenXM_bin=${OpenXM_HOME}/bin
                      9: OpenXM_lib=${OpenXM_HOME}/lib
1.9       takayama   10:
1.29      takayama   11: RM=rm
1.12      takayama   12:
1.29      takayama   13: all :   all-sm1 all-kanlib.a
1.9       takayama   14:
1.29      takayama   15: all-sm1 : all-plugin
1.13      takayama   16:        (cd Kan; make all)
1.29      takayama   17: all-plugin :  configure
1.13      takayama   18:         (cd plugin ; make all)
                     19: all-kanlib.a : all-plugin
                     20:        (cd Kan ; make kanlib.a)
                     21:
1.1       maekawa    22: ### When you make sm1 without the garbage collector, type in make sm1.nogc
1.29      takayama   23: sm1-nogc : all-plugin
1.1       maekawa    24:        (cd Kan; make sm1.nogc)
1.29      takayama   25: ##########################################################
1.21      takayama   26: configure: configure_symbolic_links
1.29      takayama   27:        if test ! -f ./.configure_done  ; \
                     28:        then \
1.30    ! takayama   29:        (cd Kan; sh ./configure) ; \
        !            30:        (cd plugin; sh ./configure) ; \
1.29      takayama   31:        fi
                     32:        @touch ./.configure_done
1.2       takayama   33: configure_symbolic_links :
1.29      takayama   34:        @if test ! -f ./.configure_symbolic_links_done  ; \
1.17      takayama   35:        then \
1.29      takayama   36:         ${RM} -f lib Doc/var.sm1 ; \
1.17      takayama   37:         ln -f -s ./Doc lib ; \
                     38:         (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \
                     39:        fi
1.29      takayama   40:        @touch ./.configure_symbolic_links_done
1.1       maekawa    41: ###############
1.29      takayama   42: install: install-exec install-man install-document
                     43: install-exec: install-OpenXM-bin
                     44: install-OpenXM-bin: clean-for-install all-sm1
1.28      noro       45:        if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
1.29      takayama   46:          rm -f ${OpenXM_bin}/sm1.exe ; \
                     47:          cp Kan/sm1.exe ${OpenXM_bin} ; \
1.26      takayama   48:        else \
1.29      takayama   49:          cp Kan/sm1 ${OpenXM_bin} ; \
1.26      takayama   50:        fi
1.29      takayama   51: install-man :
                     52:        -cp Doc/sm1.1 ${OpenXM_HOME}/man/man1
                     53: install-document:
                     54:        -(cd Doc ; make install-document)
                     55: install-for-debug : clean-for-install
1.28      noro       56:        if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
1.29      takayama   57:          ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin}/sm1.exe ; \
1.26      takayama   58:        else \
1.29      takayama   59:          ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin}/sm1 ; \
1.26      takayama   60:        fi
1.12      takayama   61:
1.1       maekawa    62:
                     63: ##############
1.29      takayama   64: clean-for-install :
                     65:        ${RM} -f ${OpenXM_bin}/sm1
                     66: clean-done:
                     67:        ${RM} -f ./.*done
                     68: clean : clean-done
                     69:        ${RM} -f ./.*done
1.1       maekawa    70:        (cd Kan; make clean)
                     71:        (cd plugin; make clean)
1.29      takayama   72:        (cd Doc; make clean)
                     73:        ${RM} -f sm1 gmp gc Doc/var.sm1 lib
1.1       maekawa    74:
1.8       takayama   75:
1.17      takayama   76:

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