dfb6d51195
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.
18 lines
337 B
Makefile
18 lines
337 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/ar
|
|
KMOD = if_ar
|
|
SRCS = if_ar.c if_ar_isa.c if_ar_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>
|