📄 makefile.ssl
字号:
## SSLeay/crypto/bn/Makefile#DIR= bnTOP= ../..CC= ccCPP= $(CC) -EINCLUDES= -I.. -I../../includeCFLAG=-gINSTALL_PREFIX=OPENSSLDIR= /usr/local/sslINSTALLTOP=/usr/local/sslMAKE= make -f Makefile.sslMAKEDEPEND= $(TOP)/util/domd $(TOP)MAKEFILE= Makefile.sslAR= ar rBN_ASM= bn_asm.o# or use#BN_ASM= bn86-elf.oCFLAGS= $(INCLUDES) $(CFLAG)# We let the C compiler driver to take care of .s files. This is done in# order to be excused from maintaining a separate set of architecture# dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC# gcc, then the driver will automatically translate it to -xarch=v8plus# and pass it down to assembler.AS=$(CC) -cASFLAGS=$(CFLAGS)GENERAL=MakefileTEST=bntest.c exptest.cAPPS=LIB=$(TOP)/libcrypto.aLIBSRC= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \ bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \ bn_gcd.c bn_prime.c bn_err.c bn_sqr.c bn_asm.c bn_recp.c bn_mont.c \ bn_mpi.c bn_exp2.cLIBOBJ= bn_add.o bn_div.o bn_exp.o bn_lib.o bn_ctx.o bn_mul.o \ bn_print.o bn_rand.o bn_shift.o bn_word.o bn_blind.o \ bn_gcd.o bn_prime.o bn_err.o bn_sqr.o $(BN_ASM) bn_recp.o bn_mont.o \ bn_mpi.o bn_exp2.oSRC= $(LIBSRC)EXHEADER= bn.hHEADER= bn_lcl.h bn_prime.h $(EXHEADER)ALL= $(GENERAL) $(SRC) $(HEADER)top: (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)all: libbn_prime.h: bn_prime.pl $(PERL) bn_prime.pl >bn_prime.hdivtest: divtest.c ../../libcrypto.a cc -I../../include divtest.c -o divtest ../../libcrypto.abnbug: bnbug.c ../../libcrypto.a top cc -g -I../../include bnbug.c -o bnbug ../../libcrypto.alib: $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) $(RANLIB) $(LIB) @touch lib# elfasm/bn86-elf.o: asm/bn86unix.cpp $(CPP) -DELF -x c asm/bn86unix.cpp | as -o asm/bn86-elf.oasm/co86-elf.o: asm/co86unix.cpp $(CPP) -DELF -x c asm/co86unix.cpp | as -o asm/co86-elf.o# solarisasm/bn86-sol.o: asm/bn86unix.cpp $(CC) -E -DSOL asm/bn86unix.cpp | sed 's/^#.*//' > asm/bn86-sol.s as -o asm/bn86-sol.o asm/bn86-sol.s rm -f asm/bn86-sol.sasm/co86-sol.o: asm/co86unix.cpp $(CC) -E -DSOL asm/co86unix.cpp | sed 's/^#.*//' > asm/co86-sol.s as -o asm/co86-sol.o asm/co86-sol.s rm -f asm/co86-sol.s# a.outasm/bn86-out.o: asm/bn86unix.cpp $(CPP) -DOUT asm/bn86unix.cpp | as -o asm/bn86-out.oasm/co86-out.o: asm/co86unix.cpp $(CPP) -DOUT asm/co86unix.cpp | as -o asm/co86-out.o# bsdiasm/bn86bsdi.o: asm/bn86unix.cpp $(CPP) -DBSDI asm/bn86unix.cpp | sed 's/ :/:/' | as -o asm/bn86bsdi.oasm/co86bsdi.o: asm/co86unix.cpp $(CPP) -DBSDI asm/co86unix.cpp | sed 's/ :/:/' | as -o asm/co86bsdi.oasm/bn86unix.cpp: asm/bn-586.pl ../perlasm/x86asm.pl (cd asm; $(PERL) bn-586.pl cpp >bn86unix.cpp )asm/co86unix.cpp: asm/co-586.pl ../perlasm/x86asm.pl (cd asm; $(PERL) co-586.pl cpp >co86unix.cpp )asm/sparcv8.o: asm/sparcv8.Sasm/sparcv8plus.o: asm/sparcv8plus.S# Old GNU assembler doesn't understand V9 instructions, so we# hire /usr/ccs/bin/as to do the job. Note that option is called# *-gcc27, but even gcc 2>=8 users may experience similar problem# if they didn't bother to upgrade GNU assembler. Such users should# not choose this option, but be adviced to *remove* GNU assembler# or upgrade it.asm/sparcv8plus-gcc27.o: asm/sparcv8plus.S $(CC) $(ASFLAGS) -E asm/sparcv8plus.S | \ /usr/ccs/bin/as -xarch=v8plus - -o asm/sparcv8plus-gcc27.ofiles: $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFOlinks: @$(TOP)/util/point.sh Makefile.ssl Makefile @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)install: @for i in $(EXHEADER) ; \ do \ (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done;exptest: rm -f exptest gcc -I../../include -g2 -ggdb -o exptest exptest.c ../../libcrypto.adiv: rm -f a.out gcc -I.. -g div.c ../../libcrypto.atags: ctags $(SRC)tests:lint: lint -DLINT $(INCLUDES) $(SRC)>fluffdepend: $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new mv -f Makefile.new $(MAKEFILE)clean: rm -f asm/co86unix.cpp asm/bn86unix.cpp *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff bn_asm.s# DO NOT DELETE THIS LINE -- make depend depends on it.bn_add.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_add.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_add.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_add.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_add.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_add.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_add.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_asm.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_asm.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_asm.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_asm.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_asm.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_asm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_asm.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_blind.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_blind.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_blind.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_blind.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_blind.o: ../../include/openssl/opensslconf.hbn_blind.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.hbn_blind.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.hbn_blind.o: ../cryptlib.h bn_lcl.hbn_ctx.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_ctx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_ctx.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_ctx.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_ctx.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_ctx.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_ctx.o: ../../include/openssl/symhacks.h ../cryptlib.hbn_div.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_div.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_div.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_div.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_div.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_div.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_div.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_err.o: ../../include/openssl/crypto.h ../../include/openssl/err.hbn_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.hbn_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.hbn_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.hbn_exp.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_exp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_exp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_exp.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_exp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_exp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_exp.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_exp2.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_exp2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_exp2.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_exp2.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_exp2.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_exp2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_exp2.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_gcd.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_gcd.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_gcd.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_gcd.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_gcd.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_gcd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_gcd.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_mont.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_mont.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_mont.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_mont.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_mont.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_mpi.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_mpi.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_mpi.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_mpi.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_mpi.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_mpi.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_mpi.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_mul.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_mul.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_mul.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_mul.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_mul.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_mul.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_mul.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_prime.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_prime.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_prime.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_prime.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_prime.o: ../../include/openssl/opensslconf.hbn_prime.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.hbn_prime.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_prime.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.h bn_prime.hbn_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_print.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_print.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_print.o: ../../include/openssl/opensslconf.hbn_print.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.hbn_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.hbn_print.o: ../cryptlib.h bn_lcl.hbn_rand.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_rand.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_rand.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.hbn_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.hbn_rand.o: ../cryptlib.h bn_lcl.hbn_recp.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_recp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_recp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_recp.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_recp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_recp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_recp.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_shift.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_shift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_shift.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_shift.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_shift.o: ../../include/openssl/opensslconf.hbn_shift.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.hbn_shift.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.hbn_shift.o: ../cryptlib.h bn_lcl.hbn_sqr.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_sqr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_sqr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_sqr.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_sqr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_sqr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_sqr.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.hbn_word.o: ../../include/openssl/bio.h ../../include/openssl/bn.hbn_word.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.hbn_word.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.hbn_word.o: ../../include/openssl/err.h ../../include/openssl/lhash.hbn_word.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.hbn_word.o: ../../include/openssl/safestack.h ../../include/openssl/stack.hbn_word.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_lcl.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -