version 1.2, 2001/12/22 05:59:22 |
version 1.7, 2001/12/28 03:24:35 |
|
|
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.1 2001/12/22 01:27:14 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.6 2001/12/24 05:11:47 takayama Exp $ |
OpenXM_TOP=../../../../OpenXM |
OpenXM_TOP=../../../../OpenXM |
STARTEXE=c:/windows/command/start.exe |
STARTEXE=c:/windows/command/start.exe |
WINASIR=c:/home/asir |
WINASIR=c:/home/asir |
usage: |
usage: |
@echo "Targets: binary-tgz clean" |
@echo "Targets: binary-tgz build-tgz clean" |
|
|
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 |
binary-tgz: copy-binary copy-binary-asir win-correction |
|
|
Line 26 copy-binary-asir: |
|
Line 26 copy-binary-asir: |
|
(cd OpenXM-win ; \ |
(cd OpenXM-win ; \ |
(cd ${WINASIR} ; tar czf - bin lib) | (cd asir ; tar xzvf -) ; \ |
(cd ${WINASIR} ; tar czf - bin lib) | (cd asir ; tar xzvf -) ; \ |
) ; \ |
) ; \ |
|
touch .copy-binary-asir-done ; \ |
fi |
fi |
|
|
win-correction: copy-binary |
win-correction: copy-binary |
(cd OpenXM-win/lib/sm1/bin ; rm -f ox_sm1_forAsir ; cp ../../../bin/ox_sm1.exe ox_sm1_forAsir.exe) |
make win-correction2 |
|
win-correction1: |
-mkdir OpenXM-win/bin-windows |
-mkdir OpenXM-win/bin-windows |
cp ${STARTEXE} 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/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/asir/bin |
cp /bin/cygwin1.dll OpenXM-win/bin-windows |
cp /bin/cygwin1.dll OpenXM-win/bin-windows |
cp /bin/cygwin1.dll OpenXM-win/bin |
cp /bin/cygwin1.dll OpenXM-win/bin |
cp /bin/cygwin1.dll OpenXM-win/lib/sm1/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 |
|
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 |
|
|