1236256Sluigi# $FreeBSD: releng/10.3/sys/modules/netmap/Makefile 272648 2014-10-06 14:39:45Z luigi $ 2236256Sluigi# 3236256Sluigi# Compile netmap as a module, useful if you want a netmap bridge 4236256Sluigi# or loadable drivers. 5236256Sluigi 6236256Sluigi.PATH: ${.CURDIR}/../../dev/netmap 7236256Sluigi.PATH.h: ${.CURDIR}/../../net 8262151SluigiCFLAGS += -I${.CURDIR}/../../ 9236256SluigiKMOD = netmap 10236256SluigiSRCS = device_if.h bus_if.h opt_netmap.h 11236256SluigiSRCS += netmap.c netmap.h netmap_kern.h 12262151SluigiSRCS += netmap_mem2.c netmap_mem2.h 13262151SluigiSRCS += netmap_generic.c 14262151SluigiSRCS += netmap_mbq.c netmap_mbq.h 15262151SluigiSRCS += netmap_vale.c 16262151SluigiSRCS += netmap_freebsd.c 17262151SluigiSRCS += netmap_offloadings.c 18262151SluigiSRCS += netmap_pipe.c 19272648SluigiSRCS += netmap_monitor.c 20236256Sluigi 21236256Sluigi.include <bsd.kmod.mk> 22