abg-viz-dot.cc \
abg-viz-svg.cc
-libabigail_la_LDFLAGS=$(DEPS_LIBS) -Wl,--as-needed
+libabigail_la_LIBADD = $(DEPS_LIBS)
+libabigail_la_LDFLAGS = -Wl,--as-needed -no-undefined
AM_CPPFLAGS=$(DEPS_CPPFLAGS) -Wall -I$(abs_top_srcdir)/include -I$(abs_top_builddir)/include -I$(abs_top_builddir)
AM_CXXFLAGS="-std=gnu++11"
if ENABLE_ZIP_ARCHIVE
biar_SOURCES = biar.cc
biardir = $(bindir)
-biar_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
-biar_DEPENDENCIES = libtoolsutils.la
+biar_LDADD = ../src/libabigail.la libtoolsutils.la
endif
bidiff_SOURCES = bidiff.cc
bidiffdir = $(bindir)
-bidiff_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
-bidiff_DEPENDENCIES = libtoolsutils.la
+bidiff_LDADD = ../src/libabigail.la libtoolsutils.la
bilint_SOURCES = bilint.cc
bilintdir = $(bindir)
-bilint_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
-bilint_DEPENDENCIES = libtoolsutils.la
+bilint_LDADD = ../src/libabigail.la libtoolsutils.la
bidw_SOURCES = bidw.cc
bidwdir = $(bindir)
-bidw_LDFLAGS = $(abs_top_builddir)/src/libabigail.la $(abs_top_builddir)/tools/libtoolsutils.la
-bidw_DEPENDENCIES = libtoolsutils.la
+bidw_LDADD = ../src/libabigail.la libtoolsutils.la
bisym_SOURCES = bisym.cc
bisymdir = $(bindir)
-bisym_LDFLAGS = $(abs_top_builddir)/src/libabigail.la
+bisym_LDADD = ../src/libabigail.la
AM_CPPFLAGS=-I$(abs_top_srcdir)/include -I$(abs_top_srcdir)/tools