14e7dc6ecSLuigi Rizzo# 24e7dc6ecSLuigi Rizzo# Compile netmap as a module, useful if you want a netmap bridge 34e7dc6ecSLuigi Rizzo# or loadable drivers. 44e7dc6ecSLuigi Rizzo 5*b6e66be2SVincenzo Maffione.include <bsd.own.mk> # FreeBSD 10 and earlier 6*b6e66be2SVincenzo Maffione# .include "${SYSDIR}/conf/kern.opts.mk" 737e3a6d3SLuigi Rizzo 8*b6e66be2SVincenzo Maffione.PATH: ${.CURDIR}/../../dev/netmap 9*b6e66be2SVincenzo Maffione.PATH.h: ${.CURDIR}/../../net 10*b6e66be2SVincenzo MaffioneCFLAGS += -I${.CURDIR}/../../ -D INET -D VIMAGE 114e7dc6ecSLuigi RizzoKMOD = netmap 1237e3a6d3SLuigi RizzoSRCS = device_if.h bus_if.h pci_if.h opt_netmap.h 134e7dc6ecSLuigi RizzoSRCS += netmap.c netmap.h netmap_kern.h 14f9790aebSLuigi RizzoSRCS += netmap_mem2.c netmap_mem2.h 15f9790aebSLuigi RizzoSRCS += netmap_generic.c 16f9790aebSLuigi RizzoSRCS += netmap_mbq.c netmap_mbq.h 17f9790aebSLuigi RizzoSRCS += netmap_vale.c 18f9790aebSLuigi RizzoSRCS += netmap_freebsd.c 19f0ea3689SLuigi RizzoSRCS += netmap_offloadings.c 20f0ea3689SLuigi RizzoSRCS += netmap_pipe.c 2189b95481SLuigi RizzoSRCS += netmap_monitor.c 22*b6e66be2SVincenzo MaffioneSRCS += netmap_kloop.c 232ff91c17SVincenzo MaffioneSRCS += netmap_legacy.c 24*b6e66be2SVincenzo MaffioneSRCS += netmap_bdg.c 25*b6e66be2SVincenzo MaffioneSRCS += netmap_null.c 2637e3a6d3SLuigi RizzoSRCS += if_ptnet.c 2737e3a6d3SLuigi RizzoSRCS += opt_inet.h opt_inet6.h 284e7dc6ecSLuigi Rizzo 294e7dc6ecSLuigi Rizzo.include <bsd.kmod.mk> 30