2001-01-30 10:20:43 +00:00
|
|
|
# $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
|
2004-06-25 19:22:05 +00:00
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2004-06-25 19:22:05 +00:00
|
|
|
NETGRAPH?= 0
|
|
|
|
|
|
|
|
.if ${NETGRAPH} != 0
|
2005-10-14 23:30:17 +00:00
|
|
|
opt_netgraph.h:
|
2004-06-25 19:22:05 +00:00
|
|
|
echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2004-06-25 19:22:05 +00:00
|
|
|
.endif
|
|
|
|
|
2001-01-30 10:20:43 +00:00
|
|
|
.include <bsd.kmod.mk>
|