Annotation of OpenXM/src/kan96xx/Makefile.in, Revision 1.3
1.3 ! takayama 1: # $OpenXM: OpenXM/src/kan96xx/Makefile.in,v 1.2 2013/09/22 01:07:38 takayama Exp $
1.1 takayama 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}
1.2 takayama 53: install trans/oxdecode_post ${OpenXM_bin}
1.1 takayama 54: install-man :
55: -cp Doc/sm1.1 ${OpenXM_HOME}/man/man1
56: install-document:
57: -(cd Doc ; make install-document)
58: install-for-debug : clean-for-install
59: if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
60: ln -f -s ../src/kan96xx/Kan/sm1.exe ${OpenXM_bin_debug}/sm1.exe ; \
61: ln -f -s ../src/kan96xx/trans/polymake2tfb.exe ${OpenXM_bin_debug}/polymake2tfb.exe ; \
62: else \
63: ln -f -s ../src/kan96xx/Kan/sm1 ${OpenXM_bin_debug}/sm1 ; \
64: ln -f -s ../src/kan96xx/trans/polymake2tfb ${OpenXM_bin_debug}/polymake2tfb ; \
1.3 ! takayama 65: ln -f -s ../src/kan96xx/trans/oxdecode_post ${OpenXM_bin_debug}/oxdecode_post ; \
1.1 takayama 66: fi
67:
68:
69: ##############
70: clean-for-install :
71: ${RM} -f ${OpenXM_bin}/sm1
72: ${RM} -f ${OpenXM_bin_debug}/sm1
73: clean-done:
74: ${RM} -f ./.*done
75: clean : clean-done
76: ${RM} -f ./.*done
77: (cd Kan; make clean)
78: (cd plugin; make clean)
79: (cd trans; make clean)
80: (cd Doc; make clean)
81: ${RM} -f sm1 gmp gc Doc/var.sm1 lib
82: distclean: clean
83: -(cd Kan ; make distclean)
84: -(cd plugin ; make distclean)
85: -(cd trans ; make distclean)
86: -(cd Doc ; make distclean)
87:
88:
89:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>