# Makefile for hal/drivers/common/udpfilterdriver


### Requires these modules

REQUIRES += base/c


### Component specification

COMPONENT_TARGETS = $(TARGET_NAME_VIP)

FLAVOURS = std port

### Targets

module_target  = $(TARGET)/udpfilterdriver_$(FLAVOUR).o
module_srcs    = udpfilter.c
module_objs    = $(addprefix $(TARGET)/$(FLAVOUR)/,$(module_srcs:.c=.o))

MODULE_SRCS    = $(module_srcs)
MODULE_TARGETS = $(module_target)



### Export interface

INTERFACE_HEADERS += udpfilter_ioctl.h

### Common.mk

include ../../../../makesystem/common.mk

ifeq ($(FLAVOUR),port)
COMMON_FLAGS += -DPORT_FILTERING
endif

### Dependencies

$(module_target): $(module_objs)
	$(MODULE_LINK)
