ab87fb705617daa88bd2d45ec580497538a6b5f8
[openssl.git] / crypto / pkcs7 / Makefile.ssl
1 #
2 # SSLeay/crypto/pkcs7/Makefile
3 #
4
5 DIR=    pkcs7
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -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 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
15 MAKEFILE=       Makefile.ssl
16 AR=             ar r
17
18 PEX_LIBS=
19 EX_LIBS=
20  
21 CFLAGS= $(INCLUDES) $(CFLAG)
22
23 GENERAL=Makefile README
24 TEST=
25 APPS=
26
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC= pk7_asn1.c pk7_lib.c pkcs7err.c pk7_doit.c pk7_smime.c pk7_attr.c \
29         pk7_mime.c
30 LIBOBJ= pk7_asn1.o pk7_lib.o pkcs7err.o pk7_doit.o pk7_smime.o pk7_attr.o \
31         pk7_mime.o
32
33 SRC= $(LIBSRC)
34
35 EXHEADER=  pkcs7.h
36 HEADER= $(EXHEADER)
37
38 ALL=    $(GENERAL) $(SRC) $(HEADER)
39
40 top:
41         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
42
43 test:
44
45 all:    lib
46
47 testapps: enc dec sign verify
48
49 enc: enc.o lib
50         $(CC) $(CFLAGS) -o enc enc.o $(PEX_LIBS) $(LIB) $(EX_LIBS)
51
52 dec: dec.o lib
53         $(CC) $(CFLAGS) -o dec dec.o $(PEX_LIBS) $(LIB) $(EX_LIBS)
54
55 sign: sign.o lib
56         $(CC) $(CFLAGS) -o sign sign.o $(PEX_LIBS) $(LIB) $(EX_LIBS)
57
58 verify: verify.o example.o lib
59         $(CC) $(CFLAGS) -o verify verify.o $(PEX_LIBS) example.o $(LIB) $(EX_LIBS)
60
61 lib:    $(LIBOBJ)
62         $(AR) $(LIB) $(LIBOBJ)
63         @echo You may get an error following this line.  Please ignore.
64         - $(RANLIB) $(LIB)
65         @touch lib
66
67 files:
68         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
69
70 links:
71         @$(TOP)/util/point.sh Makefile.ssl Makefile
72         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
73         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
74         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
75
76 install:
77         @for i in $(EXHEADER) ; \
78         do  \
79         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
80         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
81         done;
82
83 tags:
84         ctags $(SRC)
85
86 tests:
87
88 lint:
89         lint -DLINT $(INCLUDES) $(SRC)>fluff
90
91 depend:
92         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
93
94 dclean:
95         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
96         mv -f Makefile.new $(MAKEFILE)
97
98 clean:
99         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify
100
101 # DO NOT DELETE THIS LINE -- make depend depends on it.
102
103 pk7_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
104 pk7_asn1.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
105 pk7_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
106 pk7_asn1.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
107 pk7_asn1.o: ../../include/openssl/des.h ../../include/openssl/dh.h
108 pk7_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
109 pk7_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
110 pk7_asn1.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
111 pk7_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
112 pk7_asn1.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
113 pk7_asn1.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
114 pk7_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
115 pk7_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
116 pk7_asn1.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
117 pk7_asn1.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
118 pk7_asn1.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
119 pk7_asn1.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
120 pk7_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
121 pk7_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
122 pk7_asn1.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
123 pk7_attr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
124 pk7_attr.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
125 pk7_attr.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
126 pk7_attr.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
127 pk7_attr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
128 pk7_attr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
129 pk7_attr.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
130 pk7_attr.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
131 pk7_attr.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
132 pk7_attr.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
133 pk7_attr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
134 pk7_attr.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
135 pk7_attr.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
136 pk7_attr.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
137 pk7_attr.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
138 pk7_attr.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
139 pk7_attr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
140 pk7_attr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
141 pk7_attr.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
142 pk7_attr.o: ../../include/openssl/x509_vfy.h
143 pk7_doit.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
144 pk7_doit.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
145 pk7_doit.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
146 pk7_doit.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
147 pk7_doit.o: ../../include/openssl/des.h ../../include/openssl/dh.h
148 pk7_doit.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
149 pk7_doit.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
150 pk7_doit.o: ../../include/openssl/err.h ../../include/openssl/evp.h
151 pk7_doit.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
152 pk7_doit.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
153 pk7_doit.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
154 pk7_doit.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
155 pk7_doit.o: ../../include/openssl/opensslconf.h
156 pk7_doit.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
157 pk7_doit.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
158 pk7_doit.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
159 pk7_doit.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
160 pk7_doit.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
161 pk7_doit.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
162 pk7_doit.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
163 pk7_doit.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
164 pk7_doit.o: ../../include/openssl/x509v3.h ../cryptlib.h
165 pk7_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
166 pk7_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
167 pk7_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
168 pk7_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
169 pk7_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
170 pk7_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
171 pk7_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
172 pk7_lib.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
173 pk7_lib.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
174 pk7_lib.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
175 pk7_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
176 pk7_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
177 pk7_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
178 pk7_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
179 pk7_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
180 pk7_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
181 pk7_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
182 pk7_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
183 pk7_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
184 pk7_lib.o: ../cryptlib.h
185 pk7_mime.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
186 pk7_mime.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
187 pk7_mime.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
188 pk7_mime.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
189 pk7_mime.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
190 pk7_mime.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
191 pk7_mime.o: ../../include/openssl/err.h ../../include/openssl/evp.h
192 pk7_mime.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
193 pk7_mime.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
194 pk7_mime.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
195 pk7_mime.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
196 pk7_mime.o: ../../include/openssl/opensslconf.h
197 pk7_mime.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
198 pk7_mime.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
199 pk7_mime.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
200 pk7_mime.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
201 pk7_mime.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
202 pk7_mime.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
203 pk7_mime.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
204 pk7_mime.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
205 pk7_mime.o: ../cryptlib.h
206 pk7_smime.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
207 pk7_smime.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
208 pk7_smime.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
209 pk7_smime.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
210 pk7_smime.o: ../../include/openssl/des.h ../../include/openssl/dh.h
211 pk7_smime.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
212 pk7_smime.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
213 pk7_smime.o: ../../include/openssl/err.h ../../include/openssl/evp.h
214 pk7_smime.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
215 pk7_smime.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
216 pk7_smime.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
217 pk7_smime.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
218 pk7_smime.o: ../../include/openssl/opensslconf.h
219 pk7_smime.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
220 pk7_smime.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
221 pk7_smime.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
222 pk7_smime.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
223 pk7_smime.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
224 pk7_smime.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
225 pk7_smime.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
226 pk7_smime.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
227 pk7_smime.o: ../cryptlib.h
228 pkcs7err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
229 pkcs7err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
230 pkcs7err.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
231 pkcs7err.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
232 pkcs7err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
233 pkcs7err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
234 pkcs7err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
235 pkcs7err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
236 pkcs7err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
237 pkcs7err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
238 pkcs7err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
239 pkcs7err.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
240 pkcs7err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
241 pkcs7err.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
242 pkcs7err.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
243 pkcs7err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
244 pkcs7err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
245 pkcs7err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
246 pkcs7err.o: ../../include/openssl/x509_vfy.h