Annotation of OpenXM/src/gmp/Makefile, Revision 1.5
1.5 ! takayama 1: # $OpenXM: OpenXM/src/gmp/Makefile,v 1.4 2004/02/22 08:28:20 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) ; \
29: cp ${GMP}/gmp.h ${OpenXM_include} ; \
30: touch ./.install_done ; \
31: fi
32: configure:
1.5 ! takayama 33: @if [ ! -f ./.use_ports ]; then \
! 34: make configure-l ; \
! 35: fi
! 36: configure-l:
1.1 takayama 37: if [ ! -f ./.configure_done ]; then \
38: (cd ${GMP} ; ./configure --prefix=`pwd`/../../OpenXM ) ; \
39: touch ./.configure_done ; \
40: fi
41: clean:
42: @if [ -f ./.make_done ]; then \
43: (cd ${GMP} ; make clean) \
1.2 takayama 44: fi
1.3 takayama 45: ${RM} -f ./.*done
1.2 takayama 46: distclean:
47: -@if [ -f ./.make_done ]; then \
48: (cd ${GMP} ; make distclean) \
1.1 takayama 49: fi
1.3 takayama 50: ${RM} -f ./.*done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>