Annotation of OpenXM/src/kan96xx/plugin/Makefile, Revision 1.7
1.7 ! takayama 1: ## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.6 2000/01/10 19:45:33 maekawa Exp $
1.4 maekawa 2:
1.5 maekawa 3: OPENXM=../../../../OpenXM
1.4 maekawa 4: OPEMXM_CONTRIB=../../../../OpenXM_contrib
5: GC=$(OPEMXM_CONTRIB)/gc
6: GMP=$(OPEMXM_CONTRIB)/gmp
1.5 maekawa 7: KAN96XX=$(OPENXM)/src/kan96xx
1.4 maekawa 8:
9: AR=/usr/bin/ar
10: RM=/bin/rm
1.3 takayama 11:
12: CC=gcc
1.4 maekawa 13: CFLAGS+=-g -I$(GMP) -I../Kan
14:
1.5 maekawa 15: all: all-gc all-gmp asirconv.a cmo.a file2.a ox.a sample.a sm1Socket.a
1.7 ! takayama 16:
! 17: .SUFFIXES:
1.4 maekawa 18:
19: clean:
20: $(RM) -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \
21: ox.h ox.hh ox_kan.h
1.5 maekawa 22:
23: all-gc:
24: (cd $(KAN96XX) ; make all-gc)
25:
26: all-gmp:
27: (cd $(KAN96XX) ; make all-gmp)
1.4 maekawa 28:
29: asirconv.a: asirconv.o
30:
31: asirconv.o: asir.h asir.hh asirconv.c
32:
33: cmo.a: cmo.o cmo-gmp.o
34:
35: cmo.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
36: oxMessageTag.h oxFunctionId.h
37:
38: cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
39: oxMessageTag.h oxFunctionId.h
40: $(CC) $(CFLAGS) -I$(GMP)/mpn -c cmo-gmp.c
41:
42: cmotag.htmp: cmotagToName
43: $(RM) -f cmotag.htmp
44: ./cmotagToName > cmotag.htmp
45:
46: cmotagToName: cmotag.h cmotagToName.c
47: $(CC) -o cmotagToName cmotagToName.c
1.3 takayama 48:
1.4 maekawa 49: cmo.h: cmo0.h cmotag.h
50: @echo "Making cmo.h"
51: @$(RM) -f cmo.h
52: @echo "/********* DO NOT EDIT THIS FILE *************/" > cmo.h
53: @cat cmotag.h cmo0.h >> cmo.h
1.1 maekawa 54:
1.4 maekawa 55: file2.a: file2.o
1.3 takayama 56:
1.4 maekawa 57: file2.o: file2.h file2.c
1.1 maekawa 58:
1.4 maekawa 59: ox.a: mytcpio.o oxmisc.o oxmisc2.o
1.6 maekawa 60: $(AR) ru $@ $?
61: $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
1.3 takayama 62:
1.4 maekawa 63: ox.h: oxx.h
64: @echo "Making ox.h"
65: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.h
66: @cat oxx.h >> ox.h
1.1 maekawa 67:
1.4 maekawa 68: ox.hh: oxx.hh
69: @echo "Making ox.hh"
70: @$(RM) -f ox.hh
71: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.hh
72: @cat oxx.hh >> ox.hh
1.1 maekawa 73:
1.3 takayama 74:
1.4 maekawa 75: ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h
76: @echo "Making ox_kan.h"
77: @$(RM) -f ox_kan.h
78: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h
79: @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \
80: oxKan0.h >> ox_kan.h
1.1 maekawa 81:
1.4 maekawa 82: mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c
83: oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c
84: oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c
85:
86: sample.a: sample.o
87:
88: sample.o: sample.h sample.hh sample.c
89:
90: sm1Socket.a: sm1Socket.o
1.1 maekawa 91:
1.4 maekawa 92: sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c
1.1 maekawa 93:
1.4 maekawa 94: sm1pvm.a: sm1pvm.o
1.3 takayama 95:
1.4 maekawa 96: sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c
97: $(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c
1.1 maekawa 98:
1.4 maekawa 99: all0: ak.a libasir.a
1.1 maekawa 100:
1.4 maekawa 101: ak.a:
102: # ln -s /fuji/taka/noro/ak.a
103: ln -s /dosc/work/noro/ak.a
1.1 maekawa 104:
1.4 maekawa 105: libasir.a:
106: # ln -s /fuji/taka/noro/libasir.a
107: ln -s /dosc/work/noro/libasir.a
1.1 maekawa 108:
1.4 maekawa 109: .c.o:
110: $(CC) $(CFLAGS) -c $<
1.2 takayama 111:
1.4 maekawa 112: .o.a:
113: $(AR) ru $@ $?
114: $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>