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