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

Diff for /OpenXM/src/kan96xx/Attic/Makefile between version 1.9 and 1.20

version 1.9, 1999/11/27 13:24:40 version 1.20, 2000/03/04 11:03:37
Line 1 
Line 1 
 ##  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.8 1999/11/22 04:22:57 takayama Exp $  ##  $OpenXM: OpenXM/src/kan96xx/Makefile,v 1.19 2000/02/28 07:19:40 takayama Exp $
   
 ## Type in make configure and make all to build all  ## Type in make configure and make all to build all
 OpenXM_contrib=../../../OpenXM_contrib  OpenXM_contrib=../../../OpenXM_contrib
   OPENXM_CONTRIB=../../../OpenXM_contrib
   OpenXM_ROOT=../../../OpenXM
   OpenXM_bin=$(OpenXM_ROOT)/bin
   
 all :   allGC allGMP  GC=$(OPENXM_CONTRIB)/gc
         (cd plugin; make all)  GMP=$(OPENXM_CONTRIB)/gmp
         (cd Kan; make all)  
   
 all2 :  allGC allGMP  all :   all-gc all-gmp all-plugin all-sm1 all-kanlib.a
   ## .SUFFIXES:
   
   all2 :  all-gc all-gmp
         (cd Kan; make all)          (cd Kan; make all)
   
 allGC :  all-gc: configure_symbolic_links
         (cd gc; make)          (cd $(GC) ; make all)
 allGMP :  
   all-gmp: configure-gmp
         if test -f /usr/lib/libgmp.a ; \          if test -f /usr/lib/libgmp.a ; \
         then \          then \
           echo "Using /usr/lib/libgmp.a" ; \            echo "Using /usr/lib/libgmp.a" ; \
           /bin/rm -rf gmp/libgmp.a ; \            /bin/rm -rf $(GMP)/libgmp.a ; \
           ln -s /usr/lib/libgmp.a gmp/libgmp.a ; \            ln -s /usr/lib/libgmp.a $(GMP)/libgmp.a ; \
         else \          else \
          (cd gmp; make) ; \           (cd $(GMP) ; make) ; \
         fi          fi
   
   all-sm1 : all-plugin
           (cd Kan; make all)
   
   all-plugin : configure_symbolic_links
            (cd plugin ; make all)
   
   all-kanlib.a : all-plugin
           (cd Kan ; make kanlib.a)
   
   
   
 ### When you make sm1 without the garbage collector, type in make sm1.nogc  ### When you make sm1 without the garbage collector, type in make sm1.nogc
 sm1.nogc :  sm1.nogc :
         (cd Kan; make sm1.nogc)          (cd Kan; make sm1.nogc)
   
 configure : configure_symbolic_links  configure: configure_symbolic_links configure-gmp
         (cd gmp; ./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 :
         /bin/rm -f gc gmp lib Doc/var.sm1          @if test ! -f ./.done_links  ; \
         ln -f -s $(OpenXM_contrib)/gc gc          then \
         ln -f -s $(OpenXM_contrib)/gmp gmp           /bin/rm -f gc gmp lib Doc/var.sm1 ; \
 #       ln -f -s gmp-2.0.2-ssh-2 gmp           ln -f -s $(OpenXM_contrib)/gc gc ; \
         ln -f -s ./Doc lib           ln -f -s $(OpenXM_contrib)/gmp gmp ; \
         (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1)           ln -f -s ./Doc lib ; \
            (cd Doc; ln -f -s ../Kan/var.sm1 var.sm1) ; \
           fi
           @touch ./.done_links
   
 ### generate a distribution.  ### generate a distribution.
 dist :  dist :
         ./makeDist          ./makeDist
 ###############  ###############
 install :  install : install-openXM-bin install-document install.man
   
   install.man :
           @if [ ! -d $(OpenXM_ROOT)/man ]; then  \
              mkdir $(OpenXM_ROOT)/man ; \
           fi
           @if [ ! -d $(OpenXM_ROOT)/man/man1 ]; then  \
              mkdir $(OpenXM_ROOT)/man/man1 ; \
           fi
           -cp Doc/sm1.1 $(OpenXM_ROOT)/man/man1
   
   install-usr-local :
         mkdir /usr/local/lib/sm1          mkdir /usr/local/lib/sm1
         cp lib/* /usr/local/lib/sm1          cp lib/* /usr/local/lib/sm1
         cp Kan/sm1 /usr/local/bin          cp Kan/sm1 /usr/local/bin
Line 73  clean-binary :
Line 109  clean-binary :
         echo " ../kanbinary*  will be removed"          echo " ../kanbinary*  will be removed"
         echo "after 10 seconds. To cancel type in ctrl-C."          echo "after 10 seconds. To cancel type in ctrl-C."
         ( sleep 10 ; /bin/rm -rf ../kanbinary* )          ( sleep 10 ; /bin/rm -rf ../kanbinary* )
 install-openXM-bin :  
         /bin/rm -f ../bin/sm1  
         cp Kan/sm1 ../bin  
 install2 :  
         /bin/rm -f ../bin/sm1  
         ln -f -s ../src/kan96xx/Kan/sm1 ../bin/sm1  
   
   install-openXM-bin : clean-for-debug
           cp Kan/sm1 $(OpenXM_bin)
   install-for-debug :
           ln -f -s ../src/kan96xx/Kan/sm1 $(OpenXM_bin)/sm1
   
   install-document :
           (cd Doc ; make install-document)
   
 ##############  ##############
   clean-for-debug :
           /bin/rm -f $(OpenXM_bin)/sm1
   
 clean :  clean :
         if test -f gmp/Makefile ; \          /bin/rm -f ./.done_links
           if test -f $(GMP)/Makefile ; \
         then \          then \
           (cd gmp; make clean) ; \            (cd $(GMP) ; make clean) ; \
         fi          fi
         if test -f gc/Makefile ; \          if test -f $(GC)/Makefile ; \
         then \          then \
           (cd gc; make clean) ; \            (cd $(GC); make clean) ; \
         fi          fi
         (cd Kan; make clean)          (cd Kan; make clean)
         (cd plugin; make clean)          (cd plugin; make clean)
Line 98  clean :
Line 140  clean :
 ### clean also *.a files.  ### clean also *.a files.
 cleana:  distclean  cleana:  distclean
   
 distclean :  distclean : clean
         if test -f gmp/Makefile ; \          if test -f $(GMP)/Makefile ; \
         then \          then \
           (cd gmp; make distclean) ; \            (cd $(GMP) ; make distclean) ; \
         fi          fi
         if test -f gc/Makefile ; \          -/bin/rm -f $(GMP)/.gmp_configured
           if test -f $(GC)/Makefile ; \
         then \          then \
           (cd gc; make clean; /bin/rm -f *.a) ; \            (cd $(GC); make clean; /bin/rm -f *.a) ; \
         fi          fi
         (cd Kan; make cleana)          (cd Kan; make cleana)
         (cd plugin; make clean; /bin/rm -f *.a)          (cd plugin; make clean; /bin/rm -f *.a)
           /bin/rm -rf gc gmp lib Doc/var.sm1
   

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.20

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