Annotation of OpenXM/src/kan96xx/plugin/Makefile, Revision 1.5
1.5 ! maekawa 1: ## $OpenXM: OpenXM/src/kan96xx/plugin/Makefile,v 1.4 2000/01/10 14:31:38 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.3 takayama 58:
1.4 maekawa 59: ox.h: oxx.h
60: @echo "Making ox.h"
61: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.h
62: @cat oxx.h >> ox.h
1.1 maekawa 63:
1.4 maekawa 64: ox.hh: oxx.hh
65: @echo "Making ox.hh"
66: @$(RM) -f ox.hh
67: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.hh
68: @cat oxx.hh >> ox.hh
1.1 maekawa 69:
1.3 takayama 70:
1.4 maekawa 71: ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h
72: @echo "Making ox_kan.h"
73: @$(RM) -f ox_kan.h
74: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h
75: @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \
76: oxKan0.h >> ox_kan.h
1.1 maekawa 77:
1.4 maekawa 78: mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c
79: oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c
80: oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c
81:
82: sample.a: sample.o
83:
84: sample.o: sample.h sample.hh sample.c
85:
86: sm1Socket.a: sm1Socket.o
1.1 maekawa 87:
1.4 maekawa 88: sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c
1.1 maekawa 89:
1.4 maekawa 90: sm1pvm.a: sm1pvm.o
1.3 takayama 91:
1.4 maekawa 92: sm1pvm.o: sm1pvm.h sm1pvm.hh sm1pvm.c
93: $(CC) $(CFLAGS) -I $(PVM_ROOT)/include -c sm1pvm.c
1.1 maekawa 94:
1.4 maekawa 95: all0: ak.a libasir.a
1.1 maekawa 96:
1.4 maekawa 97: ak.a:
98: # ln -s /fuji/taka/noro/ak.a
99: ln -s /dosc/work/noro/ak.a
1.1 maekawa 100:
1.4 maekawa 101: libasir.a:
102: # ln -s /fuji/taka/noro/libasir.a
103: ln -s /dosc/work/noro/libasir.a
1.1 maekawa 104:
1.4 maekawa 105: .c.o:
106: $(CC) $(CFLAGS) -c $<
1.2 takayama 107:
1.4 maekawa 108: .o.a:
109: $(AR) ru $@ $?
110: $(GC)/if_not_there $(GC)/on_sparc_sunos5 ranlib $@
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>