[PATCH 1/2] build/trivial: prettify makefiles by wrapping long lines
Thomas Haller
thaller at redhat.com
Tue Sep 23 22:49:33 PDT 2014
Signed-off-by: Thomas Haller <thaller at redhat.com>
---
src/Makefile.am | 7 ++++++-
src/lib/Makefile.am | 9 ++++++++-
tests/Makefile.am | 7 ++++++-
3 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index f8ac4ca..ea4bf45 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,12 @@
SUBDIRS = lib
-AM_CPPFLAGS = -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
+AM_CPPFLAGS = \
+ -I${top_srcdir}/include \
+ -I${top_builddir}/include \
+ -D_GNU_SOURCE \
+ -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
+
AM_CFLAGS = -Wall
LDADD = \
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 5161115..4b9b4a9 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -1,6 +1,13 @@
# -*- Makefile -*-
-AM_CPPFLAGS = -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DPKGLIBDIR=\"$(pkglibdir)\" -DSYSCONFDIR=\"$(sysconfdir)\" -rdynamic
+AM_CPPFLAGS = \
+ -I${top_srcdir}/include \
+ -I${top_builddir}/include \
+ -D_GNU_SOURCE \
+ -DPKGLIBDIR=\"$(pkglibdir)\" \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \
+ -rdynamic
+
AM_CFLAGS = -Wall
AM_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0abf728..c016bb8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,7 +5,12 @@ EXTRA_DIST = \
if ENABLE_UNIT_TESTS
-AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
+AM_CPPFLAGS = \
+ -Wall \
+ -I${top_srcdir}/include \
+ -I${top_builddir}/include \
+ -D_GNU_SOURCE \
+ -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
LDADD = \
${top_builddir}/lib/libnl-3.la \
--
1.9.3
More information about the libnl
mailing list