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

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

1.2     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.1 2001/12/22 01:27:14 takayama Exp $
1.1       takayama    2: OpenXM_TOP=../../../../OpenXM
                      3: STARTEXE=c:/windows/command/start.exe
                      4: WINASIR=c:/home/asir
                      5: usage:
                      6:        @echo "Targets: binary-tgz clean"
                      7:
                      8: clean:
1.2     ! takayama    9:        -rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-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:         ) ; \
        !            29:        fi
        !            30:
1.1       takayama   31: win-correction: copy-binary
                     32:        (cd OpenXM-win/lib/sm1/bin ; rm -f ox_sm1_forAsir ; cp ../../../bin/ox_sm1.exe ox_sm1_forAsir.exe)
                     33:        -mkdir OpenXM-win/bin-windows
                     34:        cp ${STARTEXE} OpenXM-win/bin-windows
                     35:        cp OpenXM-win/src/asir-contrib/win/asirgui.bat OpenXM-win/bin-windows
1.2     ! takayama   36:        cp OpenXM-win/src/asir-contrib/win/asirgui2.bat OpenXM-win/bin-windows
1.1       takayama   37:        cp /bin/cygwin1.dll OpenXM-win/bin-windows
                     38:        cp /bin/cygwin1.dll OpenXM-win/bin
                     39:        cp /bin/cygwin1.dll OpenXM-win/lib/sm1/bin
1.2     ! takayama   40:        (cd OpenXM-win/rc ; make clean ; make)

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