Deleted Added
full compact
Makefile (110409) Makefile (151350)
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 110409 2003-02-05 19:11:11Z ambrisko $
2# $FreeBSD: head/sys/modules/netgraph/mppc/Makefile 151350 2005-10-14 23:30:17Z yar $
3
4KMOD= ng_mppc
5SRCS= ng_mppc.c opt_netgraph.h
6
7NETGRAPH_MPPC_COMPRESSION?= 0
8NETGRAPH_MPPC_ENCRYPTION?= 1
9
10.if ${NETGRAPH_MPPC_COMPRESSION} > 0
11# XXX These files don't exist yet, but hopefully someday they will...
12.PATH: ${.CURDIR}/../../../net
13SRCS+= mppcc.c mppcd.c
14.endif
15
16.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
17.PATH: ${.CURDIR}/../../../crypto
18SRCS+= sha1.c
19.endif
20
3
4KMOD= ng_mppc
5SRCS= ng_mppc.c opt_netgraph.h
6
7NETGRAPH_MPPC_COMPRESSION?= 0
8NETGRAPH_MPPC_ENCRYPTION?= 1
9
10.if ${NETGRAPH_MPPC_COMPRESSION} > 0
11# XXX These files don't exist yet, but hopefully someday they will...
12.PATH: ${.CURDIR}/../../../net
13SRCS+= mppcc.c mppcd.c
14.endif
15
16.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
17.PATH: ${.CURDIR}/../../../crypto
18SRCS+= sha1.c
19.endif
20
21.if !defined(KERNBUILDDIR)
21opt_netgraph.h:
22 touch ${.TARGET}
23.if ${NETGRAPH_MPPC_COMPRESSION} > 0
24 echo "#define NETGRAPH_MPPC_COMPRESSION 1" >> ${.TARGET}
25.endif
26.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
27 echo "#define NETGRAPH_MPPC_ENCRYPTION 1" >> ${.TARGET}
28.endif
22opt_netgraph.h:
23 touch ${.TARGET}
24.if ${NETGRAPH_MPPC_COMPRESSION} > 0
25 echo "#define NETGRAPH_MPPC_COMPRESSION 1" >> ${.TARGET}
26.endif
27.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
28 echo "#define NETGRAPH_MPPC_ENCRYPTION 1" >> ${.TARGET}
29.endif
30.endif
29
30.include <bsd.kmod.mk>
31
32.include <bsd.kmod.mk>