From 14e9b0b5a9f6c1a23b2b140c1722a639e82f1e4a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 8 Jun 2020 14:40:46 +0200 Subject: Unfold automake flags and sources into multiple lines, fix distcheck target --- src/Makefile.am | 60 ++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 42 insertions(+), 18 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 1dfbc86..ace33d4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,31 +1,55 @@ -AM_CFLAGS = \ - $(GLOBAL_CFLAGS) \ - $(LFS_CFLAGS) \ - $(libirecovery_CFLAGS) \ +AM_CFLAGS = \ + $(GLOBAL_CFLAGS) \ + $(LFS_CFLAGS) \ + $(libirecovery_CFLAGS) \ $(libimobiledevice_CFLAGS) \ - $(libplist_CFLAGS) \ - $(libzip_CFLAGS) \ - $(zlib_CFLAGS) \ - $(openssl_CFLAGS) \ + $(libplist_CFLAGS) \ + $(libzip_CFLAGS) \ + $(zlib_CFLAGS) \ + $(openssl_CFLAGS) \ $(libcurl_CFLAGS) -AM_LDFLAGS =\ - $(AC_LDFLAGS) \ - $(libirecovery_LIBS) \ - $(libimobiledevice_LIBS) \ - $(libplist_LIBS) \ - $(libzip_LIBS) \ - $(zlib_LIBS) \ - $(openssl_LIBS) \ +AM_LDFLAGS = \ + $(AC_LDFLAGS) \ + $(libirecovery_LIBS) \ + $(libimobiledevice_LIBS) \ + $(libplist_LIBS) \ + $(libzip_LIBS) \ + $(zlib_LIBS) \ + $(openssl_LIBS) \ $(libcurl_LIBS) AM_LDADD = $(AC_LDADD) bin_PROGRAMS = idevicerestore -idevicerestore_SOURCES = idevicerestore.c common.c tss.c fls.c mbn.c img3.c img4.c ftab.c ipsw.c normal.c dfu.c recovery.c restore.c asr.c fdr.c limera1n.c download.c locking.c socket.c thread.c jsmn.c json_plist.c +idevicerestore_SOURCES = \ + idevicerestore.c idevicerestore.h \ + endianness.h \ + common.c common.h \ + tss.c tss.h \ + fls.c fls.h \ + mbn.c mbn.h \ + img3.c img3.h \ + img4.c img4.h \ + ftab.c ftab.h \ + ipsw.c ipsw.h \ + normal.c normal.h \ + dfu.c dfu.h \ + recovery.c recovery.h \ + restore.c restore.h \ + asr.c asr.h \ + fdr.c fdr.h \ + limera1n_payload.h \ + limera1n.c limera1n.h \ + download.c download.h \ + locking.c locking.h \ + socket.c socket.h \ + thread.c thread.h \ + jsmn.c jsmn.h \ + json_plist.c json_plist.h if USE_INTERNAL_SHA1 - idevicerestore_SOURCES += sha1.c +idevicerestore_SOURCES += sha1.c sha1.h endif idevicerestore_CFLAGS = $(AM_CFLAGS) idevicerestore_LDFLAGS = $(AM_LDFLAGS) -- cgit v1.1-32-gdbae