summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-09-04 06:37:58 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-09-04 06:37:58 +0000
commitc11c12792618404025412f0ce20f1ed4df7fff12 (patch)
tree3d43c3f3019174f031714a4f281d9739ed37c091 /sys
parentb102e653add651457375a5b687350f84ba44a85b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/fdc/Makefile2
-rw-r--r--sys/modules/linprocfs/Makefile3
-rw-r--r--sys/modules/msdosfs/Makefile3
-rw-r--r--sys/modules/nfs4client/Makefile3
-rw-r--r--sys/modules/nfsclient/Makefile3
-rw-r--r--sys/modules/owi/Makefile3
-rw-r--r--sys/modules/smbfs/Makefile6
7 files changed, 4 insertions, 19 deletions
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile
index a7f53ee2eedc..de92183ad240 100644
--- a/sys/modules/fdc/Makefile
+++ b/sys/modules/fdc/Makefile
@@ -20,8 +20,6 @@ SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \
FDC_DEBUG?= 0 # 0/1
-opt_fdc.h:
- touch ${.TARGET}
.if ${FDC_DEBUG} > 0
echo "#define FDC_DEBUG 1" >> ${.TARGET}
.endif
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index b31f9cb60bc7..98f9fcb55c36 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -7,7 +7,4 @@ SRCS= vnode_if.h \
linprocfs.c \
opt_compat.h
-opt_compat.h:
- touch ${.TARGET}
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/msdosfs/Makefile b/sys/modules/msdosfs/Makefile
index 9ee84514a514..cca7fa69d6f0 100644
--- a/sys/modules/msdosfs/Makefile
+++ b/sys/modules/msdosfs/Makefile
@@ -8,7 +8,4 @@ SRCS= opt_msdosfs.h vnode_if.h \
msdosfs_vfsops.c msdosfs_vnops.c
EXPORT_SYMS= msdosfs_iconv
-opt_msdosfs.h:
- touch ${.TARGET}
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/nfs4client/Makefile b/sys/modules/nfs4client/Makefile
index 723f571debf1..5d6a695f8842 100644
--- a/sys/modules/nfs4client/Makefile
+++ b/sys/modules/nfs4client/Makefile
@@ -21,9 +21,8 @@ SRCS+= rpcclnt.c
# USE THE NEW IDMAPPER
CFLAGS+= -DUSE_NEW_IDMAPPER
-opt_inet.h:
- touch ${.TARGET}
.if ${NFS_INET} > 0
+opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index 11b83eb8f261..1d7565e719ea 100644
--- a/sys/modules/nfsclient/Makefile
+++ b/sys/modules/nfsclient/Makefile
@@ -22,9 +22,8 @@ SRCS+= rpcclnt.c
# USE THE NEW IDMAPPER
CFLAGS+= -DUSE_NEW_IDMAPPER
-opt_inet.h:
- touch ${.TARGET}
.if ${NFS_INET} > 0
+opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif
diff --git a/sys/modules/owi/Makefile b/sys/modules/owi/Makefile
index 85f5c7182d37..e3aef24de2c3 100644
--- a/sys/modules/owi/Makefile
+++ b/sys/modules/owi/Makefile
@@ -6,7 +6,4 @@ KMOD= if_owi
SRCS= opt_wi.h if_owi.c if_owi_pccard.c \
card_if.h device_if.h bus_if.h pci_if.h pccarddevs.h
-opt_wi.h:
- touch ${.TARGET}
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/smbfs/Makefile b/sys/modules/smbfs/Makefile
index 44a6a9e154c7..0c2b2973fdf3 100644
--- a/sys/modules/smbfs/Makefile
+++ b/sys/modules/smbfs/Makefile
@@ -42,15 +42,13 @@ CFLAGS+= ${KDEBUG}
CFLAGS+= -DVNPRINT
.endif
-opt_inet.h:
- touch ${.TARGET}
.if ${SMB_INET} > 0
+opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif
-opt_ipx.h:
- touch ${.TARGET}
.if ${SMB_IPX} > 0
+opt_ipx.h:
echo "#define IPX 1" > ${.TARGET}
.endif