From f5c963b8c1b8a62c41c081767aec3ab4e1ae5690 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 8 Jun 2020 18:54:10 +0200 Subject: Unfold automake variables into multiple lines for maintainability --- common/Makefile.am | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'common') 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 -- cgit v1.1-32-gdbae