aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/smbfs
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/modules/smbfs
parentb102e653add651457375a5b687350f84ba44a85b (diff)
downloadsrc-c11c12792618404025412f0ce20f1ed4df7fff12.tar.gz
src-c11c12792618404025412f0ce20f1ed4df7fff12.zip
Let kmod.mk touch opt_*.h files as needed.
Inspired by: imp's email
Notes
Notes: svn path=/head/; revision=134748
Diffstat (limited to 'sys/modules/smbfs')
-rw-r--r--sys/modules/smbfs/Makefile6
1 files changed, 2 insertions, 4 deletions
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