ae853b3a11
that doesn't have it. This is achieved by having minimal do-nothing stubs enabled when there are no bpfilter devices configured. Driver modules should be built with BPF enabled for maximum convenience (but can be built without it for maximum performance).
25 lines
446 B
Makefile
25 lines
446 B
Makefile
# $Id: Makefile,v 1.7 1998/10/16 04:30:45 peter Exp $
|
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
KMOD= if_sl
|
|
SRCS= if_sl.c slcompress.c bpfilter.h opt_inet.h sl.h
|
|
NOMAN=
|
|
|
|
NBPFILTER?= 1
|
|
NSL?= 2
|
|
PROTOS?= -DINET
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
CLEANFILES+= bpfilter.h opt_inet.h sl.h
|
|
|
|
bpfilter.h:
|
|
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
|
|
|
|
opt_inet.h:
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
sl.h:
|
|
echo "#define NSL ${NSL}" > sl.h
|
|
|
|
.include <bsd.kmod.mk>
|