Annotation of OpenXM/src/gmp/Makefile, Revision 1.6
1.6 ! takayama 1: # $OpenXM: OpenXM/src/gmp/Makefile,v 1.5 2004/02/23 05:56:32 takayama Exp $
1.1 takayama 2: OpenXM_HOME=../..
3: OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib
4: OpenXM_lib=${OpenXM_HOME}/lib
5: OpenXM_include=${OpenXM_HOME}/include
6: GMP=${OpenXM_contrib}/gmp
7: RM=rm
1.4 takayama 8: all:
9: @if [ ! -f ./.use_ports ]; then \
10: make all-l ; \
11: else \
12: make -f Makefile-ports all ; \
13: fi
14: install:
15: @if [ ! -f ./.use_ports ]; then \
16: make install-l ; \
17: else \
18: make -f Makefile-ports install ; \
19: fi
1.5 takayama 20: all-l: configure-l
1.1 takayama 21: -@if [ ! -f ./.make_done ]; then \
22: (cd ${GMP} ; make) ; \
23: touch ./.make_done ; \
24: fi
1.4 takayama 25: install-l: install-exec-l
26: install-exec-l: all-l
1.1 takayama 27: if [ ! -f ./.install_done ]; then \
28: (cd ${GMP}; make install-exec) ; \
1.6 ! takayama 29: rm -f ${OpenXM_include}/config.h ${OpenXM_include}/gmp-impl.h ${OpenXM_include}/gmp-mparam.h ; \
1.1 takayama 30: cp ${GMP}/gmp.h ${OpenXM_include} ; \
31: touch ./.install_done ; \
32: fi
33: configure:
1.5 takayama 34: @if [ ! -f ./.use_ports ]; then \
35: make configure-l ; \
36: fi
37: configure-l:
1.1 takayama 38: if [ ! -f ./.configure_done ]; then \
39: (cd ${GMP} ; ./configure --prefix=`pwd`/../../OpenXM ) ; \
40: touch ./.configure_done ; \
41: fi
42: clean:
43: @if [ -f ./.make_done ]; then \
44: (cd ${GMP} ; make clean) \
1.2 takayama 45: fi
1.3 takayama 46: ${RM} -f ./.*done
1.2 takayama 47: distclean:
48: -@if [ -f ./.make_done ]; then \
49: (cd ${GMP} ; make distclean) \
1.1 takayama 50: fi
1.3 takayama 51: ${RM} -f ./.*done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>