Module Name: src
Committed By: mrg
Date: Mon Sep 21 06:48:48 UTC 2020
Modified Files:
src/external/gpl3/gdb/lib/libctf: Makefile
Log Message:
make depend files also depend on the generated headers.
fixes build issues.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/lib/libctf/Makefile
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/gdb/lib/libctf/Makefile
diff -u src/external/gpl3/gdb/lib/libctf/Makefile:1.2 src/external/gpl3/gdb/lib/libctf/Makefile:1.3
--- src/external/gpl3/gdb/lib/libctf/Makefile:1.2 Thu Sep 17 16:45:35 2020
+++ src/external/gpl3/gdb/lib/libctf/Makefile Mon Sep 21 06:48:48 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/09/17 16:45:35 christos Exp $
+# $NetBSD: Makefile,v 1.3 2020/09/21 06:48:48 mrg Exp $
NOCTF=
#HOSTPROG_CXX= 1
@@ -37,7 +37,7 @@ CWARNFLAGS.clang+= -Wno-switch
CLEANDIRFILES+= ctf-error.h
-${G_OBJECTS}: ctf-error.h
+${G_OBJECTS} ${G_OBJECTS:.o=.d}: ctf-error.h
ctf-error.h: ${DIST}/libctf/mkerrors.sed ${DIST}/include/ctf-api.h
${TOOL_SED} -nf ${DIST}/libctf/mkerrors.sed < ${DIST}/include/ctf-api.h > $@