summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 1dfbc864cb07b1323b321c43220d07e6d1e04490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AM_CFLAGS =	                   \
	$(GLOBAL_CFLAGS)           \
	$(LFS_CFLAGS)              \
	$(libirecovery_CFLAGS)     \
	$(libimobiledevice_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)            \
	$(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
if USE_INTERNAL_SHA1
  idevicerestore_SOURCES += sha1.c
endif
idevicerestore_CFLAGS = $(AM_CFLAGS)
idevicerestore_LDFLAGS = $(AM_LDFLAGS)
idevicerestore_LDADD = $(AM_LDADD)