Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/libdwarf switch to the new libdwarf
details: https://anonhg.NetBSD.org/src/rev/11343161d85b
branches: trunk
changeset: 327499:11343161d85b
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 09 17:10:38 2014 +0000
description:
switch to the new libdwarf
diffstat:
tools/libdwarf/Makefile | 76 ++++++++++++++++++++++++++++++++++++++----------
1 files changed, 59 insertions(+), 17 deletions(-)
diffs (96 lines):
diff -r 0e678fb594de -r 11343161d85b tools/libdwarf/Makefile
--- a/tools/libdwarf/Makefile Sun Mar 09 17:10:12 2014 +0000
+++ b/tools/libdwarf/Makefile Sun Mar 09 17:10:38 2014 +0000
@@ -1,26 +1,67 @@
-# $NetBSD: Makefile,v 1.6 2013/01/17 22:25:36 christos Exp $
+# $NetBSD: Makefile,v 1.7 2014/03/09 17:10:38 christos Exp $
HOSTLIB=dwarf
.include <bsd.own.mk>
-SRCS= dwarf_abbrev.c \
- dwarf_attr.c \
- dwarf_attrval.c \
- dwarf_cu.c \
- dwarf_dealloc.c \
- dwarf_die.c \
- dwarf_dump.c \
- dwarf_errmsg.c \
- dwarf_errno.c \
- dwarf_finish.c \
- dwarf_form.c \
- dwarf_func.c \
- dwarf_init.c \
- dwarf_loc.c
+SRCS= \
+ dwarf_abbrev.c \
+ dwarf_arange.c \
+ dwarf_attr.c \
+ dwarf_attrval.c \
+ dwarf_cu.c \
+ dwarf_dealloc.c \
+ dwarf_die.c \
+ dwarf_dump.c \
+ dwarf_errmsg.c \
+ dwarf_finish.c \
+ dwarf_form.c \
+ dwarf_frame.c \
+ dwarf_init.c \
+ dwarf_lineno.c \
+ dwarf_loclist.c \
+ dwarf_macinfo.c \
+ dwarf_pro_arange.c \
+ dwarf_pro_attr.c \
+ dwarf_pro_die.c \
+ dwarf_pro_expr.c \
+ dwarf_pro_finish.c \
+ dwarf_pro_frame.c \
+ dwarf_pro_init.c \
+ dwarf_pro_lineno.c \
+ dwarf_pro_macinfo.c \
+ dwarf_pro_reloc.c \
+ dwarf_pro_sections.c \
+ dwarf_ranges.c \
+ dwarf_reloc.c \
+ dwarf_seterror.c \
+ dwarf_str.c \
+ libdwarf.c \
+ libdwarf_abbrev.c \
+ libdwarf_arange.c \
+ libdwarf_attr.c \
+ libdwarf_die.c \
+ libdwarf_elf_access.c \
+ libdwarf_elf_init.c \
+ libdwarf_error.c \
+ libdwarf_frame.c \
+ libdwarf_info.c \
+ libdwarf_init.c \
+ libdwarf_lineno.c \
+ libdwarf_loc.c \
+ libdwarf_loclist.c \
+ libdwarf_macinfo.c \
+ libdwarf_nametbl.c \
+ libdwarf_ranges.c \
+ libdwarf_reloc.c \
+ libdwarf_rw.c \
+ libdwarf_sections.c \
+ libdwarf_str.c
-LIBDWARF_DIR= ${.CURDIR}/../../external/bsd/libdwarf/dist
-LIBELF_DIR= ${.CURDIR}/../../external/bsd/libelf/dist
+ELFTOOLCHAIN_DIR=${.CURDIR}/../../external/bsd/elftoolchain/dist
+LIBDWARF_DIR= ${ELFTOOLCHAIN_DIR}/libdwarf
+LIBELF_DIR= ${ELFTOOLCHAIN_DIR}/libelf
+COMMON_DIR= ${ELFTOOLCHAIN_DIR}/common
INCS= dwarf.h libdwarf.h
INCSDIR= /usr/include
@@ -31,6 +72,7 @@
.endif
CPPFLAGS+= -I${.CURDIR}/../compat -I${LIBDWARF_DIR} -I${LIBELF_DIR}
+CPPFLAGS+= -I${COMMON_DIR}
BUILD_OSTYPE!= uname -s
Home |
Main Index |
Thread Index |
Old Index