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