summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-08 14:40:46 +0200
committerGravatar Martin Szulecki2020-06-08 14:40:46 +0200
commit14e9b0b5a9f6c1a23b2b140c1722a639e82f1e4a (patch)
tree20ab2eb1980cdfa7b3ff67751a16291aa9e86086 /src
parent8d0bf2e00492f8a446512ddb759f3ea11869654a (diff)
downloadidevicerestore-14e9b0b5a9f6c1a23b2b140c1722a639e82f1e4a.tar.gz
idevicerestore-14e9b0b5a9f6c1a23b2b140c1722a639e82f1e4a.tar.bz2
Unfold automake flags and sources into multiple lines, fix distcheck target
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am60
1 files changed, 42 insertions, 18 deletions
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)