Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf Simplify the dependency line further.



details:   https://anonhg.NetBSD.org/src/rev/5acf202664b5
branches:  trunk
changeset: 810659:5acf202664b5
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Sep 10 09:30:01 2015 +0000

description:
Simplify the dependency line further.

diffstat:

 sys/conf/assym.mk |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r d9a98f4a19a6 -r 5acf202664b5 sys/conf/assym.mk
--- a/sys/conf/assym.mk Thu Sep 10 08:28:54 2015 +0000
+++ b/sys/conf/assym.mk Thu Sep 10 09:30:01 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: assym.mk,v 1.3 2015/09/09 03:27:15 uebayasi Exp $
+# $NetBSD: assym.mk,v 1.4 2015/09/10 09:30:01 uebayasi Exp $
 
 assym.h: ${GENASSYM_CONF} ${GENASSYM_EXTRAS} $S/conf/genassym.cf
        ${_MKTARGET_CREATE}
@@ -7,11 +7,7 @@
            ${GENASSYM_CPPFLAGS} > assym.h.tmp && \
        mv -f assym.h.tmp assym.h
 
-.if !defined(___USE_SUFFIX_RULES___)
-${_MD_SFILES:C/\.[Ss]/.o/} ${_SFILES:C/\.[Ss]/.o/}: assym.h
-.else
-${SRCS:M*.[sS]}: assym.h
-.endif
+${SRCS:M*.[sS]:C|\.[Ss]|.o|}: assym.h
 
 assym.d: assym.h
        ${_MKTARGET_CREATE}



Home | Main Index | Thread Index | Old Index