summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-05-20 20:45:27 -0400
committerGravatar Joshua Hill2010-05-20 20:45:27 -0400
commitbb587b216f9e50918491b1edcafc298452026a2b (patch)
treecf342b597984d7d7722fab0e6788c6fe482575f2 /src/Makefile.am
parent332faac3f152e14fb43351e82e3be034e72b73b3 (diff)
downloadidevicerestore-bb587b216f9e50918491b1edcafc298452026a2b.tar.gz
idevicerestore-bb587b216f9e50918491b1edcafc298452026a2b.tar.bz2
Added support to detect device and which mode it's in, and linking for libirecovery
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b997ca6..b876ecc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,15 +1,20 @@
+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)
+ $(libcurl_CFLAGS) \
+ $(libirecovery_CFLAGS)
AM_LDFLAGS =\
$(libimobiledevice_LIBS) \
$(libplist_LIBS) \
$(libzip_LIBS) \
- $(libcurl_LIBS)
+ $(libcurl_LIBS) \
+ $(libirecovery_LIBS)
bin_PROGRAMS = idevicerestore