version 1.11, 2000/03/11 02:01:42 |
version 1.15, 2000/03/13 02:41:37 |
|
|
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.10 2000/03/10 14:57:51 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.14 2000/03/13 00:52:21 takayama Exp $ |
# This is a Makefile to generate source and binary distributions of |
# This is a Makefile to generate source and binary distributions of |
# the OpenXM package on various plathomes. |
# the OpenXM package on various plathomes. |
|
|
# If you add new directory under OpenXM/lib, edit SHARED_FILES. |
# If you add new directory under OpenXM/lib, edit SHARED_FILES. |
|
|
|
# If you add new files to be installed under /usr/local/bin, man, etc, |
|
# you have to edit several files. See OpenXM/misc/packages/README. |
|
|
## For committers: prepare cvs-OpenXM under your search path |
## For committers: prepare cvs-OpenXM under your search path |
## to access to CVS servers. |
## to access to CVS servers. |
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs |
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs |
Line 16 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr |
|
Line 19 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr |
|
## Configurations. |
## Configurations. |
## OpenXM Version Number. |
## OpenXM Version Number. |
VERSION=1.1.2 |
VERSION=1.1.2 |
|
TAG=HEAD |
|
|
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 |
Line 50 EXECUTABLES=gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog |
|
Line 54 EXECUTABLES=gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog |
|
usage : |
usage : |
@echo "Targets are " |
@echo "Targets are " |
@echo " fetch : get the sources from the cvs server under $(WORK)" |
@echo " fetch : get the sources from the cvs server under $(WORK)" |
@echo " tar-ball : generate OpenXM-source.tgz under $(TAR_WORK)" |
@echo " tar-ball : generate openxm-${VERSION}.tar.gz under $(TAR_WORK)" |
@echo " tar-ball-01 : generate OpenXM-source-01.tgz under $(TAR_WORK)" |
@echo " tar-ball-01 : generate openxm01-${VERSION}.tar.gz under $(TAR_WORK)" |
@echo " binary-tar-ball : generate OpenXM-binary-OS-CPU.tgz under $(TAR_WORK)" |
@echo " binary-tar-ball : generate OpenXM-binary-OS-CPU.tgz under $(TAR_WORK)" |
@echo " shared-tar-ball : generate OpenXM-shared.tgz under $(TAR_WORK)" |
@echo " shared-tar-ball : generate OpenXM-shared.tgz under $(TAR_WORK)" |
@echo " clean-work " |
@echo " clean-work " |
Line 133 clean-installed-openxm: |
|
Line 137 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 -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2) ; \ |
( cd ${WORK} ; ${RCVS} export -r${TAG} OpenXM OpenXM_contrib OpenXM_contrib2) ; \ |
cp Makefile ${WORK}/Makefile ; \ |
cp Makefile ${WORK}/Makefile ; \ |
fi |
fi |
@touch ./.fetch_done |
@touch ./.fetch_done |
Line 151 tar-ball-01: fetch |
|
Line 155 tar-ball-01: fetch |
|
fi |
fi |
@touch ./.tar-ball-01_done |
@touch ./.tar-ball-01_done |
|
|
binary-tar-ball : tar-ball-01 |
binary-tar-ball : fetch |
cp Makefile ${WORK}/Makefile |
cp Makefile ${WORK}/Makefile |
rm -rf ${INSTALL_WORK} |
rm -rf ${INSTALL_WORK} |
mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man |
mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man |
Line 159 binary-tar-ball : tar-ball-01 |
|
Line 163 binary-tar-ball : tar-ball-01 |
|
(cd ${WORK} ; make install-binary-files PREFIX=${INSTALL_WORK}) |
(cd ${WORK} ; make install-binary-files PREFIX=${INSTALL_WORK}) |
(cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-binary-$(TYPE)$(RELEASE).tgz ${BINARY_FILES}) |
(cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-binary-$(TYPE)$(RELEASE).tgz ${BINARY_FILES}) |
|
|
shared-tar-ball : tar-ball-01 |
shared-tar-ball : fetch |
cp Makefile ${WORK}/Makefile |
cp Makefile ${WORK}/Makefile |
rm -rf ${INSTALL_WORK} |
rm -rf ${INSTALL_WORK} |
mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man |
mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man |
mkdir ${INSTALL_WORK}/man/man1 |
mkdir ${INSTALL_WORK}/man/man1 |
(cd ${WORK} ; make install-shared-files PREFIX=${INSTALL_WORK}) |
(cd ${WORK} ; make install-shared-files PREFIX=${INSTALL_WORK}) |
(cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-shared-$(TYPE)$(RELEASE).tgz ${SHARED_FILES}) |
(cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-shared.tgz ${SHARED_FILES}) |
|
|
|
|
clean-work : |
clean-work : |