196 lines
5.8 KiB
Makefile
196 lines
5.8 KiB
Makefile
#############################################################################
|
|
# INTERPEAK MAKEFILE
|
|
#
|
|
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: Makefile,v $ $Revision: 1.64.10.1 $
|
|
# $Source: /home/interpeak/CVSRoot/ipcom/Makefile,v $
|
|
# $Author: svc-cmnet $
|
|
# $State: Exp $ $Locker: $
|
|
#
|
|
# INTERPEAK_COPYRIGHT_STRING
|
|
#
|
|
#############################################################################
|
|
|
|
#############################################################################
|
|
# GENERAL
|
|
#############################################################################
|
|
|
|
# RTOS port
|
|
IPPORT = vxworks
|
|
|
|
ifeq ($(COMP_IPNET_PATH),)
|
|
IPGMAKE = yes
|
|
else
|
|
# Building from within the VxWorks build system
|
|
IPGMAKE = no
|
|
IPPORT = vxworks
|
|
|
|
ifndef __DEFS_VSBVARS_MK_INCLUDED
|
|
include $(WIND_BASE)/target/h/make/defs.vsbvars.mk
|
|
endif
|
|
|
|
ifneq ($(wildcard $(VSB_MAKE_CONFIG_FILE)),)
|
|
include $(VSB_MAKE_CONFIG_FILE)
|
|
endif
|
|
|
|
endif
|
|
|
|
#############################################################################
|
|
# CONFIGURATION
|
|
#############################################################################
|
|
ifeq ($(IPGMAKE),yes)
|
|
|
|
# IPBUILD = debug | speed | debugspeed | size
|
|
IPBUILD = debug
|
|
|
|
# IPVERBOSE = no | yes
|
|
IPVERBOSE = no
|
|
|
|
# IPCOM_USE_INET6 = yes | no
|
|
IPCOM_USE_INET6 = yes
|
|
|
|
# FEATURE_SET = msp | gpp (vxworks only)
|
|
FEATURE_SET = msp
|
|
|
|
endif
|
|
#############################################################################
|
|
# IPMAKEFILE
|
|
#############################################################################
|
|
# If you move/rename this Makefile, please specify full filename!
|
|
|
|
#export IPMAKEFILE := /my/new/location/Makefile
|
|
|
|
|
|
#############################################################################
|
|
# FEATURE SET BUILD
|
|
#############################################################################
|
|
|
|
ifeq ($(WIND_IPNET),true)
|
|
include $(BASE_ROOT)/config.mk
|
|
ifneq ($(FEATURE_SET),)
|
|
include $(WIND_BASE)/config/common/defs.component
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(WIND_IPLITE),true)
|
|
include $(BASE_ROOT)/config.mk
|
|
ifneq ($(FEATURE_SET),)
|
|
include $(WIND_BASE)/config/common/defs.component
|
|
endif
|
|
endif
|
|
|
|
#############################################################################
|
|
# PRODUCT PATHS
|
|
#############################################################################
|
|
|
|
BASE_ROOT ?= $(CURDIR)/..
|
|
|
|
IPCOM_ROOT ?= $(CURDIR)
|
|
|
|
ifeq ($(IPGMAKE),yes)
|
|
#PRODLIST_START
|
|
|
|
#IPNET_ROOT = $(BASE_ROOT)/ipnet2
|
|
#IPLITE_ROOT = $(BASE_ROOT)/iplite2
|
|
#IPTCP_ROOT = $(BASE_ROOT)/iptcp
|
|
|
|
#IP8021X_ROOT = $(BASE_ROOT)/ip8021x
|
|
#IPAPPL_ROOT = $(BASE_ROOT)/ipappl
|
|
#IPDHCPR_ROOT = $(BASE_ROOT)/ipdhcpr
|
|
#IPDHCPS6_ROOT = $(BASE_ROOT)/ipdhcps6
|
|
#IPDHCPS_ROOT = $(BASE_ROOT)/ipdhcps
|
|
#IPDIAMETER_ROOT = $(BASE_ROOT)/ipdiameter
|
|
#IPROHC_ROOT = $(BASE_ROOT)/iprohc
|
|
#IPEAP_ROOT = $(BASE_ROOT)/ipeap
|
|
#IPEMANATE_ROOT = $(BASE_ROOT)/ipemanate
|
|
#IPFIREWALL_ROOT = $(BASE_ROOT)/ipfirewall
|
|
#IPFREESCALE_ROOT = $(BASE_ROOT)/ipfreescale
|
|
#IPHWCRYPTO_ROOT = $(BASE_ROOT)/iphwcrypto
|
|
#IPIKE_ROOT = $(BASE_ROOT)/ipike
|
|
#IPIPSEC_ROOT = $(BASE_ROOT)/ipipsec-$(IPPORT)
|
|
#IPIPSEC_ROOT = $(BASE_ROOT)/ipipsec2
|
|
#IPL2TP_ROOT = $(BASE_ROOT)/ipl2tp
|
|
#IPLDAPC_ROOT = $(BASE_ROOT)/ipldapc
|
|
#IPMCP_ROOT = $(BASE_ROOT)/ipmcp
|
|
#IPMIP_ROOT = $(BASE_ROOT)/ipmip
|
|
#IPMIP4_ROOT = $(BASE_ROOT)/ipmip4
|
|
#IPMIP6CN_ROOT = $(BASE_ROOT)/ipmip6cn
|
|
#IPMIP6HA_ROOT = $(BASE_ROOT)/ipmip6ha
|
|
#IPMIP6MN_ROOT = $(BASE_ROOT)/ipmip6mn
|
|
#IPMIP6PM_ROOT = $(BASE_ROOT)/ipmip6pm
|
|
#IPMIP6_ROOT = $(BASE_ROOT)/ipmip6
|
|
#IPMIPFA_ROOT = $(BASE_ROOT)/ipmipfa
|
|
#IPMIPHA_ROOT = $(BASE_ROOT)/ipmipha
|
|
#IPMIPMN_ROOT = $(BASE_ROOT)/ipmipmn
|
|
#IPMIPPM_ROOT = $(BASE_ROOT)/ipmippm
|
|
#IPMPLS_ROOT = $(BASE_ROOT)/ipmpls
|
|
#IPNETPERF_ROOT = $(BASE_ROOT)/ipnetperf
|
|
#IPNGC_ROOT = $(BASE_ROOT)/ipngc
|
|
#IPPPP_ROOT = $(BASE_ROOT)/ipppp
|
|
#IPPRISM_ROOT = $(BASE_ROOT)/ipprism-$(IPPORT)
|
|
#IPRADIUS_ROOT = $(BASE_ROOT)/ipradius
|
|
#IPRIPNG_ROOT = $(BASE_ROOT)/ipripng
|
|
#IPRIP_ROOT = $(BASE_ROOT)/iprip
|
|
#IPSCTP_ROOT = $(BASE_ROOT)/ipsctp
|
|
#IPSNMP_ROOT = $(BASE_ROOT)/ipsnmp
|
|
#IPSNTP_ROOT = $(BASE_ROOT)/ipsntp
|
|
#IPNTP_ROOT = $(BASE_ROOT)/ipntp
|
|
#IPSSH_ROOT = $(BASE_ROOT)/ipssh
|
|
#IPSSLPROXY_ROOT = $(BASE_ROOT)/ipsslproxy
|
|
#IPSSL_ROOT = $(BASE_ROOT)/ipssl2
|
|
#IPWEBS_ROOT = $(BASE_ROOT)/ipwebs
|
|
ifneq ($(IPNAE),yes)
|
|
#IPXINC_ROOT = $(BASE_ROOT)/ipxinc
|
|
#IPROUTE2_ROOT = $(BASE_ROOT)/iproute2
|
|
#VXCOMPAT_ROOT = $(BASE_ROOT)/vxcompat
|
|
#VXMUX_ROOT = $(BASE_ROOT)/vxmux
|
|
#IPBRIDGE_ROOT = $(BASE_ROOT)/ipbridge
|
|
#VXCOREIP_ROOT = $(BASE_ROOT)/vxcoreip
|
|
#VXDOT1X_ROOT = $(BASE_ROOT)/vxdot1x
|
|
#WRNAD_ROOT = $(BASE_ROOT)/wrnad
|
|
endif
|
|
|
|
# Choose one of ipcrypto or ipmcrypto:
|
|
#IPCRYPTO_ROOT = $(BASE_ROOT)/ipmcrypto
|
|
#IPCRYPTO_ROOT = $(BASE_ROOT)/ipcrypto
|
|
|
|
#PRODLIST_END
|
|
endif
|
|
|
|
#############################################################################
|
|
# IPOBJDIR
|
|
#############################################################################
|
|
# Object/library/binary directory.
|
|
|
|
ifeq ($(WIND_IPNET),true)
|
|
IPOBJDIR = $(WR_IPCOM_LIB_DIR)/objipcom$(OPT)
|
|
else
|
|
ifeq ($(WIND_IPLITE),true)
|
|
IPOBJDIR = $(WR_IPCOM_LIB_DIR)/objipcom$(OPT)
|
|
else
|
|
ifeq ($(IPPORT),lkm)
|
|
IPOBJDIR = $(IPCOM_ROOT)/obj-$(IPPORT)-$(IPTARGET)-$(IPVER)-gcc-$(IPBUILD)
|
|
else
|
|
ifeq ($(IPPORT),las)
|
|
IPOBJDIR = $(IPCOM_ROOT)/obj-$(IPPORT)-$(IPTARGET)-$(IPVER)-gcc-$(IPBUILD)
|
|
else
|
|
ifeq ($(IPPORT),rtcore)
|
|
IPOBJDIR = $(IPCOM_ROOT)/obj-$(IPPORT)-$(IPVER)-$(IPCOMPILER)-$(IPBUILD)
|
|
else
|
|
IPOBJDIR = $(IPCOM_ROOT)/$(IPNAEOBJ)obj-$(IPPORT)-$(IPTARGET)-$(IPVER)-$(IPCOMPILER)-$(IPBUILD)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
#############################################################################
|
|
# DO NOT EDIT BELOW!
|
|
#############################################################################
|
|
|
|
include $(IPCOM_ROOT)/gmake/ipcom_defs.mk
|
|
|
|
|
|
#############################################################################
|
|
# END OF Makefile
|
|
#############################################################################
|