summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_sl
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-01-08 23:50:27 +0000
committereivind <eivind@FreeBSD.org>1998-01-08 23:50:27 +0000
commitd0bda339f4e7c39f2e5ef86d6bec50b670000c20 (patch)
tree5ec27de9851870650c7b5b768b59150f7f578e9d /sys/modules/if_sl
parentb4fb282bcf051f473e169c96839ab02b41327baf (diff)
downloadFreeBSD-src-d0bda339f4e7c39f2e5ef86d6bec50b670000c20.zip
FreeBSD-src-d0bda339f4e7c39f2e5ef86d6bec50b670000c20.tar.gz
Make the LKMs compile with the INET option as a newstyle option in
opt_inet.h.
Diffstat (limited to 'sys/modules/if_sl')
-rw-r--r--sys/modules/if_sl/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/modules/if_sl/Makefile b/sys/modules/if_sl/Makefile
index 46f49ad..51f82f9 100644
--- a/sys/modules/if_sl/Makefile
+++ b/sys/modules/if_sl/Makefile
@@ -1,8 +1,8 @@
-# $Id$
+# $Id: Makefile,v 1.4 1997/02/22 12:48:08 peter Exp $
.PATH: ${.CURDIR}/../../sys/net
KMOD= if_sl_mod
-SRCS= if_sl.c slcompress.c bpfilter.h sl.h
+SRCS= if_sl.c slcompress.c bpfilter.h opt_inet.h sl.h
NOMAN=
PSEUDO_LKM=
CFLAGS+= -I.
@@ -12,11 +12,14 @@ NSL?= 2
PROTOS?= -DINET
CFLAGS+= ${PROTOS}
-CLEANFILES+= bpfilter.h sl.h
+CLEANFILES+= bpfilter.h opt_inet.h sl.h
bpfilter.h:
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
+opt_inet.h:
+ echo "#define INET 1" > opt_inet.h
+
sl.h:
echo "#define NSL ${NSL}" > sl.h
OpenPOWER on IntegriCloud