1# $FreeBSD$ 2# 3# Compile netmap as a module, useful if you want a netmap bridge 4# or loadable drivers. 5 6.PATH: ${.CURDIR}/../../dev/netmap 7.PATH.h: ${.CURDIR}/../../net 8CFLAGS += -I${.CURDIR}/../../ 9KMOD = netmap 10SRCS = device_if.h bus_if.h opt_netmap.h 11SRCS += netmap.c netmap.h netmap_kern.h 12SRCS += netmap_mem2.c netmap_mem2.h 13SRCS += netmap_generic.c 14SRCS += netmap_mbq.c netmap_mbq.h 15SRCS += netmap_vale.c 16SRCS += netmap_freebsd.c 17 18.include <bsd.kmod.mk> 19