[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Windows

Annotation of OpenXM/misc/packages/Windows/Makefile, Revision 1.8

1.8     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.7 2001/12/28 03:24:35 takayama Exp $
1.1       takayama    2: OpenXM_TOP=../../../../OpenXM
                      3: STARTEXE=c:/windows/command/start.exe
                      4: WINASIR=c:/home/asir
                      5: usage:
1.7       takayama    6:        @echo "Targets: binary-tgz build-tgz clean"
1.1       takayama    7:
                      8: clean:
1.6       takayama    9:        -rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done OpenXM-win.tgz .OpenXM-win.tgz.done
1.1       takayama   10:
1.2       takayama   11: binary-tgz: copy-binary copy-binary-asir win-correction
1.1       takayama   12:
                     13: copy-binary:
                     14:        -mkdir OpenXM-win
                     15:        if [ ! -f .copy-binary-done ] ; then \
                     16:          (cd OpenXM-win ; \
1.2       takayama   17:           (cd ../${OpenXM_TOP}; tar czf - bin lib rc man src/asir-contrib) | tar xzvf -  ; \
1.1       takayama   18:          ) ; \
                     19:           touch .copy-binary-done ; \
                     20:        fi
                     21:
1.2       takayama   22: copy-binary-asir:
                     23:        -mkdir OpenXM-win
                     24:        -mkdir OpenXM-win/asir
                     25:        if [ ! -f .copy-binary-asir-done ] ; then \
                     26:         (cd OpenXM-win ; \
                     27:          (cd ${WINASIR} ; tar czf - bin lib) | (cd asir ; tar xzvf -) ; \
                     28:         ) ; \
1.3       takayama   29:          touch .copy-binary-asir-done ; \
1.2       takayama   30:        fi
                     31:
1.7       takayama   32: win-correction: copy-binary
                     33:        make win-correction2
                     34: win-correction1:
1.1       takayama   35:        -mkdir OpenXM-win/bin-windows
                     36:        cp ${STARTEXE} OpenXM-win/bin-windows
1.6       takayama   37:        cp OpenXM-win/src/asir-contrib/win/asirgui*.bat OpenXM-win/bin-windows
                     38:        cp OpenXM-win/src/asir-contrib/win/asirgui*.bat OpenXM-win/asir/bin
1.1       takayama   39:        cp /bin/cygwin1.dll OpenXM-win/bin-windows
                     40:        cp /bin/cygwin1.dll OpenXM-win/bin
                     41:        cp /bin/cygwin1.dll OpenXM-win/lib/sm1/bin
1.7       takayama   42: #      (cd OpenXM-win/rc ; make clean ; make)
                     43: win-correction2: win-correction1
                     44:        cp ${STARTEXE} OpenXM-win/bin
                     45:        cp ${STARTEXE} OpenXM-win/asir/bin
                     46:        cp /usr/X11R6/bin/*.dll OpenXM-win/asir/bin
                     47:        cp /usr/X11R6/bin/*.dll OpenXM-win/bin
                     48:        cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin
                     49:        cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin
                     50:        cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin
                     51:        cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin
                     52:        cp OpenXM-win/lib/sm1/oxasir.asir OpenXM-win/asir/bin
                     53:        cp OpenXM-win/lib/sm1/oxasir.asir OpenXM-win/bin
1.8     ! takayama   54:        cp OpenXM-win/bin/ox_asir OpenXM-win/bin/ox_asir.exe
1.7       takayama   55: win-correction-clean:
                     56:        -find OpenXM-win -name '*~' -print | xargs rm
                     57:        -rm OpenXM-win/lib/sm1/*.jpeg OpenXM-win/lib/sm1/*.jpg
                     58: build-tgz: win-correction-clean
1.6       takayama   59:        if [ ! -f .OpenXM-win.tgz.done ]; then \
                     60:        tar czvf OpenXM-win.tgz OpenXM-win ; touch .OpenXM-win.tgz.done ; \
                     61:        fi
1.5       takayama   62:
1.6       takayama   63: copy-to-orange: build-tgz
1.5       takayama   64:        scp OpenXM-win.tgz taka@orange:tmp3
                     65:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>