Module Name:    src
Committed By:   christos
Date:           Fri Nov 27 20:59:47 UTC 2015

Modified Files:
        src/sys/conf: Makefile.kern.inc

Log Message:
use commands() instead of target() because assym.mk creates all the targets
unconditionally.


To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.248 src/sys/conf/Makefile.kern.inc:1.249
--- src/sys/conf/Makefile.kern.inc:1.248	Fri Nov 27 15:33:55 2015
+++ src/sys/conf/Makefile.kern.inc	Fri Nov 27 15:59:47 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.248 2015/11/27 20:33:55 christos Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.249 2015/11/27 20:59:47 christos Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -367,7 +367,7 @@ DEPS+=	${SRCS:R:S/$/.d/g}
 
 .if !defined(___USE_SUFFIX_RULES___)
 .for _s in ${SSRCS}
-.if !target(${_s:T:R}.d)
+.if !commands(${_s:T:R}.d)
 ${_s:T:R}.d: ${_s}
 	${_MKTARGET_CREATE}
 	${MKDEP} -f ${.TARGET}.tmp -- ${MKDEP_AFLAGS} \
@@ -377,7 +377,7 @@ ${_s:T:R}.d: ${_s}
 .endfor
 
 .for _s in ${CSRCS}
-.if !target(${_s:T:R}.d)
+.if !commands(${_s:T:R}.d)
 ${_s:T:R}.d: ${_s}
 	${_MKTARGET_CREATE}
 	${MKDEP} -f ${.TARGET}.tmp -- ${MKDEP_CFLAGS} \

Reply via email to