1 # $FreeBSD: src/sys/modules/if_ppp/Makefile,v 1.21 1999/11/28 18:52:51 bde Exp $
3 .PATH: ${.CURDIR}/../ppp ${.CURDIR}/..
5 SRCS= if_ppp.c ppp_tty.c slcompress.c \
6 use_ppp.h opt_inet.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 .if ${PPP_BSDCOMP} > 0
17 .if ${PPP_DEFLATE} > 0
18 SRCS+= ppp_deflate.c zlib.c
22 echo "#define NPPP ${NPPP}" > ${.TARGET}
27 echo "#define INET 1" > ${.TARGET}
32 .if ${PPP_BSDCOMP} > 0
33 echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > ${.TARGET}
35 .if ${PPP_DEFLATE} > 0
36 echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
39 echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
42 .include <bsd.kmod.mk>