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

Diff for /OpenXM/src/pcc/Makefile between version 1.2 and 1.5

version 1.2, 2012/08/27 05:05:57 version 1.5, 2021/03/23 06:32:44
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/pcc/Makefile,v 1.1 2011/05/13 07:32:39 ohara Exp $  # $OpenXM: OpenXM/src/pcc/Makefile,v 1.4 2015/02/21 06:20:36 ohara Exp $
 OpenXM_HOME=../..  OpenXM_HOME=../..
 PREFIX=${OpenXM_HOME}  PREFIX=${OpenXM_HOME}
 DISTDIR=${OpenXM_HOME}/../OpenXM_dist  DISTDIR=${OpenXM_HOME}/../OpenXM_dist
 RM = /bin/rm  RM = /bin/rm
 MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/  MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/
 DISTNAME=pcc-101228  DISTNAME=pcc-20210323
 DISTFILES=${DISTNAME}.tgz  DISTFILES=${DISTNAME}.tgz
 WRKSRC=work/${DISTNAME}  WRKSRC=work/${DISTNAME}
 BUILDDIR=${WRKSRC}/cc/cpp  BUILDDIR=${WRKSRC}/cpp
 PATCHFILES = pcc.diff  PATCHFILES = pcc.diff
 CC=gcc  
   
 all : build  all : build
   
Line 33  patch: extract
Line 32  patch: extract
                     cat $$i | (cd ${WRKSRC}; patch -p0) ; \                      cat $$i | (cd ${WRKSRC}; patch -p0) ; \
             fi ; \              fi ; \
         done ; \          done ; \
                   (cd work/${DISTNAME}; mv -f cc/cpp cpp; rm -rf cc); \
         fi          fi
         @touch work/.patch_done          @touch work/.patch_done
   
 configure: patch  configure: patch
         @if [ ! -f work/.configure_done ]; then \          @if [ ! -f work/.configure_done ]; then \
                 prefix=`cd ${OpenXM_HOME}; pwd` ; \                  prefix=`cd ${OpenXM_HOME}; pwd` ; \
                 (cd ${WRKSRC} ; CC=${CC} ./configure --prefix="$$prefix" --libexecdir="$$prefix"/bin ) ; \                  (cd ${WRKSRC} ; ./configure --prefix="$$prefix" --libexecdir="$$prefix"/bin ) ; \
         fi          fi
         @touch work/.configure_done          @touch work/.configure_done
   
 build : configure  build : configure
         @if [ ! -f work/.build_done ]; then \          @if [ ! -f work/.build_done ]; then \
                 (cd ${BUILDDIR} ; ${MAKE} CC=${CC}) ; \                  (cd ${BUILDDIR} ; ${MAKE}) ; \
         fi          fi
         @touch work/.build_done          @touch work/.build_done
   

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

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