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*b6e66be2SVincenzo Maffione.include <bsd.own.mk> # FreeBSD 10 and earlier 7*b6e66be2SVincenzo Maffione# .include "${SYSDIR}/conf/kern.opts.mk" 837e3a6d3SLuigi Rizzo 9*b6e66be2SVincenzo Maffione.PATH: ${.CURDIR}/../../dev/netmap 10*b6e66be2SVincenzo Maffione.PATH.h: ${.CURDIR}/../../net 11*b6e66be2SVincenzo MaffioneCFLAGS += -I${.CURDIR}/../../ -D INET -D VIMAGE 124e7dc6ecSLuigi RizzoKMOD = netmap 1337e3a6d3SLuigi 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*b6e66be2SVincenzo MaffioneSRCS += netmap_kloop.c 242ff91c17SVincenzo MaffioneSRCS += netmap_legacy.c 25*b6e66be2SVincenzo MaffioneSRCS += netmap_bdg.c 26*b6e66be2SVincenzo MaffioneSRCS += netmap_null.c 2737e3a6d3SLuigi RizzoSRCS += if_ptnet.c 2837e3a6d3SLuigi RizzoSRCS += opt_inet.h opt_inet6.h 294e7dc6ecSLuigi Rizzo 304e7dc6ecSLuigi Rizzo.include <bsd.kmod.mk> 31