| version 1.19, 2000/09/21 08:06:40 |
version 1.24, 2005/04/15 01:41:13 |
|
|
| # $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.18 2000/09/02 01:27:12 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.23 2004/02/23 00:09:30 takayama Exp $ |
| # The FIRST part is a Makefile FOR COMMITTERS: it is used |
# The FIRST part is a Makefile FOR COMMITTERS: it is used |
| # to generate source and binary distributions of |
# to generate source and binary distributions of |
| # the OpenXM package on various operating systems. |
# the OpenXM package on various operating systems. |
| Line 20 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr |
|
| Line 20 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr |
|
| ## Configurations. |
## Configurations. |
| ## OpenXM Version Number. |
## OpenXM Version Number. |
| PREFIX=/usr/local |
PREFIX=/usr/local |
| VERSION=1.1.3 |
VERSION=head |
| TAG=HEAD |
TAG=HEAD |
| FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
| |
|
| |
OpenXM_contrib_files=OpenXM_contrib/uuencoded OpenXM_contrib/pari |
| |
|
| RELEASE= |
RELEASE= |
| ## If you like to have a release name as a part of tar ball, then uncomment |
## If you like to have a release name as a part of tar ball, then uncomment |
| ## the next line. |
## the next line. |
| Line 77 usage : usage-of-real-make |
|
| Line 79 usage : usage-of-real-make |
|
| @echo -n "FTP_AREA is " |
@echo -n "FTP_AREA is " |
| @echo $(FTP_AREA) |
@echo $(FTP_AREA) |
| @echo " " |
@echo " " |
| |
@echo "A shell script cvs-OpenXM is necessary (write by yourself)" |
| |
@echo "under your search path." |
| |
|
| ### The SECOND part is a Makefile to build binaries from source. |
### The SECOND part is a Makefile to build binaries from source. |
| ### It only calls the Makefile at OpenXM/src. |
### It only calls the Makefile at OpenXM/src. |
| Line 153 clean-installed-openxm: |
|
| Line 157 clean-installed-openxm: |
|
| fetch : |
fetch : |
| @if [ ! -f ./.fetch_done ]; then \ |
@if [ ! -f ./.fetch_done ]; then \ |
| /bin/rm -rf work ; mkdir work ; mkdir ${WORK} ; \ |
/bin/rm -rf work ; mkdir work ; mkdir ${WORK} ; \ |
| ( cd ${WORK} ; ${RCVS} export -r${TAG} OpenXM OpenXM_contrib OpenXM_contrib2) ; \ |
( cd ${WORK} ; ${RCVS} export -r${TAG} OpenXM ${OpenXM_contrib_files} OpenXM_contrib2) ; \ |
| cp Makefile ${WORK}/Makefile ; \ |
cp Makefile ${WORK}/Makefile ; \ |
| fi |
fi |
| @touch ./.fetch_done |
@touch ./.fetch_done |
|
|
| tar-ball: fetch build-tar-work |
tar-ball: fetch build-tar-work |
| @if [ ! -f ./.tar-ball_done ]; then \ |
@if [ ! -f ./.tar-ball_done ]; then \ |
| cp Makefile ${WORK}/Makefile ; \ |
cp Makefile ${WORK}/Makefile ; \ |
| (cd ${WORK}/OpenXM/src ; make generate-source-distribution) ; \ |
|
| (cd work ; tar czvf ${TAR_WORK}/openxm-${VERSION}.tar.gz openxm-${VERSION}) ; \ |
(cd work ; tar czvf ${TAR_WORK}/openxm-${VERSION}.tar.gz openxm-${VERSION}) ; \ |
| fi |
fi |
| touch ./.tar-ball_done |
touch ./.tar-ball_done |