aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/nfs
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-01-09 01:01:21 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-01-09 01:01:21 +0000
commit9e1d8a7b92f25f9c4944fabb144204f6a7122a9e (patch)
tree4c103a2048175910ca9aba221deb3d7a02873c15 /sys/modules/nfs
parent7262d3e4306da5a4947649e2ca2d0044acf71d2d (diff)
downloadsrc-9e1d8a7b92f25f9c4944fabb144204f6a7122a9e.tar.gz
src-9e1d8a7b92f25f9c4944fabb144204f6a7122a9e.zip
Minor fixups after INET option change.
Notes
Notes: svn path=/head/; revision=32357
Diffstat (limited to 'sys/modules/nfs')
-rw-r--r--sys/modules/nfs/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/sys/modules/nfs/Makefile b/sys/modules/nfs/Makefile
index efb52f13af2f..69939ca7c282 100644
--- a/sys/modules/nfs/Makefile
+++ b/sys/modules/nfs/Makefile
@@ -1,11 +1,21 @@
-# $Id$
+# $Id: Makefile,v 1.3 1997/02/22 12:48:40 peter Exp $
.PATH: ${.CURDIR}/../../sys/nfs
KMOD= nfs_mod
SRCS= nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
- nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c
+ nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \
+ nfs_vnops.c opt_inet.h
+NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
VFS_LKM=
-CFLAGS+= -DNFS -DINET
+
+CFLAGS+= -DNFS
+CLEANFILES+= opt_inet.h
+
+opt_inet.h:
+ touch opt_inet.h
+.if ${NFS_INET} > 0
+ echo "#define INET 1" > opt_inet.h
+.endif
.include <bsd.kmod.mk>