[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / gc

Annotation of OpenXM/src/gc/Makefile, Revision 1.3

1.3     ! takayama    1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.2 2003/09/14 01:19:57 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:        ${RM} -f ./.*done
                     37:        @if [ -f ./.make_done ]; then \
                     38:                (cd ${GC} ; make clean) \
1.2       takayama   39:        fi
                     40: distclean:
                     41:        ${RM} -f ./.*done
                     42:        -@if [ -f ./.make_done ]; then \
                     43:                (cd ${GC} ; make distclean) \
1.1       takayama   44:        fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>