Generate errors when public/private key check is done.
[openssl.git] / crypto / x509v3 / Makefile.ssl
1 #
2 # SSLeay/crypto/x509v3/Makefile
3 #
4
5 DIR=    x509v3
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I../../include
9 CFLAG=-g
10 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14 AR=             ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 ERR=x509v3
19 ERRC=v3err
20 GENERAL=Makefile README
21 TEST=
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= v3_bcons.c v3_bitst.c v3_conf.c v3_extku.c v3_ia5.c \
26 v3_lib.c v3_prn.c v3_utl.c v3err.c v3_genn.c v3_alt.c v3_skey.c v3_akey.c \
27 v3_pku.c v3_int.c v3_enum.c
28 LIBOBJ= v3_bcons.o v3_bitst.o v3_conf.o v3_extku.o v3_ia5.o v3_lib.o \
29 v3_prn.o v3_utl.o v3err.o v3_genn.o v3_alt.o v3_skey.o v3_akey.o v3_pku.o \
30 v3_int.o v3_enum.o
31
32 SRC= $(LIBSRC)
33
34 EXHEADER= x509v3.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         sh $(TOP)/util/ranlib.sh $(LIB)
47         @touch lib
48
49 files:
50         perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52 links:
53         /bin/rm -f Makefile
54         $(TOP)/util/point.sh Makefile.ssl Makefile ;
55         $(TOP)/util/mklink.sh ../../include $(EXHEADER)
56         $(TOP)/util/mklink.sh ../../test $(TEST)
57         $(TOP)/util/mklink.sh ../../apps $(APPS)
58
59 install:
60         @for i in $(EXHEADER) ; \
61         do  \
62         (cp $$i $(INSTALLTOP)/include/$$i; \
63         chmod 644 $(INSTALLTOP)/include/$$i ); \
64         done;
65
66 tags:
67         ctags $(SRC)
68
69 tests:
70
71 lint:
72         lint -DLINT $(INCLUDES) $(SRC)>fluff
73
74 depend:
75         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
76
77 dclean:
78         perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
79         mv -f Makefile.new $(MAKEFILE)
80
81 clean:
82         /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
83
84 errors: $(ERRC).c
85
86 $(ERRC).c: $(ERR).err
87         perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
88         perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
89
90 # DO NOT DELETE THIS LINE -- make depend depends on it.
91
92 v3_akey.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
93 v3_akey.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
94 v3_akey.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
95 v3_akey.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
96 v3_akey.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
97 v3_akey.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
98 v3_akey.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
99 v3_akey.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
100 v3_akey.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
101 v3_akey.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
102 v3_akey.o: ../../include/x509_vfy.h x509v3.h
103 v3_alt.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
104 v3_alt.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
105 v3_alt.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
106 v3_alt.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
107 v3_alt.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
108 v3_alt.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
109 v3_alt.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
110 v3_alt.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
111 v3_alt.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
112 v3_alt.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
113 v3_alt.o: ../../include/x509_vfy.h x509v3.h
114 v3_bcons.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
115 v3_bcons.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
116 v3_bcons.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
117 v3_bcons.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
118 v3_bcons.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
119 v3_bcons.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
120 v3_bcons.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
121 v3_bcons.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
122 v3_bcons.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
123 v3_bcons.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
124 v3_bcons.o: ../../include/x509_vfy.h x509v3.h
125 v3_bitst.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
126 v3_bitst.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
127 v3_bitst.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
128 v3_bitst.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
129 v3_bitst.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
130 v3_bitst.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
131 v3_bitst.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
132 v3_bitst.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
133 v3_bitst.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
134 v3_bitst.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
135 v3_bitst.o: ../../include/x509_vfy.h x509v3.h
136 v3_conf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
137 v3_conf.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
138 v3_conf.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
139 v3_conf.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
140 v3_conf.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
141 v3_conf.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
142 v3_conf.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
143 v3_conf.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
144 v3_conf.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
145 v3_conf.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
146 v3_conf.o: x509v3.h
147 v3_extku.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
148 v3_extku.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
149 v3_extku.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
150 v3_extku.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
151 v3_extku.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
152 v3_extku.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
153 v3_extku.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
154 v3_extku.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
155 v3_extku.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
156 v3_extku.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
157 v3_extku.o: ../../include/x509_vfy.h x509v3.h
158 v3_genn.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
159 v3_genn.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
160 v3_genn.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
161 v3_genn.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
162 v3_genn.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
163 v3_genn.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
164 v3_genn.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
165 v3_genn.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
166 v3_genn.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
167 v3_genn.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
168 v3_genn.o: ../../include/x509_vfy.h x509v3.h
169 v3_ia5.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
170 v3_ia5.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
171 v3_ia5.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
172 v3_ia5.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
173 v3_ia5.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
174 v3_ia5.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
175 v3_ia5.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
176 v3_ia5.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
177 v3_ia5.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
178 v3_ia5.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
179 v3_ia5.o: ../../include/x509_vfy.h x509v3.h
180 v3_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
181 v3_lib.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
182 v3_lib.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
183 v3_lib.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
184 v3_lib.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
185 v3_lib.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
186 v3_lib.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
187 v3_lib.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
188 v3_lib.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
189 v3_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
190 v3_lib.o: x509v3.h
191 v3_prn.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
192 v3_prn.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
193 v3_prn.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
194 v3_prn.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
195 v3_prn.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
196 v3_prn.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
197 v3_prn.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
198 v3_prn.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
199 v3_prn.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
200 v3_prn.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
201 v3_prn.o: x509v3.h
202 v3_skey.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
203 v3_skey.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
204 v3_skey.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
205 v3_skey.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
206 v3_skey.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
207 v3_skey.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
208 v3_skey.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
209 v3_skey.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
210 v3_skey.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
211 v3_skey.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
212 v3_skey.o: ../../include/x509_vfy.h x509v3.h
213 v3_utl.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
214 v3_utl.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
215 v3_utl.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
216 v3_utl.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
217 v3_utl.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
218 v3_utl.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
219 v3_utl.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
220 v3_utl.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
221 v3_utl.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
222 v3_utl.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
223 v3_utl.o: x509v3.h
224 v3err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
225 v3err.o: ../../include/bn.h ../../include/cast.h ../../include/crypto.h
226 v3err.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
227 v3err.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
228 v3err.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
229 v3err.o: ../../include/objects.h ../../include/pkcs7.h ../../include/rc2.h
230 v3err.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
231 v3err.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
232 v3err.o: ../../include/x509.h ../../include/x509_vfy.h x509v3.h