summaryrefslogtreecommitdiffstats
path: root/sys/modules/smbfs
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-04 06:37:58 +0000
committerru <ru@FreeBSD.org>2004-09-04 06:37:58 +0000
commit1391946a6f37f27f2846b3a310ecd5b6957e1ef1 (patch)
tree3d43c3f3019174f031714a4f281d9739ed37c091 /sys/modules/smbfs
parent8ec6e44b75987c14571bd380fbcfe78e22624940 (diff)
downloadFreeBSD-src-1391946a6f37f27f2846b3a310ecd5b6957e1ef1.zip
FreeBSD-src-1391946a6f37f27f2846b3a310ecd5b6957e1ef1.tar.gz
Let kmod.mk touch opt_*.h files as needed.
Inspired by: imp's email
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 44a6a9e..0c2b297 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
OpenPOWER on IntegriCloud