1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/modules/sr/Makefile
Julian Elischer 327b288e5c Convert Netgraph to use mbuf tags to pass its meta information around.
Thanks to Sam for importing tags in a way that allowed this to be done.

Submitted by:	Gleb Smirnoff <glebius@cell.sick.ru>
Also allow the sr and ar drivers to create netgraph versions of their modules.
Document the change to the ksocket node.
2004-06-25 19:22:05 +00:00

18 lines
341 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/sr
KMOD = if_sr
SRCS = if_sr.c if_sr_isa.c if_sr_pci.c
SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
NETGRAPH?= 0
opt_netgraph.h:
.if ${NETGRAPH} != 0
echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h
.else
echo "" > opt_netgraph.h
.endif
.include <bsd.kmod.mk>