############################################################################# # IPMIP4.MK # # Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmip.mk,v $ $Revision: 1.14 $ # $Source: /home/interpeak/CVSRoot/ipmip/gmake/ipmip.mk,v $ # $Author: ulf $ $Date: 2009-06-08 11:05:24 $ # $State: Exp $ $Locker: $ # # Copyright 2000-2006 Interpeak AB (http://www.interpeak.se). All rights reserved. # ############################################################################# # # Copyright (c) 2006 Wind River Systems, Inc. # # The right to copy, distribute, modify or otherwise make use # of this software may be licensed only pursuant to the terms # of an applicable Wind River license agreement. # # modification history # -------------------- # 01a,31aug06,kch Build ipmipmn_config.o only if $(SKIP_CONFIG) is either # not defined or set to anything other than true. # ifeq ($(IPMIP),) IPMIP := yes ############################################################################# # PRODUCT ########################################################################### IPPROD ?= ipmip ############################################################################# # DEFINE ########################################################################### IPDEFINE += -DIPMIP ifneq ($(IPPORT),lkm) IPDEFINE += -DIPNET_USE_NETLINKSOCK endif ############################################################################# # INCLUDE ########################################################################### IPINCLUDE += -I$(IPMIP_ROOT)/include IPINCLUDE += -I$(IPMIP_ROOT)/config ############################################################################# # OBJECTS ########################################################################### ifneq ($(IPPORT),lkm) # Library files. IPLIBOBJECTS += ipmip_attr.o IPLIBOBJECTS += ipmip_cli.o IPLIBOBJECTS += ipmip_dhcp.o IPLIBOBJECTS += ipmip_dhcp6.o IPLIBOBJECTS += ipmip_inet.o IPLIBOBJECTS += ipmip_inet6.o IPLIBOBJECTS += ipmip_netlink.o IPLIBOBJECTS += ipmip_pktbuf.o IPLIBOBJECTS += ipmip_ntop.o IPLIBOBJECTS += ipmip_lladdr.o IPLIBOBJECTS += ipmip_buffer.o IPLIBOBJECTS += ipmip_context.o IPLIBOBJECTS += ipmip_util.o IPLIBOBJECTS += ipmip_timer.o IPLIBOBJECTS += ipmip_sysvar.o IPLIBOBJECTS += ipmip_if.o IPLIBOBJECTS += ipmip_log.o IPLIBOBJECTS += ipmip_rtab.o ############################################################################# # VPATH ########################################################################### endif # LKM ifneq ($(IPPORT),las) IPLIBOBJECTS += ipmip_netlink_kern.o endif IPSRCDIRS += $(IPMIP_ROOT)/src ############################################################################# # LIB ########################################################################### IPLIBS += $(IPLIBROOT)/libipmip.a ############################################################################# # BINARIES ########################################################################### endif # IPMIP ########################################################################### # END OF IPMIP4.MK ###########################################################################