Deleted Added
full compact
Makefile (63794) Makefile (70711)
1# $Whistle: Makefile,v 1.1 1999/12/08 20:20:39 archie Exp $
1# $Whistle: Makefile,v 1.1 1999/12/08 20:20:39 archie Exp $
2# $FreeBSD: head/sys/modules/netgraph/mppc/Makefile 63794 2000-07-24 13:52:07Z sheldonh $
2# $FreeBSD: head/sys/modules/netgraph/mppc/Makefile 70711 2001-01-06 14:00:42Z obrien $
3
3
4KMOD= ng_mppc
5SRCS= ng_mppc.c opt_netgraph.h
4KMOD= ng_mppc
5SRCS= ng_mppc.c opt_netgraph.h
6NOMAN=
7
8NETGRAPH_MPPC_COMPRESSION?= 0
9NETGRAPH_MPPC_ENCRYPTION?= 1
10
11.if ${NETGRAPH_MPPC_COMPRESSION} > 0
12# XXX These files don't exist yet, but hopefully someday they will...
6NOMAN=
7
8NETGRAPH_MPPC_COMPRESSION?= 0
9NETGRAPH_MPPC_ENCRYPTION?= 1
10
11.if ${NETGRAPH_MPPC_COMPRESSION} > 0
12# XXX These files don't exist yet, but hopefully someday they will...
13.PATH: ${.CURDIR}/../../../net
14SRCS+= mppcc.c mppcd.c
13.PATH: ${.CURDIR}/../../../net
14SRCS+= mppcc.c mppcd.c
15.endif
16
17.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
15.endif
16
17.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
18.PATH: ${.CURDIR}/../../../crypto
19.PATH: ${.CURDIR}/../../../crypto/rc4
20SRCS+= rc4.c sha1.c
18.PATH: ${.CURDIR}/../../../crypto
19.PATH: ${.CURDIR}/../../../crypto/rc4
20SRCS+= rc4.c sha1.c
21.endif
22
23opt_netgraph.h:
24 touch ${.TARGET}
25.if ${NETGRAPH_MPPC_COMPRESSION} > 0
26 echo "#define NETGRAPH_MPPC_COMPRESSION 1" >> ${.TARGET}
27.endif
28.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
29 echo "#define NETGRAPH_MPPC_ENCRYPTION 1" >> ${.TARGET}
30.endif
31
32.include <bsd.kmod.mk>
21.endif
22
23opt_netgraph.h:
24 touch ${.TARGET}
25.if ${NETGRAPH_MPPC_COMPRESSION} > 0
26 echo "#define NETGRAPH_MPPC_COMPRESSION 1" >> ${.TARGET}
27.endif
28.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
29 echo "#define NETGRAPH_MPPC_ENCRYPTION 1" >> ${.TARGET}
30.endif
31
32.include <bsd.kmod.mk>