Annotation of OpenXM/src/kan96xx/Makefile.in, Revision 1.2
1.2 ! takayama 1: # $OpenXM: OpenXM/src/kan96xx/Makefile.in,v 1.1 2004/06/24 12:45:15 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 ; \
65: fi
66:
67:
68: ##############
69: clean-for-install :
70: ${RM} -f ${OpenXM_bin}/sm1
71: ${RM} -f ${OpenXM_bin_debug}/sm1
72: clean-done:
73: ${RM} -f ./.*done
74: clean : clean-done
75: ${RM} -f ./.*done
76: (cd Kan; make clean)
77: (cd plugin; make clean)
78: (cd trans; make clean)
79: (cd Doc; make clean)
80: ${RM} -f sm1 gmp gc Doc/var.sm1 lib
81: distclean: clean
82: -(cd Kan ; make distclean)
83: -(cd plugin ; make distclean)
84: -(cd trans ; make distclean)
85: -(cd Doc ; make distclean)
86:
87:
88:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>