Use a name less likely to collide with source files without an obj dir.

This commit is contained in:
Peter Wemm 1998-11-11 07:40:44 +00:00
parent d38fd8908b
commit 1e216ab590
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41083
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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