📄 makefile
字号:
## OpenSSL/fips/sha/Makefile#DIR= shaTOP= ../..CC= ccINCLUDES=CFLAG=-gINSTALL_PREFIX=OPENSSLDIR= /usr/local/sslINSTALLTOP=/usr/local/sslMAKEDEPPROG= makedependMAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)MAKEFILE= MakefileAR= ar rEXE_EXT=ASFLAGS= $(INCLUDES) $(ASFLAG)AFLAGS= $(ASFLAGS)CFLAGS= $(INCLUDES) $(CFLAG)GENERAL=MakefileTEST= fips_shatest.cAPPS=EXE= fips_standalone_sha1$(EXE_EXT)LIB=$(TOP)/libcrypto.aLIBSRC=fips_sha1_selftest.cLIBOBJ=fips_sha1_selftest.oSRC= $(LIBSRC) fips_standalone_sha1.cEXHEADER=HEADER= ALL= $(GENERAL) $(SRC) $(HEADER)top: (cd $(TOP); $(MAKE) DIRS=fips SDIRS=$(DIR) sub_all)all: ../fips_standalone_sha1$(EXE_EXT) liblib: $(LIBOBJ) @echo $(LIBOBJ) > lib../fips_standalone_sha1$(EXE_EXT): fips_standalone_sha1.o FIPS_SHA_ASM=""; for i in $(SHA1_ASM_OBJ) sha1dgst.o ; do FIPS_SHA_ASM="$$FIPS_SHA_ASM ../../crypto/sha/$$i" ; done; \ $(CC) -o $@ $(CFLAGS) fips_standalone_sha1.o $$FIPS_SHA_ASMfiles: $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFOlinks: @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER) @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST) @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)install: @headerlist="$(EXHEADER)"; for i in $$headerlist; \ do \ (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ donetags: ctags $(SRC)tests:Q=../testvectors/sha/reqA=../testvectors/sha/rspVECTORS = SHA1LongMsg \ SHA1Monte \ SHA1ShortMsg \ SHA224LongMsg \ SHA224Monte \ SHA224ShortMsg \ SHA256LongMsg \ SHA256Monte \ SHA256ShortMsg \ SHA384LongMsg \ SHA384Monte \ SHA384ShortMsg \ SHA512LongMsg \ SHA512Monte \ SHA512ShortMsgfips_test: -rm -rf $(A) mkdir $(A) for file in $(VECTORS); do \ if [ -f $(Q)/$$file.req ]; then \ $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_shatest $(Q)/$$file.req $(A)/$$file.rsp; \ fi; \ donelint: lint -DLINT $(INCLUDES) $(SRC)>fluffdepend: $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new mv -f Makefile.new $(MAKEFILE)clean: rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE)# DO NOT DELETE THIS LINE -- make depend depends on it.fips_sha1_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.hfips_sha1_selftest.o: ../../include/openssl/crypto.hfips_sha1_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.hfips_sha1_selftest.o: ../../include/openssl/evp.h ../../include/openssl/fips.hfips_sha1_selftest.o: ../../include/openssl/lhash.hfips_sha1_selftest.o: ../../include/openssl/obj_mac.hfips_sha1_selftest.o: ../../include/openssl/objects.hfips_sha1_selftest.o: ../../include/openssl/opensslconf.hfips_sha1_selftest.o: ../../include/openssl/opensslv.hfips_sha1_selftest.o: ../../include/openssl/ossl_typ.hfips_sha1_selftest.o: ../../include/openssl/safestack.hfips_sha1_selftest.o: ../../include/openssl/sha.h ../../include/openssl/stack.hfips_sha1_selftest.o: ../../include/openssl/symhacks.h fips_sha1_selftest.cfips_shatest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.hfips_shatest.o: ../../include/openssl/bn.h ../../include/openssl/buffer.hfips_shatest.o: ../../include/openssl/conf.h ../../include/openssl/crypto.hfips_shatest.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.hfips_shatest.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.hfips_shatest.o: ../../include/openssl/err.h ../../include/openssl/evp.hfips_shatest.o: ../../include/openssl/fips.h ../../include/openssl/lhash.hfips_shatest.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.hfips_shatest.o: ../../include/openssl/opensslconf.hfips_shatest.o: ../../include/openssl/opensslv.hfips_shatest.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.hfips_shatest.o: ../../include/openssl/safestack.h ../../include/openssl/sha.hfips_shatest.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.hfips_shatest.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.hfips_shatest.o: ../../include/openssl/x509v3.h ../fips_utl.h fips_shatest.cfips_standalone_sha1.o: ../../include/openssl/asn1.hfips_standalone_sha1.o: ../../include/openssl/bio.hfips_standalone_sha1.o: ../../include/openssl/crypto.hfips_standalone_sha1.o: ../../include/openssl/e_os2.hfips_standalone_sha1.o: ../../include/openssl/evp.hfips_standalone_sha1.o: ../../include/openssl/fips.hfips_standalone_sha1.o: ../../include/openssl/hmac.hfips_standalone_sha1.o: ../../include/openssl/obj_mac.hfips_standalone_sha1.o: ../../include/openssl/objects.hfips_standalone_sha1.o: ../../include/openssl/opensslconf.hfips_standalone_sha1.o: ../../include/openssl/opensslv.hfips_standalone_sha1.o: ../../include/openssl/ossl_typ.hfips_standalone_sha1.o: ../../include/openssl/safestack.hfips_standalone_sha1.o: ../../include/openssl/sha.hfips_standalone_sha1.o: ../../include/openssl/stack.hfips_standalone_sha1.o: ../../include/openssl/symhacks.h fips_standalone_sha1.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -