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

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

1.6     ! ohara       1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.5 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: 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:
1.6     ! ohara      22: all-l: configure-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
1.6     ! ohara      35:
        !            36: configure-l:
        !            37:        @if [ ! -f ./.configure_done ]; then \
        !            38:            if [ `uname` = "Interix" ]; then \
        !            39:                cat ./gc5_interix.diff | ( cd ${OpenXM_contrib}/gc; patch ); \
        !            40:            fi ; \
        !            41:            touch ./.configure_done ; \
        !            42:        fi
        !            43:
1.1       takayama   44: clean:
                     45:        @if [ -f ./.make_done ]; then \
                     46:                (cd ${GC} ; make clean) \
1.2       takayama   47:        fi
1.5       takayama   48:        ${RM} -f ./.*done
1.2       takayama   49: distclean:
                     50:        -@if [ -f ./.make_done ]; then \
                     51:                (cd ${GC} ; make distclean) \
1.1       takayama   52:        fi
1.5       takayama   53:        ${RM} -f ./.*done ./.use_ports

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