Module Name:src
Committed By: mrg
Date: Sat Aug 15 21:11:37 UTC 2015
Modified Files:
src/external/gpl3/gdb.old/lib/libgdb: Makefile
Log Message:
add a bunch of missing CLEANDIRFILES, since the implicit rules they
come from are not entirely simple to generate.
remove old DIST= setting that was wrong.
this subdir builds again for me now.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb.old/lib/libgdb/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.old/lib/libgdb/Makefile
diff -u src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.1.1.1 src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.2
--- src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.1.1.1 Sat Aug 15 09:29:33 2015
+++ src/external/gpl3/gdb.old/lib/libgdb/Makefile Sat Aug 15 21:11:37 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2015/08/15 09:29:33 christos Exp $
+# $NetBSD: Makefile,v 1.2 2015/08/15 21:11:37 mrg Exp $
.include bsd.own.mk
@@ -10,8 +10,6 @@ GDBARCHDIR= ${.CURDIR}/arch/${GDB_MACHIN
.include ${GDBARCHDIR}/defs.mk
-DIST= ${NETBSDSRCDIR}/gnu/dist/gdb6
-
SRCS= ${G_LIBGDB_OBS:.o=.c}
GCPPFLAGS= ${G_INTERNAL_CFLAGS}
CPPFLAGS+= -I${.CURDIR} \
@@ -53,3 +51,14 @@ ada-exp.c: ada-lex.c
.if ${MACHINE} == amiga
COPTS.dwarf2-frame.c+=-O1
.endif
+
+# These are generated by implicit rules and are not easy to generate
+CLEANDIRFILES+= \
+ ada-exp.c ada-lex.c \
+ c-exp.c \
+ cp-name-parser.c \
+ f-exp.c \
+ go-exp.c \
+ jv-exp.c \
+ m2-exp.c \
+ p-exp.c