9e51595ce6
prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
18 lines
339 B
Makefile
18 lines
339 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
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
NETGRAPH?= 0
|
|
|
|
.if ${NETGRAPH} != 0
|
|
opt_netgraph.h:
|
|
echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|