Use an OCTET STRING for the encoding of an OCSP nonce value.
[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) || echo Never mind.
47         @touch lib
48
49 files:
50         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52 links:
53         @sh $(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) -- $(CFLAG) $(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: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
86 ocsp_asn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
87 ocsp_asn.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
88 ocsp_asn.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
89 ocsp_asn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
90 ocsp_asn.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
91 ocsp_asn.o: ../../include/openssl/ecdsa.h ../../include/openssl/evp.h
92 ocsp_asn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
93 ocsp_asn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
94 ocsp_asn.o: ../../include/openssl/opensslconf.h
95 ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96 ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
97 ocsp_asn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
98 ocsp_asn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
99 ocsp_asn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
100 ocsp_asn.o: ../../include/openssl/x509v3.h ocsp_asn.c
101 ocsp_cl.o: ../../e_os.h ../../include/openssl/asn1.h
102 ocsp_cl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
103 ocsp_cl.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
104 ocsp_cl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
105 ocsp_cl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
106 ocsp_cl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
107 ocsp_cl.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
108 ocsp_cl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
109 ocsp_cl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
110 ocsp_cl.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
111 ocsp_cl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
112 ocsp_cl.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
113 ocsp_cl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
114 ocsp_cl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
115 ocsp_cl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
116 ocsp_cl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
117 ocsp_cl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
118 ocsp_cl.o: ../cryptlib.h ocsp_cl.c
119 ocsp_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
120 ocsp_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
121 ocsp_err.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
122 ocsp_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
123 ocsp_err.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
124 ocsp_err.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
125 ocsp_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
126 ocsp_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
127 ocsp_err.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
128 ocsp_err.o: ../../include/openssl/opensslconf.h
129 ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
130 ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
131 ocsp_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
132 ocsp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
133 ocsp_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
134 ocsp_err.o: ../../include/openssl/x509v3.h ocsp_err.c
135 ocsp_ext.o: ../../e_os.h ../../include/openssl/asn1.h
136 ocsp_ext.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
137 ocsp_ext.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
138 ocsp_ext.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
139 ocsp_ext.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
140 ocsp_ext.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
141 ocsp_ext.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
142 ocsp_ext.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
143 ocsp_ext.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
144 ocsp_ext.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
145 ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
146 ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
147 ocsp_ext.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
148 ocsp_ext.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
149 ocsp_ext.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
150 ocsp_ext.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
151 ocsp_ext.o: ../cryptlib.h ocsp_ext.c
152 ocsp_ht.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
153 ocsp_ht.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
154 ocsp_ht.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
155 ocsp_ht.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
156 ocsp_ht.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
157 ocsp_ht.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
158 ocsp_ht.o: ../../include/openssl/err.h ../../include/openssl/evp.h
159 ocsp_ht.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
160 ocsp_ht.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
161 ocsp_ht.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
162 ocsp_ht.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
163 ocsp_ht.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
164 ocsp_ht.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
165 ocsp_ht.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
166 ocsp_ht.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
167 ocsp_ht.o: ocsp_ht.c
168 ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
169 ocsp_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
170 ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
171 ocsp_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
172 ocsp_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
173 ocsp_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
174 ocsp_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
175 ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
176 ocsp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
177 ocsp_lib.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
178 ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
179 ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
180 ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
181 ocsp_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
182 ocsp_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
183 ocsp_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
184 ocsp_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
185 ocsp_lib.o: ../cryptlib.h ocsp_lib.c
186 ocsp_prn.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
187 ocsp_prn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
188 ocsp_prn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
189 ocsp_prn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
190 ocsp_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
191 ocsp_prn.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
192 ocsp_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
193 ocsp_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
194 ocsp_prn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
195 ocsp_prn.o: ../../include/openssl/opensslconf.h
196 ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
197 ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
198 ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
199 ocsp_prn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
200 ocsp_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
201 ocsp_prn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
202 ocsp_prn.o: ../../include/openssl/x509v3.h ocsp_prn.c
203 ocsp_srv.o: ../../e_os.h ../../include/openssl/asn1.h
204 ocsp_srv.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
205 ocsp_srv.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
206 ocsp_srv.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
207 ocsp_srv.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
208 ocsp_srv.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
209 ocsp_srv.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
210 ocsp_srv.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
211 ocsp_srv.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
212 ocsp_srv.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
213 ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
214 ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
215 ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
216 ocsp_srv.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
217 ocsp_srv.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
218 ocsp_srv.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
219 ocsp_srv.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
220 ocsp_srv.o: ../cryptlib.h ocsp_srv.c
221 ocsp_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
222 ocsp_vfy.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
223 ocsp_vfy.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
224 ocsp_vfy.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
225 ocsp_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
226 ocsp_vfy.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
227 ocsp_vfy.o: ../../include/openssl/err.h ../../include/openssl/evp.h
228 ocsp_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
229 ocsp_vfy.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
230 ocsp_vfy.o: ../../include/openssl/opensslconf.h
231 ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
232 ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
233 ocsp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
234 ocsp_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
235 ocsp_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
236 ocsp_vfy.o: ../../include/openssl/x509v3.h ocsp_vfy.c