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

Diff for /OpenXM/misc/packages/Windows/Makefile between version 1.33 and 1.45

version 1.33, 2003/07/20 07:30:25 version 1.45, 2016/08/27 02:20:55
Line 1 
Line 1 
 # $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.32 2003/07/16 05:19:49 takayama Exp $  # $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.44 2015/10/13 06:59:34 takayama Exp $
 OpenXM_TOP=../../../../OpenXM  OpenXM_TOP=../../../../OpenXM
 ASIR_LANG=ja  ASIR_LANG=ja
 #ASIR_LANG=en  #ASIR_LANG=en
 VERSION=1.2.2  VERSION=1.2.3
 WGET_ARG=--passive-ftp ftp://ftp:${USER}.openxm.org@ftp.math.kobe-u.ac.jp/pub/asir/asirwin-${ASIR_LANG}.tgz  WGET_ARG=http://www.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=http://www.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  WGET_HEAD=http://www.math.kobe-u.ac.jp/pub/OpenXM/Head/openxm-head.tar.gz
   
 WINASIR=c:/home/asir  WINASIR=c:/home/asir
   
   #obtained by chgcheck command
   DLLS_ox_asir=/bin/cygX11*dll /bin/cygxcb*.dll /bin/cygXau*.dll \
        /bin/cygXdmcp*.dll /bin/cygWaw*dll \
        /bin/cygXext*.dll /bin/cygXmu*.dll /bin/cygXt*.dll \
        /bin/cygIcE*.dll /bin/cygSM*.dll \
       /bin/cygICE*.dll /bin/cygSM*.dll /bin/cyg/bin/cyguuid*.dll \
       /bin/cygintl*.dll /bin/cygiconv*.dll \
       /bin/cyggcc_s-seh*.dll /bin/cygXpm*.dll
   
 usage:  usage:
           @echo "make clean ; make oxpari-gen-zip"
         @echo "Targets: all build-tgz clean clean-work link-for-debug copy-to-ftp-area"          @echo "Targets: all build-tgz clean clean-work link-for-debug copy-to-ftp-area"
         @echo "         remove-experimental gen-cd"          @echo "         remove-experimental gen-cd"
         @echo "  The target all, gen-cd builds the directory OpenXM-win"          @echo "  The target all, gen-cd builds the directory OpenXM-win"
Line 18  usage:
Line 28  usage:
   
 clean: clean-OpenXM-win clean-asir-book  clean: clean-OpenXM-win clean-asir-book
 clean-OpenXM-win:  clean-OpenXM-win:
         -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 .OpenXM-win.tgz.copy.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 .OpenXM-win.tgz.copy.done .oxpari-copy-cygwin-dlls-done
   
 clean-work:  clean-work:
         -rm -rf work          -rm -rf work
 clean0:  clean0:
         -rm -rf .copy-binary-done oxasir-win.rr .copy-cygwin-dlls-done          -rm -rf .copy-binary-done oxasir-win.rr .copy-cygwin-dlls-done .oxpari-copy-cygwin-dlls-done
   
 all: copy-binary-phc copy-binary copy-binary-asir win-correction win-correction-clean  all: copy-binary-phc copy-binary copy-binary-asir win-correction win-correction-clean
   
 build-binary-openxm-cygwin:  build-binary-openxm-cygwin:
         if [ ! -f .build-binary-openxm-cygwin-done ] ; then \          if [ ! -f .build-binary-openxm-cygwin-done ] ; then \
                 (cd ${OpenXM_TOP}/src ; make install-kan-ox ; make install-phc) ; \                  (cd ${OpenXM_TOP}/src ; make install-asir-contrib ) ; \
                   (cd ${OpenXM_TOP}/src ; make install-oxpari ) ; \
                 touch .build-binary-openxm-cygwin-done ; \                  touch .build-binary-openxm-cygwin-done ; \
         fi          fi
   
   oxpari-copy-binary-cygwin: build-binary-openxm-cygwin
           -mkdir OpenXM-win
           -mkdir -p OpenXM-win/bin
           if [ ! -f .oxpari-copy-binary-done ] ; then \
             (cd OpenXM-win ; \
              cp  ../${OpenXM_TOP}/bin/ox_pari bin ; \
              cp  ../${OpenXM_TOP}/bin/ox bin ; \
              cp  ../${OpenXM_TOP}/bin/cyggc*.dll bin ; \
              cp  ../${OpenXM_TOP}/bin/sm1 bin ; \
              cp  ../${OpenXM_TOP}/bin/ox_sm1 bin ; \
              cp  ../${OpenXM_TOP}/bin/ox_sm1 bin/ox_sm1_forAsir ; \
             ) ; \
              touch .oxpari-copy-binary-oxpari-done ; \
           fi
   oxpari-copy-cygwin-dlls:
           if [ ! -f .oxpari-copy-cygwin-dlls-done ] ; then \
            cp /bin/cygwin1.dll OpenXM-win/bin ; \
            touch .oxpari-copy-cygwin-dlls-done ; \
           fi
   
   oxpari-gen-zip: oxpari-copy-binary-cygwin oxpari-copy-cygwin-dlls
           -mkdir -p OpenXM-win/lib/
           cp ${OpenXM_TOP}/src/asir-contrib/packages/src/oxpari-win.rr OpenXM-win/lib
           zip -r openxm-win-oxpari.zip OpenXM-win
           @echo "Copy openxm-win-oxpari.zip by hand to OpenXM/Current"
   
 copy-binary: copy-binary-openxm-cygwin  copy-binary: copy-binary-openxm-cygwin
   
 copy-binary-openxm-cygwin: build-binary-openxm-cygwin  copy-binary-openxm-cygwin: build-binary-openxm-cygwin
         -mkdir OpenXM-win          -mkdir OpenXM-win
         -mkdir OpenXM-win/src          -mkdir -p OpenXM-win/src
           -mkdir -p OpenXM-win/bin-windows
         if [ ! -f .copy-binary-done ] ; then \          if [ ! -f .copy-binary-done ] ; then \
           (cd OpenXM-win ; \            (cd OpenXM-win ; \
            rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/bin . ; \             rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/bin . ; \
Line 45  copy-binary-openxm-cygwin: build-binary-openxm-cygwin
Line 84  copy-binary-openxm-cygwin: build-binary-openxm-cygwin
            rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/man . ; \             rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/man . ; \
            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 ; \
              find . -name 'DO_NOT_EDIT*' -print | xargs rm -rf ; \
           ) ; \            ) ; \
            cp Readme-CD/readme-ja.html OpenXM-win ; \             cp Readme-CD/readme-ja.html OpenXM-win ; \
            cp Readme-CD/readme-en.html OpenXM-win ; \             cp Readme-CD/readme-en.html OpenXM-win ; \
Line 52  copy-binary-openxm-cygwin: build-binary-openxm-cygwin
Line 92  copy-binary-openxm-cygwin: build-binary-openxm-cygwin
         fi          fi
   
 copy-binary-asir:  copy-binary-asir:
           @echo "Do nothing for copy-binary-asir in the new version."
   
   copy-binary-asir-orig:
         if [ ! -f .copy-binary-asir-done ] ; then \          if [ ! -f .copy-binary-asir-done ] ; then \
                 make copy-binary-asir-from-internet ; \                  make copy-binary-asir-from-internet ; \
         fi          fi
Line 76  copy-binary-asir-from-local-disk:
Line 119  copy-binary-asir-from-local-disk:
         fi          fi
   
 copy-binary-phc:  copy-binary-phc:
         if [ ! -f .copy-binary-phc-done ] ; then \          @echo "Do nothing for copy-binary-phc in the new version."
   
   copy-binary-phc-orig:
           -if [ ! -f .copy-binary-phc-done ] ; then \
                 make copy-binary-phc-from-internet ; \                  make copy-binary-phc-from-internet ; \
         fi          fi
   
