version 1.15, 2006/06/28 11:50:28 |
version 1.46, 2021/03/29 05:48:52 |
|
|
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.14 2006/02/13 06:34:10 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.45 2020/02/25 00:32:54 takayama Exp $ |
# touch for_knoppix ; make install |
# touch for_knoppix ; make install |
# to generate a distribution for knoppix. |
# to generate a distribution for knoppix. |
#### Do not add extra spaces after the VERSION. |
#### Do not add extra spaces after the VERSION. |
VERSION=1.2.3-7 |
VERSION=1.3.3-4 |
|
|
KNOPPIX_HOME=/home/knoppix |
KNOPPIX_HOME=/home/knoppix |
LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata fctrtest fff \ |
LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata fctrtest fff \ |
Line 10 LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata f |
|
Line 10 LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata f |
|
sturm xm |
sturm xm |
# bug: md5sum is called md5 in FreeBSD. |
# bug: md5sum is called md5 in FreeBSD. |
MD5=md5sum |
MD5=md5sum |
OS=`uname -s` |
OS=`dpkg --print-architecture` |
OpenXM_HOME_=../.. |
OpenXM_HOME_=../.. |
RSYNC=rsync -avz -e ssh |
RSYNC=rsync -avz -e ssh |
FTP_DIR=/home/ftp/pub/OpenXM/head/knoppix |
#FTP_DIR=/home/ftp/pub/OpenXM/head/knoppix |
|
FTP_DIR=/home/web/pub/OpenXM/head/knoppix |
OpenXM_HOME=../../../OpenXM |
OpenXM_HOME=../../../OpenXM |
|
|
all: |
all: |
Line 36 install-for-knoppix: |
|
Line 37 install-for-knoppix: |
|
# Recover files under FLL. |
# Recover files under FLL. |
uninstall-for-knoppix: |
uninstall-for-knoppix: |
rm -f ../../bin/asir |
rm -f ../../bin/asir |
(cd ../../bin ; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
(cd ../../bin ; ln -s ../../OpenXM_contrib2/asir2018/asir .) |
for i in ${LIBS} ; do \ |
for i in ${LIBS} ; do \ |
(cd ${OpenXM_HOME}/lib/asir ; rm -f $$i ; cp ../../../OpenXM_contrib2/asir2000/lib/$$i .) ; \ |
(cd ${OpenXM_HOME}/lib/asir ; rm -f $$i ; cp ../../../OpenXM_contrib2/asir2018/lib/$$i .) ; \ |
done |
done |
|
|
# Generating asir-Linux-... |
# Generating asir-Linux-... |
Line 47 uninstall-for-knoppix: |
|
Line 48 uninstall-for-knoppix: |
|
gentar-for-knoppix: |
gentar-for-knoppix: |
-mkdir work |
-mkdir work |
(cd work ; rm -rf *) |
(cd work ; rm -rf *) |
(cd work ; cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2000/asir . ) |
(cd work ; cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2018/.libs/asir . ) |
(cd work ; strip asir ; gzip asir ) |
(cd work ; strip asir ; gzip asir ) |
(cd work ; for i in ${LIBS} ; do \ |
(cd work ; for i in ${LIBS} ; do \ |
cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2000/lib/$$i . ; \ |
cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2018/lib/$$i . ; \ |
done ) |
done ) |
(cd work ; mv asir.gz "asir-${OS}-${VERSION}.gz") |
(cd work ; mv asir.gz "asir-${OS}-${VERSION}.gz") |
(cd work ; ${MD5} "asir-${OS}-${VERSION}.gz" | awk '{print $$1}' >distinfo-asir.md5) |
(cd work ; ${MD5} "asir-${OS}-${VERSION}.gz" | awk '{print $$1}' >distinfo-asir.md5) |