14e7dc6ecSLuigi Rizzo# $FreeBSD$ 24e7dc6ecSLuigi Rizzo# 34e7dc6ecSLuigi Rizzo# Compile netmap as a module, useful if you want a netmap bridge 44e7dc6ecSLuigi Rizzo# or loadable drivers. 54e7dc6ecSLuigi Rizzo 6*37e3a6d3SLuigi Rizzo.include <bsd.own.mk> # FreeBSD 10 and earlier 7*37e3a6d3SLuigi Rizzo# .include "${SYSDIR}/conf/kern.opts.mk" 8*37e3a6d3SLuigi Rizzo 94e7dc6ecSLuigi Rizzo.PATH: ${.CURDIR}/../../dev/netmap 104e7dc6ecSLuigi Rizzo.PATH.h: ${.CURDIR}/../../net 11*37e3a6d3SLuigi RizzoCFLAGS += -I${.CURDIR}/../../ -D INET 124e7dc6ecSLuigi RizzoKMOD = netmap 13*37e3a6d3SLuigi RizzoSRCS = device_if.h bus_if.h pci_if.h opt_netmap.h 144e7dc6ecSLuigi RizzoSRCS += netmap.c netmap.h netmap_kern.h 15f9790aebSLuigi RizzoSRCS += netmap_mem2.c netmap_mem2.h 16f9790aebSLuigi RizzoSRCS += netmap_generic.c 17f9790aebSLuigi RizzoSRCS += netmap_mbq.c netmap_mbq.h 18f9790aebSLuigi RizzoSRCS += netmap_vale.c 19f9790aebSLuigi RizzoSRCS += netmap_freebsd.c 20f0ea3689SLuigi RizzoSRCS += netmap_offloadings.c 21f0ea3689SLuigi RizzoSRCS += netmap_pipe.c 2289b95481SLuigi RizzoSRCS += netmap_monitor.c 23*37e3a6d3SLuigi RizzoSRCS += netmap_pt.c 24*37e3a6d3SLuigi RizzoSRCS += if_ptnet.c 25*37e3a6d3SLuigi RizzoSRCS += opt_inet.h opt_inet6.h 264e7dc6ecSLuigi Rizzo 274e7dc6ecSLuigi Rizzo.include <bsd.kmod.mk> 28