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_ipx.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
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
23 echo "#define NPPP ${NPPP}" > ${.TARGET}
28 echo "#define INET 1" > ${.TARGET}
34 echo "#define IPX ${PPP_IPX}" > ${.TARGET}
39 .if ${PPP_BSDCOMP} > 0
40 echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > ${.TARGET}
42 .if ${PPP_DEFLATE} > 0
43 echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
46 echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
49 .include <bsd.kmod.mk>