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