Skip to content

Commit

Permalink
build/trivial: prettify makefiles by wrapping long lines
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Haller <thaller@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
  • Loading branch information
thom311 committed Sep 24, 2014
1 parent a2b9f33 commit 1e3f316
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/Makefile.am
Expand Up @@ -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 = \
Expand Down
9 changes: 8 additions & 1 deletion 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)
Expand Down
7 changes: 6 additions & 1 deletion tests/Makefile.am
Expand Up @@ -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 \
Expand Down

0 comments on commit 1e3f316

Please sign in to comment.