Annotation of OpenXM/src/gc/Makefile, Revision 1.2
1.2 ! takayama 1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.1 2003/09/02 14:07:45 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: GC=${OpenXM_contrib}/gc
7: RM=rm
8:
9: all:
10: @if [ ! -f ./.make_done ]; then \
11: (cd ${GC} ; make) ; \
12: touch ./.make_done ; \
13: fi
14:
15: install: all
16: if [ ! -f ./.install_done ]; then \
17: cp ${GC}/gc.a ${OpenXM_lib}/libgc.a ; \
18: if test ! -d ${OpenXM_include}/gc ; then mkdir -p ${OpenXM_include}/gc ; fi ; \
19: cp ${GC}/include/gc.h ${GC}/include/gc_cpp.h ${OpenXM_include}/gc ; \
20: touch ./.install_done ; \
21: fi
22: clean:
23: ${RM} -f ./.*done
24: @if [ -f ./.make_done ]; then \
25: (cd ${GC} ; make clean) \
1.2 ! takayama 26: fi
! 27: distclean:
! 28: ${RM} -f ./.*done
! 29: -@if [ -f ./.make_done ]; then \
! 30: (cd ${GC} ; make distclean) \
1.1 takayama 31: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>