Module Name: src
Committed By: mrg
Date: Tue Mar 13 03:17:02 UTC 2018
Modified Files:
src/external/gpl3/gcc: Makefile.hooks
src/external/gpl3/gcc.old: Makefile.hooks
Log Message:
fix the cleanfiles for hooks mechanism
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/Makefile.hooks
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc.old/Makefile.hooks
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/Makefile.hooks
diff -u src/external/gpl3/gcc/Makefile.hooks:1.1 src/external/gpl3/gcc/Makefile.hooks:1.2
--- src/external/gpl3/gcc/Makefile.hooks:1.1 Sat Mar 1 10:00:31 2014
+++ src/external/gpl3/gcc/Makefile.hooks Tue Mar 13 03:17:01 2018
@@ -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}.lo: ${HH} gen${f}.c
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
Index: src/external/gpl3/gcc.old/Makefile.hooks
diff -u src/external/gpl3/gcc.old/Makefile.hooks:1.3 src/external/gpl3/gcc.old/Makefile.hooks:1.4
--- src/external/gpl3/gcc.old/Makefile.hooks:1.3 Sun Jul 23 01:10:50 2017
+++ src/external/gpl3/gcc.old/Makefile.hooks Tue Mar 13 03:17:01 2018
@@ -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}.lo: ${HH} gen${f}.c
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