original files of m241
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
IPTARGETS := lib
|
||||
|
||||
ifneq ($(IPMAKEFILE),)
|
||||
include $(IPMAKEFILE)
|
||||
else
|
||||
include $(IPCOM_ROOT)/Makefile
|
||||
endif
|
||||
|
||||
ifneq ($(IPTEMPLATE),)
|
||||
include $(IPTEMPLATE)
|
||||
else
|
||||
include ipnet2.mk
|
||||
endif
|
||||
|
||||
include $(IPCOM_ROOT)/gmake/ipcom_make.mk
|
||||
|
||||
ifeq ($(IPPORT),las)
|
||||
lib: dirs $(IPLIBFILE)
|
||||
else
|
||||
lib: dirs $(IPLIBFILE)
|
||||
$(IPMAKE) IPTEMPLATE=ipnet2_krn.mk lib2
|
||||
|
||||
lib2: dirs $(IPLIBFILE)
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,201 @@
|
||||
#############################################################################
|
||||
# IPNET2.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet2.mk,v $ $Revision: 1.30.10.3 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet2.mk,v $
|
||||
# $Author: jren $ $Date: 2013-07-18 03:27:00 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
ifeq ($(IPNET2_MK_INCLUDED),)
|
||||
IPNET2_MK_INCLUDED := yes
|
||||
|
||||
#############################################################################
|
||||
# PRODUCT
|
||||
###########################################################################
|
||||
|
||||
IPPROD ?= ipnet
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
IPDEFINE += -DIPNET
|
||||
|
||||
|
||||
#############################################################################
|
||||
# INCLUDE
|
||||
###########################################################################
|
||||
|
||||
IPINCLUDE += -I$(IPNET_ROOT)/config
|
||||
IPINCLUDE += -I$(IPNET_ROOT)/include
|
||||
IPINCLUDE += -I$(IPNET_ROOT)/src
|
||||
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# Functions for the userland library
|
||||
IPLIBOBJECTS += ipnet_cmd.o
|
||||
|
||||
ifneq ($(IPPORT),lkm)
|
||||
IPLIBOBJECTS += ipnet_cmd_netstat.o
|
||||
|
||||
ifneq ($(IPPORT),las)
|
||||
# Shell commands needed for boot
|
||||
IPLIBOBJECTS += ipnet_cmd_ifconfig.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ifconfig_common.o
|
||||
IPLIBOBJECTS += ipnet_cmd_qc.o
|
||||
IPLIBOBJECTS += ipnet_cmd_route.o
|
||||
IPLIBOBJECTS += ipnet_cmd_sysctl.o
|
||||
IPLIBOBJECTS += ipnet_sysctl_common.o
|
||||
|
||||
# Additional shell commands
|
||||
IPLIBOBJECTS += ipnet_cmd_arp.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ctrl.o
|
||||
IPLIBOBJECTS += ipnet_cmd_pcap.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ping.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ping_common.o
|
||||
IPLIBOBJECTS += ipnet_cmd_qos.o
|
||||
IPLIBOBJECTS += ipnet_cmd_scaletest.o
|
||||
|
||||
IPLIBOBJECTS += ipnet_cmd_ip.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_route.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_link.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_nae.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_neigh.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_vr.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_address.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_rule.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ip_xfrm.o
|
||||
|
||||
|
||||
# Config daemon
|
||||
IPLIBOBJECTS += ipnet_configd.o
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
#############################################################################
|
||||
# VPATH
|
||||
###########################################################################
|
||||
|
||||
IPSRCDIRS += $(IPNET_ROOT)/src
|
||||
IPSRCDIRS += $(IPNET_ROOT)/config
|
||||
|
||||
|
||||
#############################################################################
|
||||
# LIB
|
||||
###########################################################################
|
||||
|
||||
IPLIBS += $(IPLIBROOT)/libipnet.a
|
||||
ifneq ($(IPPORT),las)
|
||||
IPLIBS += $(IPLIBROOT)/libipnet_krn.a
|
||||
endif
|
||||
|
||||
#############################################################################
|
||||
# IPv6
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(IPCOM_USE_INET6),no)
|
||||
-include $(IPNET_ROOT)/gmake/ipnet26.mk
|
||||
endif
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Markets Specific Platform
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(FEATURE_SET),)
|
||||
ifneq ($(FEATURE_SET),gpp)
|
||||
-include $(IPNET_ROOT)/gmake/ipnet2_msp.mk
|
||||
endif
|
||||
endif
|
||||
|
||||
#############################################################################
|
||||
# BINARIES
|
||||
#############################################################################
|
||||
|
||||
ifeq ($(IPPORT),las)
|
||||
# Path to binaries
|
||||
IPCMDDIR := $(IPOBJDIR)/bin
|
||||
IPDAEMONDIR := $(IPOBJDIR)/sbin
|
||||
|
||||
# List of shell commands to build
|
||||
IPNETSHELLCMDS = ping route qc qos nat ifconfig
|
||||
ifneq ($(IPCOM_USE_INET6),no)
|
||||
IPNETSHELLCMDS += ping6
|
||||
endif
|
||||
_IPNETSHELLCMDS = $(addprefix $(IPCMDDIR)/,$(IPNETSHELLCMDS))
|
||||
|
||||
# List of daemons to build
|
||||
IPNETDAEMONS = vrrpd
|
||||
ifneq ($(IPCOM_USE_INET6),no)
|
||||
IPNETDAEMONS += radvd
|
||||
endif
|
||||
_IPNETDAEMONS = $(addprefix $(IPDAEMONDIR)/,$(IPNETDAEMONS))
|
||||
|
||||
bin: $(_IPNETSHELLCMDS) $(_IPNETDAEMONS)
|
||||
|
||||
|
||||
$(IPOBJDIR)/ipnet_cmd_%.o: $(IPNET_ROOT)/src/ipnet_cmd_%.c
|
||||
@$(IPECHO) "+++ Compiling IPNET shell command $<"
|
||||
$(IPVERB)$(IPCC) -Dipnet_cmd_$*=ipcom_cmd_entry_point $(IPCFLAGS) -o $@ $<
|
||||
|
||||
$(IPCMDDIR)/ping: $(IPOBJDIR)/ipnet_cmd_ping.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPCMDDIR)/route: $(IPOBJDIR)/ipnet_cmd_route.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPCMDDIR)/qc: $(IPOBJDIR)/ipnet_cmd_qc.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPCMDDIR)/qos: $(IPOBJDIR)/ipnet_cmd_qos.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPCMDDIR)/nat: $(IPOBJDIR)/ipnet_cmd_nat.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPCMDDIR)/ifconfig: $(IPOBJDIR)/ipnet_cmd_ifconfig.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPCMDDIR)/ping6: $(IPOBJDIR)/ipnet_cmd_ping6.o $(IPOBJDIR)/ipcom_shell_cmd_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET shell command $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
|
||||
$(IPOBJDIR)/ipnet_%.o: $(IPNET_ROOT)/src/ipnet_%.c
|
||||
@$(IPECHO) "+++ Compiling IPNET deamon $<"
|
||||
$(IPVERB)$(IPCC) -Dipnet_$*_proc=ipcom_daemon_entry_point -Dipnet_$*_create=ipcom_daemon_create $(IPCFLAGS) -o $@ $<
|
||||
|
||||
$(IPOBJDIR)/ipnet_%_config.o: $(IPNET_ROOT)/config/ipnet_%_config.c
|
||||
@$(IPECHO) "+++ Compiling IPNET deamon $<"
|
||||
$(IPVERB)$(IPCC) -Dipnet_$*_configure=ipcom_daemon_configure $(IPCFLAGS) -o $@ $<
|
||||
|
||||
$(IPDAEMONDIR)/vrrpd: $(IPOBJDIR)/ipnet_vrrpd.o $(IPOBJDIR)/ipnet_vrrpd_config.o $(IPOBJDIR)/ipcom_daemon_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET daemon $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
$(IPDAEMONDIR)/radvd: $(IPOBJDIR)/ipnet_radvd.o $(IPOBJDIR)/ipnet_radvd_config.o $(IPOBJDIR)/ipcom_daemon_stub.o
|
||||
@$(IPECHO) "+++ Linking IPNET daemon $@"
|
||||
$(IPVERB)$(IPLD) -o $@ $(IPLDFLAGS) $^ $(IPLIBS) $(IPLIBS) $(IPLIBS) $(IPLASTLIBS)
|
||||
|
||||
endif
|
||||
|
||||
endif # IPNET2_MK_INCLUDED
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET2.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,64 @@
|
||||
#############################################################################
|
||||
# IPNET26.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet26.mk,v $ $Revision: 1.16 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet26.mk,v $
|
||||
# $Author: jonas $ $Date: 2009-03-05 12:52:20 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(IPPORT),lkm)
|
||||
IPDEFINE += -DIPCOM_USE_INET6
|
||||
endif
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
|
||||
|
||||
ifneq ($(IPPORT),lkm)
|
||||
IPLIBOBJECTS += ipnet_radvd_lib.o
|
||||
|
||||
ifneq ($(IPPORT),las)
|
||||
# Config
|
||||
IPLIBOBJECTS_C += ipnet_radvd_config.o
|
||||
|
||||
# IPv6 shell commands
|
||||
IPLIBOBJECTS += ipnet_cmd_ndp.o
|
||||
IPLIBOBJECTS += ipnet_cmd_ping6.o
|
||||
IPLIBOBJECTS += ipnet_cmd_radvd.o
|
||||
IPLIBOBJECTS += ipnet_radvd.o
|
||||
|
||||
# Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined
|
||||
# or set to anything other than true.
|
||||
ifneq ($(SKIP_CONFIG),true)
|
||||
IPLIBOBJECTS += $(IPLIBOBJECTS_C)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
#############################################################################
|
||||
# Markets Specific Platform
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(FEATURE_SET),)
|
||||
ifneq ($(FEATURE_SET),gpp)
|
||||
-include $(IPNET_ROOT)/gmake/ipnet26_msp.mk
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET26.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,47 @@
|
||||
#############################################################################
|
||||
# IPNET26.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet26_krn.mk,v $ $Revision: 1.10 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet26_krn.mk,v $
|
||||
# $Author: rboden $ $Date: 2008-08-11 12:04:27 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# IPv6
|
||||
IPLIBOBJECTS += ipnet_icmp6.o
|
||||
IPLIBOBJECTS += ipnet_ip6.o
|
||||
ifneq ($(WIND_IPNET),true)
|
||||
IPLIBOBJECTS += ipnet_ipv6_icmp_mib.o
|
||||
IPLIBOBJECTS += ipnet_ipv6_mib.o
|
||||
IPLIBOBJECTS += ipnet_ipv6_udp_mib.o
|
||||
endif
|
||||
IPLIBOBJECTS += ipnet_sock_ip6.o
|
||||
#IPLIBOBJECTS += ipnet_mip6_kern.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_ip6.o
|
||||
|
||||
#############################################################################
|
||||
# Markets Specific Platform
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(FEATURE_SET),)
|
||||
ifneq ($(FEATURE_SET),gpp)
|
||||
-include $(IPNET_ROOT)/gmake/ipnet26_msp_krn.mk
|
||||
endif
|
||||
endif
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET26.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,38 @@
|
||||
#############################################################################
|
||||
# IPNET26.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet26_msp.mk,v $ $Revision: 1.1 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet26_msp.mk,v $
|
||||
# $Author: rboden $ $Date: 2008-08-11 12:04:27 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(IPPORT),lkm)
|
||||
ifneq ($(IPPORT),las)
|
||||
# Vrrp daemon
|
||||
IPLIBOBJECTS_C += ipnet_send_config.o
|
||||
IPLIBOBJECTS += ipnet_cmd_cga.o
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
# Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined
|
||||
# or set to anything other than true.
|
||||
ifneq ($(SKIP_CONFIG),true)
|
||||
IPLIBOBJECTS += $(IPLIBOBJECTS_C)
|
||||
endif
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET2_MSP.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,33 @@
|
||||
#############################################################################
|
||||
# IPNET2.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet26_msp_krn.mk,v $ $Revision: 1.1.68.1 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet26_msp_krn.mk,v $
|
||||
# $Author: hxie $ $Date: 2013-02-21 03:05:02 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# Markets Specific Platform files
|
||||
IPLIBOBJECTS += ipnet_ip6_mcast.o
|
||||
|
||||
# RFC 3971, 3972, Secure NDP, Cryptographically Generated Addresses
|
||||
IPLIBOBJECTS += ipnet_cga.o
|
||||
IPLIBOBJECTS += ipnet_send.o
|
||||
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET2_MSP_KRN.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,150 @@
|
||||
#############################################################################
|
||||
# IPNET2_KRN.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet2_krn.mk,v $ $Revision: 1.34.10.2 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet2_krn.mk,v $
|
||||
# $Author: svc-cmnet $ $Date: 2013-03-13 07:45:36 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# PRODUCT
|
||||
###########################################################################
|
||||
|
||||
IPPROD ?= ipnet_krn
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
#############################################################################
|
||||
# INCLUDE
|
||||
###########################################################################
|
||||
|
||||
IPINCLUDE += -I$(BASE_ROOT)/$(IPWLANDIR)/include
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# Configuration
|
||||
IPLIBOBJECTS_C += ipnet_config.o
|
||||
|
||||
# Main
|
||||
IPLIBOBJECTS += ipnet_post.o
|
||||
IPLIBOBJECTS += ipnet.o
|
||||
IPLIBOBJECTS += ipnet_classifier.o
|
||||
IPLIBOBJECTS += ipnet_ctrl.o
|
||||
IPLIBOBJECTS += ipnet_debug.o
|
||||
IPLIBOBJECTS += ipnet_diffserv.o
|
||||
IPLIBOBJECTS += ipnet_ds_sm.o
|
||||
IPLIBOBJECTS += ipnet_ds_srtcm.o
|
||||
IPLIBOBJECTS += ipnet_dst_cache.o
|
||||
IPLIBOBJECTS += ipnet_eth.o
|
||||
IPLIBOBJECTS += ipnet_frag.o
|
||||
IPLIBOBJECTS += ipnet_gre.o
|
||||
IPLIBOBJECTS += ipnet_ioctl.o
|
||||
IPLIBOBJECTS += ipnet_ip4.o
|
||||
IPLIBOBJECTS += ipnet_loopback.o
|
||||
IPLIBOBJECTS += ipnet_mcast.o
|
||||
IPLIBOBJECTS += ipnet_mib2.o
|
||||
IPLIBOBJECTS += ipnet_neigh.o
|
||||
IPLIBOBJECTS += ipnet_netif.o
|
||||
IPLIBOBJECTS += ipnet_netlink.o
|
||||
IPLIBOBJECTS += ipnet_peer_info.o
|
||||
IPLIBOBJECTS += ipnet_pipe.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue_fifo.o
|
||||
IPLIBOBJECTS += ipnet_post.o
|
||||
IPLIBOBJECTS += ipnet_raw.o
|
||||
IPLIBOBJECTS += ipnet_route.o
|
||||
IPLIBOBJECTS += ipnet_routesock.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_nae.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_ip4.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_link.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_neigh.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_route.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_rule.o
|
||||
IPLIBOBJECTS += ipnet_rtnetlink_vr.o
|
||||
IPLIBOBJECTS += ipnet_sock.o
|
||||
IPLIBOBJECTS += ipnet_sock_ip4.o
|
||||
IPLIBOBJECTS += ipnet_sock_sctp.o
|
||||
IPLIBOBJECTS += ipnet_sock_tcp.o
|
||||
IPLIBOBJECTS += ipnet_sockdev.o
|
||||
IPLIBOBJECTS += ipnet_sockopt.o
|
||||
IPLIBOBJECTS += ipnet_sysctl.o
|
||||
IPLIBOBJECTS += ipnet_udp.o
|
||||
IPLIBOBJECTS += ipnet_usr_sock.o
|
||||
IPLIBOBJECTS += ipnet_wlan.o
|
||||
|
||||
ifeq ($(IPPORT),vxworks)
|
||||
IPLIBOBJECTS += ipnet_link_stub.o
|
||||
endif
|
||||
|
||||
|
||||
ifneq ($(IPPORT),lkm)
|
||||
IPLIBOBJECTS += ipnet_pcap.o
|
||||
IPLIBOBJECTS += ipnet_pkt_pool.o
|
||||
IPLIBOBJECTS += ipnet_configd.o
|
||||
endif
|
||||
|
||||
# PPP
|
||||
IPLIBOBJECTS += ipnet_ppp.o
|
||||
|
||||
# MPLS
|
||||
IPLIBOBJECTS += ipnet_mpls.o
|
||||
|
||||
# IPIPSEC
|
||||
IPLIBOBJECTS += ipnet_ipsec.o
|
||||
|
||||
# SNMP
|
||||
ifneq ($(WIND_IPNET),true)
|
||||
IPLIBOBJECTS += ipnet_if_mib.o
|
||||
IPLIBOBJECTS += ipnet_ip_forward_mib.o
|
||||
IPLIBOBJECTS += ipnet_ip_mib.o
|
||||
IPLIBOBJECTS += ipnet_udp_mib.o
|
||||
endif
|
||||
|
||||
# Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined
|
||||
# or set to anything other than true.
|
||||
ifneq ($(SKIP_CONFIG),true)
|
||||
IPLIBOBJECTS += $(IPLIBOBJECTS_C)
|
||||
endif
|
||||
|
||||
|
||||
#############################################################################
|
||||
# VPATH
|
||||
###########################################################################
|
||||
|
||||
IPSRCDIRS += $(IPNET_ROOT)/src
|
||||
IPSRCDIRS += $(IPNET_ROOT)/config
|
||||
|
||||
|
||||
#############################################################################
|
||||
# IPv6
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(IPCOM_USE_INET6),no)
|
||||
-include $(IPNET_ROOT)/gmake/ipnet26_krn.mk
|
||||
endif
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Markets Specific Platform
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(FEATURE_SET),)
|
||||
ifneq ($(FEATURE_SET),gpp)
|
||||
-include $(IPNET_ROOT)/gmake/ipnet2_msp_krn.mk
|
||||
endif
|
||||
endif
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET2_KRN.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,39 @@
|
||||
#############################################################################
|
||||
# IPNET26.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet2_msp.mk,v $ $Revision: 1.6 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet2_msp.mk,v $
|
||||
# $Author: rboden $ $Date: 2008-08-11 12:04:27 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
ifneq ($(IPPORT),lkm)
|
||||
ifneq ($(IPPORT),las)
|
||||
# Vrrp daemon
|
||||
IPLIBOBJECTS_C += ipnet_vrrpd_config.o
|
||||
IPLIBOBJECTS += ipnet_vrrpd.o
|
||||
IPLIBOBJECTS += ipnet_cmd_nat.o
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
# Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined
|
||||
# or set to anything other than true.
|
||||
ifneq ($(SKIP_CONFIG),true)
|
||||
IPLIBOBJECTS += $(IPLIBOBJECTS_C)
|
||||
endif
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET2_MSP.MK
|
||||
###########################################################################
|
||||
@@ -0,0 +1,53 @@
|
||||
#############################################################################
|
||||
# IPNET2.MK
|
||||
#
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipnet2_msp_krn.mk,v $ $Revision: 1.10.10.1 $
|
||||
# $Source: /home/interpeak/CVSRoot/ipnet2/gmake/ipnet2_msp_krn.mk,v $
|
||||
# $Author: hxie $ $Date: 2013-02-21 03:05:02 $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# Markets Specific Platform files
|
||||
IPLIBOBJECTS += ipnet_ip4_mcast.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue_dpaf.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue_htbc.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue_mbc.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue_netemu.o
|
||||
IPLIBOBJECTS += ipnet_pkt_queue_null.o
|
||||
IPLIBOBJECTS += ipnet_tunnel.o
|
||||
IPLIBOBJECTS += ipnet_vlan.o
|
||||
IPLIBOBJECTS += ipnet_svlan.o
|
||||
IPLIBOBJECTS += ipnet_svlan_netlink.o
|
||||
IPLIBOBJECTS += ipnet_cmd_vconfig.o
|
||||
IPLIBOBJECTS += ipnet_cmd_svconfig.o
|
||||
IPLIBOBJECTS += ipnet_bond.o
|
||||
IPLIBOBJECTS += ipnet_vrrp.o
|
||||
|
||||
# NAT
|
||||
IPLIBOBJECTS += ipnet_nat.o
|
||||
IPLIBOBJECTS += ipnet_nat_pt.o
|
||||
IPLIBOBJECTS += ipnet_nat_ftpproxy.o
|
||||
IPLIBOBJECTS += ipnet_nat_h323proxy.o
|
||||
IPLIBOBJECTS += ipnet_nat_dnsproxy.o
|
||||
IPLIBOBJECTS += ipnet_nat_ipsecproxy.o
|
||||
IPLIBOBJECTS += ipnet_nat_triggerproxy.o
|
||||
IPLIBOBJECTS += ipnet_nat_pptpproxy.o
|
||||
IPLIBOBJECTS += ipnet_nat_sipproxy.o
|
||||
|
||||
|
||||
###########################################################################
|
||||
# END OF IPNET2_MSP_KRN.MK
|
||||
###########################################################################
|
||||
Reference in New Issue
Block a user