4 INCLUDES= -I../../include
8 CFLAGS= $(INCLUDES) $(CFLAG)
11 LIBSRC= gost_md2012.c gosthash2012.c gost_ec_sign.c gost_ec_keyx.c gost89.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
13 LIBOBJ= gost_md2012.o gosthash2012.o e_gost_err.o gost_ec_keyx.o gost_ec_sign.o gost89.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
20 (cd $(TOP); $(MAKE) DIRS=engines sub_all)
28 $(PERL) ../../util/mkerr.pl -conf gost.ec -nostatic -write $(SRC)
31 if [ -n "$(SHARED_LIBS)" ]; then \
32 $(MAKE) -f $(TOP)/Makefile.shared -e \
34 LIBEXTRAS='$(LIBOBJ)' \
35 LIBDEPS='-L$(TOP) -lcrypto' \
36 link_o.$(SHLIB_TARGET); \
38 $(AR) $(LIB) $(LIBOBJ); \
43 [ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
44 if [ -n "$(SHARED_LIBS)" ]; then \
46 echo installing $(LIBNAME); \
48 if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
50 cp cyg$(LIBNAME).dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
53 *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
54 *DSO_DL*) sfx=".sl";; \
55 *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
58 cp $${pfx}$(LIBNAME)$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
60 chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
61 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx; \
69 @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
72 @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
74 @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
77 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
80 lint -DLINT $(INCLUDES) $(SRC)>fluff
83 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
84 mv -f Makefile.new $(MAKEFILE)
87 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll *.dylib
89 gostsum$(EXE_EXT): gostsum.o gosthash.o gost89.o
91 gost12sum$(EXE_EXT): gost12sum.o gosthash2012.o
93 # DO NOT DELETE THIS LINE -- make depend depends on it.
95 gost89.o: gost89.c gost89.h
96 gost_ameth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
97 gost_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
98 gost_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
99 gost_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
100 gost_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
101 gost_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
102 gost_ameth.o: ../../include/openssl/engine.h ../../include/openssl/err.h
103 gost_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
104 gost_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
105 gost_ameth.o: ../../include/openssl/opensslconf.h
106 gost_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
107 gost_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
108 gost_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
109 gost_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
110 gost_ameth.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
111 gost_ameth.o: gost_ameth.c gost_lcl.h gosthash.h
112 gost_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
113 gost_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
114 gost_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
115 gost_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
116 gost_asn1.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
117 gost_asn1.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
118 gost_asn1.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
119 gost_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
120 gost_asn1.o: ../../include/openssl/opensslconf.h
121 gost_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
122 gost_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
123 gost_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
124 gost_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
125 gost_asn1.o: ../../include/openssl/x509_vfy.h gost89.h gost_asn1.c gost_lcl.h
126 gost_asn1.o: gosthash.h
127 gost_crypt.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
128 gost_crypt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
129 gost_crypt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
130 gost_crypt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
131 gost_crypt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
132 gost_crypt.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
133 gost_crypt.o: ../../include/openssl/err.h ../../include/openssl/evp.h
134 gost_crypt.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
135 gost_crypt.o: ../../include/openssl/objects.h
136 gost_crypt.o: ../../include/openssl/opensslconf.h
137 gost_crypt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
138 gost_crypt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
139 gost_crypt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
140 gost_crypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
141 gost_crypt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
142 gost_crypt.o: e_gost_err.h gost89.h gost_crypt.c gost_lcl.h gosthash.h
143 gost_ctl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
144 gost_ctl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
145 gost_ctl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
146 gost_ctl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
147 gost_ctl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
148 gost_ctl.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
149 gost_ctl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
150 gost_ctl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
151 gost_ctl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
152 gost_ctl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
153 gost_ctl.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
154 gost_ctl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
155 gost_ctl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
156 gost_ctl.o: ../../include/openssl/x509_vfy.h gost89.h gost_ctl.c gost_lcl.h
157 gost_ctl.o: gosthash.h
158 gost_ec_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
159 gost_ec_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
160 gost_ec_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
161 gost_ec_keyx.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
162 gost_ec_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
163 gost_ec_keyx.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
164 gost_ec_keyx.o: ../../include/openssl/err.h ../../include/openssl/evp.h
165 gost_ec_keyx.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
166 gost_ec_keyx.o: ../../include/openssl/objects.h
167 gost_ec_keyx.o: ../../include/openssl/opensslconf.h
168 gost_ec_keyx.o: ../../include/openssl/opensslv.h
169 gost_ec_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
170 gost_ec_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
171 gost_ec_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
172 gost_ec_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
173 gost_ec_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
174 gost_ec_keyx.o: gost_ec_keyx.c gost_keywrap.h gost_lcl.h gosthash.h
175 gost_ec_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
176 gost_ec_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
177 gost_ec_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
178 gost_ec_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
179 gost_ec_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
180 gost_ec_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
181 gost_ec_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
182 gost_ec_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
183 gost_ec_sign.o: ../../include/openssl/objects.h
184 gost_ec_sign.o: ../../include/openssl/opensslconf.h
185 gost_ec_sign.o: ../../include/openssl/opensslv.h
186 gost_ec_sign.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
187 gost_ec_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
188 gost_ec_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
189 gost_ec_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
190 gost_ec_sign.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
191 gost_ec_sign.o: gost_ec_sign.c gost_lcl.h gosthash.h
192 gost_eng.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
193 gost_eng.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
194 gost_eng.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
195 gost_eng.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
196 gost_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
197 gost_eng.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
198 gost_eng.o: ../../include/openssl/err.h ../../include/openssl/evp.h
199 gost_eng.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
200 gost_eng.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
201 gost_eng.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
202 gost_eng.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
203 gost_eng.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
204 gost_eng.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
205 gost_eng.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h gost_eng.c
206 gost_eng.o: gost_lcl.h gosthash.h
207 gost_keywrap.o: gost89.h gost_keywrap.c gost_keywrap.h
208 gost_md.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
209 gost_md.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
210 gost_md.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
211 gost_md.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
212 gost_md.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
213 gost_md.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
214 gost_md.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
215 gost_md.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
216 gost_md.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
217 gost_md.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
218 gost_md.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
219 gost_md.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
220 gost_md.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
221 gost_md.o: e_gost_err.h gost89.h gost_lcl.h gost_md.c gosthash.h
222 gost_md2012.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
223 gost_md2012.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
224 gost_md2012.o: ../../include/openssl/evp.h ../../include/openssl/obj_mac.h
225 gost_md2012.o: ../../include/openssl/objects.h
226 gost_md2012.o: ../../include/openssl/opensslconf.h
227 gost_md2012.o: ../../include/openssl/opensslv.h
228 gost_md2012.o: ../../include/openssl/ossl_typ.h
229 gost_md2012.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
230 gost_md2012.o: ../../include/openssl/symhacks.h gost_md2012.c gosthash2012.h
231 gost_md2012.o: gosthash2012_const.h gosthash2012_precalc.h gosthash2012_ref.h
232 gost_params.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
233 gost_params.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
234 gost_params.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
235 gost_params.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
236 gost_params.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
237 gost_params.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
238 gost_params.o: ../../include/openssl/evp.h ../../include/openssl/lhash.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 ../../include/openssl/pkcs7.h
243 gost_params.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
244 gost_params.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
245 gost_params.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
246 gost_params.o: gost89.h gost_lcl.h gost_params.c gosthash.h
247 gost_pmeth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
248 gost_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
249 gost_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
250 gost_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
251 gost_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
252 gost_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
253 gost_pmeth.o: ../../include/openssl/engine.h ../../include/openssl/err.h
254 gost_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
255 gost_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
256 gost_pmeth.o: ../../include/openssl/opensslconf.h
257 gost_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
258 gost_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
259 gost_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
260 gost_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
261 gost_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
262 gost_pmeth.o: e_gost_err.h gost89.h gost_lcl.h gost_pmeth.c gosthash.h
263 gosthash.o: gost89.h gosthash.c gosthash.h
264 gosthash2012.o: gosthash2012.c gosthash2012.h gosthash2012_const.h
265 gosthash2012.o: gosthash2012_precalc.h gosthash2012_ref.h