Source-Changes-HG archive

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

[src/trunk]: src/gnu/lib/libgcc4/libgcov Correct CLEANFILES in the new style ...



details:   https://anonhg.NetBSD.org/src/rev/faeac635900a
branches:  trunk
changeset: 749472:faeac635900a
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Mon Nov 30 13:24:32 2009 +0000

description:
Correct CLEANFILES in the new style case.

diffstat:

 gnu/lib/libgcc4/libgcov/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 296056179a60 -r faeac635900a gnu/lib/libgcc4/libgcov/Makefile
--- a/gnu/lib/libgcc4/libgcov/Makefile  Mon Nov 30 13:07:38 2009 +0000
+++ b/gnu/lib/libgcc4/libgcov/Makefile  Mon Nov 30 13:24:32 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2009/11/30 13:07:38 uebayasi Exp $
+#      $NetBSD: Makefile,v 1.5 2009/11/30 13:24:32 uebayasi Exp $
 
 REQUIRETOOLS=  yes
 NOPIC=         # defined
@@ -33,12 +33,14 @@
 
 .endif # exists(${.CURDIR}/../arch/${MACHINE_ARCH}/libs.lib${LIB}.srcs.mk)
 
+.if !exists(${.CURDIR}/../arch/${MACHINE_ARCH}/libs.lib${LIB}.srcs.mk)
+
 CLEANFILES+=   ${LIBGCOVSRCS}
 
-.if !exists(${.CURDIR}/../arch/${MACHINE_ARCH}/libs.lib${LIB}.srcs.mk)
 ${LIBGCOVSRCS}: ${.CURDIR}/Makefile
        ${_MKTARGET_CREATE}
        printf '#define L${.PREFIX}\n#include <libgcov.c>\n' >${.TARGET}
+
 .endif # !exists(${.CURDIR}/../arch/${MACHINE_ARCH}/libs.lib${LIB}.srcs.mk)
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index