1# $FreeBSD$ 2# 3# Compile netmap as a module, useful if you want a netmap bridge 4# or loadable drivers. 5 6.include <bsd.own.mk> # FreeBSD 10 and earlier 7# .include "${SYSDIR}/conf/kern.opts.mk" 8 9.PATH: ${SRCTOP}/sys/dev/netmap 10.PATH.h: ${SRCTOP}/sys/net 11CFLAGS += -I${SRCTOP}/sys/ -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 += if_ptnet.c 25SRCS += opt_inet.h opt_inet6.h 26 27.include <bsd.kmod.mk> 28