Annotation of OpenXM/src/kan96xx/plugin/Makefile, Revision 1.2
1.2 ! takayama 1: ## $OpenXM$
1.1 maekawa 2: CC = gcc
3: INCLUDE = -I ../gmp -I ../Kan
4: FLAG = -g
5: all : sample.a sm1Socket.a asirconv.a cmo.a file2.a ox.a
6: all0 : ak.a libasir.a
7:
8: sample.a : sample.h sample.c sample.hh
9: $(CC) $(FLAG) $(INCLUDE) -c sample.c
10: ar ru sample.a sample.o
11: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib sample.a
12:
13: sm1Socket.a : sm1Socket.h sm1Socket.c sm1Socket.hh
14: $(CC) $(FLAG) $(INCLUDE) -c sm1Socket.c
15: ar ru sm1Socket.a sm1Socket.o
16: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib sm1Socket.a
17:
18: sm1pvm.a : sm1pvm.h sm1pvm.c sm1pvm.hh
19: $(CC) $(FLAG) $(INCLUDE) -I $(PVM_ROOT)/include -c sm1pvm.c
20: ar ru sm1pvm.a sm1pvm.o
21: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib sm1pvm.a
22:
23: asirconv.a : asir.h asirconv.c asir.hh
24: $(CC) $(FLAG) $(INCLUDE) -c asirconv.c
25: ar ru asirconv.a asirconv.o
26: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib asirconv.a
27:
28: ak.a :
29: # ln -s /fuji/taka/noro/ak.a
30: ln -s /dosc/work/noro/ak.a
31:
32: libasir.a :
33: # ln -s /fuji/taka/noro/libasir.a
34: ln -s /dosc/work/noro/libasir.a
35:
36: cmo.a : cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp oxMessageTag.h oxFunctionId.h
37: $(CC) $(FLAG) $(INCLUDE) -c cmo.c
38: $(CC) $(FLAG) $(INCLUDE) -I ../gmp/mpn -c cmo-gmp.c
39: ar ru cmo.a cmo.o cmo-gmp.o
40: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib cmo.a
41:
42: cmotag.htmp : cmotagToName
43: touch cmotag.htmp
44: /bin/rm -rf cmotag.htmp
45: ./cmotagToName >cmotag.htmp
46:
47: cmotagToName : cmotagToName.c cmotag.h
48: $(CC) -o cmotagToName cmotagToName.c
49:
50: cmo.h : cmo0.h cmotag.h
51: /bin/rm -f cmo.h
52: echo "/*cmo.h : Dont edit this file. */" >cmo.h
53: cat cmotag.h >>cmo.h
54: echo "/*cmo.h : Dont edit this file. */" >>cmo.h
55: cat cmo0.h >>cmo.h
56:
57: file2.a : file2.h file2.c
58: $(CC) $(FLAG) $(INCLUDE) -c file2.c
59: ar ru file2.a file2.o
60: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib file2.a
61:
62: ox.h : ox.a
63: ox.hh : ox.a
64:
65: .c.o :
66: $(CC) $(FLAG) $(INCLUDE) -c $<
67: mytcpio.o : mytcpio.c ox_kan.h
68: oxmisc.o : oxmisc.c ox_kan.h
69: oxmisc2.o : oxmisc2.c ox_kan.h mathcap.h cmo.h
70: $(CC) $(FLAG) $(INCLUDE) -c oxmisc2.c
71:
72: ox.a : mytcpio.o oxmisc.o oxmisc2.o ox_kan.h oxx.h oxx.hh
73: ar ru ox.a mytcpio.o oxmisc.o oxmisc2.o
74: ../gc/if_not_there ../gc/on_sparc_sunos5 ranlib ox.a
75: /bin/rm -f tmp.h
76: echo "/********* DO NOT EDIT THIS FILE *************/" >tmp.h
77: cat oxx.h >>tmp.h
78: cp tmp.h ox.h
79: /bin/rm -f tmp.h
80: echo "/********* DO NOT EDIT THIS FILE *************/" >tmp.h
81: cat oxx.hh >>tmp.h
82: cp tmp.h ox.hh
83: /bin/rm -f tmp.h
84:
85:
86: ox_kan.h : oxMessageTag.h oxFunctionId.h file2.h cmotag.h oxKan0.h mathcap.h
87: /bin/rm -f ox_kan.h
88: echo "/* Do not edit this file. */" >ox_kan.h
89: cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h oxKan0.h >>ox_kan.h
90:
91:
92: clean :
1.2 ! takayama 93: /bin/rm -f *.a *.o *~ a.out cmotagToName cmo.h cmotag.hh ox.h ox.hh ox_kan.h cmptag.htmp
! 94:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>