summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.kmod.mk
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-11-11 07:40:44 +0000
committerpeter <peter@FreeBSD.org>1998-11-11 07:40:44 +0000
commitbc1621a70bd24b921ccf78be15bd05ee5afe1b1f (patch)
treefcbc3221562611cd3c2e0a88440b3a9da7cf4786 /share/mk/bsd.kmod.mk
parent9d12fe898de437f59ba086fca5a8b69c4c48699a (diff)
downloadFreeBSD-src-bc1621a70bd24b921ccf78be15bd05ee5afe1b1f.zip
FreeBSD-src-bc1621a70bd24b921ccf78be15bd05ee5afe1b1f.tar.gz
Use a name less likely to collide with source files without an obj dir.
Diffstat (limited to 'share/mk/bsd.kmod.mk')
-rw-r--r--share/mk/bsd.kmod.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index bf287cd..c26a207 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.kmod.mk,v 1.56 1998/10/16 03:32:03 peter Exp $
+# $Id: bsd.kmod.mk,v 1.57 1998/11/05 04:01:55 peter Exp $
#
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
#
@@ -189,11 +189,11 @@ ${PROG}: ${OBJS} ${DPADD} ${KMODDEPS}
.if defined(KMODDEPS)
.for dep in ${KMODDEPS}
-CLEANFILES+= ${dep} ${dep}.c
+CLEANFILES+= ${dep} __${dep}_hack_dep.c
${dep}:
- touch ${dep}.c
- ${CC} -shared ${CFLAGS} -o ${dep} ${dep}.c
+ touch __${dep}_hack_dep.c
+ ${CC} -shared ${CFLAGS} -o ${dep} __${dep}_hack_dep.c
.endfor
.endif
OpenPOWER on IntegriCloud