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.PATH: ${.CURDIR}/../../dev/netmap 6*b6e66be2SVincenzo Maffione.PATH.h: ${.CURDIR}/../../net 7*b6e66be2SVincenzo MaffioneCFLAGS += -I${.CURDIR}/../../ -D INET -D VIMAGE 84e7dc6ecSLuigi RizzoKMOD = netmap 937e3a6d3SLuigi RizzoSRCS = device_if.h bus_if.h pci_if.h opt_netmap.h 104e7dc6ecSLuigi RizzoSRCS += netmap.c netmap.h netmap_kern.h 11f9790aebSLuigi RizzoSRCS += netmap_mem2.c netmap_mem2.h 12f9790aebSLuigi RizzoSRCS += netmap_generic.c 13f9790aebSLuigi RizzoSRCS += netmap_mbq.c netmap_mbq.h 14f9790aebSLuigi RizzoSRCS += netmap_vale.c 15f9790aebSLuigi RizzoSRCS += netmap_freebsd.c 16f0ea3689SLuigi RizzoSRCS += netmap_offloadings.c 17f0ea3689SLuigi RizzoSRCS += netmap_pipe.c 1889b95481SLuigi RizzoSRCS += netmap_monitor.c 19*b6e66be2SVincenzo MaffioneSRCS += netmap_kloop.c 202ff91c17SVincenzo MaffioneSRCS += netmap_legacy.c 21*b6e66be2SVincenzo MaffioneSRCS += netmap_bdg.c 22*b6e66be2SVincenzo MaffioneSRCS += netmap_null.c 2337e3a6d3SLuigi RizzoSRCS += if_ptnet.c 2437e3a6d3SLuigi RizzoSRCS += opt_inet.h opt_inet6.h 254e7dc6ecSLuigi Rizzo 264e7dc6ecSLuigi Rizzo.include <bsd.kmod.mk> 27