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

Diff for /OpenXM/src/gc/Makefile between version 1.2 and 1.6

version 1.2, 2003/09/14 01:19:57 version 1.6, 2004/02/28 15:35:45
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/gc/Makefile,v 1.1 2003/09/02 14:07:45 takayama Exp $  # $OpenXM: OpenXM/src/gc/Makefile,v 1.5 2004/02/13 00:47:12 takayama Exp $
 OpenXM_HOME=../..  OpenXM_HOME=../..
 OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib  OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib
 OpenXM_lib=${OpenXM_HOME}/lib  OpenXM_lib=${OpenXM_HOME}/lib
Line 7  GC=${OpenXM_contrib}/gc
Line 7  GC=${OpenXM_contrib}/gc
 RM=rm  RM=rm
   
 all:  all:
           @if [ ! -f ./.use_ports ]; then \
                   make all-l ; \
           else \
                   make -f Makefile-ports all ;  \
           fi
   install:
           @if [ ! -f ./.use_ports ]; then \
                   make install-l ; \
           else \
                   make -f Makefile-ports install ; \
           fi
   
   all-l: configure-l
         @if [ ! -f ./.make_done ]; then \          @if [ ! -f ./.make_done ]; then \
                 (cd ${GC} ; make) ; \                  (cd ${GC} ; make) ; \
                 touch ./.make_done ; \                  touch ./.make_done ; \
         fi          fi
   
 install: all  install-l: all-l
         if [ ! -f ./.install_done ]; then \          if [ ! -f ./.install_done ]; then \
                 cp ${GC}/gc.a ${OpenXM_lib}/libgc.a ; \                  cp ${GC}/gc.a ${OpenXM_lib}/libgc.a ; \
                 if test ! -d ${OpenXM_include}/gc ; then mkdir -p ${OpenXM_include}/gc ; fi ; \                  if test ! -d ${OpenXM_include}/gc ; then mkdir -p ${OpenXM_include}/gc ; fi ; \
                 cp ${GC}/include/gc.h ${GC}/include/gc_cpp.h ${OpenXM_include}/gc ; \                  cp ${GC}/include/gc.h ${GC}/include/gc_cpp.h ${OpenXM_include}/gc ; \
                 touch ./.install_done ; \                  touch ./.install_done ; \
         fi          fi
   
   configure-l:
           @if [ ! -f ./.configure_done ]; then \
               if [ `uname` = "Interix" ]; then \
                   cat ./gc5_interix.diff | ( cd ${OpenXM_contrib}/gc; patch ); \
               fi ; \
               touch ./.configure_done ; \
           fi
   
 clean:  clean:
         ${RM} -f ./.*done  
         @if [ -f ./.make_done ]; then \          @if [ -f ./.make_done ]; then \
                 (cd ${GC} ; make clean) \                  (cd ${GC} ; make clean) \
         fi          fi
 distclean:  
         ${RM} -f ./.*done          ${RM} -f ./.*done
   distclean:
         -@if [ -f ./.make_done ]; then \          -@if [ -f ./.make_done ]; then \
                 (cd ${GC} ; make distclean) \                  (cd ${GC} ; make distclean) \
         fi          fi
           ${RM} -f ./.*done ./.use_ports

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

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