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

📄 makefile

📁 openswan
💻
字号:
# Openswan library for faking out the kernel# Copyright (C) 2005 Xelerance Corporation# # 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.6 2005/04/28 21:01:13 mcr Exp $OPENSWANSRCDIR?=$(shell cd ../../..; pwd)include ${OPENSWANSRCDIR}/Makefile.incinclude ${OPENSWANSRCDIR}/Makefile.verMANDIR=$(MANTREE)/man3SRCS=printk.c jiffies.c sysctl.c panic.c skb.c netif.c stack.cSRCS+=vmalloc.c  module.cSRCS+=bh.c checksum.S ipv4.c talloc.c skbcreate.cKSRCS=kernelenv.c core.cOBJS=${SRCS:.c=.o} ${SRCS:.S=.o} ${KSRCS:.c=.o} version.oLIBA=libkern.aKLIPSSRCDIR=${OPENSWANSRCDIR}/linuxUMLPLAIN=$(shell source ${OPENSWANSRCDIR}/umlsetup.sh; echo $${POOLSPACE}/plain$${KERNVER})# Original flagsCFLAGS=-I. -I${KLIPSSRCDIR}/include -I${OPENSWANSRCDIR} -DDEBUGCFLAGS+=-DWITH_UDPFROMTO -DHAVE_IP_PKTINFOCFLAGS+= -I${OPENSWANSRCDIR}/testing/kunit/includeCFLAGS+= -I${OPENSWANSRCDIR}/include -g -O2#KLIPS_FLAGS+=-D__KERNEL__ #KLIPS_FLAGS+=-O2 -U__i386__ -Ui386  -D__arch_um__ -DSUBARCH=\"i386\" KLIPS_FLAGS+=-I${UMLPLAIN}/includeKLIPS_FLAGS+=-I${UMLPLAIN}/arch/um/includeKLIPS_FLAGS+=-I${UMLPLAIN}/arch/um/kernel/tt/includeKLIPS_FLAGS+=-I${UMLPLAIN}/arch/um/kernel/skas/includeCFLAGS+=${KLIPS_FLAGS}CFLAGS+= -Wall#CFLAGS+= -Wconversion#CFLAGS+= -Wmissing-prototypesCFLAGS+= -Wpointer-arithCFLAGS+= -Wcast-qual#CFLAGS+= -Wmissing-declarationsCFLAGS+= -Wstrict-prototypes#CFLAGS+= -pedantic#CFLAGS+= -W#CFLAGS+= -Wwrite-stringsCFLAGS+= -Wbad-function-cast CFLAGS+= -fno-inlineARFLAGS=crvsEXTHDRS=EXTLIBS=MANS=.PHONY:	all install clean l t lt tar check depend checkprogramsall:	$(LIBA) ${LIBL}programs: $(LIBA) ${LIBL}install:install_file_list:$(LIBA): $(OBJS)	$(AR) $(ARFLAGS) $(LIBA) $(OBJS)$(OBJS):	$(HDRS)$(LOGOBJS):	$(HDRS)# build version.c using version number from Makefile.verversion.c:	version.in.c ${OPENSWANSRCDIR}/Makefile.ver	sed '/"/s/xxx/$(IPSECVERSION)/' version.in.c >$@clean:	rm -f $(LIB) *.o try* core *.core $(EXTHDRS) $(EXTLIBS) version.ctar:	clean	tar -cvf /tmp/lib.tar Makefile [a-z]*check:	libkern.adepend:	makedepend -Y -- $(CFLAGS) -- $(SRCS)checkprograms:# DO NOT DELETE

⌨️ 快捷键说明

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