version 1.14, 2000/03/13 00:52:21 |
version 1.16, 2000/03/16 10:07:04 |
|
|
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.13 2000/03/11 06:22:34 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.15 2000/03/13 02:41:37 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. |
|
|
Line 48 SHARED_FILES = OpenXM/Copyright OpenXM/doc OpenXM/incl |
|
Line 48 SHARED_FILES = OpenXM/Copyright OpenXM/doc OpenXM/incl |
|
OpenXM/lib/sm1 OpenXM/lib/asir |
OpenXM/lib/sm1 OpenXM/lib/asir |
BINARY_FILES = OpenXM/bin OpenXM/lib/*.a OpenXM/lib/*.so* OpenXM/lib/*.a.* \ |
BINARY_FILES = OpenXM/bin OpenXM/lib/*.a OpenXM/lib/*.so* OpenXM/lib/*.a.* \ |
OpenXM/rc |
OpenXM/rc |
|
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 |
|
|
Line 103 install-shell-scripts: |
|
Line 104 install-shell-scripts: |
|
# Install shell scripts to ${prefix}/bin, which is typically /usr/local/bin |
# Install shell scripts to ${prefix}/bin, which is typically /usr/local/bin |
(cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix}) |
(cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix}) |
|
|
|
|
install-binary-files: all |
install-binary-files: all |
@echo "install-binary-files with PREFIX= " |
@echo "install-binary-files with PREFIX= " |
@echo ${prefix} |
@echo ${prefix} |
Line 115 install-shared-files: all |
|
Line 117 install-shared-files: all |
|
@echo ${prefix} |
@echo ${prefix} |
tar cf - ${SHARED_FILES} | (cd ${prefix} ; tar xf -) |
tar cf - ${SHARED_FILES} | (cd ${prefix} ; tar xf -) |
|
|
|
install-man-pages-for-rpm: |
|
-(cd ${prefix}/OpenXM/man/man1 ; cp $(MAN_PAGES) ${PREFIX}/man/man1) |
|
|
install.man : install |
install.man : install |
-cp ${prefix}/OpenXM/man/man1/sm1.1 ${prefix}/OpenXM/man/man1/openxm.1 ${MAN_DIR} |
-(cd ${prefix}/OpenXM/man/man1 ; cp ${MAN_PAGES} ${MAN_DIR}) |
-gzip ${MAN_DIR}/sm1.1 ${MAN_DIR}/openxm.1 |
-gzip ${MAN_DIR}/sm1.1 ${MAN_DIR}/openxm.1 |
|
|
clean : |
clean : |
Line 155 tar-ball-01: fetch |
|
Line 160 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 163 binary-tar-ball : tar-ball-01 |
|
Line 168 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 |