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; \
67 @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
70 @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
72 @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
75 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
78 lint -DLINT $(INCLUDES) $(SRC)>fluff
81 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
82 mv -f Makefile.new $(MAKEFILE)
85 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll *.dylib
87 gostsum$(EXE_EXT): gostsum.o gosthash.o gost89.o
89 gost12sum$(EXE_EXT): gost12sum.o gosthash2012.o
91 # DO NOT DELETE THIS LINE -- make depend depends on it.
93 gost89.o: gost89.c gost89.h
94 gost_ameth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
95 gost_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
96 gost_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
97 gost_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
98 gost_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
99 gost_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
100 gost_ameth.o: ../../include/openssl/engine.h ../../include/openssl/err.h
101 gost_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
102 gost_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
103 gost_ameth.o: ../../include/openssl/opensslconf.h
104 gost_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
105 gost_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
106 gost_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
107 gost_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
108 gost_ameth.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
109 gost_ameth.o: gost_ameth.c gost_lcl.h gosthash.h
110 gost_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
111 gost_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
112 gost_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
113 gost_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
114 gost_asn1.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
115 gost_asn1.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
116 gost_asn1.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
117 gost_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
118 gost_asn1.o: ../../include/openssl/opensslconf.h
119 gost_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
120 gost_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
121 gost_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
122 gost_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
123 gost_asn1.o: ../../include/openssl/x509_vfy.h gost89.h gost_asn1.c gost_lcl.h
124 gost_asn1.o: gosthash.h
125 gost_crypt.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
126 gost_crypt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
127 gost_crypt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
128 gost_crypt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
129 gost_crypt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
130 gost_crypt.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
131 gost_crypt.o: ../../include/openssl/err.h ../../include/openssl/evp.h
132 gost_crypt.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
133 gost_crypt.o: ../../include/openssl/objects.h
134 gost_crypt.o: ../../include/openssl/opensslconf.h
135 gost_crypt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
136 gost_crypt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
137 gost_crypt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
138 gost_crypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
139 gost_crypt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
140 gost_crypt.o: e_gost_err.h gost89.h gost_crypt.c gost_lcl.h gosthash.h
141 gost_ctl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
142 gost_ctl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
143 gost_ctl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
144 gost_ctl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
145 gost_ctl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
146 gost_ctl.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
147 gost_ctl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
148 gost_ctl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
149 gost_ctl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
150 gost_ctl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
151 gost_ctl.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
152 gost_ctl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
153 gost_ctl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
154 gost_ctl.o: ../../include/openssl/x509_vfy.h gost89.h gost_ctl.c gost_lcl.h
155 gost_ctl.o: gosthash.h
156 gost_ec_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
157 gost_ec_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
158 gost_ec_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
159 gost_ec_keyx.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
160 gost_ec_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
161 gost_ec_keyx.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
162 gost_ec_keyx.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
163 gost_ec_keyx.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
164 gost_ec_keyx.o: ../../include/openssl/opensslconf.h
165 gost_ec_keyx.o: ../../include/openssl/opensslv.h
166 gost_ec_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
167 gost_ec_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
168 gost_ec_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
169 gost_ec_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
170 gost_ec_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
171 gost_ec_keyx.o: gost_ec_keyx.c gost_keywrap.h gost_lcl.h gosthash.h
172 gost_ec_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
173 gost_ec_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
174 gost_ec_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
175 gost_ec_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
176 gost_ec_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
177 gost_ec_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
178 gost_ec_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
179 gost_ec_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
180 gost_ec_sign.o: ../../include/openssl/objects.h
181 gost_ec_sign.o: ../../include/openssl/opensslconf.h
182 gost_ec_sign.o: ../../include/openssl/opensslv.h
183 gost_ec_sign.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
184 gost_ec_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
185 gost_ec_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
186 gost_ec_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
187 gost_ec_sign.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
188 gost_ec_sign.o: gost_ec_sign.c gost_lcl.h gosthash.h
189 gost_eng.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
190 gost_eng.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
191 gost_eng.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
192 gost_eng.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
193 gost_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
194 gost_eng.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
195 gost_eng.o: ../../include/openssl/err.h ../../include/openssl/evp.h
196 gost_eng.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
197 gost_eng.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
198 gost_eng.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
199 gost_eng.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
200 gost_eng.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
201 gost_eng.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
202 gost_eng.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h gost_eng.c
203 gost_eng.o: gost_lcl.h gosthash.h
204 gost_keywrap.o: gost89.h gost_keywrap.c gost_keywrap.h
205 gost_md.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
206 gost_md.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
207 gost_md.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
208 gost_md.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
209 gost_md.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
210 gost_md.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
211 gost_md.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
212 gost_md.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
213 gost_md.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
214 gost_md.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
215 gost_md.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
216 gost_md.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
217 gost_md.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
218 gost_md.o: e_gost_err.h gost89.h gost_lcl.h gost_md.c gosthash.h
219 gost_md2012.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
220 gost_md2012.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
221 gost_md2012.o: ../../include/openssl/evp.h ../../include/openssl/obj_mac.h
222 gost_md2012.o: ../../include/openssl/objects.h
223 gost_md2012.o: ../../include/openssl/opensslconf.h
224 gost_md2012.o: ../../include/openssl/opensslv.h
225 gost_md2012.o: ../../include/openssl/ossl_typ.h
226 gost_md2012.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
227 gost_md2012.o: ../../include/openssl/symhacks.h gost_md2012.c gosthash2012.h
228 gost_md2012.o: gosthash2012_const.h gosthash2012_precalc.h gosthash2012_ref.h
229 gost_params.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
230 gost_params.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
231 gost_params.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
232 gost_params.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
233 gost_params.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
234 gost_params.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
235 gost_params.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
236 gost_params.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
237 gost_params.o: ../../include/openssl/opensslconf.h
238 gost_params.o: ../../include/openssl/opensslv.h
239 gost_params.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
240 gost_params.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
241 gost_params.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
242 gost_params.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
243 gost_params.o: gost89.h gost_lcl.h gost_params.c gosthash.h
244 gost_pmeth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
245 gost_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
246 gost_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
247 gost_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
248 gost_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
249 gost_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
250 gost_pmeth.o: ../../include/openssl/engine.h ../../include/openssl/err.h
251 gost_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
252 gost_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
253 gost_pmeth.o: ../../include/openssl/opensslconf.h
254 gost_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
255 gost_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
256 gost_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
257 gost_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
258 gost_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
259 gost_pmeth.o: e_gost_err.h gost89.h gost_lcl.h gost_pmeth.c gosthash.h
260 gosthash.o: gost89.h gosthash.c gosthash.h
261 gosthash2012.o: gosthash2012.c gosthash2012.h gosthash2012_const.h
262 gosthash2012.o: gosthash2012_precalc.h gosthash2012_ref.h