CVS commit: src/external/gpl3/gdb/lib/libctf

2021-04-26 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Apr 26 23:51:08 UTC 2021

Removed Files:
src/external/gpl3/gdb/lib/libctf: ctf-error.h

Log Message:
Remove accidentally committed autogen file.
Should fix periodic snapshot builds with RO mounted /usr/src.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gdb/lib/libctf/ctf-error.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/lib/libctf

2020-09-21 Thread matthew green
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 > $@



CVS commit: src/external/gpl3/gdb/lib/libctf

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:45:35 UTC 2020

Modified Files:
src/external/gpl3/gdb/lib/libctf: Makefile

Log Message:
Generate ctf-error.h


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 src/external/gpl3/gdb/lib/libctf/Makefile:1.2
--- src/external/gpl3/gdb/lib/libctf/Makefile:1.1	Thu Sep 17 12:36:38 2020
+++ src/external/gpl3/gdb/lib/libctf/Makefile	Thu Sep 17 12:45:35 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2020/09/17 16:36:38 christos Exp $
+#	$NetBSD: Makefile,v 1.2 2020/09/17 16:45:35 christos Exp $
 
 NOCTF=
 #HOSTPROG_CXX=   1
@@ -16,6 +16,7 @@ GDBARCHDIR=	${.CURDIR}/arch/${GDB_MACHIN
 SRCS=		${G_OBJECTS:.o=.c}
 GCPPFLAGS=	${G_INTERNAL_CFLAGS}
 CPPFLAGS+=	-I${.CURDIR} \
+		-I. \
 		-I${DIST} \
 		-I${DIST}/libctf \
 		-I${DIST}/gnulib/import \
@@ -34,6 +35,14 @@ CPPFLAGS+=	-I${.CURDIR} \
 
 CWARNFLAGS.clang+=	-Wno-switch
 
+CLEANDIRFILES+= ctf-error.h
+
+${G_OBJECTS}: 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 > $@
+
+
 .include "../../Makefile.inc"
 .include