summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-12 17:40:05 +0100
committerGravatar Nikias Bassen2012-02-12 17:40:05 +0100
commitca6078403d99ba0b6ffae7627780d54fdd81dbb5 (patch)
tree16f4d0a420d258539f72e7773e90aa7d3c737302 /src
parentd1d6ae43f582262abee64b14c40fb6d08e9449be (diff)
downloadidevicerestore-ca6078403d99ba0b6ffae7627780d54fdd81dbb5.tar.gz
idevicerestore-ca6078403d99ba0b6ffae7627780d54fdd81dbb5.tar.bz2
autofoo: support for different platforms
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 93b0d98..a6c653f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,23 +1,22 @@
-#libirecovery_CFLAGS = -I/usr/local/include
-#libirecovery_LIBS = -L/usr/local/lib -lusb-1.0
-
AM_CFLAGS = \
$(GLOBAL_CFLAGS) \
$(libimobiledevice_CFLAGS) \
$(libplist_CFLAGS) \
$(libzip_CFLAGS) \
- $(libcurl_CFLAGS) \
- #$(libirecovery_CFLAGS)
+ $(libcurl_CFLAGS)
AM_LDFLAGS =\
+ $(AC_LDFLAGS) \
$(libimobiledevice_LIBS) \
$(libplist_LIBS) \
$(libzip_LIBS) \
- $(libcurl_LIBS) \
- #$(libirecovery_LIBS)
+ $(libcurl_LIBS)
+
+AM_LDADD = $(AC_LDADD)
bin_PROGRAMS = idevicerestore
idevicerestore_SOURCES = idevicerestore.c common.c tss.c img3.c ipsw.c normal.c dfu.c recovery.c restore.c asr.c libirecovery.c limera1n.c download.c
idevicerestore_CFLAGS = $(AM_CFLAGS)
-idevicerestore_LDFLAGS = $(AM_LDFLAGS) -lusb-1.0
+idevicerestore_LDFLAGS = $(AM_LDFLAGS)
+idevicerestore_LDADD = $(AM_LDADD)