3 # Compile netmap as a module, useful if you want a netmap bridge
6 .include <bsd.own.mk> # FreeBSD 10 and earlier
7 # .include "${SYSDIR}/conf/kern.opts.mk"
9 .PATH: ${.CURDIR}/../../dev/netmap
10 .PATH.h: ${.CURDIR}/../../net
11 CFLAGS += -I${.CURDIR}/../../ -D INET -D VIMAGE
13 SRCS = device_if.h bus_if.h pci_if.h opt_netmap.h
14 SRCS += netmap.c netmap.h netmap_kern.h
15 SRCS += netmap_mem2.c netmap_mem2.h
16 SRCS += netmap_generic.c
17 SRCS += netmap_mbq.c netmap_mbq.h
19 SRCS += netmap_freebsd.c
20 SRCS += netmap_offloadings.c
22 SRCS += netmap_monitor.c
23 SRCS += netmap_kloop.c
24 SRCS += netmap_legacy.c
28 SRCS += opt_inet.h opt_inet6.h
30 .include <bsd.kmod.mk>