summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 02:27:09 +0000
committerbde <bde@FreeBSD.org>1998-07-07 02:27:09 +0000
commit8b5694de2c3b952ec7f2fe34c9629f5a9d866cbe (patch)
tree9fb4f6756ecc728dc5a08e14aa1635f19d0a8ec3 /sys
parent1654593f5985aa9f48351f998480bf1a100d5636 (diff)
downloadFreeBSD-src-8b5694de2c3b952ec7f2fe34c9629f5a9d866cbe.zip
FreeBSD-src-8b5694de2c3b952ec7f2fe34c9629f5a9d866cbe.tar.gz
Finished previous fix - don't forget to add one dummy options header
to CLEANFILES. Fixed lots of style bugs.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/nfs/Makefile23
-rw-r--r--sys/modules/nfsclient/Makefile23
-rw-r--r--sys/modules/nfsserver/Makefile23
3 files changed, 30 insertions, 39 deletions
diff --git a/sys/modules/nfs/Makefile b/sys/modules/nfs/Makefile
index a407e67..71b19a9 100644
--- a/sys/modules/nfs/Makefile
+++ b/sys/modules/nfs/Makefile
@@ -1,26 +1,23 @@
-# $Id: Makefile,v 1.8 1998/06/30 11:29:01 jmg Exp $
+# $Id$
-.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 \
+.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 opt_inet.h opt_nfs.h opt_vmpage.h
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
VFS_LKM=
-
CFLAGS+= -DNFS
-CLEANFILES+= opt_inet.h opt_nfs.h
+CLEANFILES= opt_inet.h opt_nfs.h opt_vmpage.h
opt_inet.h:
- touch opt_inet.h
+ touch ${.TARGET}
.if ${NFS_INET} > 0
- echo "#define INET 1" > opt_inet.h
+ echo "#define INET 1" > ${.TARGET}
.endif
-opt_nfs.h:
- touch opt_nfs.h
-opt_vmpage.h:
- touch opt_vmpage.h
+opt_nfs.h opt_vmpage.h:
+ touch ${.TARGET}
.include <bsd.kmod.mk>
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index a407e67..71b19a9 100644
--- a/sys/modules/nfsclient/Makefile
+++ b/sys/modules/nfsclient/Makefile
@@ -1,26 +1,23 @@
-# $Id: Makefile,v 1.8 1998/06/30 11:29:01 jmg Exp $
+# $Id$
-.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 \
+.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 opt_inet.h opt_nfs.h opt_vmpage.h
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
VFS_LKM=
-
CFLAGS+= -DNFS
-CLEANFILES+= opt_inet.h opt_nfs.h
+CLEANFILES= opt_inet.h opt_nfs.h opt_vmpage.h
opt_inet.h:
- touch opt_inet.h
+ touch ${.TARGET}
.if ${NFS_INET} > 0
- echo "#define INET 1" > opt_inet.h
+ echo "#define INET 1" > ${.TARGET}
.endif
-opt_nfs.h:
- touch opt_nfs.h
-opt_vmpage.h:
- touch opt_vmpage.h
+opt_nfs.h opt_vmpage.h:
+ touch ${.TARGET}
.include <bsd.kmod.mk>
diff --git a/sys/modules/nfsserver/Makefile b/sys/modules/nfsserver/Makefile
index a407e67..71b19a9 100644
--- a/sys/modules/nfsserver/Makefile
+++ b/sys/modules/nfsserver/Makefile
@@ -1,26 +1,23 @@
-# $Id: Makefile,v 1.8 1998/06/30 11:29:01 jmg Exp $
+# $Id$
-.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 \
+.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 opt_inet.h opt_nfs.h opt_vmpage.h
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
VFS_LKM=
-
CFLAGS+= -DNFS
-CLEANFILES+= opt_inet.h opt_nfs.h
+CLEANFILES= opt_inet.h opt_nfs.h opt_vmpage.h
opt_inet.h:
- touch opt_inet.h
+ touch ${.TARGET}
.if ${NFS_INET} > 0
- echo "#define INET 1" > opt_inet.h
+ echo "#define INET 1" > ${.TARGET}
.endif
-opt_nfs.h:
- touch opt_nfs.h
-opt_vmpage.h:
- touch opt_vmpage.h
+opt_nfs.h opt_vmpage.h:
+ touch ${.TARGET}
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud