[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx

Diff for /OpenXM/src/kan96xx/Attic/Makefile between version 1.23 and 1.27

version 1.23, 2000/08/31 13:35:09 version 1.27, 2001/12/24 00:49:56
Line 1 
Line 1 
 ##  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.22 2000/08/31 13:27:33 takayama Exp $  ##  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.26 2001/05/20 07:48:17 takayama Exp $
   
 ## Type in make configure and make all to build all  ## Type in make configure and make all to build all
   TOPDIR=../../../OpenXM
 OpenXM_contrib=../../../OpenXM_contrib  OpenXM_contrib=../../../OpenXM_contrib
 OPENXM_CONTRIB=../../../OpenXM_contrib  OpenXM_ROOT=${TOPDIR}
 OpenXM_ROOT=../../../OpenXM  
 OpenXM_bin=$(OpenXM_ROOT)/bin  OpenXM_bin=$(OpenXM_ROOT)/bin
   
 GC=$(OPENXM_CONTRIB)/gc  GC=${OpenXM_contrib}/gc
 GMP=$(OPENXM_CONTRIB)/gmp  
   
 all :   all-plugin all-sm1 all-kanlib.a  all :   all-plugin all-sm1 all-kanlib.a
 ## .SUFFIXES:  ## .SUFFIXES:
   
 all2 :  all-gc all-gmp  all2 :  all-gc
         (cd Kan; make all)          (cd Kan; make all)
   
 all-gc: configure_symbolic_links  all-gc: configure_symbolic_links
         (cd $(GC) ; make all)          (cd $(GC) ; make all)
   
 all-gmp: configure-gmp  
         if test -f /usr/lib/libgmp.a ; \  
         then \  
           echo "Using /usr/lib/libgmp.a" ; \  
           /bin/rm -rf $(GMP)/libgmp.a ; \  
           ln -s /usr/lib/libgmp.a $(GMP)/libgmp.a ; \  
         else \  
          (cd $(GMP) ; make) ; \  
         fi  
   
 all-sm1 : all-plugin  all-sm1 : all-plugin
         (cd Kan; make all)          (cd Kan; make all)
Line 44  sm1.nogc :
Line 34  sm1.nogc :
         (cd Kan; make sm1.nogc)          (cd Kan; make sm1.nogc)
   
 configure: configure_symbolic_links  configure: configure_symbolic_links
           (cd Kan; sh configure)
   
 configure-gmp: configure_symbolic_links  
         if test -f $(GMP)/.gmp_configured ; \  
         then \  
           echo "MESSAGE(kan96xx/Makefile): gmp is already configured. (.gmp_configured) " ;  \  
         else \  
           (cd $(GMP) ; ./configure ; touch .gmp_configured) ; \  
         fi  
   
 configure_symbolic_links :  configure_symbolic_links :
         @if test ! -f ./.done_links  ; \          @if test ! -f ./.done_links  ; \
         then \          then \
          /bin/rm -f gc gmp lib Doc/var.sm1 ; \           /bin/rm -f gc gmp lib Doc/var.sm1 ; \
          ln -f -s $(OpenXM_contrib)/gc gc ; \           ln -f -s ${OpenXM_contrib}/gc gc ; \
          ln -f -s $(OpenXM_contrib)/gmp gmp ; \           ln -f -s ${OpenXM_contrib}/gmp gmp ; \
          ln -f -s ./Doc lib ; \           ln -f -s ./Doc lib ; \
          (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \           (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \
         fi          fi
Line 117  clean-binary :
Line 100  clean-binary :
 install-openXM-bin: install-bin-OpenXM  #alias  install-openXM-bin: install-bin-OpenXM  #alias
   
 install-bin-OpenXM: clean-for-debug  install-bin-OpenXM: clean-for-debug
         cp Kan/sm1 $(OpenXM_bin)          if [ "`uname`" = "CYGWIN_NT-5.0" ]; then \
             rm -f $(OpenXM_bin)/sm1.exe ; \
             cp Kan/sm1.exe $(OpenXM_bin) ; \
           else \
             cp Kan/sm1 $(OpenXM_bin) ; \
           fi
   
 install-for-debug :  install-for-debug :
         ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1          if [ "`uname`" = "CYGWIN_NT-5.0" ]; then \
             ln -f -s ../src/kan96xx/Kan/sm1.exe $(OpenXM_bin)/sm1.exe ; \
           else \
             ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1 ; \
           fi
   
 install-doc:  install-document  install-doc:  install-document
   

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.27

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