diff options
author | Martin Szulecki | 2020-06-08 21:52:59 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-08 21:52:59 +0200 |
commit | aca1292c57c6ad6f7e91d73621e836228943db04 (patch) | |
tree | 26b1f8035f9b6c24bc461d785f3334527e08591e | |
parent | c8a3d421acb27c14bca4f84021b9bd6aad2b62a1 (diff) | |
download | usbmuxd-aca1292c57c6ad6f7e91d73621e836228943db04.tar.gz usbmuxd-aca1292c57c6ad6f7e91d73621e836228943db04.tar.bz2 |
Unfold automake variables into multiple lines for maintainability
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | src/Makefile.am | 35 |
2 files changed, 29 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index a4d86c0..c8df765 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,8 +2,11 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src $(UDEV_SUB) $(SYSTEMD_SUB) docs -EXTRA_DIST = docs COPYING.GPLv2 COPYING.GPLv3 +EXTRA_DIST = \ + docs \ + COPYING.GPLv2 \ + COPYING.GPLv3 -DISTCHECK_CONFIGURE_FLAGS = \ +DISTCHECK_CONFIGURE_FLAGS = \ --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
\ No newline at end of file diff --git a/src/Makefile.am b/src/Makefile.am index 9faf204..328b700 100644 --- a/src/Makefile.am +++ b/src/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) $(libplist_CFLAGS) $(libusb_CFLAGS) $(libimobiledevice_CFLAGS) -AM_LDFLAGS = $(libplist_LIBS) $(libusb_LIBS) $(libimobiledevice_LIBS) $(libpthread_LIBS) +AM_CFLAGS = \ + $(GLOBAL_CFLAGS) \ + $(libplist_CFLAGS) \ + $(libusb_CFLAGS) \ + $(libimobiledevice_CFLAGS) + +AM_LDFLAGS = \ + $(libplist_LIBS) \ + $(libusb_LIBS) \ + $(libimobiledevice_LIBS) \ + $(libpthread_LIBS) sbin_PROGRAMS = usbmuxd usbmuxd_CFLAGS = $(AM_CFLAGS) usbmuxd_LDFLAGS = $(AM_LDFLAGS) -no-undefined -usbmuxd_SOURCES = client.c client.h \ - device.c device.h \ - preflight.c preflight.h \ - log.c log.h \ - usbmuxd-proto.h usb.c usb.h \ - utils.c utils.h \ - conf.c conf.h \ - main.c +usbmuxd_SOURCES = \ + client.c client.h \ + device.c device.h \ + preflight.c preflight.h \ + log.c log.h \ + usbmuxd-proto.h \ + usb.c usb.h \ + utils.c utils.h \ + conf.c conf.h \ + main.c |