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: ${SRCTOP}/sys/dev/netmap
10 .PATH.h: ${SRCTOP}/sys/net
11 CFLAGS += -I${SRCTOP}/sys/ -D INET
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
25 SRCS += opt_inet.h opt_inet6.h
27 .include <bsd.kmod.mk>