1130b656e5
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.
24 lines
366 B
Makefile
24 lines
366 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../sys/net
|
|
KMOD= if_sl_mod
|
|
SRCS= if_sl.c slcompress.c bpfilter.h sl.h
|
|
NOMAN=
|
|
PSEUDO_LKM=
|
|
CFLAGS+= -I.
|
|
|
|
NBPFILTER?= 0
|
|
NSL?= 2
|
|
PROTOS?= -DINET
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
CLEANFILES+= bpfilter.h sl.h
|
|
|
|
bpfilter.h:
|
|
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
|
|
|
|
sl.h:
|
|
echo "#define NSL ${NSL}" > sl.h
|
|
|
|
.include <bsd.kmod.mk>
|