summaryrefslogtreecommitdiffstats
path: root/sys/modules/nfsclient
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-01-09 01:01:21 +0000
committereivind <eivind@FreeBSD.org>1998-01-09 01:01:21 +0000
commit7b61fe3f84118cce43345d2934168de0c490c149 (patch)
tree8ab5b9ba6bb5ffd75fc9fbd85cb694a81eded6f2 /sys/modules/nfsclient
parent6df58d9bc96fd65bf7987aa61783dc7873ce960f (diff)
downloadFreeBSD-src-7b61fe3f84118cce43345d2934168de0c490c149.zip
FreeBSD-src-7b61fe3f84118cce43345d2934168de0c490c149.tar.gz
Minor fixups after INET option change.
Diffstat (limited to 'sys/modules/nfsclient')
-rw-r--r--sys/modules/nfsclient/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index efb52f1..69939ca 100644
--- a/sys/modules/nfsclient/Makefile
+++ b/sys/modules/nfsclient/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>
OpenPOWER on IntegriCloud