File: [local] / OpenXM / misc / packages / FreeBSD / openxm-1.1.2 / Attic / Makefile (download)
Revision 1.1.1.1 (vendor branch), Thu Mar 2 10:32:39 2000 UTC (24 years, 6 months ago) by takayama
Branch: TAKAYAMA
CVS Tags: RELEASE_1_0 Changes since 1.1: +0 -0
lines
A support for the port system of FreeBSD.
It has not yet tested.
|
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile,v 1.1.1.1 2000/03/02 10:32:39 takayama Exp $
# Modify this.
OpenXM_TOP=$(HOME)
# Modify this. It's for committters.
RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs
PREFIX=/usr/local
srcdir = .
prefix=${PREFIX}
MAN_DIR=${prefix}/man/man1
OpenXM_BINARIES=gnuplot4ox gnuplot_x11 k0 ox ../lib/asir/asir ox_sm1 oxlog oxweave sm1 tigers
usage:
@echo "Targets are all, install, clean, distclean"
@echo "For committers: make-tar-ball, make-tar-ball-from-local-OpenXM"
@echo " generate-symbolic-links, clean-this-directory"
@echo " make-tar-ball : create openxm-1.1.2.tar.gz under ~/tmp"
configure :
(cd $(srcdir)/OpenXM/src ; make configure )
all : configure
# (cd $(srcdir)/OpenXM/src ; make ; make install)
(cd $(srcdir)/OpenXM/src ; make binary-dist)
install : all
tar cf - OpenXM/bin OpenXM/doc OpenXM/lib OpenXM/rc OpenXM/Copyright OpenXM/include OpenXM/man OpenXM/misc | (cd ${prefix} ; tar xf - )
-for i in $(OpenXM_BINARIES); do strip ${prefix}/OpenXM/bin/$$i ; done
(cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix})
install.man : install
-cp ${prefix}/OpenXM/man/man1/* ${MAN_DIR}
clean :
cd $(srcdir)/OpenXM/src ; make clean
distclean :
cd $(srcdir)/OpenXM/src ; make distclean
#### The rests are for committers.
make-tar-ball :
rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
$(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2
rm -f *~
echo "Creating a tar ball under ~/tmp/"
cd ..
tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2
cd openxm-1.1.2
make-tar-ball-from-local-OpenXM :
rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
(cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf -
(cd OpenXM/src ; make distclean )
rm -f *~
echo "It is ready to tar this directory."
# This is used for the test.
generate-symbolic-links :
rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
ln -s $(OpenXM_TOP)/OpenXM OpenXM
ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib
ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib2
clean-this-directory:
/bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~