| version 1.17, 2000/08/29 04:08:52 |
version 1.20, 2000/10/28 15:59:52 |
|
|
| # $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.16 2000/03/16 10:07:04 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.19 2000/09/21 08:06:40 takayama Exp $ |
| # This is a Makefile to generate source and binary distributions of |
# The FIRST part is a Makefile FOR COMMITTERS: it is used |
| # the OpenXM package on various plathomes. |
# to generate source and binary distributions of |
| |
# the OpenXM package on various operating systems. |
| |
|
| # If you add new directory under OpenXM/lib, edit SHARED_FILES. |
# If you add new directory under OpenXM/lib, edit SHARED_FILES. |
| |
|
|
|
| |
|
| ## 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:/home/cvs |
| ### cvs-OpenXM is the following shell script in my case. |
### cvs-OpenXM is the following shell script in my case. |
| ## #!/bin/sh |
## #!/bin/sh |
| ## CVS_RSH=ssh |
## CVS_RSH=ssh |
| Line 18 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. |
| |
PREFIX=/usr/local |
| VERSION=1.1.3 |
VERSION=1.1.3 |
| TAG=HEAD |
TAG=HEAD |
| FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
| Line 54 MAN_PAGES = openxm.1 sm1.1 |
|
| Line 56 MAN_PAGES = openxm.1 sm1.1 |
|
| EXECUTABLES=gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog oxweave sm1 tigers ox_math |
EXECUTABLES=gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog oxweave sm1 tigers ox_math |
| |
|
| usage : usage-of-real-make |
usage : usage-of-real-make |
| @echo " " |
@echo "--------------------------------------------------" |
| @echo "Usage for building tar balls for distribution:" |
@echo "Usage for building distributions (for COMMITTERS):" |
| @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-${VERSION}.tar.gz under $(TAR_WORK)" |
@echo " tar-ball : generate openxm-${VERSION}.tar.gz under $(TAR_WORK)" |
| Line 65 usage : usage-of-real-make |
|
| Line 67 usage : usage-of-real-make |
|
| @echo " install-tar-to-ftp-area : copy openxm-${VERSION}.tar.gz to ${FTP_AREA}" |
@echo " install-tar-to-ftp-area : copy openxm-${VERSION}.tar.gz to ${FTP_AREA}" |
| @echo " clean-work " |
@echo " clean-work " |
| @echo " clean-for-make " |
@echo " clean-for-make " |
| |
@echo "--------------------------------------------------" |
| @echo -n "Type is " |
@echo -n "Type is " |
| @echo $(TYPE) |
@echo $(TYPE) |
| @echo -n "INSTALL_WORK is " |
@echo -n "INSTALL_WORK is " |
| Line 75 usage : usage-of-real-make |
|
| Line 78 usage : usage-of-real-make |
|
| @echo $(FTP_AREA) |
@echo $(FTP_AREA) |
| @echo " " |
@echo " " |
| |
|
| |
### The SECOND part is a Makefile to build binaries from source. |
| |
### It only calls the Makefile at OpenXM/src. |
| ### Start of Makefile to work in the directory work/openxm-$(VERSION) |
### Start of Makefile to work in the directory work/openxm-$(VERSION) |
| ### It does not work here. |
|
| ### Original version is in misc/packages/FreeBSD/openxm-1.1.2 |
### Original version is in misc/packages/FreeBSD/openxm-1.1.2 |
| ### Absolute path should be used for TAR_WORK |
### Absolute path should be used for TAR_WORK |
| |
|
| usage-of-real-make: |
usage-of-real-make: |
| @echo "Usage for building OpenXM binaries:" |
@echo "Usage for building OpenXM binaries (main Makefile is at OpenXM/src):" |
| @echo "Targets are configure, all, install, clean, distclean" |
@echo "Targets are " |
| @echo "You need to specify the PREFIX to install," |
@echo " configure, all, install, clean, distclean" |
| @echo "e.g., make install PREFIX=/usr/local" |
@echo "You need to specify the PREFIX to install, e.g., make install PREFIX=/usr/local" |
| |
|
| configure : |
configure : |
| @if [ ! -f .configure_done ] ; then \ |
@if [ ! -f .configure_done ] ; then \ |