diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2000-04-12 19:56:16 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2000-04-12 19:56:16 +0000 |
| commit | ee5bb5a822a358f39f6d24f879787b743b24a364 (patch) | |
| tree | 3368838bf4662e3d5181562aceaf771fb4f886ca /sys/modules/netgraph/mppc | |
| parent | f167e54283d2f578c1267f3a88b5aae52e13b127 (diff) | |
Notes
Diffstat (limited to 'sys/modules/netgraph/mppc')
| -rw-r--r-- | sys/modules/netgraph/mppc/Makefile | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/sys/modules/netgraph/mppc/Makefile b/sys/modules/netgraph/mppc/Makefile index 4c7b03154c00..6e1e95280463 100644 --- a/sys/modules/netgraph/mppc/Makefile +++ b/sys/modules/netgraph/mppc/Makefile @@ -1,43 +1,24 @@ # $Whistle: Makefile,v 1.1 1999/12/08 20:20:39 archie Exp $ # $FreeBSD$ -# Determine which of compression and encryption to support -# -NETGRAPH_MPPC_COMPRESSION?= 0 -.if !defined(NETGRAPH_MPPC_ENCRYPTION) -.if defined(NOCRYPT) -NETGRAPH_MPPC_ENCRYPTION= 0 -.else -NETGRAPH_MPPC_ENCRYPTION= 1 -.endif -.endif - -# No point in building module if neither is enabled -# -.if ${NETGRAPH_MPPC_COMPRESSION} == 0 && ${NETGRAPH_MPPC_ENCRYPTION} == 0 -all depend distribute install load unload: - @echo '>>>' Neither compression nor encryption enabled, skipping KLD netgraph/mppc. -.else - KMOD= ng_mppc SRCS= ng_mppc.c opt_netgraph.h MAN8= ng_mppc.8 KMODDEPS= netgraph -CFLAGS+= ${PROTOS} - -CLEANFILES+= opt_netgraph.h +NETGRAPH_MPPC_COMPRESSION?= 0 +NETGRAPH_MPPC_ENCRYPTION?= 1 .if ${NETGRAPH_MPPC_COMPRESSION} > 0 # XXX These files don't exist yet, but hopefully someday they will... -SRCS+= mppcc.c mppcd.c .PATH: ${.CURDIR}/../../../net +SRCS+= mppcc.c mppcd.c .endif .if ${NETGRAPH_MPPC_ENCRYPTION} > 0 -SRCS+= rc4.c sha1.c .PATH: ${.CURDIR}/../../../crypto .PATH: ${.CURDIR}/../../../crypto/rc4 +SRCS+= rc4.c sha1.c .endif opt_netgraph.h: @@ -50,4 +31,3 @@ opt_netgraph.h: .endif .include <bsd.kmod.mk> -.endif |
