X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=Makefile;h=dee3e318f4a5f0149ee4bda87a003fdc23cf4baf;hb=13dcbd17f3c370a7005459e1b2e6470b0262d844;hp=9004e127a040c9a70500128598f5930c05e8eb84;hpb=cba16944bff9d8c5dcf37be641822cd3de6d2ec1;p=openssl-gost%2Fengine.git diff --git a/Makefile b/Makefile index 9004e12..dee3e31 100644 --- a/Makefile +++ b/Makefile @@ -8,16 +8,16 @@ AR= ar r CFLAGS= $(INCLUDES) $(CFLAG) LIB=$(TOP)/libcrypto.a -LIBSRC= gost_md2012.c gosthash2012.c gost_ec_sign.c gost_ec_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 +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 -LIBOBJ= gost_md2012.o gosthash2012.o e_gost_err.o gost_ec_keyx.o gost_ec_sign.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 +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 SRC=$(LIBSRC) LIBNAME=gost top: - (cd $(TOP); $(MAKE) DIRS=engines EDIRS=$(DIR) sub_all) + (cd $(TOP); $(MAKE) DIRS=engines sub_all) all: lib @@ -50,7 +50,6 @@ install: cp cyg$(LIBNAME).dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \ else \ case "$(CFLAGS)" in \ - *DSO_BEOS*) sfx=".so";; \ *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \ *DSO_DL*) sfx=".sl";; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ @@ -62,8 +61,6 @@ install: mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx; \ fi -links: - tests: update: local_depend @@ -85,80 +82,18 @@ dclean: mv -f Makefile.new $(MAKEFILE) clean: - rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll + rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll *.dylib + +gostsum$(EXE_EXT): gostsum.o gosthash.o gost89.o + +gost12sum$(EXE_EXT): gost12sum.o gosthash2012.o # DO NOT DELETE THIS LINE -- make depend depends on it. -gost_ec_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h -gost_ec_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h -gost_ec_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h -gost_ec_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h -gost_ec_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h -gost_ec_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h -gost_ec_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h -gost_ec_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h -gost_ec_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h -gost_ec_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h -gost_ec_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h -gost_ec_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h -gost_ec_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h -gost_ec_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h -gost_ec_sign.o: e_gost_err.h gost_ec_sign.c gost89.h gost_lcl.h gost_params.h -gost_ec_sign.o: gosthash.h -gost_ec_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h -gost_ec_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h -gost_ec_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h -gost_ec_keyx.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h -gost_ec_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h -gost_ec_keyx.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h -gost_ec_keyx.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h -gost_ec_keyx.o: ../../include/openssl/obj_mac.h -gost_ec_keyx.o: ../../include/openssl/objects.h -gost_ec_keyx.o: ../../include/openssl/opensslconf.h -gost_ec_keyx.o: ../../include/openssl/opensslv.h -gost_ec_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h -gost_ec_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h -gost_ec_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h -gost_ec_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h -gost_ec_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost_ec_keyx.c -gost_ec_keyx.o: gost89.h gost_keywrap.h gost_lcl.h gosthash.h -gosthash2012.o: gosthash2012_const.h -gosthash2012.o: gosthash2012.c gosthash2012.h -gosthash2012.o: gosthash2012_precalc.h gosthash2012_ref.h -gost_md2012.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h -gost_md2012.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h -gost_md2012.o: ../../include/openssl/evp.h ../../include/openssl/obj_mac.h -gost_md2012.o: ../../include/openssl/objects.h -gost_md2012.o: ../../include/openssl/opensslconf.h -gost_md2012.o: ../../include/openssl/opensslv.h -gost_md2012.o: ../../include/openssl/ossl_typ.h -gost_md2012.o: ../../include/openssl/safestack.h -gost_md2012.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h -gost_md2012.o: gosthash2012_const.h -gost_md2012.o: gosthash2012.h gosthash2012_precalc.h -gost_md2012.o: gosthash2012_ref.h gost_md2012.c gost89.o: gost89.c gost89.h -gost94_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h -gost94_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h -gost94_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h -gost94_keyx.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h -gost94_keyx.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h -gost94_keyx.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h -gost94_keyx.o: ../../include/openssl/engine.h ../../include/openssl/evp.h -gost94_keyx.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h -gost94_keyx.o: ../../include/openssl/objects.h -gost94_keyx.o: ../../include/openssl/opensslconf.h -gost94_keyx.o: ../../include/openssl/opensslv.h -gost94_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h -gost94_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h -gost94_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h -gost94_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h -gost94_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h -gost94_keyx.o: gost94_keyx.c gost_keywrap.h gost_lcl.h gosthash.h gost_ameth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h gost_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h gost_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h -gost_ameth.o: ../../include/openssl/conf.h gost_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h gost_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h gost_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h @@ -170,9 +105,8 @@ gost_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h gost_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h gost_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h gost_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h -gost_ameth.o: ../../include/openssl/x509v3.h gost_ameth.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h -gost_ameth.o: gost_ameth.c gost_lcl.h gost_params.h gosthash.h +gost_ameth.o: gost_ameth.c gost_lcl.h gosthash.h gost_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h gost_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h gost_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h @@ -194,8 +128,9 @@ gost_crypt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h gost_crypt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h gost_crypt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h gost_crypt.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h -gost_crypt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h -gost_crypt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h +gost_crypt.o: ../../include/openssl/err.h ../../include/openssl/evp.h +gost_crypt.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h +gost_crypt.o: ../../include/openssl/objects.h gost_crypt.o: ../../include/openssl/opensslconf.h gost_crypt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h gost_crypt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h @@ -218,6 +153,39 @@ gost_ctl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h gost_ctl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h gost_ctl.o: ../../include/openssl/x509_vfy.h gost89.h gost_ctl.c gost_lcl.h gost_ctl.o: gosthash.h +gost_ec_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h +gost_ec_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h +gost_ec_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h +gost_ec_keyx.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h +gost_ec_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h +gost_ec_keyx.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h +gost_ec_keyx.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h +gost_ec_keyx.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h +gost_ec_keyx.o: ../../include/openssl/opensslconf.h +gost_ec_keyx.o: ../../include/openssl/opensslv.h +gost_ec_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h +gost_ec_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h +gost_ec_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h +gost_ec_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h +gost_ec_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h +gost_ec_keyx.o: gost_ec_keyx.c gost_keywrap.h gost_lcl.h gosthash.h +gost_ec_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h +gost_ec_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h +gost_ec_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h +gost_ec_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h +gost_ec_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h +gost_ec_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h +gost_ec_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h +gost_ec_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h +gost_ec_sign.o: ../../include/openssl/objects.h +gost_ec_sign.o: ../../include/openssl/opensslconf.h +gost_ec_sign.o: ../../include/openssl/opensslv.h +gost_ec_sign.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h +gost_ec_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h +gost_ec_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h +gost_ec_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h +gost_ec_sign.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h +gost_ec_sign.o: gost_ec_sign.c gost_lcl.h gosthash.h gost_eng.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h gost_eng.o: ../../include/openssl/bio.h ../../include/openssl/bn.h gost_eng.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h @@ -248,32 +216,47 @@ gost_md.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h gost_md.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h gost_md.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h gost_md.o: e_gost_err.h gost89.h gost_lcl.h gost_md.c gosthash.h -gost_params.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h -gost_params.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h +gost_md2012.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h +gost_md2012.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h +gost_md2012.o: ../../include/openssl/evp.h ../../include/openssl/obj_mac.h +gost_md2012.o: ../../include/openssl/objects.h +gost_md2012.o: ../../include/openssl/opensslconf.h +gost_md2012.o: ../../include/openssl/opensslv.h +gost_md2012.o: ../../include/openssl/ossl_typ.h +gost_md2012.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h +gost_md2012.o: ../../include/openssl/symhacks.h gost_md2012.c gosthash2012.h +gost_md2012.o: gosthash2012_const.h gosthash2012_precalc.h gosthash2012_sse2.h +gost_params.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h +gost_params.o: ../../include/openssl/bio.h ../../include/openssl/bn.h +gost_params.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h +gost_params.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h +gost_params.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h +gost_params.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h +gost_params.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h gost_params.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h gost_params.o: ../../include/openssl/opensslconf.h gost_params.o: ../../include/openssl/opensslv.h -gost_params.o: ../../include/openssl/ossl_typ.h -gost_params.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h -gost_params.o: ../../include/openssl/symhacks.h gost_params.c gost_params.h +gost_params.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h +gost_params.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h +gost_params.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h +gost_params.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h +gost_params.o: gost89.h gost_lcl.h gost_params.c gosthash.h gost_pmeth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h gost_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h gost_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h -gost_pmeth.o: ../../include/openssl/cms.h ../../include/openssl/err.h gost_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h gost_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h gost_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h -gost_pmeth.o: ../../include/openssl/engine.h ../../include/openssl/evp.h -gost_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h -gost_pmeth.o: ../../include/openssl/objects.h +gost_pmeth.o: ../../include/openssl/engine.h ../../include/openssl/err.h +gost_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h +gost_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h gost_pmeth.o: ../../include/openssl/opensslconf.h gost_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h gost_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h gost_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h gost_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h gost_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h -gost_pmeth.o: e_gost_err.h gost89.h gost_lcl.h gost_params.h gost_pmeth.c -gost_pmeth.o: gosthash.h +gost_pmeth.o: e_gost_err.h gost89.h gost_lcl.h gost_pmeth.c gosthash.h gost_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h gost_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h gost_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h @@ -289,6 +272,7 @@ gost_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h gost_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h gost_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h gost_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h -gost_sign.o: e_gost_err.h gost89.h gost_lcl.h gost_params.h gost_sign.c -gost_sign.o: gosthash.h +gost_sign.o: e_gost_err.h gost89.h gost_lcl.h gost_sign.c gosthash.h gosthash.o: gost89.h gosthash.c gosthash.h +gosthash2012.o: gosthash2012.c gosthash2012.h gosthash2012_const.h +gosthash2012.o: gosthash2012_precalc.h gosthash2012_sse2.h