[libvirt] [PATCH 03/16] examples: Reformat $(AM_CPPFLAGS) and $(LDADDS)

Andrea Bolognani abologna at redhat.com
Wed May 22 17:52:54 UTC 2019


This will make further changes easier to review.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 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




More information about the libvir-list mailing list