summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: c011729ca25acab48c21b92a456cdb41fdf78b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
libirecovery_CFLAGS = -I/usr/local/include
libirecovery_LIBS = -L/usr/local/lib -lirecovery -lusb-1.0

AM_CFLAGS =	                   \
	$(GLOBAL_CFLAGS)           \
	$(libimobiledevice_CFLAGS) \
	$(libplist_CFLAGS)         \
	$(libzip_CFLAGS)           \
	$(libcurl_CFLAGS)          \
	$(libirecovery_CFLAGS)

AM_LDFLAGS =\
	$(libimobiledevice_LIBS)   \
	$(libplist_LIBS)           \
	$(libzip_LIBS)             \
	$(libcurl_LIBS)            \
	$(libirecovery_LIBS)

bin_PROGRAMS = idevicerestore

idevicerestore_SOURCES = idevicerestore.c ipsw.c tss.c img3.c
idevicerestore_CFLAGS = $(AM_CFLAGS)
idevicerestore_LDFLAGS = $(AM_LDFLAGS)