Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3 fix the cleanfiles for hooks mechanism



details:   https://anonhg.NetBSD.org/src/rev/5149864ec0a6
branches:  trunk
changeset: 831122:5149864ec0a6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Mar 13 03:17:01 2018 +0000

description:
fix the cleanfiles for hooks mechanism

diffstat:

 external/gpl3/gcc.old/Makefile.hooks |  5 +++--
 external/gpl3/gcc/Makefile.hooks     |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 14f4460bc88f -r 5149864ec0a6 external/gpl3/gcc.old/Makefile.hooks
--- a/external/gpl3/gcc.old/Makefile.hooks      Tue Mar 13 03:07:51 2018 +0000
+++ b/external/gpl3/gcc.old/Makefile.hooks      Tue Mar 13 03:17:01 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.hooks,v 1.3 2017/07/23 01:10:50 mrg Exp $
+#      $NetBSD: Makefile.hooks,v 1.4 2018/03/13 03:17:01 mrg Exp $
 
 #
 # Makefile fragment to build genhooks and *target-hooks*.h
@@ -9,8 +9,9 @@
 gen${f}: gen${f}.lo ${GENPROG_ERROR_DEPENDS} 
        ${_MKTARGET_LINK}
        ${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
-CLEANFILES+=   genhooks
+CLEANFILES+=   genhooks gen${f}.lo
 .endfor
+CLEANFILES+=   ${GENPROG_ERROR_DEPENDS} 
 
 # and now the outputs of genhooks
 target-hooks-def.h: genhooks
diff -r 14f4460bc88f -r 5149864ec0a6 external/gpl3/gcc/Makefile.hooks
--- a/external/gpl3/gcc/Makefile.hooks  Tue Mar 13 03:07:51 2018 +0000
+++ b/external/gpl3/gcc/Makefile.hooks  Tue Mar 13 03:17:01 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.hooks,v 1.1 2014/03/01 10:00:31 mrg Exp $
+#      $NetBSD: Makefile.hooks,v 1.2 2018/03/13 03:17:01 mrg Exp $
 
 #
 # Makefile fragment to build genhooks and *target-hooks*.h
@@ -9,8 +9,9 @@
 gen${f}: gen${f}.lo ${GENPROG_ERROR_DEPENDS} 
        ${_MKTARGET_LINK}
        ${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
-CLEANFILES+=   genhooks
+CLEANFILES+=   genhooks gen${f}.lo
 .endfor
+CLEANFILES+=   ${GENPROG_ERROR_DEPENDS} 
 
 # and now the outputs of genhooks
 target-hooks-def.h: genhooks



Home | Main Index | Thread Index | Old Index