summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-08-21 10:17:29 +0000
committerjmg <jmg@FreeBSD.org>1997-08-21 10:17:29 +0000
commitea8e714322065d12b9976f6815b846588ba9be7c (patch)
treec39ae907ff0d5405be7da96037b5474657c74e0b /sys/modules
parent1dcee24a4f6644762e69298d10555e4574b6faca (diff)
downloadFreeBSD-src-ea8e714322065d12b9976f6815b846588ba9be7c.zip
FreeBSD-src-ea8e714322065d12b9976f6815b846588ba9be7c.tar.gz
make lkm/if_ppp build again.. opt_ppp.h is needed again...
similar fix to one provided in pr4348 Closes PR#4348
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/if_ppp/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile
index 54d0c1e..33c8f1a 100644
--- a/sys/modules/if_ppp/Makefile
+++ b/sys/modules/if_ppp/Makefile
@@ -1,18 +1,20 @@
-# $Id$
+# $Id: Makefile,v 1.6 1997/02/22 12:48:06 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
+SRCS= bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h opt_ppp.h
NOMAN=
PSEUDO_LKM=
CFLAGS+= -I.
NBPFILTER?= 0
NPPP?= 2
+PPP_BSDCOMP?= 1
+PPP_DEFLATE?= 1
PROTOS?= -DINET
CFLAGS+= ${PROTOS}
-CLEANFILES+= bpfilter.h ppp.h
+CLEANFILES+= bpfilter.h ppp.h opt_ppp.h
bpfilter.h:
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
@@ -20,4 +22,8 @@ bpfilter.h:
ppp.h:
echo "#define NPPP ${NPPP}" > ppp.h
+opt_ppp.h:
+ echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > opt_ppp.h
+ echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> opt_ppp.h
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud