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