Annotation of OpenXM/src/kan96xx/plugin/Makefile.in, Revision 1.13
1.13 ! takayama 1: #$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.12 2021/03/24 04:58:32 takayama Exp $
1.1 takayama 2: #
3: # depends on install-gmp
4: # The source directory of gmp must exist.
5: #
1.3 takayama 6: OpenXM_HOME=@prefix@
1.1 takayama 7: OpenXM_include=${OpenXM_HOME}/include
1.3 takayama 8: #
9: OpenXM_HOME_debug=../../..
10: OpenXM_contrib=${OpenXM_HOME_debug}/../OpenXM_contrib
1.1 takayama 11: Kan96xx=..
12: Gmp_sourcedir=${OpenXM_contrib}/gmp
13:
14: #AR=/usr/bin/ar
15: AR=ar
16: RM=rm
17: CC=@CC@
18: RANLIB=@RANLIB@
19: #CFLAGS+=-g -I${OpenXM_include} -I${Kan96xx}/Kan -D_BSD_SOURCE
1.12 takayama 20: CFLAGS=@CFLAGS@ -g -I${OpenXM_include} -I${Kan96xx}/Kan -D_DEFAULT_SOURCE -D_BSD_SOURCE -fcommon
1.1 takayama 21:
1.5 takayama 22: all: configure cmo.a file2.a ox.a sample.a sm1Socket.a oxxml.a oxcgi.a
1.1 takayama 23: configure: Makefile
24:
25: Makefile: Makefile.in
26: ./configure
27:
28: cmo.a: cmo.o cmo-gmp.o
29: $(AR) ru $@ $?
30: ${RANLIB} $@
31:
32: cmo.o: cmo.c cmo.h cmo-gmp.c file2.h mathcap.h cmotag.htmp \
33: oxMessageTag.h oxFunctionId.h
34:
35: cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmotag.htmp \
36: oxMessageTag.h oxFunctionId.h
37: ${CC} ${CFLAGS} -I${Gmp_sourcedir} -c cmo-gmp.c
38:
1.13 ! takayama 39: gen-cmotag.htmp: cmotagToName
1.1 takayama 40: $(RM) -f cmotag.htmp
41: ./cmotagToName > cmotag.htmp
42:
43: cmotagToName: cmotag.h cmotagToName.c
44: ${CC} -o cmotagToName cmotagToName.c
45:
46: cmo.h: cmo0.h cmotag.h
47: @echo "Making cmo.h"
48: @${RM} -f cmo.h
49: @echo "/********* DO NOT EDIT THIS FILE *************/" > cmo.h
50: @cat cmotag.h cmo0.h >> cmo.h
51:
52: file2.a: file2.o
53: ${AR} ru $@ $?
54: ${RANLIB} $@
55:
56: file2.o: file2.h file2.c
1.10 takayama 57: ${CC} ${CFLAGS} -I${OpenXM_include} -c file2.c
1.1 takayama 58:
1.10 takayama 59:
60: ox.a: mytcpio.o oxmisc.o oxmisc2.o ${OpenXM_HOME}/lib/mysig.o
1.1 takayama 61: ${AR} ru $@ $?
62: ${RANLIB} $@
63:
64: ox.h: oxx.h
65: @echo "Making ox.h"
66: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.h
67: @cat oxx.h >> ox.h
68:
69: ox.hh: oxx.hh
70: @echo "Making ox.hh"
71: @$(RM) -f ox.hh
72: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox.hh
73: @cat oxx.hh >> ox.hh
74:
75:
1.10 takayama 76: ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h ${OpenXM_HOME}/include/mysig.h
1.1 takayama 77: @echo "Making ox_kan.h"
78: @$(RM) -f ox_kan.h
79: @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h
80: @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \
1.10 takayama 81: oxKan0.h ${OpenXM_HOME}/include/mysig.h >> ox_kan.h
1.1 takayama 82:
83: mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c
84: oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c
1.10 takayama 85: ${CC} ${CFLAGS} -I${OpenXM_include} -c oxmisc.c
1.1 takayama 86: oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c
87:
88: sample.a: sample.o
89: ${AR} ru $@ $?
90: ${RANLIB} $@
91:
92: sample.o: sample.h sample.hh sample.c
93:
94: sm1Socket.a: sm1Socket.o
95: ${AR} ru sm1Socket.a sm1Socket.o
96: ${RANLIB} sm1Socket.a
97:
98: sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c
1.4 takayama 99:
100: oxxml.a: oxxml.o
101: ${AR} ru oxxml.a oxxml.o
102: ${RANLIB} oxxml.a
103:
104: oxxml.o: oxxml.h oxxml.hh oxxml.c
105:
106: oxcgi.a: oxcgi.o
107: ${AR} ru oxcgi.a oxcgi.o
108: ${RANLIB} oxcgi.a
109:
110: oxcgi.o: oxcgi.h oxcgi.hh oxcgi.c
1.1 takayama 111:
112:
113: clean:
1.13 ! takayama 114: ${RM} -f *.a *.o a.out cmo.h cmotag.hh cmotagToName \
1.1 takayama 115: ox.h ox.hh ox_kan.h
1.2 takayama 116: distclean: clean
117: ${RM} -f Makefile
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>