version 1.21, 2002/08/09 07:51:28 |
version 1.24, 2002/08/10 23:20:02 |
|
|
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.20 2002/07/31 02:00:26 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.23 2002/08/10 11:12:31 takayama Exp $ |
OpenXM_TOP=../../../../OpenXM |
OpenXM_TOP=../../../../OpenXM |
ASIR_LANG=ja |
ASIR_LANG=ja |
#ASIR_LANG=en |
#ASIR_LANG=en |
|
VERSION=1.2.2 |
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 |
|
|
WINASIR=c:/home/asir |
WINASIR=c:/home/asir |
|
|
usage: |
usage: |
@echo "Targets: all build-tgz clean clean-work link-for-debug" |
@echo "Targets: all build-tgz clean clean-work link-for-debug" |
@echo " remove-experimental " |
@echo " remove-experimental gen-cd" |
|
@echo "Other targets: win-correction3, build-bat" |
|
|
clean: |
clean: |
-rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done .copy-binary-phc-done OpenXM-win.tgz .OpenXM-win.tgz.done oxasir-win.rr .copy-cygwin-dlls-done .build-binary-openxm-cygwin-done |
-rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done .copy-binary-phc-done OpenXM-win.tgz .OpenXM-win.tgz.done oxasir-win.rr .copy-cygwin-dlls-done .build-binary-openxm-cygwin-done OpenXM-unix OpenXM-doc |
|
|
clean-work: |
clean-work: |
-rm -rf work |
-rm -rf work |
clean0: |
clean0: |
Line 39 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
Line 43 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
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 ; \ |
) ; \ |
) ; \ |
cp readme-ja.html OpenXM-win ; \ |
cp Readme-CD/readme-ja.html OpenXM-win ; \ |
|
cp Readme-CD/readme-en.html OpenXM-win ; \ |
touch .copy-binary-done ; \ |
touch .copy-binary-done ; \ |
fi |
fi |
|
|
Line 106 win-correction2: win-correction1 |
|
Line 111 win-correction2: win-correction1 |
|
cp oxasir-win.rr OpenXM-win/lib/asir |
cp oxasir-win.rr OpenXM-win/lib/asir |
cp oxasir-win.rr OpenXM-win/lib/sm1 |
cp oxasir-win.rr OpenXM-win/lib/sm1 |
|
|
|
## it is for an obsolete asirwin-*.tgz |
|
win-correction3: debug-tools/crlf |
|
cp ${OpenXM_TOP}/../OpenXM_contrib2/asir2000/lib/xm OpenXM-win/asir/lib |
|
cp ${OpenXM_TOP}/../OpenXM_contrib2/asir2000/lib/glib OpenXM-win/asir/lib |
|
./debug-tools/crlf OpenXM-win/asir/lib/xm |
|
./debug-tools/crlf OpenXM-win/asir/lib/glib |
|
|
win-correction-clean: |
win-correction-clean: |
-find OpenXM-win -name '*~' -print | xargs rm -f |
-find OpenXM-win -name '*~' -print | xargs rm -f |
-rm -f OpenXM-win/lib/sm1/*.jpeg OpenXM-win/lib/sm1/*.jpg |
-rm -f OpenXM-win/lib/sm1/*.jpeg OpenXM-win/lib/sm1/*.jpg |
Line 148 remove-experimental: |
|
Line 160 remove-experimental: |
|
-rm -f OpenXM-win/bin-windows/*web*.bat |
-rm -f OpenXM-win/bin-windows/*web*.bat |
|
|
|
|
|
gen-cd: |
|
-(make all; make remove-experimental) |
|
-mkdir OpenXM-unix |
|
cp Readme-CD/readme-unix-en.html OpenXM-unix |
|
(cd OpenXM-unix; wget ${WGET_HEAD} ) |
|
@echo "Copy OpenXM-unix and OpenXM-win to the CD." |