aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/if_ppp
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1997-12-16 18:28:07 +0000
committerEivind Eklund <eivind@FreeBSD.org>1997-12-16 18:28:07 +0000
commitf9b59e80d59ed6db13a243625d6495bd2d9c464e (patch)
treeaf8a6445c3db8566fed81db2440017d9ea316b0a /sys/modules/if_ppp
parentb732d6bad565d111295844178428e42b554994ad (diff)
downloadsrc-f9b59e80d59ed6db13a243625d6495bd2d9c464e.tar.gz
src-f9b59e80d59ed6db13a243625d6495bd2d9c464e.zip
Whoops - fix this after yesterday's IPX option changes. Also fix
minor buglet when neither bsdcomp, deflate or filter is used. Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
Notes
Notes: svn path=/head/; revision=31781
Diffstat (limited to 'sys/modules/if_ppp')
-rw-r--r--sys/modules/if_ppp/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile
index b29efdfee54a..43ff42cd7db8 100644
--- a/sys/modules/if_ppp/Makefile
+++ b/sys/modules/if_ppp/Makefile
@@ -1,8 +1,9 @@
-# $Id: Makefile,v 1.7 1997/08/21 10:17:29 jmg Exp $
+# $Id: Makefile,v 1.8 1997/10/18 01:37:52 peter 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_ppp.h
+SRCS= bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h \
+ opt_ipx.h opt_ppp.h
NOMAN=
PSEUDO_LKM=
CFLAGS+= -I.
@@ -11,10 +12,11 @@ NPPP?= 2
PPP_BSDCOMP?= 1 # 0/1
PPP_DEFLATE?= 1 # 0/1
PPP_FILTER?= 0 # 0/1 - requires bpf to be configured in kernel
+PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel
PROTOS?= -DINET # add -DIPX if you have IPX in the kernel
CFLAGS+= ${PROTOS}
-CLEANFILES+= bpfilter.h ppp.h opt_ppp.h
+CLEANFILES+= bpfilter.h ppp.h opt_ipx.h opt_ppp.h
bpfilter.h:
echo "#define NBPFILTER ${PPP_FILTER}" > bpfilter.h
@@ -22,7 +24,14 @@ bpfilter.h:
ppp.h:
echo "#define NPPP ${NPPP}" > ppp.h
+opt_ipx.h:
+ touch opt_ipx.h
+.if ${PPP_IPX} > 0
+ echo "#define IPX ${PPP_BSDCOMP}" > opt_ipx.h
+.endif
+
opt_ppp.h:
+ touch opt_ppp.h
.if ${PPP_BSDCOMP} > 0
echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > opt_ppp.h
.endif