⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.uni

📁 openssl是ssl的开源项目
💻 UNI
字号:
# Targets# make          - twidle the options yourself :-)# make cc       - standard cc options# make gcc      - standard gcc options# make x86-elf  - linux-elf etc# make x86-out  - linux-a.out, FreeBSD etc# make x86-solaris# make x86-bdsiDIR=	bfTOP=	.# use BF_PTR2 for intel boxes,# BF_PTR for sparc and MIPS/SGI# use nothing for Alpha and HP.# There are 3 possible performance options, experiment :-)#OPTS= -DBF_PTR  # usr for sparc and MIPS/SGI#OPTS= -DBF_PTR2 # use for pentiumOPTS=		 # use for pentium pro, Alpha and HPMAKE=make -f Makefile#CC=cc#CFLAG= -OCC=gcc#CFLAG= -O4 -funroll-loops -fomit-frame-pointerCFLAG= -O3 -fomit-frame-pointerCFLAGS=$(OPTS) $(CFLAG)CPP=$(CC) -EAS=as# Assember version of bf_encrypt().BF_ENC=bf_enc.o		# normal C version#BF_ENC=asm/bx86-elf.o	# elf format x86#BF_ENC=asm/bx86-out.o	# a.out format x86#BF_ENC=asm/bx86-sol.o	# solaris format x86 #BF_ENC=asm/bx86bsdi.o	# bsdi format x86 LIBDIR=/usr/local/libBINDIR=/usr/local/binINCDIR=/usr/local/includeMANDIR=/usr/local/manMAN1=1MAN3=3SHELL=/bin/shLIBOBJ=bf_skey.o bf_ecb.o $(BF_ENC) bf_cfb64.o bf_ofb64.oLIBSRC=bf_skey.c bf_ecb.c bf_enc.c bf_cfb64.c bf_ofb64.cGENERAL=Makefile Makefile.ssl Makefile.uni asm bf_locl.org README \	COPYRIGHT blowfish.doc INSTALLTESTING=    bftest bfspeed bf_optsTESTING_SRC=bftest.c bfspeed.c bf_opts.cHEADERS=bf_locl.h blowfish.h bf_pi.hALL=	$(GENERAL) $(TESTING_SRC) $(LIBSRC) $(HEADERS)BLIB=	libblowfish.aall: $(BLIB) $(TESTING)cc:	$(MAKE) CC=cc CFLAGS="-O $(OPTS) $(CFLAG)" allgcc:	$(MAKE) CC=gcc CFLAGS="-O3 -fomit-frame-pointer $(OPTS) $(CFLAG)" allx86-elf:	$(MAKE) BF_ENC='asm/bx86-elf.o' CC=$(CC) CFLAGS="-DELF $(OPTS) $(CFLAG)" allx86-out:	$(MAKE) BF_ENC='asm/bx86-out.o' CC=$(CC) CFLAGS="-DOUT $(OPTS) $(CFLAG)" allx86-solaris:	$(MAKE) BF_ENC='asm/bx86-sol.o' CC=$(CC) CFLAGS="-DSOL $(OPTS) $(CFLAG)" allx86-bsdi:	$(MAKE) BF_ENC='asm/bx86bsdi.o' CC=$(CC) CFLAGS="-DBSDI $(OPTS) $(CFLAG)" all# elfasm/bx86-elf.o: asm/bx86unix.cpp	$(CPP) -DELF asm/bx86unix.cpp | $(AS) -o asm/bx86-elf.o# solarisasm/bx86-sol.o: asm/bx86unix.cpp	$(CC) -E -DSOL asm/bx86unix.cpp | sed 's/^#.*//' > asm/bx86-sol.s	as -o asm/bx86-sol.o asm/bx86-sol.s	rm -f asm/bx86-sol.s# a.outasm/bx86-out.o: asm/bx86unix.cpp	$(CPP) -DOUT asm/bx86unix.cpp | $(AS) -o asm/bx86-out.o# bsdiasm/bx86bsdi.o: asm/bx86unix.cpp	$(CPP) -DBSDI asm/bx86unix.cpp | $(AS) -o asm/bx86bsdi.oasm/bx86unix.cpp:	(cd asm; perl bf-586.pl cpp >bx86unix.cpp)	test:	all	./bftest$(BLIB): $(LIBOBJ)	/bin/rm -f $(BLIB)	ar cr $(BLIB) $(LIBOBJ)	-if test -s /bin/ranlib; then /bin/ranlib $(BLIB); \	else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(BLIB); \	else exit 0; fi; fibftest: bftest.o $(BLIB)	$(CC) $(CFLAGS) -o bftest bftest.o $(BLIB)bfspeed: bfspeed.o $(BLIB)	$(CC) $(CFLAGS) -o bfspeed bfspeed.o $(BLIB)bf_opts: bf_opts.o $(BLIB)	$(CC) $(CFLAGS) -o bf_opts bf_opts.o $(BLIB)tags:	ctags $(TESTING_SRC) $(LIBBF)tar:	tar chf libbf.tar $(ALL)shar:	shar $(ALL) >libbf.shardepend:	makedepend $(LIBBF) $(TESTING_SRC)clean:	/bin/rm -f *.o tags core $(TESTING) $(BLIB) .nfs* *.old *.bak asm/*.o dclean:	sed -e '/^# DO NOT DELETE THIS LINE/ q' Makefile >Makefile.new	mv -f Makefile.new Makefile# Eric is probably going to choke when he next looks at this --tjhinstall: $(BLIB)	if test $(INSTALLTOP); then \	    echo SSL style install; \	    cp $(BLIB) $(INSTALLTOP)/lib; \	    if test -s /bin/ranlib; then \	        /bin/ranlib $(INSTALLTOP)/lib/$(BLIB); \	    else \		if test -s /usr/bin/ranlib; then \		/usr/bin/ranlib $(INSTALLTOP)/lib/$(BLIB); \	    fi; fi; \	    chmod 644 $(INSTALLTOP)/lib/$(BLIB); \	    cp blowfish.h $(INSTALLTOP)/include; \	    chmod 644 $(INSTALLTOP)/include/blowfish.h; \	else \	    echo Standalone install; \	    cp $(BLIB) $(LIBDIR)/$(BLIB); \	    if test -s /bin/ranlib; then \	      /bin/ranlib $(LIBDIR)/$(BLIB); \	    else \	      if test -s /usr/bin/ranlib; then \		/usr/bin/ranlib $(LIBDIR)/$(BLIB); \	      fi; \	    fi; \	    chmod 644 $(LIBDIR)/$(BLIB); \	    cp blowfish.h $(INCDIR)/blowfish.h; \	    chmod 644 $(INCDIR)/blowfish.h; \	fi# DO NOT DELETE THIS LINE -- make depend depends on it.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -