mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-29 21:32:08 +00:00
749611d2e8
* include/abg-comparison.h (class translation_unit_diff): New type. (compute_diff): Make this take class_decl&, rather than class_decl_sptr. Add new overloads for scope_decl& and translation_unit&. (report_changes): New overload for scope_diff& and translation_unit&. * src/abg-comparison.cc (struct class_decl_diff::priv): New type. (class class_decl_diff): Add comments to methods. (class translation_unit_diff): Implement methods. (compute_diff, report_changes): Implement the new overloads. (scope_diff::ensure_lookup_tables_populated): Fix a thinko here. * src/abg-ir.cc (is_var_decl): Add new predicate. * tools/abg-tools-utils.h (file_exists, is_regular_file) (check_file): Declare new functions. * tools/abg-tools-utils.cc (get_stat, file_exists, check_file) (is_regular_file): Define new functions. (is_dir): Use the new get_stat. * tools/bidiff.cc: New file. * tools/Makefile.am: Add tools/bidiff.cc to the build system; make it produce the bidiff tool. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
22 lines
603 B
Makefile
22 lines
603 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
|
|
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
|
|
|
|
AM_CPPFLAGS=-I$(abs_top_srcdir)/include -I$(abs_top_srcdir)/tools
|