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

📄 makefile

📁 ipsec PNE 3.3 source code, running at more than vxworks6.x version.
💻
字号:
# Makefile - makefile for target/src/wrn/ipsec## modification history# --------------------# 02h,08nov05,rlm  added packetBuf.c to build list# 02g,06oct05,rlm  Moved ipsecDOItoCCI.c,h to crypto/.# 02f,20jun05,djp  Added conditional check on config file to reduce duplicate#                  defines# 02e,10jun05,djp  Updates to support VxWorks 5.x and 6.x build systems# 02d,09jun05,djp  Added check for INET6 in EXTRA_DEFINES# 02c,08jun05,djp  Added OS_DEFINES to ensure correct build# 02b,24may05,rob  Replace TGT_DIR with PROJ_BASE for doc build# 02a,24may05,rob  Update for new doc build# 01z,11may04,rob  Removed default definition of IPSEC_PMTU, IPSEC_QUEUING, MONOTONIC_PAD_CHECK# 01y,10may05,rob  Adding defs.default include# 01x,20apr05,djp  Moved user files to user directory# 01w,13apr05,djp  Fixed include paths# 01v,07apr05,djp  Added vxWorks 6.x support# 01u,04apr05,djp  Fixed doc build# 01t,28mar05,djp  Updated doc build# 01s,09mar05,djp  msg channel additions# 01r,03mar05,rlm  Removed use of ADDED_CFLAGS# 01q,13sep04,cdw  Added ipsec_memory_routines.o# 01p,19jul04,rlm  Removed IB_CIPHER_ALIGN_CHK make var. Inbound ciphertext is#                  now always checked for alignment.# 01o,25jun04,rlm  Added ipsecDOItoCCI.o# 01n,16jun04,rlm  Rewrote flags $(NMPAD) and $(NCALIGN), eliminating confusing#                  double-negative meaning.#                  (Now they are $(MONOTONIC_PAD_CHK) and $(IB_CIPHER_ALIGN_CHK) )# 01m,02jun04,djp  Removed trace.o# 01l,26may04,hms  added ipsec_logger_util# 01k, 02jun2003,rparkhil removed DUAL_STACK and IPV4_DUAL_STACK references# 01j, 04jun2003,mad(teamf1) replaced build option IPV6 with DUAL_STACK,#			     added build option for IPV4_DUAL_STACK# 01i, 24Apr2003,mhb(teamf1) removed WNCRYPTO compiler option and # 							OPENSSL from PRE_INCLUDE# 01h, 23apr03,mad(teamf1)  merged IPV6_STACK and ROUTER_STACK_11 compiler # 			    options to make a single otion - NETWORK_STACK.# 01g, 19Apr03,mhb(teamf1)  added ROUTER_STACK_11 compiler option.# 01f, 14Apr03,sam(teamf1)  added macro to define PMTU support(SPR #86677).# 01e, 080ct02,sam(teamf1)  changed __IPV6_STACK__ to be set from prompt. # 01d, 09Sep02,rks(teamf1)	removed T202 and added TOR_VER,  __IPV6_STACK__# 01c, 05may02,rpt    		added T202# 01b, 24apr02,rpt    		added QUEUING and DEBUG# 01a, 23mar00,aos    		written## DESCRIPTION# This file contains the makefile rules for building the vx IPSec component# component include -I$(WRN_IPSEC_IKE_DIR)/spd#*/ifeq ($(PROJ_BASE),)PROJ_BASE= $(WIND_BASE)elseendif## We need to know the kernel major version (VxWorks 5.x or 6.x)# defs.version provides that information. This impacts where configuration# data is retrieved from, what files are included in the library, and# what include paths we are using#include $(WIND_BASE)/target/h/make/config/defs.versionifeq ($(KERNEL_MAJOR_VERSION),6)OS_DEFINES = -DVXWORKS_6_XCOMP_IPSECIKE_CONFIG_FILE = $(PROJ_BASE)/vx_components/$(COMP_IPSECIKE)/config.mkelseOS_DEFINES = COMP_IPSECIKE_CONFIG_FILE = $(PROJ_BASE)/target/h/make/config/comps/ipSec/defs.default endifinclude $(COMP_IPSECIKE_CONFIG_FILE)# No user space build for this directory...TGT_DIR=$(WIND_BASE)/targetPROJ_INCLUDE=$(PROJ_BASE)/target/hLIB_BASE_NAME=ipsec# FIXME: include headers from $WIND_BASE/target/h directories# Want to include wrn. Files should include from that path# for example, include <wrn/ipsec/ipsecLogger.h> or <wrn/rwos.h># Should be able to remove all but PROJ_INCLUDE by fixing in the source files.# PROJ_INCLUDE_DIRS=-I$(PROJ_INCLUDE) -I$(PROJ_INCLUDE)/wrn -I$(PROJ_INCLUDE)/wrn/rwosPRE_INCLUDE=WRN_DEFINITIONS= -D__IPSEC__ -D__IPSEC_MKM__ -D__VxWORKS__ -D__BIG_ENUMS__ \					 -DWRN_PD_CODEifeq ($(NETWORK_STACK), RS_11)WRN_DEFINITIONS+= -D__ROUTER_STACK_11__elseendifWRN_TOR_VER= ifeq ($(TOR_VER), T202)WRN_TOR_VER= -D__T202__elseifeq ($(TOR_VER), T22)WRN_TOR_VER= -D__T22__endifendififeq ($(DEBUG),YES)WRN_BUILD= -g -O0 -D__VxDEBUG__ -D__WRN_DEF_DEBUG__ $(WRN_DEFINITIONS) \					$(WRN_TOR_VER)elseWRN_BUILD= $(WRN_DEFINITIONS) $(WRN_TOR_VER)endifoverride EXTRA_DEFINE += $(OS_DEFINES) $(WRN_BUILD)EXTRA_INCLUDE += $(PROJ_INCLUDE_DIRS)OBJS =  ipsec_ah_message.o \		ipsec_component_initialize.o \		ipsec_esp_message.o \		ipsec_icmp_pmtu.o \		ipsec_if.o \		ipsec_inbound_sa_spec.o \		ipsec_init.o \		ipsec_io.o \		ipsec_network_interface.o \		ipsec_outbound_sa_spec.o \		ipsec_print_routines.o \		ipsec_sa_bundle.o \		ipsec_spd.o \		ipsec_stats.o \		ipsec_task_entry.o \		ipsec_tsi.o \		ipsec_tunnel_utilities.o \		ipsec_memory_routines.o \		ipsec_logger_util.o \		ipsecLoggerKernel.o \		ipsecMsgCServer.o \		packetBuf.oADD_IPV6_OBJS=noifeq ($(findstring -DINET6,$(ADDED_CFLAGS)),-DINET6)ADD_IPV6_OBJS=yesendififeq ($(findstring -DINET6,$(EXTRA_DEFINE)),-DINET6)ADD_IPV6_OBJS=yesendififeq ($(ADD_IPV6_OBJS),yes)OBJS+=ipsec_ipv6_utilities.o \      ipsec_ipv6_io.oendif# Check the environment to determine if IPv6 is enabled and# add applicable objects if necessary#DOC_FILES = ipsec_init.cinclude $(TGT_DIR)/h/make/rules.libraryDOC_CHAPTER = IPsec_LibrariesDOC_DIR = $(DOCS_ROOT)/vxworks/ref/ipsec-ikeDOC_OPTS = $(DOC_OPTS_MAN) -category ipsec-ikeinclude $(PROJ_BASE)/target/h/make/config/comps/ipSec/defs.docs

⌨️ 快捷键说明

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