summaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent960fb407eb362bb0e90326a30a984c1af1e5b0dd (diff)
downloadlibimobiledevice-f5c963b8c1b8a62c41c081767aec3ab4e1ae5690.tar.gz
libimobiledevice-f5c963b8c1b8a62c41c081767aec3ab4e1ae5690.tar.bz2
Unfold automake variables into multiple lines for maintainability
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am77
1 files changed, 48 insertions, 29 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index feabf40..9933277 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,37 +1,56 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)
-AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusbmuxd_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(libplist_CFLAGS) $(LFS_CFLAGS) $(openssl_CFLAGS) $(PTHREAD_CFLAGS)
-AM_LDFLAGS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(libplist_LIBS) $(libusbmuxd_LIBS) $(libgcrypt_LIBS) $(openssl_LIBS) $(PTHREAD_LIBS)
+AM_CFLAGS = \
+ $(GLOBAL_CFLAGS) \
+ $(libusbmuxd_CFLAGS) \
+ $(libgnutls_CFLAGS) \
+ $(libtasn1_CFLAGS) \
+ $(libplist_CFLAGS) \
+ $(LFS_CFLAGS) \
+ $(openssl_CFLAGS) \
+ $(PTHREAD_CFLAGS)
+
+AM_LDFLAGS = \
+ $(libgnutls_LIBS) \
+ $(libtasn1_LIBS) \
+ $(libplist_LIBS) \
+ $(libusbmuxd_LIBS) \
+ $(libgcrypt_LIBS) \
+ $(openssl_LIBS) \
+ $(PTHREAD_LIBS)
lib_LTLIBRARIES = libimobiledevice.la
libimobiledevice_la_LIBADD = $(top_builddir)/common/libinternalcommon.la
libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined
-libimobiledevice_la_SOURCES = idevice.c idevice.h \
- service.c service.h\
- property_list_service.c property_list_service.h\
- device_link_service.c device_link_service.h\
- lockdown.c lockdown.h\
- afc.c afc.h\
- file_relay.c file_relay.h\
- notification_proxy.c notification_proxy.h\
- installation_proxy.c installation_proxy.h\
- sbservices.c sbservices.h\
- mobile_image_mounter.c mobile_image_mounter.h\
- screenshotr.c screenshotr.h\
- mobilesync.c mobilesync.h\
- mobilebackup.c mobilebackup.h\
- house_arrest.c house_arrest.h\
- mobilebackup2.c mobilebackup2.h\
- misagent.c misagent.h\
- restore.c restore.h\
- diagnostics_relay.c diagnostics_relay.h\
- heartbeat.c heartbeat.h\
- debugserver.c debugserver.h\
- webinspector.c webinspector.h\
- mobileactivation.c mobileactivation.h\
- preboard.c preboard.h \
- companion_proxy.c companion_proxy.h \
- syslog_relay.c syslog_relay.h
+libimobiledevice_la_SOURCES = \
+ idevice.c idevice.h \
+ service.c service.h \
+ property_list_service.c property_list_service.h \
+ device_link_service.c device_link_service.h \
+ lockdown.c lockdown.h \
+ afc.c afc.h \
+ file_relay.c file_relay.h \
+ notification_proxy.c notification_proxy.h \
+ installation_proxy.c installation_proxy.h \
+ sbservices.c sbservices.h \
+ mobile_image_mounter.c mobile_image_mounter.h \
+ screenshotr.c screenshotr.h \
+ mobilesync.c mobilesync.h \
+ mobilebackup.c mobilebackup.h \
+ house_arrest.c house_arrest.h \
+ mobilebackup2.c mobilebackup2.h \
+ misagent.c misagent.h \
+ restore.c restore.h \
+ diagnostics_relay.c diagnostics_relay.h \
+ heartbeat.c heartbeat.h \
+ debugserver.c debugserver.h \
+ webinspector.c webinspector.h \
+ mobileactivation.c mobileactivation.h \
+ preboard.c preboard.h \
+ companion_proxy.c companion_proxy.h \
+ syslog_relay.c syslog_relay.h
if WIN32
libimobiledevice_la_LDFLAGS += -avoid-version -static-libgcc