mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-26 19:52:08 +00:00
bd1af4cd52
* configure.ac: Check the presence of libdw.so and elfutils/libdwfl.h headers from elfutils and define the necessary linking flags. * include/abg-dwarf-reader.h: New header file * include/Makefile.am: Add the new header file to the source distribution. * src/abg-dwarf-reader.cc:: New file. * src/Makefile.am: Add the new file to the source distribution. * include/abg-fwd.h (dump): Add declarations for several overloads to allow dumping to a given output stream. * include/abg-ir.h (class translation_unit): Use a pimpl idiom for this now. (translation_unit::canonicalize_type): Declare new method. * src/abg-ir.cc (struct translation_unit::priv): New private type for the pimpl idiom for translation_unit. (translation_unit::{translation_unit, get_global_scope, get_path, set_path, get_loc_mgr}): Adjust for pimpl idiom. (translation_unit::canonicalize_type): Define this new method and one overload. * src/abg-writer.cc (dump): Define several overloads to dump IR nodes to given output streams. * tools/bidw.cc: New file for the new bidw tool. * tools/Makefile.am: Define rules to build the new bidw tools. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
32 lines
989 B
Makefile
32 lines
989 B
Makefile
h=$(abs_srcdir)
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libtoolsutils.la
|
|
libtoolsutils_la_SOURCES= \
|
|
$(h)/abg-tools-utils.h \
|
|
$(h)/abg-tools-utils.cc
|
|
|
|
bin_PROGRAMS = biar bidiff bilint bidw
|
|
biar_SOURCES = $(h)/biar.cc
|
|
biardir = $(bindir)
|
|
biar_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
|
|
biar_DEPENDENCIES = libtoolsutils.la
|
|
|
|
bidiff_SOURCES = $(h)/bidiff.cc
|
|
bidiffdir = $(bindir)
|
|
bidiff_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
|
|
bidiff_DEPENDENCIES = libtoolsutils.la
|
|
|
|
bilint_SOURCES = $(h)/bilint.cc
|
|
bilintdir = $(bindir)
|
|
bilint_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
|
|
bilint_DEPENDENCIES = libtoolsutils.la
|
|
|
|
bidw_SOURCES = $(h)/bidw.cc
|
|
bidwdir = $(bindir)
|
|
bidw_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
|
|
bidw_DEPENDENCIES = libtoolsutils.la
|
|
|
|
AM_CPPFLAGS=-I$(abs_top_srcdir)/include -I$(abs_top_srcdir)/tools
|