Annotation of OpenXM/src/kan96xx/Makefile.in, Revision 1.1
1.1 ! takayama 1: # $OpenXM$
! 2: #
! 3: # Building kan96xx depends on
! 4: # install-gmp, install-gc [install-asir-gc]
! 5: #
! 6: OpenXM_HOME=@prefix@
! 7: OpenXM_bin=${OpenXM_HOME}/bin
! 8: OpenXM_lib=${OpenXM_HOME}/lib
! 9: #
! 10: OpenXM_HOME_debug=../..
! 11: OpenXM_bin_debug=${OpenXM_HOME_debug}/bin
! 12: OpenXM_lib_debug=${OpenXM_HOME_debug}/lib
! 13:
! 14: RM=rm
! 15:
! 16: all : all-sm1 all-kanlib.a
! 17:
! 18: all-sm1 : all-plugin all-trans
! 19: (cd Kan; make all)
! 20: all-plugin : configure
! 21: (cd plugin ; make all)
! 22: all-trans: configure
! 23: (cd trans ; make all)
! 24: all-kanlib.a : all-plugin all-trans
! 25: (cd Kan ; make kanlib.a)
! 26:
! 27: ### When you make sm1 without the garbage collector, type in make sm1.nogc
! 28: sm1-nogc : all-plugin
! 29: (cd Kan; make sm1.nogc)
! 30: ##########################################################
! 31: configure: configure_symbolic_links
! 32: if test ! -f ./.configure_sub_done ; \
! 33: then \
! 34: (cd Kan; sh ./configure --prefix=@prefix@) ; \
! 35: (cd plugin; sh ./configure --prefix=@prefix@) ; \
! 36: (cd trans; sh ./configure --prefix=@prefix@) ; \
! 37: (cd Doc; sh ./configure --prefix=@prefix@) ; \
! 38: fi
! 39: @touch ./.configure_sub_done
! 40: configure_symbolic_links :
! 41: @if test ! -f ./.configure_symbolic_links_done ; \
! 42: then \
! 43: ${RM} -f lib Doc/var.sm1 ; \
! 44: ln -f -s ./Doc lib ; \
! 45: (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \
! 46: fi
! 47: @touch ./.configure_symbolic_links_done
! 48: ###############
! 49: install: install-exec install-man
! 50: install-exec: clean-for-install all-sm1
! 51: install Kan/sm1 ${OpenXM_bin}
! 52: install trans/polymake2tfb ${OpenXM_bin}
! 53: install-man :
! 54: -cp Doc/sm1.1 ${OpenXM_HOME}/man/man1
! 55: install-document:
! 56: -(cd Doc ; make install-document)
! 57: install-for-debug : clean-for-install
! 58: if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
! 59: ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin_debug}/sm1.exe ; \
! 60: ln -f -s ../src/kan96xx/trans/polymake2tfb.exe ${OpenXM_bin_debug}/polymake2tfb.exe ; \
! 61: else \
! 62: ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin_debug}/sm1 ; \
! 63: ln -f -s ../src/kan96xx/trans/polymake2tfb ${OpenXM_bin_debug}/polymake2tfb ; \
! 64: fi
! 65:
! 66:
! 67: ##############
! 68: clean-for-install :
! 69: ${RM} -f ${OpenXM_bin}/sm1
! 70: ${RM} -f ${OpenXM_bin_debug}/sm1
! 71: clean-done:
! 72: ${RM} -f ./.*done
! 73: clean : clean-done
! 74: ${RM} -f ./.*done
! 75: (cd Kan; make clean)
! 76: (cd plugin; make clean)
! 77: (cd trans; make clean)
! 78: (cd Doc; make clean)
! 79: ${RM} -f sm1 gmp gc Doc/var.sm1 lib
! 80: distclean: clean
! 81: -(cd Kan ; make distclean)
! 82: -(cd plugin ; make distclean)
! 83: -(cd trans ; make distclean)
! 84: -(cd Doc ; make distclean)
! 85:
! 86:
! 87:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>