Annotation of OpenXM/src/gc/Makefile, Revision 1.5
1.5 ! takayama 1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.4 2003/11/10 23:13:38 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:
1.3 takayama 10: @if [ ! -f ./.use_ports ]; then \
11: make all-l ; \
12: else \
13: make -f Makefile-ports all ; \
14: fi
15: install:
16: @if [ ! -f ./.use_ports ]; then \
17: make install-l ; \
18: else \
19: make -f Makefile-ports install ; \
20: fi
21:
22: all-l:
1.1 takayama 23: @if [ ! -f ./.make_done ]; then \
24: (cd ${GC} ; make) ; \
25: touch ./.make_done ; \
26: fi
27:
1.3 takayama 28: install-l: all-l
1.1 takayama 29: if [ ! -f ./.install_done ]; then \
30: cp ${GC}/gc.a ${OpenXM_lib}/libgc.a ; \
31: if test ! -d ${OpenXM_include}/gc ; then mkdir -p ${OpenXM_include}/gc ; fi ; \
32: cp ${GC}/include/gc.h ${GC}/include/gc_cpp.h ${OpenXM_include}/gc ; \
33: touch ./.install_done ; \
34: fi
35: clean:
36: @if [ -f ./.make_done ]; then \
37: (cd ${GC} ; make clean) \
1.2 takayama 38: fi
1.5 ! takayama 39: ${RM} -f ./.*done
1.2 takayama 40: distclean:
41: -@if [ -f ./.make_done ]; then \
42: (cd ${GC} ; make distclean) \
1.1 takayama 43: fi
1.5 ! takayama 44: ${RM} -f ./.*done ./.use_ports
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>