📄 makefile
字号:
# openswan userland AES library# Copyright (C) 2004 Michael Richardson <mcr@xelerance.com># # This program is free software; you can redistribute it and/or modify it# under the terms of the GNU General Public License as published by the# Free Software Foundation; either version 2 of the License, or (at your# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.# # This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License# for more details.## RCSID $Id: Makefile,v 1.5 2004/07/10 19:06:39 mcr Exp $OPENSWANSRCDIR=../../..include ${OPENSWANSRCDIR}/Makefile.incinclude ${OPENSWANSRCDIR}/Makefile.verAES_CORE_OBJ:=aes.oAES_CORE_SRC:=aes.cASM-$(ARCH_ASM):=1ASM_X86:=$(ASM-i586)$(ASM-i686)ifneq ($(strip $(ASM_X86)),)AES_CORE_OBJ:= aes-i586.oAES_CORE_SRC:= aes-i586.SendifBASE_SRCS=aes_xcbc_mac.c aes_cbc.o SRCS=${BASE_SRCS} ${AES_CORE_SRC}OBJS=${BASE_SRCS:.c=.o} ${AES_CORE_OBJ}HDRS= KLIPSD=${OPENSWANSRCDIR}/linux/includeSRCDIR=${OPENSWANSRCDIR}/linux/net/ipsec/aesVPATH += ${SRCDIR}LIB=libaes.a# Original flagsCFLAGS=-I. -I${SRCDIR} -I${KLIPSD} -I${OPENSWANSRCDIR} $(USERCOMPILE)CFLAGS+=-O3 -fomit-frame-pointer -Wall -Wcast-qual CFLAGS+= -Wmissing-prototypesCFLAGS+= -Wpointer-arithCFLAGS+= -Wcast-qual#CFLAGS+= -Wmissing-declarationsCFLAGS+= -Wstrict-prototypes#CFLAGS+= -pedantic#CFLAGS+= -W#CFLAGS+= -Wwrite-stringsCFLAGS+= -Wbad-function-cast .PHONY: all install clean check depend checkprogramsall: $(LIB) programs: $(LIB)install install_file_list: @exit 0$(LIB): $(OBJS) $(AR) $(ARFLAGS) $(LIB) $(OBJS)$(OBJS): $(HDRS)clean: rm -f $(LIB) *.o try* core *.core $(EXTHDRS) $(EXTLIBS) version.ccheck: echo no checks in lib right now.depend: makedepend -Y -- $(CFLAGS) -- $(SRCS)checkprograms:# DO NOT DELETE#aes_xcbc_mac.o: aes.h aes_xcbc_mac.h#aes.o: aes.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -