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