1998-02-01 18:12:15 +00:00
|
|
|
# $Id: Makefile,v 1.5 1998/01/08 23:50:23 eivind Exp $
|
1995-03-20 19:25:49 +00:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../sys/net
|
|
|
|
KMOD= if_sl_mod
|
1998-01-08 23:50:27 +00:00
|
|
|
SRCS= if_sl.c slcompress.c bpfilter.h opt_inet.h sl.h
|
1995-03-20 19:25:49 +00:00
|
|
|
NOMAN=
|
|
|
|
PSEUDO_LKM=
|
|
|
|
|
|
|
|
NBPFILTER?= 0
|
|
|
|
NSL?= 2
|
|
|
|
PROTOS?= -DINET
|
|
|
|
|
|
|
|
CFLAGS+= ${PROTOS}
|
1998-01-08 23:50:27 +00:00
|
|
|
CLEANFILES+= bpfilter.h opt_inet.h sl.h
|
1995-03-20 19:25:49 +00:00
|
|
|
|
|
|
|
bpfilter.h:
|
|
|
|
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
|
|
|
|
|
1998-01-08 23:50:27 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
|
1995-03-20 19:25:49 +00:00
|
|
|
sl.h:
|
|
|
|
echo "#define NSL ${NSL}" > sl.h
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|