=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.3 diff -u -p -r1.1.1.1 -r1.3 --- OpenXM/src/kan96xx/plugin/Attic/Makefile 1999/10/08 02:12:05 1.1.1.1 +++ OpenXM/src/kan96xx/plugin/Attic/Makefile 1999/12/15 14:33:41 1.3 @@ -1,16 +1,23 @@ -CC = gcc -INCLUDE = -I ../gmp -I ../Kan -FLAG = -g +## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.2 1999/11/02 12:28:57 takayama Exp $ all : sample.a sm1Socket.a asirconv.a cmo.a file2.a ox.a + +CC=gcc +INCLUDE=-I ../gmp -I ../Kan +FLAG=-g +.c.o : + $(CC) $(FLAG) $(INCLUDE) -c $< + all0 : ak.a libasir.a -sample.a : sample.h sample.c sample.hh - $(CC) $(FLAG) $(INCLUDE) -c sample.c +sample.o : sample.h sample.c sample.hh + +sample.a : sample.o ar ru sample.a sample.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib sample.a -sm1Socket.a : sm1Socket.h sm1Socket.c sm1Socket.hh - $(CC) $(FLAG) $(INCLUDE) -c sm1Socket.c +sm1Socket.o : sm1Socket.h sm1Socket.c sm1Socket.hh + +sm1Socket.a : sm1Socket.o ar ru sm1Socket.a sm1Socket.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib sm1Socket.a @@ -19,8 +26,9 @@ sm1pvm.a : sm1pvm.h sm1pvm.c sm1pvm.hh ar ru sm1pvm.a sm1pvm.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib sm1pvm.a -asirconv.a : asir.h asirconv.c asir.hh - $(CC) $(FLAG) $(INCLUDE) -c asirconv.c +asirconv.o : asir.h asirconv.c asir.hh + +asirconv.a : asirconv.o ar ru asirconv.a asirconv.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib asirconv.a @@ -32,9 +40,11 @@ libasir.a : # ln -s /fuji/taka/noro/libasir.a ln -s /dosc/work/noro/libasir.a -cmo.a : cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp oxMessageTag.h oxFunctionId.h - $(CC) $(FLAG) $(INCLUDE) -c cmo.c +cmo.o : cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp oxMessageTag.h oxFunctionId.h + +cmo-gmp.o : cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp oxMessageTag.h oxFunctionId.h $(CC) $(FLAG) $(INCLUDE) -I ../gmp/mpn -c cmo-gmp.c +cmo.a : cmo.o cmo-gmp.o ar ru cmo.a cmo.o cmo-gmp.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib cmo.a @@ -53,28 +63,27 @@ cmo.h : cmo0.h cmotag.h echo "/*cmo.h : Dont edit this file. */" >>cmo.h cat cmo0.h >>cmo.h -file2.a : file2.h file2.c - $(CC) $(FLAG) $(INCLUDE) -c file2.c +file2.o : file2.h file2.c + +file2.a : file2.o ar ru file2.a file2.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib file2.a -ox.h : ox.a -ox.hh : ox.a -.c.o : - $(CC) $(FLAG) $(INCLUDE) -c $< mytcpio.o : mytcpio.c ox_kan.h oxmisc.o : oxmisc.c ox_kan.h oxmisc2.o : oxmisc2.c ox_kan.h mathcap.h cmo.h $(CC) $(FLAG) $(INCLUDE) -c oxmisc2.c -ox.a : mytcpio.o oxmisc.o oxmisc2.o ox_kan.h oxx.h oxx.hh +ox.a : mytcpio.o oxmisc.o oxmisc2.o ox_kan.h ox.h ox.hh ar ru ox.a mytcpio.o oxmisc.o oxmisc2.o ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib ox.a +ox.h : oxx.h /bin/rm -f tmp.h echo "/********* DO NOT EDIT THIS FILE *************/" >tmp.h cat oxx.h >>tmp.h cp tmp.h ox.h +ox.hh : oxx.hh /bin/rm -f tmp.h echo "/********* DO NOT EDIT THIS FILE *************/" >tmp.h cat oxx.hh >>tmp.h @@ -89,4 +98,5 @@ ox_kan.h : oxMessageTag.h oxFunctionId.h file2.h cmota clean : - /bin/rm -f *.a *.o *~ a.out cmotagToName + /bin/rm -f *.a *.o *~ a.out cmotagToName cmo.h cmotag.hh ox.h ox.hh ox_kan.h cmptag.htmp +