[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.7

version 1.2, 2003/09/14 01:19:57 version 1.7, 2004/03/25 01:52:18
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.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 ./.make_done ]; then \  install : post-install
                 (cd ${GC} ; make) ; \  
                 touch ./.make_done ; \  fetch:
           @if test ! -f .fetch_done ; \
           then \
                   ${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: all  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          $(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.2  
changed lines
  Added in v.1.7

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