808a36ef65
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
20 lines
297 B
Makefile
20 lines
297 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../sys/net
|
|
KMOD= if_disc_mod
|
|
SRCS= if_disc.c bpfilter.h
|
|
NOMAN=
|
|
PSEUDO_LKM=
|
|
CFLAGS+= -I.
|
|
|
|
NBPFILTER?= 0
|
|
PROTOS?= -DINET
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
CLEANFILES+= bpfilter.h
|
|
|
|
bpfilter.h:
|
|
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
|
|
|
|
.include <bsd.kmod.mk>
|