xref: /freebsd/sys/modules/netmap/Makefile (revision 8e985774117d49eb968789aba8550c2a92992a9a)
1#
2# Compile netmap as a module, useful if you want a netmap bridge
3# or loadable drivers.
4
5.PATH: ${.CURDIR}/../../dev/netmap
6.PATH.h: ${.CURDIR}/../../net
7CFLAGS += -I${.CURDIR}/../../ -D INET -D VIMAGE
8KMOD	= netmap
9SRCS	= device_if.h bus_if.h pci_if.h opt_netmap.h
10SRCS	+= netmap.c netmap.h netmap_kern.h
11SRCS	+= netmap_mem2.c netmap_mem2.h
12SRCS	+= netmap_generic.c
13SRCS	+= netmap_mbq.c netmap_mbq.h
14SRCS	+= netmap_vale.c
15SRCS	+= netmap_freebsd.c
16SRCS	+= netmap_offloadings.c
17SRCS	+= netmap_pipe.c
18SRCS	+= netmap_monitor.c
19SRCS	+= netmap_kloop.c
20SRCS	+= netmap_legacy.c
21SRCS	+= netmap_bdg.c
22SRCS	+= netmap_null.c
23SRCS	+= if_ptnet.c
24SRCS	+= opt_inet.h opt_inet6.h
25
26.include <bsd.kmod.mk>
27