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