summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-09-24 07:49:33 +0200
committerThomas Haller <thaller@redhat.com>2014-09-24 16:00:26 +0200
commit1e3f316081588cd7c25a54c1321571e29cfd806c (patch)
tree1b9275c5e9e8bb48ff47c2240c5eefdf851c81ef
parenta2b9f33fd478c864d3c5407c4b142d0e6bba1b43 (diff)
downloadlibnl-1e3f316081588cd7c25a54c1321571e29cfd806c.tar.gz
build/trivial: prettify makefiles by wrapping long lines
Signed-off-by: Thomas Haller <thaller@redhat.com> Acked-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--src/Makefile.am7
-rw-r--r--src/lib/Makefile.am9
-rw-r--r--tests/Makefile.am7
3 files changed, 20 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f8ac4ca0..ea4bf458 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 51611151..4b9b4a9c 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 0abf7286..c016bb86 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 \