2013-08-29 14:23:41 +00:00
|
|
|
lib_LTLIBRARIES=libabigail.la
|
|
|
|
libabigaildir=$(libdir)
|
2013-02-28 10:42:57 +00:00
|
|
|
|
2014-11-05 09:08:33 +00:00
|
|
|
if ENABLE_CXX11
|
|
|
|
CXX11_SOURCES = abg-viz-common.cc \
|
|
|
|
abg-viz-dot.cc \
|
|
|
|
abg-viz-svg.cc
|
|
|
|
AM_CXXFLAGS="-std=gnu++11"
|
|
|
|
else
|
|
|
|
CXX11_SOURCES =
|
|
|
|
endif
|
|
|
|
|
2014-09-05 14:33:27 +00:00
|
|
|
libabigail_la_SOURCES = \
|
2014-06-23 12:23:04 +00:00
|
|
|
abg-traverse.cc \
|
|
|
|
abg-ir.cc \
|
|
|
|
abg-corpus.cc \
|
|
|
|
abg-diff-utils.cc \
|
|
|
|
abg-comparison.cc \
|
|
|
|
abg-comp-filter.cc \
|
|
|
|
abg-reader.cc \
|
|
|
|
abg-dwarf-reader.cc \
|
|
|
|
abg-libxml-utils.cc \
|
|
|
|
abg-libzip-utils.cc \
|
|
|
|
abg-hash.cc \
|
|
|
|
abg-writer.cc \
|
|
|
|
abg-config.cc \
|
2014-09-05 14:29:18 +00:00
|
|
|
abg-ini.cc \
|
2015-01-08 10:34:03 +00:00
|
|
|
abg-tools-utils.cc \
|
2014-11-05 09:08:33 +00:00
|
|
|
$(CXX11_SOURCES)
|
Parse type-decl and namespace-decl elements
* configure.ac: Add libxml2 dependencies.
* src/abg-corpus.{h,cc}: New files.
* src/abg-hash.{h,cc}: Likewise.
* src/abg-libxml-utils.{h,cc}: Likewise.
* src/abg-reader.{h,cc}: Likewise.
* src/abg-serialize.{h,cc}: Likewise.
* src/abg-writer.h: Likewise.
* src/Makefile.am: Build the new files above.
* src/abg-ir.h (class location): Add public accessors for the value, and
a truth operator. Make the methods be inline.
(class decl_base): Renamed decl into this. Renamed what_decl_kind
into what_kind. Renamed get_context into get_scope. Add virtual
destructor, accessors for location and name.
(class {scope_decl, type_base, type_decl} ): Add virtual dtor.
Re-style.
(struct {decl_base_hash, type_decl_hash}): New hashing functors.
(class {scope_type_decl, namespace_decl}): Add virtual dtor.
* src/abg-ir.cc (location::*): Remove location definitions. There
are now inline in the header.
(class decl_base): Renamed decl into this. Remove most of the
definitions from here as their are now inline in the header.
(scope_decl::~scope_decl, type_base::~type_base)
(type_decl::~type_decl, scope_type_decl::~scope_type_decl): New
definitions.
2013-03-08 12:49:05 +00:00
|
|
|
|
2014-09-09 11:05:52 +00:00
|
|
|
libabigail_la_LIBADD = $(DEPS_LIBS)
|
|
|
|
libabigail_la_LDFLAGS = -Wl,--as-needed -no-undefined
|
2013-02-28 10:42:57 +00:00
|
|
|
|
2014-09-09 11:04:45 +00:00
|
|
|
AM_CPPFLAGS=$(DEPS_CPPFLAGS) -Wall -I$(abs_top_srcdir)/include -I$(abs_top_builddir)/include -I$(abs_top_builddir)
|
2014-11-05 09:08:33 +00:00
|
|
|
|