summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-08 18:54:10 +0200
committerGravatar Martin Szulecki2020-06-08 19:09:18 +0200
commitf5c963b8c1b8a62c41c081767aec3ab4e1ae5690 (patch)
tree963aa91195c24778624445764e3c6f2d36bc449f /common
parent960fb407eb362bb0e90326a30a984c1af1e5b0dd (diff)
downloadlibimobiledevice-f5c963b8c1b8a62c41c081767aec3ab4e1ae5690.tar.gz
libimobiledevice-f5c963b8c1b8a62c41c081767aec3ab4e1ae5690.tar.bz2
Unfold automake variables into multiple lines for maintainability
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am29
1 files changed, 21 insertions, 8 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 054e2a1..4e3facb 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -1,17 +1,30 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)
-AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusbmuxd_CFLAGS) $(libplist_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(openssl_CFLAGS) $(LFS_CFLAGS)
-AM_LDFLAGS = $(libusbmuxd_LIBS) $(libplist_LIBS) ${libpthread_LIBS}
+AM_CFLAGS = \
+ $(GLOBAL_CFLAGS) \
+ $(libusbmuxd_CFLAGS) \
+ $(libplist_CFLAGS) \
+ $(libgnutls_CFLAGS) \
+ $(libtasn1_CFLAGS) \
+ $(openssl_CFLAGS) \
+ $(LFS_CFLAGS)
+
+AM_LDFLAGS = \
+ $(libusbmuxd_LIBS) \
+ $(libplist_LIBS) \
+ ${libpthread_LIBS}
noinst_LTLIBRARIES = libinternalcommon.la
libinternalcommon_la_LIBADD =
libinternalcommon_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined
libinternalcommon_la_SOURCES = \
- socket.c socket.h \
- thread.c thread.h \
- debug.c debug.h \
- userpref.c userpref.h \
- utils.c utils.h
+ socket.c socket.h \
+ thread.c thread.h \
+ debug.c debug.h \
+ userpref.c userpref.h \
+ utils.c utils.h
if WIN32
libinternalcommon_la_LIBADD += -lole32 -lws2_32