mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
98f3fd4b49
path to the obj directory in ${CFLAGS}. This is actually equivalent to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
26 lines
467 B
Makefile
26 lines
467 B
Makefile
# $Id: Makefile,v 1.5 1998/01/08 23:50:23 eivind Exp $
|
|
|
|
.PATH: ${.CURDIR}/../../sys/net
|
|
KMOD= if_sl_mod
|
|
SRCS= if_sl.c slcompress.c bpfilter.h opt_inet.h sl.h
|
|
NOMAN=
|
|
PSEUDO_LKM=
|
|
|
|
NBPFILTER?= 0
|
|
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>
|