Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/elftoolchain/libdwarf Make the generated <sys/elfdefin...
details: https://anonhg.NetBSD.org/src/rev/20142280050a
branches: trunk
changeset: 365892:20142280050a
user: jkoshy <jkoshy%NetBSD.org@localhost>
date: Sun May 01 17:25:19 2022 +0000
description:
Make the generated <sys/elfdefinitions.h> file visible when compiling
libdwarf.
diffstat:
tools/elftoolchain/libdwarf/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 838c94607ee7 -r 20142280050a tools/elftoolchain/libdwarf/Makefile
--- a/tools/elftoolchain/libdwarf/Makefile Sun May 01 17:20:47 2022 +0000
+++ b/tools/elftoolchain/libdwarf/Makefile Sun May 01 17:25:19 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/04/18 14:11:43 jkoshy Exp $
+# $NetBSD: Makefile,v 1.2 2022/05/01 17:25:19 jkoshy Exp $
HOSTLIB=dwarf
@@ -71,8 +71,11 @@
.-include "${TOOLDIR}/share/compat/defs.mk"
.endif
+LIBDWARF_OBJDIR!= cd ${.CURDIR} && ${PRINTOBJDIR}
+
CPPFLAGS+= -I${.CURDIR}/../../compat
CPPFLAGS+= -I${.CURDIR}/../../common
+CPPFLAGS+= -I${LIBDWARF_OBJDIR}/../common
CPPFLAGS+= -I${LIBDWARF_DIR} -I${LIBELF_DIR} -I${COMMON_DIR}
CPPFLAGS+= -I${TOOLDIR}/include -I${TOOLDIR}/include/nbinclude
Home |
Main Index |
Thread Index |
Old Index