summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_ppp
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-03-27 04:05:08 +0000
committerpeter <peter@FreeBSD.org>1998-03-27 04:05:08 +0000
commit0807c0761dc2d7f2b483b67144b857efb3c8b5ae (patch)
tree603089f1448ed160e9b31b05a1a30f57bfcc07cd /sys/modules/if_ppp
parent71cafc84ea8b805ec94ef9062db77dd152e17333 (diff)
downloadFreeBSD-src-0807c0761dc2d7f2b483b67144b857efb3c8b5ae.zip
FreeBSD-src-0807c0761dc2d7f2b483b67144b857efb3c8b5ae.tar.gz
Give this a shot at actually working as an LKM..
Diffstat (limited to 'sys/modules/if_ppp')
-rw-r--r--sys/modules/if_ppp/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile
index 01a4a5f..e2721a0 100644
--- a/sys/modules/if_ppp/Makefile
+++ b/sys/modules/if_ppp/Makefile
@@ -1,9 +1,9 @@
-# $Id: Makefile,v 1.12 1998/01/09 01:01:17 eivind Exp $
+# $Id: Makefile,v 1.13 1998/02/01 18:12:13 bde Exp $
.PATH: ${.CURDIR}/../../sys/net
KMOD= if_ppp_mod
-SRCS= bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h \
- opt_inet.h opt_ipx.h opt_ppp.h
+SRCS= if_ppp.c ppp_tty.c slcompress.c \
+ bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h
NOMAN=
PSEUDO_LKM=
@@ -15,6 +15,14 @@ PPP_INET?= 1 # 0/1 - requires INET to be configured in kernel
PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel
CFLAGS+= ${PROTOS}
+
+.if ${PPP_BSDCOMP} > 0
+SRCS+= bsd_comp.c
+.endif
+.if ${PPP_DEFLATE} > 0
+SRCS+= ppp_deflate.c zlib.c
+.endif
+
CLEANFILES+= bpfilter.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h
bpfilter.h:
OpenPOWER on IntegriCloud