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

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

1.33    ! takayama    1: #  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.32 2003/09/11 00:52:04 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)
1.33    ! takayama   19: all-trans: configure
        !            20:        (cd trans ; make all)
1.13      takayama   21: all-kanlib.a : all-plugin
                     22:        (cd Kan ; make kanlib.a)
                     23:
1.1       maekawa    24: ### When you make sm1 without the garbage collector, type in make sm1.nogc
1.29      takayama   25: sm1-nogc : all-plugin
1.1       maekawa    26:        (cd Kan; make sm1.nogc)
1.29      takayama   27: ##########################################################
1.21      takayama   28: configure: configure_symbolic_links
1.29      takayama   29:        if test ! -f ./.configure_done  ; \
                     30:        then \
1.30      takayama   31:        (cd Kan; sh ./configure) ; \
                     32:        (cd plugin; sh ./configure) ; \
1.33    ! takayama   33:        (cd trans; sh ./configure) ; \
1.29      takayama   34:        fi
                     35:        @touch ./.configure_done
1.2       takayama   36: configure_symbolic_links :
1.29      takayama   37:        @if test ! -f ./.configure_symbolic_links_done  ; \
1.17      takayama   38:        then \
1.29      takayama   39:         ${RM} -f lib Doc/var.sm1 ; \
1.17      takayama   40:         ln -f -s ./Doc lib ; \
                     41:         (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \
                     42:        fi
1.29      takayama   43:        @touch ./.configure_symbolic_links_done
1.1       maekawa    44: ###############
1.29      takayama   45: install: install-exec install-man install-document
1.31      takayama   46: install-exec: clean-for-install all-sm1
                     47:        install Kan/sm1 ${OpenXM_bin}
1.29      takayama   48: install-man :
                     49:        -cp Doc/sm1.1 ${OpenXM_HOME}/man/man1
                     50: install-document:
                     51:        -(cd Doc ; make install-document)
                     52: install-for-debug : clean-for-install
1.28      noro       53:        if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
1.29      takayama   54:          ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin}/sm1.exe ; \
1.26      takayama   55:        else \
1.29      takayama   56:          ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin}/sm1 ; \
1.26      takayama   57:        fi
1.12      takayama   58:
1.1       maekawa    59:
                     60: ##############
1.29      takayama   61: clean-for-install :
                     62:        ${RM} -f ${OpenXM_bin}/sm1
                     63: clean-done:
                     64:        ${RM} -f ./.*done
                     65: clean : clean-done
                     66:        ${RM} -f ./.*done
1.1       maekawa    67:        (cd Kan; make clean)
                     68:        (cd plugin; make clean)
1.33    ! takayama   69:        (cd trans; make clean)
1.29      takayama   70:        (cd Doc; make clean)
                     71:        ${RM} -f sm1 gmp gc Doc/var.sm1 lib
1.32      takayama   72: distclean: clean
                     73:        -(cd Kan ; make distclean)
                     74:        -(cd plugin ; make distclean)
1.33    ! takayama   75:        -(cd trans ; make distclean)
1.32      takayama   76:        -(cd Doc ; make distclean)
1.1       maekawa    77:
1.8       takayama   78:
1.17      takayama   79:

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