Module Name:    src
Committed By:   jkoshy
Date:           Sun May  1 17:25:19 UTC 2022

Modified Files:
        src/tools/elftoolchain/libdwarf: Makefile

Log Message:
Make the generated <sys/elfdefinitions.h> file visible when compiling
libdwarf.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tools/elftoolchain/libdwarf/Makefile

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

Modified files:

Index: src/tools/elftoolchain/libdwarf/Makefile
diff -u src/tools/elftoolchain/libdwarf/Makefile:1.1 src/tools/elftoolchain/libdwarf/Makefile:1.2
--- src/tools/elftoolchain/libdwarf/Makefile:1.1	Mon Apr 18 14:11:43 2022
+++ src/tools/elftoolchain/libdwarf/Makefile	Sun May  1 17:25:19 2022
@@ -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 @@ COMPATLIB_NO_LIB= yes # only the include
 .-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
 

Reply via email to