This will make further changes easier to review. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- examples/Makefile.am | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 9a32fd5d4a..8f50149812 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -26,13 +26,19 @@ EXTRA_DIST = \ $(wildcard $(srcdir)/xml/storage/*.xml) \ $(wildcard $(srcdir)/xml/test/*.xml) - AM_CPPFLAGS = \ - -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir) \ - $(WARN_CFLAGS) -LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) \ + -I$(top_builddir)/include \ + -I$(top_srcdir)/include \ + -I$(top_srcdir) \ + $(WARN_CFLAGS) \ + $(NULL) + +LDADD = \ + $(STATIC_BINARIES) \ + $(WARN_CFLAGS) \ $(top_builddir)/src/libvirt.la \ - $(top_builddir)/src/libvirt-admin.la + $(top_builddir)/src/libvirt-admin.la \ + $(NULL) # List of example programs. We need to list them here instead of using # $(noinst_PROGRAMS) directly because we want to have access to the -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list