1997-08-21 10:17:29 +00:00
|
|
|
# $Id: Makefile,v 1.6 1997/02/22 12:48:06 peter Exp $
|
1995-03-20 19:25:49 +00:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../sys/net
|
|
|
|
KMOD= if_ppp_mod
|
1997-08-21 10:17:29 +00:00
|
|
|
SRCS= bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h opt_ppp.h
|
1995-03-20 19:25:49 +00:00
|
|
|
NOMAN=
|
|
|
|
PSEUDO_LKM=
|
|
|
|
CFLAGS+= -I.
|
|
|
|
|
|
|
|
NBPFILTER?= 0
|
|
|
|
NPPP?= 2
|
1997-08-21 10:17:29 +00:00
|
|
|
PPP_BSDCOMP?= 1
|
|
|
|
PPP_DEFLATE?= 1
|
1995-03-20 19:25:49 +00:00
|
|
|
PROTOS?= -DINET
|
|
|
|
|
|
|
|
CFLAGS+= ${PROTOS}
|
1997-08-21 10:17:29 +00:00
|
|
|
CLEANFILES+= bpfilter.h ppp.h opt_ppp.h
|
1995-03-20 19:25:49 +00:00
|
|
|
|
|
|
|
bpfilter.h:
|
|
|
|
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
|
|
|
|
|
|
|
|
ppp.h:
|
|
|
|
echo "#define NPPP ${NPPP}" > ppp.h
|
|
|
|
|
1997-08-21 10:17:29 +00:00
|
|
|
opt_ppp.h:
|
|
|
|
echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > opt_ppp.h
|
|
|
|
echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> opt_ppp.h
|
|
|
|
|
1995-03-20 19:25:49 +00:00
|
|
|
.include <bsd.kmod.mk>
|