1 # $Whistle: Makefile,v 1.1 1999/12/08 20:20:39 archie Exp $
5 SRCS= ng_mppc.c opt_netgraph.h
7 NETGRAPH_MPPC_COMPRESSION?= 1
8 NETGRAPH_MPPC_ENCRYPTION?= 1
10 .if ${NETGRAPH_MPPC_COMPRESSION} > 0
11 .PATH: ${.CURDIR}/../../../net
12 SRCS+= mppcc.c mppcd.c
15 .if ${NETGRAPH_MPPC_ENCRYPTION} > 0
16 .PATH: ${.CURDIR}/../../../crypto
20 .if !defined(KERNBUILDDIR)
23 .if ${NETGRAPH_MPPC_COMPRESSION} > 0
24 echo "#define NETGRAPH_MPPC_COMPRESSION 1" >> ${.TARGET}
26 .if ${NETGRAPH_MPPC_ENCRYPTION} > 0
27 echo "#define NETGRAPH_MPPC_ENCRYPTION 1" >> ${.TARGET}
31 .include <bsd.kmod.mk>