version 1.34, 2003/07/21 03:19:43 |
version 1.42, 2005/10/15 06:25:30 |
|
|
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.33 2003/07/20 07:30:25 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.41 2005/07/19 10:27:11 takayama Exp $ |
OpenXM_TOP=../../../../OpenXM |
OpenXM_TOP=../../../../OpenXM |
ASIR_LANG=ja |
ASIR_LANG=ja |
#ASIR_LANG=en |
#ASIR_LANG=en |
VERSION=1.2.2 |
VERSION=1.2.3 |
WGET_ARG=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/asir/asirwin-${ASIR_LANG}.tgz |
WGET_ARG=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/asir/asirwin-${ASIR_LANG}.tgz |
WGET_PHC=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/1.2.2/phc.exe |
WGET_PHC=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/1.2.2/phc.exe |
WGET_HEAD=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/OpenXM/Head/openxm-head.tar.gz |
WGET_HEAD=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/OpenXM/Head/openxm-head.tar.gz |
Line 29 all: copy-binary-phc copy-binary copy-binary-asir win- |
|
Line 29 all: copy-binary-phc copy-binary copy-binary-asir win- |
|
|
|
build-binary-openxm-cygwin: |
build-binary-openxm-cygwin: |
if [ ! -f .build-binary-openxm-cygwin-done ] ; then \ |
if [ ! -f .build-binary-openxm-cygwin-done ] ; then \ |
(cd ${OpenXM_TOP}/src ; make install-kan-ox ; make install-phc) ; \ |
(cd ${OpenXM_TOP}/src ; make install-asir-contrib ) ; \ |
touch .build-binary-openxm-cygwin-done ; \ |
touch .build-binary-openxm-cygwin-done ; \ |
fi |
fi |
|
|
Line 44 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
Line 44 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/rc . ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/rc . ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/man . ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/man . ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/src/asir-contrib src ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/src/asir-contrib src ; \ |
|
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/libexec . ; \ |
find . -name 'CVS' -print | xargs rm -rf ; \ |
find . -name 'CVS' -print | xargs rm -rf ; \ |
find . -name 'DO_NOT_EDIT*' -print | xargs rm -rf ; \ |
find . -name 'DO_NOT_EDIT*' -print | xargs rm -rf ; \ |
) ; \ |
) ; \ |
Line 77 copy-binary-asir-from-local-disk: |
|
Line 78 copy-binary-asir-from-local-disk: |
|
fi |
fi |
|
|
copy-binary-phc: |
copy-binary-phc: |
if [ ! -f .copy-binary-phc-done ] ; then \ |
-if [ ! -f .copy-binary-phc-done ] ; then \ |
make copy-binary-phc-from-internet ; \ |
make copy-binary-phc-from-internet ; \ |
fi |
fi |
|
|
Line 137 copy-to-orange: build-tgz |
|
Line 138 copy-to-orange: build-tgz |
|
scp OpenXM-win.tgz taka@orange:tmp3 |
scp OpenXM-win.tgz taka@orange:tmp3 |
copy-to-ftp-area: build-tgz |
copy-to-ftp-area: build-tgz |
if [ ! -f .OpenXM-win.tgz.copy.done ]; then \ |
if [ ! -f .OpenXM-win.tgz.copy.done ]; then \ |
scp OpenXM-win.tgz taka@orange:/export/home01/ftp/pub/OpenXM/Head/OpenXM-win-${ASIR_LANG}.tgz ; \ |
scp OpenXM-win.tgz taka@orange2:/home/ftp/pub/OpenXM/Head/OpenXM-win-${ASIR_LANG}.tgz ; \ |
fi |
fi |
touch .OpenXM-win.tgz.copy.done |
touch .OpenXM-win.tgz.copy.done |
copy-to-ftp-area-stable: build-tgz |
copy-to-ftp-area-stable: build-tgz |
Line 160 debug-tools/crlf : debug-tools/crlf.c |
|
Line 161 debug-tools/crlf : debug-tools/crlf.c |
|
(cd debug-tools; gcc -o crlf crlf.c) |
(cd debug-tools; gcc -o crlf crlf.c) |
debug-tools/debug-sed : debug-tools/debug-sed.c |
debug-tools/debug-sed : debug-tools/debug-sed.c |
(cd debug-tools; gcc -o debug-sed debug-sed.c) |
(cd debug-tools; gcc -o debug-sed debug-sed.c) |
build-bat: debug-tools/crlf debug-tools/debug-sed |
debug-tools/gcwd : debug-tools/gcwd.c |
|
(cd debug-tools; gcc -o gcwd gcwd.c) |
|
build-bat: debug-tools/crlf debug-tools/debug-sed debug-tools/gcwd |
-mkdir OpenXM-win/bin-windows |
-mkdir OpenXM-win/bin-windows |
(cd debug-tools; sed -f dist.sed <asirgui-cd.bat >../OpenXM-win/bin-windows/asirgui-cd.bat ; ./crlf ../OpenXM-win/bin-windows/asirgui-cd.bat) |
(cd debug-tools; sed -f dist.sed <asirgui-cd.bat >../OpenXM-win/bin-windows/asirgui-cd.bat ; ./crlf ../OpenXM-win/bin-windows/asirgui-cd.bat) |
|
(cd debug-tools; sed -f dist.sed <sm1-cd.bat >../OpenXM-win/bin-windows/sm1-cd.bat ; ./crlf ../OpenXM-win/bin-windows/sm1-cd.bat) |
(cd debug-tools; sed -f dist.sed <webasir.bat >../OpenXM-win/bin-windows/webasir.bat ; ./crlf ../OpenXM-win/bin-windows/webasir.bat) |
(cd debug-tools; sed -f dist.sed <webasir.bat >../OpenXM-win/bin-windows/webasir.bat ; ./crlf ../OpenXM-win/bin-windows/webasir.bat) |
(cd debug-tools; sed -f dist.sed <websm1.bat >../OpenXM-win/bin-windows/websm1.bat ; ./crlf ../OpenXM-win/bin-windows/websm1.bat) |
(cd debug-tools; sed -f dist.sed <websm1.bat >../OpenXM-win/bin-windows/websm1.bat ; ./crlf ../OpenXM-win/bin-windows/websm1.bat) |
(rm -f ../OpenXM-win/bin-windows/*.BAK ../OpenXM-win/bin-windows/*.bak) |
(rm -f ../OpenXM-win/bin-windows/*.BAK ../OpenXM-win/bin-windows/*.bak) |
cp OpenXM-win/bin-windows/asirgui-cd.bat OpenXM-win/asir/bin |
cp OpenXM-win/bin-windows/asirgui-cd.bat OpenXM-win/asir/bin |
rm -f debug-tools/debug.sed ; debug-tools/debug-sed `pwd` >debug-tools/debug.sed |
(cd debug-tools; cp gcwd.exe ../OpenXM-win/bin-windows) |
(cd debug-tools; sed -f debug.sed <asirgui-cd.bat >asirgui-debug.bat ; ./crlf asirgui-debug.bat) |
|
|
|
remove-experimental: |
remove-experimental: |
-rm -f OpenXM-win/bin-windows/*web*.bat |
-rm -f OpenXM-win/bin-windows/*web*.bat |