Line 91  copy-cygwin-dlls:
Line 137  copy-cygwin-dlls:
          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 ; \
          cp /usr/X11R6/bin/*.dll OpenXM-win/asir/bin ; \  
          cp /usr/X11R6/bin/*.dll OpenXM-win/bin ; \  
          touch .copy-cygwin-dlls-done ; \           touch .copy-cygwin-dlls-done ; \
         fi          fi
   
   #It has not been used.
   copy-cygwin-dlls-for-ox_asir :
           for i in ${DLLS_ox_asir} ; do \
            cp $$i OpenXM-win/asir/bin ; \
            cp $$i OpenXM-win/bin ; \
           done ; \
   
 win-correction: copy-binary oxasir-win.rr  win-correction: copy-binary oxasir-win.rr
         make win-correction2          make win-correction2
 win-correction1: build-bat copy-cygwin-dlls  win-correction1: build-bat copy-cygwin-dlls
Line 117  win-correction2_old:
Line 168  win-correction2_old:
         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
Line 136  copy-to-orange: build-tgz
Line 181  copy-to-orange: build-tgz
         scp OpenXM-win.tgz taka@orange:tmp3          scp OpenXM-win.tgz taka@orange:tmp3
 copy-to-ftp-area: build-tgz  copy-to-ftp-area: build-tgz
         if [ ! -f .OpenXM-win.tgz.copy.done ]; then \          if [ ! -f .OpenXM-win.tgz.copy.done ]; then \
           scp OpenXM-win.tgz taka@orange:/export/home01/ftp/pub/OpenXM/Head/OpenXM-win-${ASIR_LANG}.tgz ; \            scp OpenXM-win.tgz taka@orange2:/home/www/pub/OpenXM/Head/OpenXM-win-${ASIR_LANG}.tgz ; \
         fi          fi
         touch .OpenXM-win.tgz.copy.done          touch .OpenXM-win.tgz.copy.done
 copy-to-ftp-area-stable: build-tgz  copy-to-ftp-area-stable: build-tgz
Line 159  debug-tools/crlf :  debug-tools/crlf.c
Line 204  debug-tools/crlf :  debug-tools/crlf.c
         (cd debug-tools; gcc -o crlf crlf.c)          (cd debug-tools; gcc -o crlf crlf.c)
 debug-tools/debug-sed : debug-tools/debug-sed.c  debug-tools/debug-sed : debug-tools/debug-sed.c
         (cd debug-tools; gcc -o debug-sed debug-sed.c)          (cd debug-tools; gcc -o debug-sed debug-sed.c)
 build-bat: debug-tools/crlf debug-tools/debug-sed  debug-tools/gcwd : debug-tools/gcwd.c
         -mkdir OpenXM-win/bin-windows          (cd debug-tools; gcc -o gcwd gcwd.c)
   build-bat: debug-tools/crlf debug-tools/debug-sed debug-tools/gcwd
           -mkdir -p OpenXM-win/bin-windows
           -mkdir -p OpenXM-win/asir
           -mkdir -p OpenXM-win/asir/bin
           -mkdir -p OpenXM-win/asir/lib
         (cd debug-tools; sed -f dist.sed <asirgui-cd.bat >../OpenXM-win/bin-windows/asirgui-cd.bat ; ./crlf ../OpenXM-win/bin-windows/asirgui-cd.bat)          (cd debug-tools; sed -f dist.sed <asirgui-cd.bat >../OpenXM-win/bin-windows/asirgui-cd.bat ; ./crlf ../OpenXM-win/bin-windows/asirgui-cd.bat)
           (cd debug-tools; sed -f dist.sed <sm1-cd.bat >../OpenXM-win/bin-windows/sm1-cd.bat ; ./crlf ../OpenXM-win/bin-windows/sm1-cd.bat)
         (cd debug-tools; sed -f dist.sed <webasir.bat >../OpenXM-win/bin-windows/webasir.bat ; ./crlf ../OpenXM-win/bin-windows/webasir.bat)          (cd debug-tools; sed -f dist.sed <webasir.bat >../OpenXM-win/bin-windows/webasir.bat ; ./crlf ../OpenXM-win/bin-windows/webasir.bat)
         (cd debug-tools; sed -f dist.sed <websm1.bat >../OpenXM-win/bin-windows/websm1.bat ; ./crlf ../OpenXM-win/bin-windows/websm1.bat)          (cd debug-tools; sed -f dist.sed <websm1.bat >../OpenXM-win/bin-windows/websm1.bat ; ./crlf ../OpenXM-win/bin-windows/websm1.bat)
         (rm -f ../OpenXM-win/bin-windows/*.BAK ../OpenXM-win/bin-windows/*.bak)          (rm -f ../OpenXM-win/bin-windows/*.BAK ../OpenXM-win/bin-windows/*.bak)
         cp OpenXM-win/bin-windows/asirgui-cd.bat OpenXM-win/asir/bin          cp OpenXM-win/bin-windows/asirgui-cd.bat OpenXM-win/asir/bin
         rm -f debug-tools/debug.sed ; debug-tools/debug-sed `pwd` >debug-tools/debug.sed          (cd debug-tools; cp gcwd.exe ../OpenXM-win/bin-windows)
         (cd debug-tools; sed -f debug.sed <asirgui-cd.bat >asirgui-debug.bat ; ./crlf asirgui-debug.bat)  
   
 remove-experimental:  remove-experimental:
         -rm -f OpenXM-win/bin-windows/*web*.bat          -rm -f OpenXM-win/bin-windows/*web*.bat

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.45

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