version 1.30, 2002/09/30 23:32:13 |
version 1.38, 2003/09/03 05:19:08 |
|
|
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.29 2002/09/30 13:10:05 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.37 2003/08/29 07:26:51 takayama Exp $ |
OpenXM_TOP=../../../../OpenXM |
OpenXM_TOP=../../../../OpenXM |
ASIR_LANG=ja |
ASIR_LANG=ja |
#ASIR_LANG=en |
#ASIR_LANG=en |
|
|
@echo " remove-experimental gen-cd" |
@echo " remove-experimental gen-cd" |
@echo " The target all, gen-cd builds the directory OpenXM-win" |
@echo " The target all, gen-cd builds the directory OpenXM-win" |
@echo "Other targets: win-correction3, build-bat" |
@echo "Other targets: win-correction3, build-bat" |
@echo " asir-book " |
@echo " asir-book, copy-asir-book-to-ftp-area " |
|
|
clean: clean-OpenXM-win clean-asir-book |
clean: clean-OpenXM-win clean-asir-book |
clean-OpenXM-win: |
clean-OpenXM-win: |
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 45 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
Line 45 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
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 ; \ |
find . -name 'CVS' -print | xargs rm -rf ; \ |
find . -name 'CVS' -print | xargs rm -rf ; \ |
|
find . -name 'DO_NOT_EDIT*' -print | xargs rm -rf ; \ |
) ; \ |
) ; \ |
cp Readme-CD/readme-ja.html OpenXM-win ; \ |
cp Readme-CD/readme-ja.html OpenXM-win ; \ |
cp Readme-CD/readme-en.html OpenXM-win ; \ |
cp Readme-CD/readme-en.html OpenXM-win ; \ |
Line 102 win-correction1: build-bat copy-cygwin-dlls |
|
Line 103 win-correction1: build-bat copy-cygwin-dlls |
|
-mkdir OpenXM-win/bin-windows |
-mkdir OpenXM-win/bin-windows |
# (cd OpenXM-win/rc ; make clean ; make) |
# (cd OpenXM-win/rc ; make clean ; make) |
win-correction2: win-correction1 |
win-correction2: win-correction1 |
|
cp oxasir-win.rr OpenXM-win/lib/sm1 |
|
cp oxasir-win.rr $(OpenXM_TOP)/lib/sm1 |
|
win-correction2_old: |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
Line 156 debug-tools/crlf : debug-tools/crlf.c |
|
Line 160 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 |
|
|
|
|
asir-book: mkdir-asir-book copy-to-asir-book |
asir-book: mkdir-asir-book copy-to-asir-book |
clean-asir-book: |
clean-asir-book: |
-rm -rf asir-book .copy-to-asir-book-asir-bin .copy-to-asir-book-prog .copy-to-asir-book-meadow |
-rm -rf asir-book .copy-to-asir-book-asir-bin .copy-to-asir-book-prog .copy-to-asir-book-meadow asir-book-en.tgz asir-book-ja.tgz |
|
|
mkdir-asir-book: |
mkdir-asir-book: |
-(mkdir asir-book) |
-(mkdir asir-book) |
Line 187 mkdir-asir-book: |
|
Line 193 mkdir-asir-book: |
|
-(mkdir asir-book/Meadow) |
-(mkdir asir-book/Meadow) |
-(mkdir asir-book/Prog) |
-(mkdir asir-book/Prog) |
|
|
copy-to-asir-book: copy-to-asir-book-asir-bin copy-to-asir-book-prog copy-to-asir-book-meadow asir-book/index.html |
copy-to-asir-book: copy-to-asir-book-asir-bin copy-to-asir-book-prog copy-to-asir-book-meadow asir-book/readme-ja.html |
|
|
copy-to-asir-book-asir-bin: copy-binary-asir |
copy-to-asir-book-asir-bin: copy-binary-asir |
-if [ ! -f .copy-to-asir-book-asir-bin ]; then \ |
-if [ ! -f .copy-to-asir-book-asir-bin ]; then \ |
Line 221 copy-to-asir-book-meadow: |
|
Line 227 copy-to-asir-book-meadow: |
|
fi |
fi |
touch .copy-to-asir-book-meadow |
touch .copy-to-asir-book-meadow |
|
|
asir-book/readme.html: Readme-CD/asir-book-index.html |
asir-book/readme-ja.html: Readme-CD/asir-book-index.html |
cp Readme-CD/asir-book-index.html asir-book/readme.html |
cp Readme-CD/asir-book-index.html asir-book/readme-ja.html |
|
|
|
copy-asir-book-to-ftp-area: asir-book-${ASIR_LANG}.tgz |
|
scp asir-book-${ASIR_LANG}.tgz taka@orange:/export/home01/ftp/pub/OpenXM/asir-book |
|
asir-book-${ASIR_LANG}.tgz: asir-book |
|
tar czvf asir-book-${ASIR_LANG}.tgz --exclude Meadow asir-book |
|
|
|
|