3 .PATH: ${.CURDIR}/../../net
6 SRCS= if_ppp.c ppp_tty.c slcompress.c \
7 opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h opt_ppp.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
14 PPP_INET6?= 0 # 0/1 - requires INET6 to be configured in kernel
16 PPP_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
18 PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel
20 .if ${PPP_BSDCOMP} > 0
23 .if ${PPP_DEFLATE} > 0
27 .if !defined(KERNBUILDDIR)
30 echo "#define INET 1" > ${.TARGET}
35 echo "#define INET6 1" > ${.TARGET}
40 echo "#define IPX ${PPP_IPX}" > ${.TARGET}
45 .if ${PPP_BSDCOMP} > 0
46 echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET}
48 .if ${PPP_DEFLATE} > 0
49 echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
52 echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
56 .include <bsd.kmod.mk>