From b668fc1e0c2bc316ae85d713f8732a403c69bc80 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 8 Jun 2020 21:59:19 +0200 Subject: Unfold automake variables into multiple lines for maintainability --- include/Makefile.am | 3 ++- src/Makefile.am | 18 +++++++++++++++--- tools/Makefile.am | 14 +++++++++++--- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/include/Makefile.am b/include/Makefile.am index ae0895a..19149bc 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1 +1,2 @@ -nobase_include_HEADERS = libideviceactivation.h +nobase_include_HEADERS = \ + libideviceactivation.h diff --git a/src/Makefile.am b/src/Makefile.am index 52cd964..573049c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,19 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = \ + -I$(top_srcdir)/include -AM_CFLAGS = $(GLOBAL_CFLAGS) $(libimobiledevice_CFLAGS) $(libplist_CFLAGS) $(libcurl_CFLAGS) $(libxml2_CFLAGS) -AM_LDFLAGS = $(GLOBAL_LIBS) $(libimobiledevice_LIBS) $(libplist_LIBS) $(libcurl_LIBS) $(libxml2_LIBS) +AM_CFLAGS = \ + $(GLOBAL_CFLAGS) \ + $(libimobiledevice_CFLAGS) \ + $(libplist_CFLAGS) \ + $(libcurl_CFLAGS) \ + $(libxml2_CFLAGS) + +AM_LDFLAGS = \ + $(GLOBAL_LIBS) \ + $(libimobiledevice_LIBS) \ + $(libplist_LIBS) \ + $(libcurl_LIBS) \ + $(libxml2_LIBS) lib_LTLIBRARIES = libideviceactivation.la libideviceactivation_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIDEVICEACTIVATION_SO_VERSION) -no-undefined diff --git a/tools/Makefile.am b/tools/Makefile.am index 4eb9a7d..e04c66b 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,7 +1,15 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = \ + -I$(top_srcdir)/include -AM_CFLAGS = $(GLOBAL_CFLAGS) $(libimobiledevice_CFLAGS) $(libplist_CFLAGS) -AM_LDFLAGS = $(GLOBAL_LIBS) $(libimobiledevice_LIBS) $(libplist_LIBS) +AM_CFLAGS = \ + $(GLOBAL_CFLAGS) \ + $(libimobiledevice_CFLAGS) \ + $(libplist_CFLAGS) + +AM_LDFLAGS = \ + $(GLOBAL_LIBS) \ + $(libimobiledevice_LIBS) \ + $(libplist_LIBS) bin_PROGRAMS = ideviceactivation -- cgit v1.1-32-gdbae