116 lines
3.3 KiB
Makefile
116 lines
3.3 KiB
Makefile
#############################################################################
|
|
# IPMIP4.MK
|
|
#
|
|
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmip4.mk,v $ $Revision: 1.23 $
|
|
# $Source: /home/interpeak/CVSRoot/ipmip4/gmake/ipmip4.mk,v $
|
|
# $Author: jhorteli $ $Date: 2009-03-31 14:59: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 ($(IPMIP4),)
|
|
ifneq ($(IPCOM_USE_INET),no)
|
|
|
|
IPMIP4 := yes
|
|
|
|
|
|
#############################################################################
|
|
# PRODUCT
|
|
###########################################################################
|
|
|
|
IPPROD ?= ipmip4
|
|
|
|
|
|
#############################################################################
|
|
# DEFINE
|
|
###########################################################################
|
|
|
|
IPDEFINE += -DIPMIP4
|
|
|
|
|
|
#############################################################################
|
|
# INCLUDE
|
|
###########################################################################
|
|
|
|
IPINCLUDE += -I$(IPMIP4_ROOT)/config
|
|
IPINCLUDE += -I$(IPMIP4_ROOT)/include
|
|
|
|
|
|
#############################################################################
|
|
# OBJECTS
|
|
###########################################################################
|
|
|
|
ifneq ($(IPPORT),las)
|
|
# KERNEL objects
|
|
IPLIBOBJECTS += ipmip4_ipnet.o
|
|
IPLIBOBJECTS += ipmip4_netlink_kern.o
|
|
endif
|
|
|
|
ifneq ($(IPPORT),lkm)
|
|
|
|
# Library files.
|
|
IPLIBOBJECTS += ipmip4_attr.o
|
|
IPLIBOBJECTS += ipmip4_auth.o
|
|
IPLIBOBJECTS += ipmip4_cli.o
|
|
IPLIBOBJECTS += ipmip4_context.o
|
|
IPLIBOBJECTS += ipmip4_diameter.o
|
|
IPLIBOBJECTS += ipmip4_if.o
|
|
IPLIBOBJECTS += ipmip4_ipnet_usr.o
|
|
IPLIBOBJECTS += ipmip4_ipradius.o
|
|
IPLIBOBJECTS += ipmip4_lla.o
|
|
IPLIBOBJECTS += ipmip4_msgext.o
|
|
IPLIBOBJECTS += ipmip4_netlink.o
|
|
IPLIBOBJECTS += ipmip4_ntop.o
|
|
IPLIBOBJECTS += ipmip4_pkt.o
|
|
IPLIBOBJECTS += ipmip4_sysext.o
|
|
IPLIBOBJECTS += ipmip4_util.o
|
|
IPLIBOBJECTS += ipmip4_vendor_ext.o
|
|
|
|
# SNMP
|
|
ifneq ($(WIND_IPNET),true)
|
|
IPLIBOBJECTS += ipmip4_mip_mib.o
|
|
endif
|
|
|
|
#############################################################################
|
|
# VPATH
|
|
###########################################################################
|
|
|
|
IPSRCDIRS += $(IPMIP4_ROOT)/config
|
|
endif # LKM
|
|
IPSRCDIRS += $(IPMIP4_ROOT)/src
|
|
|
|
|
|
#############################################################################
|
|
# LIB
|
|
###########################################################################
|
|
|
|
IPLIBS += $(IPLIBROOT)/libipmip4.a
|
|
|
|
|
|
#############################################################################
|
|
# BINARIES
|
|
###########################################################################
|
|
|
|
|
|
endif # IPCOM_USE_INET
|
|
endif # IPMIP4
|
|
|
|
###########################################################################
|
|
# END OF IPMIP4.MK
|
|
###########################################################################
|