abd931a0c41529bbfa6c2416c534d5d874c40aa8
[openssl.git] / engines / ccgost / Makefile
1 DIR=ccgost
2 TOP=../..
3 CC=cc
4 INCLUDES= -I../../include
5 CFLAG=-g
6 MAKEFILE= Makefile
7 AR= ar r
8 CFLAGS= $(INCLUDES) $(CFLAG)
9 LIB=$(TOP)/libcrypto.a
10
11 LIBSRC= gost2001.c gost2001_keyx.c gost89.c gost94_keyx.c gost_ameth.c gost_asn1.c gost_crypt.c gost_ctl.c gost_eng.c gosthash.c gost_keywrap.c gost_md.c gost_params.c gost_pmeth.c gost_sign.c
12
13 LIBOBJ= e_gost_err.o gost2001_keyx.o gost2001.o gost89.o gost94_keyx.o gost_ameth.o gost_asn1.o gost_crypt.o gost_ctl.o gost_eng.o gosthash.o gost_keywrap.o gost_md.o gost_params.o gost_pmeth.o gost_sign.o
14
15 SRC=$(LIBSRC)
16
17 LIBNAME=gost
18
19 top: 
20         (cd $(TOP); $(MAKE) DIRS=engines EDIRS=$(DIR) sub_all)
21
22 all: lib
23
24 tags:
25         ctags $(SRC)
26
27 errors:
28         $(PERL) ../../util/mkerr.pl -conf gost.ec -nostatic -debug -write $(SRC)
29
30 lib: $(LIBOBJ)
31         if [ -n "$(SHARED_LIBS)" ]; then \
32                 $(MAKE) -f $(TOP)/Makefile.shared -e \
33                         LIBNAME=$(LIBNAME) \
34                         LIBEXTRAS='$(LIBOBJ)' \
35                         LIBDEPS='-L$(TOP) -lcrypto' \
36                         link_o.$(SHLIB_TARGET); \
37         else \
38                 $(AR) $(LIB) $(LIBOBJ); \
39         fi
40         @touch lib
41
42 install:        
43         [ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
44         if [ -n "$(SHARED_LIBS)" ]; then \
45                 set -e; \
46                 echo installing $(LIBNAME); \
47                 if [ "$(PLATFORM)" != "Cygwin" ]; then \
48                         case "$(CFLAGS)" in \
49                         *DSO_BEOS*) sfx="so";; \
50                         *DSO_DLFCN*) sfx="so";; \
51                         *DSO_DL*) sfx="sl";; \
52                         *) sfx="bad";; \
53                         esac; \
54                         cp lib$(LIBNAME).$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$(LIBNAME).$$sfx.new; \
55                 else \
56                         sfx="so"; \
57                         cp cyg$(LIBNAME).dll $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$(LIBNAME).$$sfx.new; \
58                 fi; \
59                 chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$(LIBNAME).$$sfx.new; \
60                 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$(LIBNAME).$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$(LIBNAME).$$sfx; \
61         fi
62
63 links:
64
65 tests:
66
67 depend:
68         @if [ -z "$(THIS)" ]; then \
69             $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \
70         else \
71             $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC); \
72         fi
73
74 files:
75
76
77
78 lint:
79         lint -DLINT $(INCLUDES) $(SRC)>fluff
80
81 dclean:
82         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
83         mv -f Makefile.new $(MAKEFILE)
84
85 clean:
86         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll
87
88 # DO NOT DELETE THIS LINE -- make depend depends on it.
89
90 gost2001.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
91 gost2001.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
92 gost2001.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
93 gost2001.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
94 gost2001.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
95 gost2001.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
96 gost2001.o: ../../include/openssl/err.h ../../include/openssl/evp.h
97 gost2001.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
98 gost2001.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
99 gost2001.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
100 gost2001.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
101 gost2001.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
102 gost2001.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
103 gost2001.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
104 gost2001.o: e_gost_err.h gost2001.c gost89.h gost_lcl.h gost_params.h
105 gost2001.o: gosthash.h
106 gost2001_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
107 gost2001_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
108 gost2001_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
109 gost2001_keyx.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
110 gost2001_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
111 gost2001_keyx.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
112 gost2001_keyx.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
113 gost2001_keyx.o: ../../include/openssl/obj_mac.h
114 gost2001_keyx.o: ../../include/openssl/objects.h
115 gost2001_keyx.o: ../../include/openssl/opensslconf.h
116 gost2001_keyx.o: ../../include/openssl/opensslv.h
117 gost2001_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
118 gost2001_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
119 gost2001_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
120 gost2001_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
121 gost2001_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost2001_keyx.c
122 gost2001_keyx.o: gost89.h gost_keywrap.h gost_lcl.h gosthash.h
123 gost89.o: gost89.c gost89.h
124 gost94_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
125 gost94_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
126 gost94_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
127 gost94_keyx.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
128 gost94_keyx.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
129 gost94_keyx.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
130 gost94_keyx.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
131 gost94_keyx.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
132 gost94_keyx.o: ../../include/openssl/objects.h
133 gost94_keyx.o: ../../include/openssl/opensslconf.h
134 gost94_keyx.o: ../../include/openssl/opensslv.h
135 gost94_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
136 gost94_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
137 gost94_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
138 gost94_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
139 gost94_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
140 gost94_keyx.o: gost94_keyx.c gost_keywrap.h gost_lcl.h gosthash.h
141 gost_ameth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
142 gost_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
143 gost_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
144 gost_ameth.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
145 gost_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
146 gost_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
147 gost_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
148 gost_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
149 gost_ameth.o: ../../include/openssl/opensslconf.h
150 gost_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
151 gost_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
152 gost_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
153 gost_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
154 gost_ameth.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
155 gost_ameth.o: gost_ameth.c gost_lcl.h gost_params.h gosthash.h
156 gost_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
157 gost_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
158 gost_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
159 gost_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
160 gost_asn1.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
161 gost_asn1.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
162 gost_asn1.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
163 gost_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
164 gost_asn1.o: ../../include/openssl/opensslconf.h
165 gost_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
166 gost_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
167 gost_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
168 gost_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
169 gost_asn1.o: ../../include/openssl/x509_vfy.h gost89.h gost_asn1.c gost_lcl.h
170 gost_asn1.o: gosthash.h
171 gost_crypt.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
172 gost_crypt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
173 gost_crypt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
174 gost_crypt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
175 gost_crypt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
176 gost_crypt.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
177 gost_crypt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
178 gost_crypt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
179 gost_crypt.o: ../../include/openssl/opensslconf.h
180 gost_crypt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181 gost_crypt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
182 gost_crypt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
183 gost_crypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
184 gost_crypt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
185 gost_crypt.o: e_gost_err.h gost89.h gost_crypt.c gost_lcl.h gosthash.h
186 gost_ctl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
187 gost_ctl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
188 gost_ctl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
189 gost_ctl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
190 gost_ctl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
191 gost_ctl.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
192 gost_ctl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
193 gost_ctl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
194 gost_ctl.o: ../../include/openssl/opensslconf.h
195 gost_ctl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
196 gost_ctl.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
197 gost_ctl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
198 gost_ctl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
199 gost_ctl.o: ../../include/openssl/x509_vfy.h gost89.h gost_ctl.c gost_lcl.h
200 gost_ctl.o: gosthash.h
201 gost_eng.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
202 gost_eng.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
203 gost_eng.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
204 gost_eng.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
205 gost_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
206 gost_eng.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
207 gost_eng.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
208 gost_eng.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
209 gost_eng.o: ../../include/openssl/opensslconf.h
210 gost_eng.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
211 gost_eng.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
212 gost_eng.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
213 gost_eng.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
214 gost_eng.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h gost_eng.c
215 gost_eng.o: gost_lcl.h gosthash.h
216 gost_keywrap.o: gost89.h gost_keywrap.c gost_keywrap.h
217 gost_md.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
218 gost_md.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
219 gost_md.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
220 gost_md.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
221 gost_md.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
222 gost_md.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
223 gost_md.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
224 gost_md.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
225 gost_md.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
226 gost_md.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
227 gost_md.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
228 gost_md.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
229 gost_md.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
230 gost_md.o: e_gost_err.h gost89.h gost_lcl.h gost_md.c gosthash.h
231 gost_params.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
232 gost_params.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
233 gost_params.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
234 gost_params.o: ../../include/openssl/opensslconf.h
235 gost_params.o: ../../include/openssl/opensslv.h
236 gost_params.o: ../../include/openssl/ossl_typ.h
237 gost_params.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
238 gost_params.o: ../../include/openssl/symhacks.h gost_params.c gost_params.h
239 gost_pmeth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
240 gost_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
241 gost_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
242 gost_pmeth.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
243 gost_pmeth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
244 gost_pmeth.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
245 gost_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
246 gost_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
247 gost_pmeth.o: ../../include/openssl/opensslconf.h
248 gost_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
249 gost_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
250 gost_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
251 gost_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
252 gost_pmeth.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h gost_lcl.h
253 gost_pmeth.o: gost_params.h gost_pmeth.c gosthash.h
254 gost_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
255 gost_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
256 gost_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
257 gost_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
258 gost_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
259 gost_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
260 gost_sign.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
261 gost_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
262 gost_sign.o: ../../include/openssl/opensslconf.h
263 gost_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
264 gost_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
265 gost_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
266 gost_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
267 gost_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
268 gost_sign.o: e_gost_err.h gost89.h gost_lcl.h gost_params.h gost_sign.c
269 gost_sign.o: gosthash.h
270 gosthash.o: gost89.h gosthash.c gosthash.h