freebsd-nq/sys/modules/netgraph/sync_sr/Makefile
Warner Losh 9e51595ce6 Per email to arch@ a little while ago (that was greeted with silence),
prefer the more common > ${.TARGET} over > opt_foo.h in modules
makefiles.
2008-09-01 23:59:00 +00:00

14 lines
289 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/sr
KMOD = ng_sync_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)
opt_netgraph.h:
echo "#define NETGRAPH" > ${.TARGET}
.endif
.include <bsd.kmod.mk>