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

Diff for /OpenXM/src/k097/Attic/Makefile between version 1.1 and 1.6

version 1.1, 1999/10/08 02:12:14 version 1.6, 2000/01/17 01:08:34
Line 1 
Line 1 
   # $OpenXM: OpenXM/src/k097/Makefile,v 1.5 1999/12/04 06:18:39 takayama Exp $
 BDATE =19970416  BDATE =19970416
 CC = gcc  CC = gcc
 GC = $(KHOME)/gc/gc.a  GC = $(KHOME)/gc/gc.a
   
 ## Kan source.  kan sources must be built up by hand.  ## Kan source.  kan sources must be built up by hand.
 KHOME = ../SSkan  KHOME = ../kan96xx
   
   
 ##  ##
Line 11  LOAD_K_PATH ='"/usr/local/lib/k0/"'
Line 12  LOAD_K_PATH ='"/usr/local/lib/k0/"'
 LOAD_SM1_PATH2 ='"/home/nobuki/SSkan/Kan/"'  LOAD_SM1_PATH2 ='"/home/nobuki/SSkan/Kan/"'
 ##  ##
 GMP_HOME = $(KHOME)/gmp  GMP_HOME = $(KHOME)/gmp
 ##LIBGMP=$(GMP_HOME)/libgmp.a  LIBGMP=$(GMP_HOME)/libgmp.a
 ## This line is for buggy linux-gmp.  ## This line is for buggy linux-gmp.
 LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a  ## LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a
 EXTRALIB =  EXTRALIB =
 ########### end of configuration.  ########### end of configuration.
   
 ### These are to switch k2 linux and k2 solaris version.  ### These are to switch k2 linux and k2 solaris version.
 SOLARIS_SLIB =  SOLARIS_SLIB =   -lsocket -lnsl -lc /usr/ucblib/libucb.a
 #SOLARIS_SLIB =   -lsocket -lnsl -lc /usr/ucblib/libucb.a  
 ### if you use K2LFLAG below, you don't need ALIB.  ### if you use K2LFLAG below, you don't need ALIB.
 #K2LFLAG = -lm $(SOLARIS_ALIB)  #K2LFLAG = -lm $(SOLARIS_ALIB)
 K2LFLAG = -lfunc -lparse -lengine -lm -Wl,-rpath,/usr/X11R6/lib  K2LFLAG = -lfunc -lparse -lengine -lm -Wl,-rpath,/usr/X11R6/lib
Line 90  KXX = simple.tab.o d.o ki.o dic.o
Line 90  KXX = simple.tab.o d.o ki.o dic.o
 KXXASIR = simple.tab.o d.o ki-asir.o dic.o  KXXASIR = simple.tab.o d.o ki-asir.o dic.o
   
 k0 :  k0.o $(KXX) $(KAN_HOME)/kanlib.a $(GC) $(GMP) $(KAN_HOME)/lookup.h  k0 :  k0.o $(KXX) $(KAN_HOME)/kanlib.a $(GC) $(GMP) $(KAN_HOME)/lookup.h
         $(CC) $(FLAG) -I$(GMP_HOME) -I$(KAN_HOME) -o k0 k0.o $(KXX)  $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC) $(EXTRALIB)          if test `uname` = "SunOS" ; \
           then \
           $(CC) $(FLAG) -I$(GMP_HOME) -I$(KAN_HOME) -o k0 k0.o $(KXX)  $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC) $(EXTRALIB) $(SOLARIS_SLIB) ; \
           else \
           $(CC) $(FLAG) -I$(GMP_HOME) -I$(KAN_HOME) -o k0 k0.o $(KXX)  $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC) $(EXTRALIB) ; \
           fi
   
 k0.o : k2.c  k0.o : k2.c
         $(CC) -c $(FLAG) -I$(GMP_HOME) -I$(KAN_HOME) -o k0.o k2.c          $(CC) -c $(FLAG) -I$(GMP_HOME) -I$(KAN_HOME) -o k0.o k2.c
Line 148  test0 :  test0.c  $(KXX) $(KAN_HOME)/kanlib.a  $(GC) $
Line 153  test0 :  test0.c  $(KXX) $(KAN_HOME)/kanlib.a  $(GC) $
   
   
   
 install : all  install0 : all
         cp --f k0 d0 $(HOME)/.Hbin          cp -f k0 d0 $(HOME)/.Hbin
         cp lib/mklib $(HOME)/.Hbin          cp lib/mklib $(HOME)/.Hbin
         echo "Set the environment variable in $(HOME)/bin/mklib"          echo "Set the environment variable in $(HOME)/bin/mklib"
   
   install : all
           cp -f k0 d0 ../../bin
   
 dist :  dist :
         ./makeDist          ./makeDist

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

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