3 .PATH: ${.CURDIR}/../../net
6 SRCS= if_ppp.c ppp_tty.c slcompress.c \
7 opt_inet.h opt_ipx.h opt_mac.h opt_ppp.h vnode_if.h
11 PPP_FILTER?= 1 # 0/1 - requires bpf to be configured in kernel
12 PPP_INET?= 1 # 0/1 - requires INET to be configured in kernel
13 PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel
15 .if ${PPP_BSDCOMP} > 0
18 .if ${PPP_DEFLATE} > 0
19 SRCS+= ppp_deflate.c zlib.c
26 echo "#define INET 1" >> ${.TARGET}
31 echo "#define IPX ${PPP_IPX}" >> ${.TARGET}
36 .if ${PPP_BSDCOMP} > 0
37 echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET}
39 .if ${PPP_DEFLATE} > 0
40 echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
43 echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
46 .include <bsd.kmod.mk>