Annotation of OpenXM/src/kan96xx/Makefile, Revision 1.31
1.31 ! takayama 1: # $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.30 2003/09/02 03:31:12 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
1.31 ! takayama 43: install-exec: clean-for-install all-sm1
! 44: install Kan/sm1 ${OpenXM_bin}
1.29 takayama 45: install-man :
46: -cp Doc/sm1.1 ${OpenXM_HOME}/man/man1
47: install-document:
48: -(cd Doc ; make install-document)
49: install-for-debug : clean-for-install
1.28 noro 50: if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
1.29 takayama 51: ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin}/sm1.exe ; \
1.26 takayama 52: else \
1.29 takayama 53: ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin}/sm1 ; \
1.26 takayama 54: fi
1.12 takayama 55:
1.1 maekawa 56:
57: ##############
1.29 takayama 58: clean-for-install :
59: ${RM} -f ${OpenXM_bin}/sm1
60: clean-done:
61: ${RM} -f ./.*done
62: clean : clean-done
63: ${RM} -f ./.*done
1.1 maekawa 64: (cd Kan; make clean)
65: (cd plugin; make clean)
1.29 takayama 66: (cd Doc; make clean)
67: ${RM} -f sm1 gmp gc Doc/var.sm1 lib
1.1 maekawa 68:
1.8 takayama 69:
1.17 takayama 70:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>