New function and options to check OCSP response validity.
[openssl.git] / crypto / ocsp / Makefile.ssl
1 #
2 # OpenSSL/ocsp/Makefile.ssl
3 #
4
5 DIR=    ocsp
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile README
22 TEST=
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
27         ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
28
29 LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
30         ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o
31
32 SRC= $(LIBSRC)
33
34 EXHEADER= ocsp.h
35 HEADER= $(EXHEADER)
36
37 ALL=    $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 all:    lib
43
44 lib:    $(LIBOBJ)
45         $(AR) $(LIB) $(LIBOBJ)
46         $(RANLIB) $(LIB)
47         @touch lib
48
49 files:
50         perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52 links:
53         $(TOP)/util/point.sh Makefile.ssl Makefile ;
54         $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55         $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56         $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57
58 install:
59         @for i in $(EXHEADER) ; \
60         do  \
61         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
62         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63         done;
64
65 tags:
66         ctags $(SRC)
67
68 tests:
69
70 lint:
71         lint -DLINT $(INCLUDES) $(SRC)>fluff
72
73 depend:
74         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC)
75
76 dclean:
77         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78         mv -f Makefile.new $(MAKEFILE)
79
80 clean:
81         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
82
83 # DO NOT DELETE THIS LINE -- make depend depends on it.
84
85 ocsp_asn.o: ../../e_os.h ../../include/openssl/asn1.h
86 ocsp_asn.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
87 ocsp_asn.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
88 ocsp_asn.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
89 ocsp_asn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
90 ocsp_asn.o: ../../include/openssl/des.h ../../include/openssl/dh.h
91 ocsp_asn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
92 ocsp_asn.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
93 ocsp_asn.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
94 ocsp_asn.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
95 ocsp_asn.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
96 ocsp_asn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
97 ocsp_asn.o: ../../include/openssl/opensslconf.h
98 ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
99 ocsp_asn.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
100 ocsp_asn.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
101 ocsp_asn.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
102 ocsp_asn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
103 ocsp_asn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
104 ocsp_asn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
105 ocsp_asn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
106 ocsp_asn.o: ocsp_asn.c
107 ocsp_cl.o: ../../e_os.h ../../include/openssl/asn1.h
108 ocsp_cl.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
109 ocsp_cl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
110 ocsp_cl.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
111 ocsp_cl.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
112 ocsp_cl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
113 ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
114 ocsp_cl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
115 ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
116 ocsp_cl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
117 ocsp_cl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
118 ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
119 ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
120 ocsp_cl.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
121 ocsp_cl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
122 ocsp_cl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
123 ocsp_cl.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
124 ocsp_cl.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
125 ocsp_cl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
126 ocsp_cl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
127 ocsp_cl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
128 ocsp_cl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
129 ocsp_cl.o: ../cryptlib.h ocsp_cl.c
130 ocsp_err.o: ../../e_os.h ../../include/openssl/asn1.h
131 ocsp_err.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
132 ocsp_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
133 ocsp_err.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
134 ocsp_err.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
135 ocsp_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
136 ocsp_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
137 ocsp_err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
138 ocsp_err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
139 ocsp_err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
140 ocsp_err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
141 ocsp_err.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
142 ocsp_err.o: ../../include/openssl/opensslconf.h
143 ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
144 ocsp_err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
145 ocsp_err.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
146 ocsp_err.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
147 ocsp_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
148 ocsp_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
149 ocsp_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
150 ocsp_err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
151 ocsp_err.o: ocsp_err.c
152 ocsp_ext.o: ../../e_os.h ../../include/openssl/asn1.h
153 ocsp_ext.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
154 ocsp_ext.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
155 ocsp_ext.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
156 ocsp_ext.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
157 ocsp_ext.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
158 ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
159 ocsp_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
160 ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
161 ocsp_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
162 ocsp_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
163 ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
164 ocsp_ext.o: ../../include/openssl/opensslconf.h
165 ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
166 ocsp_ext.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
167 ocsp_ext.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
168 ocsp_ext.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
169 ocsp_ext.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
170 ocsp_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
171 ocsp_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
172 ocsp_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
173 ocsp_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_ext.c
174 ocsp_ht.o: ../../e_os.h ../../include/openssl/asn1.h
175 ocsp_ht.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
176 ocsp_ht.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
177 ocsp_ht.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
178 ocsp_ht.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
179 ocsp_ht.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
180 ocsp_ht.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
181 ocsp_ht.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
182 ocsp_ht.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
183 ocsp_ht.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
184 ocsp_ht.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
185 ocsp_ht.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
186 ocsp_ht.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
187 ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
188 ocsp_ht.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
189 ocsp_ht.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
190 ocsp_ht.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
191 ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
192 ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
193 ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
194 ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c
195 ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
196 ocsp_lib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
197 ocsp_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
198 ocsp_lib.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
199 ocsp_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
200 ocsp_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
201 ocsp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
202 ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
203 ocsp_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
204 ocsp_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
205 ocsp_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
206 ocsp_lib.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
207 ocsp_lib.o: ../../include/openssl/opensslconf.h
208 ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
209 ocsp_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
210 ocsp_lib.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
211 ocsp_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
212 ocsp_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
213 ocsp_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
214 ocsp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
215 ocsp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
216 ocsp_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
217 ocsp_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_lib.c
218 ocsp_prn.o: ../../e_os.h ../../include/openssl/asn1.h
219 ocsp_prn.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
220 ocsp_prn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
221 ocsp_prn.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
222 ocsp_prn.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
223 ocsp_prn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
224 ocsp_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
225 ocsp_prn.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
226 ocsp_prn.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
227 ocsp_prn.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
228 ocsp_prn.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
229 ocsp_prn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
230 ocsp_prn.o: ../../include/openssl/opensslconf.h
231 ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
232 ocsp_prn.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
233 ocsp_prn.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
234 ocsp_prn.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
235 ocsp_prn.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
236 ocsp_prn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
237 ocsp_prn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
238 ocsp_prn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
239 ocsp_prn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
240 ocsp_prn.o: ocsp_prn.c
241 ocsp_srv.o: ../../e_os.h ../../include/openssl/asn1.h
242 ocsp_srv.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
243 ocsp_srv.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
244 ocsp_srv.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
245 ocsp_srv.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
246 ocsp_srv.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
247 ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
248 ocsp_srv.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
249 ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
250 ocsp_srv.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
251 ocsp_srv.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
252 ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
253 ocsp_srv.o: ../../include/openssl/opensslconf.h
254 ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
255 ocsp_srv.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
256 ocsp_srv.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
257 ocsp_srv.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
258 ocsp_srv.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
259 ocsp_srv.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
260 ocsp_srv.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
261 ocsp_srv.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
262 ocsp_srv.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
263 ocsp_srv.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_srv.c
264 ocsp_vfy.o: ../../e_os.h ../../include/openssl/asn1.h
265 ocsp_vfy.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
266 ocsp_vfy.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
267 ocsp_vfy.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
268 ocsp_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
269 ocsp_vfy.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
270 ocsp_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
271 ocsp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
272 ocsp_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
273 ocsp_vfy.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
274 ocsp_vfy.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
275 ocsp_vfy.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
276 ocsp_vfy.o: ../../include/openssl/opensslconf.h
277 ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
278 ocsp_vfy.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
279 ocsp_vfy.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
280 ocsp_vfy.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
281 ocsp_vfy.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
282 ocsp_vfy.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
283 ocsp_vfy.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
284 ocsp_vfy.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
285 ocsp_vfy.o: ocsp_vfy.c