=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Windows/Makefile,v retrieving revision 1.3 retrieving revision 1.8 diff -u -p -r1.3 -r1.8 --- OpenXM/misc/packages/Windows/Makefile 2001/12/23 11:10:52 1.3 +++ OpenXM/misc/packages/Windows/Makefile 2001/12/28 09:54:47 1.8 @@ -1,12 +1,12 @@ -# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.2 2001/12/22 05:59:22 takayama Exp $ +# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.7 2001/12/28 03:24:35 takayama Exp $ OpenXM_TOP=../../../../OpenXM STARTEXE=c:/windows/command/start.exe WINASIR=c:/home/asir usage: - @echo "Targets: binary-tgz clean" + @echo "Targets: binary-tgz build-tgz clean" clean: - -rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done + -rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done OpenXM-win.tgz .OpenXM-win.tgz.done binary-tgz: copy-binary copy-binary-asir win-correction @@ -29,13 +29,37 @@ copy-binary-asir: touch .copy-binary-asir-done ; \ fi -win-correction: copy-binary - (cd OpenXM-win/lib/sm1/bin ; rm -f ox_sm1_forAsir ; cp ../../../bin/ox_sm1.exe ox_sm1_forAsir.exe) +win-correction: copy-binary + make win-correction2 +win-correction1: -mkdir OpenXM-win/bin-windows cp ${STARTEXE} OpenXM-win/bin-windows - cp OpenXM-win/src/asir-contrib/win/asirgui.bat OpenXM-win/bin-windows - cp OpenXM-win/src/asir-contrib/win/asirgui2.bat OpenXM-win/bin-windows + cp OpenXM-win/src/asir-contrib/win/asirgui*.bat OpenXM-win/bin-windows + cp OpenXM-win/src/asir-contrib/win/asirgui*.bat OpenXM-win/asir/bin cp /bin/cygwin1.dll OpenXM-win/bin-windows cp /bin/cygwin1.dll OpenXM-win/bin cp /bin/cygwin1.dll OpenXM-win/lib/sm1/bin - (cd OpenXM-win/rc ; make clean ; make) +# (cd OpenXM-win/rc ; make clean ; make) +win-correction2: win-correction1 + cp ${STARTEXE} OpenXM-win/bin + cp ${STARTEXE} OpenXM-win/asir/bin + cp /usr/X11R6/bin/*.dll OpenXM-win/asir/bin + cp /usr/X11R6/bin/*.dll OpenXM-win/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/asir/bin + cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin + cp OpenXM-win/lib/sm1/oxasir.asir OpenXM-win/asir/bin + cp OpenXM-win/lib/sm1/oxasir.asir OpenXM-win/bin + cp OpenXM-win/bin/ox_asir OpenXM-win/bin/ox_asir.exe +win-correction-clean: + -find OpenXM-win -name '*~' -print | xargs rm + -rm OpenXM-win/lib/sm1/*.jpeg OpenXM-win/lib/sm1/*.jpg +build-tgz: win-correction-clean + if [ ! -f .OpenXM-win.tgz.done ]; then \ + tar czvf OpenXM-win.tgz OpenXM-win ; touch .OpenXM-win.tgz.done ; \ + fi + +copy-to-orange: build-tgz + scp OpenXM-win.tgz taka@orange:tmp3 +