version 1.2, 2012/08/27 05:05:57 |
version 1.5, 2021/03/23 06:32:44 |
|
|
# $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 |
|
|
|
|
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 |
|
|