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

Diff for /OpenXM/src/gc/Makefile between version 1.4 and 1.7

version 1.4, 2003/11/10 23:13:38 version 1.7, 2004/03/25 01:52:18
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/gc/Makefile,v 1.3 2003/11/10 11:42:59 takayama Exp $  # $OpenXM: OpenXM/src/gc/Makefile,v 1.6 2004/02/28 15:35:45 ohara Exp $
 OpenXM_HOME=../..  OpenXM_HOME=../..
 OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib  PREFIX=${OpenXM_HOME}
 OpenXM_lib=${OpenXM_HOME}/lib  DISTDIR=${OpenXM_HOME}/../OpenXM_dist
 OpenXM_include=${OpenXM_HOME}/include  RM = /bin/rm -rf
 GC=${OpenXM_contrib}/gc  MASTER_CITES=ftp.math.kobe-u.ac.jp
 RM=rm  # MASTER_CITES2 =
   DISTFILES=gc6.2.tar.gz
   
 all:  all : build
         @if [ ! -f ./.use_ports ]; then \  install : post-install
                 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:  fetch:
         @if [ ! -f ./.make_done ]; then \          @if test ! -f .fetch_done ; \
                 (cd ${GC} ; make) ; \          then \
                 touch ./.make_done ; \                  ${OpenXM_HOME}/bin/oxfetch.sh ftp://${MASTER_CITES}/pub/OpenXM/misc/${DISTFILES} ${DISTDIR}; \
           fi
           @touch .fetch_done
   
   patch : fetch
           @if test ! -f .patch_done ; \
           then \
             $(RM) work ; \
             mkdir work ; \
             (cd work ; tar xzvf ../${DISTDIR}/${DISTFILES} ) ; \
           fi
           @touch .patch_done
   #         (cd work; patch -c -p0 <../patch-aa ; patch -c -p0 <../patch-bb ; patch -c -p0 <../patch-cc) ; \
   
   build : patch
           @if test ! -f .build_done ; \
           then \
                   (cd work/gc6.2 ; ./configure --prefix `pwd`/../../../../../OpenXM ; make ) ; \
         fi          fi
           @touch .build_done
   
 install-l: all-l  post-install: build
         if [ ! -f ./.install_done ]; then \          @if test ! -f .post-install_done ; \
                 cp ${GC}/gc.a ${OpenXM_lib}/libgc.a ; \          then \
                 if test ! -d ${OpenXM_include}/gc ; then mkdir -p ${OpenXM_include}/gc ; fi ; \                  (cd work/gc6.2 ; make install) ; \
                 cp ${GC}/include/gc.h ${GC}/include/gc_cpp.h ${OpenXM_include}/gc ; \  
                 touch ./.install_done ; \  
         fi          fi
 clean:          @touch .post-install_done
         ${RM} -f ./.*done  
         @if [ -f ./.make_done ]; then \  clean:
                 (cd ${GC} ; make clean) \          $(RM)  .*_done
         fi          -(cd work/gc6.2 ; make clean)
 distclean:  distclean:
         ${RM} -f ./.*done ./.use_ports          $(RM)  .*_done ./.use_ports
         -@if [ -f ./.make_done ]; then \          -(cd work/gc6.2 ; make distclean)
                 (cd ${GC} ; make distclean) \  
         fi  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

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