1# $FreeBSD$ 2# 3# Compile netmap as a module, useful if you want a netmap bridge 4# or loadable drivers. 5 6SYSDIR?=${SRCTOP}/sys 7.include "${SYSDIR}/conf/kern.opts.mk" 8 9.PATH: ${SYSDIR}/dev/netmap 10.PATH.h: ${SYSDIR}/net 11CFLAGS += -I${SYSDIR}/ -D INET 12KMOD = netmap 13SRCS = device_if.h bus_if.h pci_if.h opt_netmap.h 14SRCS += netmap.c netmap.h netmap_kern.h 15SRCS += netmap_mem2.c netmap_mem2.h 16SRCS += netmap_generic.c 17SRCS += netmap_mbq.c netmap_mbq.h 18SRCS += netmap_vale.c 19SRCS += netmap_freebsd.c 20SRCS += netmap_offloadings.c 21SRCS += netmap_pipe.c 22SRCS += netmap_monitor.c 23SRCS += netmap_pt.c 24SRCS += netmap_legacy.c 25SRCS += if_ptnet.c 26SRCS += opt_inet.h opt_inet6.h 27 28.include <bsd.kmod.mk> 29