summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/Makefile.am29
-rw-r--r--cython/Makefile.am67
-rw-r--r--docs/Makefile.am20
-rw-r--r--include/Makefile.am55
-rw-r--r--src/Makefile.am77
-rw-r--r--tools/Makefile.am45
6 files changed, 198 insertions, 95 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 054e2a1..4e3facb 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -1,17 +1,30 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) 1AM_CPPFLAGS = \
2 -I$(top_srcdir)/include \
3 -I$(top_srcdir)
2 4
3AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusbmuxd_CFLAGS) $(libplist_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(openssl_CFLAGS) $(LFS_CFLAGS) 5AM_CFLAGS = \
4AM_LDFLAGS = $(libusbmuxd_LIBS) $(libplist_LIBS) ${libpthread_LIBS} 6 $(GLOBAL_CFLAGS) \
7 $(libusbmuxd_CFLAGS) \
8 $(libplist_CFLAGS) \
9 $(libgnutls_CFLAGS) \
10 $(libtasn1_CFLAGS) \
11 $(openssl_CFLAGS) \
12 $(LFS_CFLAGS)
13
14AM_LDFLAGS = \
15 $(libusbmuxd_LIBS) \
16 $(libplist_LIBS) \
17 ${libpthread_LIBS}
5 18
6noinst_LTLIBRARIES = libinternalcommon.la 19noinst_LTLIBRARIES = libinternalcommon.la
7libinternalcommon_la_LIBADD = 20libinternalcommon_la_LIBADD =
8libinternalcommon_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined 21libinternalcommon_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined
9libinternalcommon_la_SOURCES = \ 22libinternalcommon_la_SOURCES = \
10 socket.c socket.h \ 23 socket.c socket.h \
11 thread.c thread.h \ 24 thread.c thread.h \
12 debug.c debug.h \ 25 debug.c debug.h \
13 userpref.c userpref.h \ 26 userpref.c userpref.h \
14 utils.c utils.h 27 utils.c utils.h
15 28
16if WIN32 29if WIN32
17libinternalcommon_la_LIBADD += -lole32 -lws2_32 30libinternalcommon_la_LIBADD += -lole32 -lws2_32
diff --git a/cython/Makefile.am b/cython/Makefile.am
index 4dbd6fa..7e1b31a 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -1,38 +1,55 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include 1AM_CPPFLAGS = \
2 -I$(top_srcdir)/include
2 3
3AM_CFLAGS = $(GLOBAL_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(openssl_CFLAGS) $(libplist_CFLAGS) $(LFS_CFLAGS) $(PTHREAD_CFLAGS) 4AM_CFLAGS = \
4AM_LIBS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(openssl_LIBS) $(libplist_LIBS) $(PTHREAD_LIBS) 5 $(GLOBAL_CFLAGS) \
6 $(libgnutls_CFLAGS) \
7 $(libtasn1_CFLAGS) \
8 $(openssl_CFLAGS) \
9 $(libplist_CFLAGS) \
10 $(LFS_CFLAGS) \
11 $(PTHREAD_CFLAGS)
12
13AM_LIBS = \
14 $(libgnutls_LIBS) \
15 $(libtasn1_LIBS) \
16 $(openssl_LIBS) \
17 $(libplist_LIBS) \
18 $(PTHREAD_LIBS)
5 19
6if HAVE_CYTHON 20if HAVE_CYTHON
7 21
8BUILT_SOURCES = imobiledevice.c 22BUILT_SOURCES = imobiledevice.c
9PXDINCLUDES = imobiledevice.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd 23PXDINCLUDES = imobiledevice.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd
10PXIINCLUDES = \ 24PXIINCLUDES = \
11 lockdown.pxi \ 25 lockdown.pxi \
12 mobilesync.pxi \ 26 mobilesync.pxi \
13 notification_proxy.pxi \ 27 notification_proxy.pxi \
14 sbservices.pxi \ 28 sbservices.pxi \
15 mobilebackup.pxi \ 29 mobilebackup.pxi \
16 mobilebackup2.pxi \ 30 mobilebackup2.pxi \
17 afc.pxi \ 31 afc.pxi \
18 file_relay.pxi \ 32 file_relay.pxi \
19 screenshotr.pxi \ 33 screenshotr.pxi \
20 installation_proxy.pxi \ 34 installation_proxy.pxi \
21 webinspector.pxi \ 35 webinspector.pxi \
22 heartbeat.pxi \ 36 heartbeat.pxi \
23 diagnostics_relay.pxi \ 37 diagnostics_relay.pxi \
24 misagent.pxi \ 38 misagent.pxi \
25 house_arrest.pxi \ 39 house_arrest.pxi \
26 restore.pxi \ 40 restore.pxi \
27 mobile_image_mounter.pxi \ 41 mobile_image_mounter.pxi \
28 debugserver.pxi 42 debugserver.pxi
29 43
30CLEANFILES = \ 44CLEANFILES = \
31 *.pyc \ 45 *.pyc \
32 *.pyo \ 46 *.pyo \
33 imobiledevice.c 47 imobiledevice.c
34 48
35EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES) 49EXTRA_DIST = \
50 imobiledevice.pyx \
51 imobiledevice.pxd \
52 $(PXIINCLUDES)
36 53
37imobiledevicedir = $(pyexecdir) 54imobiledevicedir = $(pyexecdir)
38imobiledevice_LTLIBRARIES = imobiledevice.la 55imobiledevice_LTLIBRARIES = imobiledevice.la
diff --git a/docs/Makefile.am b/docs/Makefile.am
index d355ac0..5ed81fe 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,4 +1,22 @@
1man_MANS = idevice_id.1 ideviceinfo.1 idevicesyslog.1 idevicebackup.1 idevicebackup2.1 ideviceimagemounter.1 idevicescreenshot.1 idevicepair.1 ideviceenterrecovery.1 idevicedate.1 ideviceprovision.1 idevicedebugserverproxy.1 idevicediagnostics.1 idevicecrashreport.1 idevicename.1 idevicedebug.1 idevicenotificationproxy.1 idevicesetlocation.1 1man_MANS = \
2 idevice_id.1 \
3 ideviceinfo.1 \
4 idevicesyslog.1 \
5 idevicebackup.1 \
6 idevicebackup2.1 \
7 ideviceimagemounter.1 \
8 idevicescreenshot.1 \
9 idevicepair.1 \
10 ideviceenterrecovery.1 \
11 idevicedate.1 \
12 ideviceprovision.1 \
13 idevicedebugserverproxy.1 \
14 idevicediagnostics.1 \
15 idevicecrashreport.1 \
16 idevicename.1 \
17 idevicedebug.1 \
18 idevicenotificationproxy.1 \
19 idevicesetlocation.1
2 20
3EXTRA_DIST = $(man_MANS) 21EXTRA_DIST = $(man_MANS)
4 22
diff --git a/include/Makefile.am b/include/Makefile.am
index e48bb95..e23b2a9 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,27 +1,30 @@
1EXTRA_DIST = asprintf.h endianness.h 1EXTRA_DIST = \
2 asprintf.h \
3 endianness.h
2 4
3nobase_include_HEADERS = libimobiledevice/libimobiledevice.h \ 5nobase_include_HEADERS = \
4 libimobiledevice/lockdown.h \ 6 libimobiledevice/libimobiledevice.h \
5 libimobiledevice/afc.h \ 7 libimobiledevice/lockdown.h \
6 libimobiledevice/file_relay.h \ 8 libimobiledevice/afc.h \
7 libimobiledevice/notification_proxy.h \ 9 libimobiledevice/file_relay.h \
8 libimobiledevice/installation_proxy.h \ 10 libimobiledevice/notification_proxy.h \
9 libimobiledevice/sbservices.h \ 11 libimobiledevice/installation_proxy.h \
10 libimobiledevice/mobile_image_mounter.h \ 12 libimobiledevice/sbservices.h \
11 libimobiledevice/screenshotr.h \ 13 libimobiledevice/mobile_image_mounter.h \
12 libimobiledevice/mobilesync.h \ 14 libimobiledevice/screenshotr.h \
13 libimobiledevice/mobilebackup.h \ 15 libimobiledevice/mobilesync.h \
14 libimobiledevice/house_arrest.h \ 16 libimobiledevice/mobilebackup.h \
15 libimobiledevice/mobilebackup2.h \ 17 libimobiledevice/house_arrest.h \
16 libimobiledevice/misagent.h \ 18 libimobiledevice/mobilebackup2.h \
17 libimobiledevice/restore.h\ 19 libimobiledevice/misagent.h \
18 libimobiledevice/webinspector.h\ 20 libimobiledevice/restore.h \
19 libimobiledevice/heartbeat.h\ 21 libimobiledevice/webinspector.h \
20 libimobiledevice/diagnostics_relay.h\ 22 libimobiledevice/heartbeat.h \
21 libimobiledevice/debugserver.h\ 23 libimobiledevice/diagnostics_relay.h \
22 libimobiledevice/syslog_relay.h\ 24 libimobiledevice/debugserver.h \
23 libimobiledevice/mobileactivation.h\ 25 libimobiledevice/syslog_relay.h \
24 libimobiledevice/preboard.h\ 26 libimobiledevice/mobileactivation.h \
25 libimobiledevice/companion_proxy.h\ 27 libimobiledevice/preboard.h \
26 libimobiledevice/property_list_service.h\ 28 libimobiledevice/companion_proxy.h \
27 libimobiledevice/service.h 29 libimobiledevice/property_list_service.h \
30 libimobiledevice/service.h
diff --git a/src/Makefile.am b/src/Makefile.am
index feabf40..9933277 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,37 +1,56 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) 1AM_CPPFLAGS = \
2 -I$(top_srcdir)/include \
3 -I$(top_srcdir)
2 4
3AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusbmuxd_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(libplist_CFLAGS) $(LFS_CFLAGS) $(openssl_CFLAGS) $(PTHREAD_CFLAGS) 5AM_CFLAGS = \
4AM_LDFLAGS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(libplist_LIBS) $(libusbmuxd_LIBS) $(libgcrypt_LIBS) $(openssl_LIBS) $(PTHREAD_LIBS) 6 $(GLOBAL_CFLAGS) \
7 $(libusbmuxd_CFLAGS) \
8 $(libgnutls_CFLAGS) \
9 $(libtasn1_CFLAGS) \
10 $(libplist_CFLAGS) \
11 $(LFS_CFLAGS) \
12 $(openssl_CFLAGS) \
13 $(PTHREAD_CFLAGS)
14
15AM_LDFLAGS = \
16 $(libgnutls_LIBS) \
17 $(libtasn1_LIBS) \
18 $(libplist_LIBS) \
19 $(libusbmuxd_LIBS) \
20 $(libgcrypt_LIBS) \
21 $(openssl_LIBS) \
22 $(PTHREAD_LIBS)
5 23
6lib_LTLIBRARIES = libimobiledevice.la 24lib_LTLIBRARIES = libimobiledevice.la
7libimobiledevice_la_LIBADD = $(top_builddir)/common/libinternalcommon.la 25libimobiledevice_la_LIBADD = $(top_builddir)/common/libinternalcommon.la
8libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined 26libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined
9libimobiledevice_la_SOURCES = idevice.c idevice.h \ 27libimobiledevice_la_SOURCES = \
10 service.c service.h\ 28 idevice.c idevice.h \
11 property_list_service.c property_list_service.h\ 29 service.c service.h \
12 device_link_service.c device_link_service.h\ 30 property_list_service.c property_list_service.h \
13 lockdown.c lockdown.h\ 31 device_link_service.c device_link_service.h \
14 afc.c afc.h\ 32 lockdown.c lockdown.h \
15 file_relay.c file_relay.h\ 33 afc.c afc.h \
16 notification_proxy.c notification_proxy.h\ 34 file_relay.c file_relay.h \
17 installation_proxy.c installation_proxy.h\ 35 notification_proxy.c notification_proxy.h \
18 sbservices.c sbservices.h\ 36 installation_proxy.c installation_proxy.h \
19 mobile_image_mounter.c mobile_image_mounter.h\ 37 sbservices.c sbservices.h \
20 screenshotr.c screenshotr.h\ 38 mobile_image_mounter.c mobile_image_mounter.h \
21 mobilesync.c mobilesync.h\ 39 screenshotr.c screenshotr.h \
22 mobilebackup.c mobilebackup.h\ 40 mobilesync.c mobilesync.h \
23 house_arrest.c house_arrest.h\ 41 mobilebackup.c mobilebackup.h \
24 mobilebackup2.c mobilebackup2.h\ 42 house_arrest.c house_arrest.h \
25 misagent.c misagent.h\ 43 mobilebackup2.c mobilebackup2.h \
26 restore.c restore.h\ 44 misagent.c misagent.h \
27 diagnostics_relay.c diagnostics_relay.h\ 45 restore.c restore.h \
28 heartbeat.c heartbeat.h\ 46 diagnostics_relay.c diagnostics_relay.h \
29 debugserver.c debugserver.h\ 47 heartbeat.c heartbeat.h \
30 webinspector.c webinspector.h\ 48 debugserver.c debugserver.h \
31 mobileactivation.c mobileactivation.h\ 49 webinspector.c webinspector.h \
32 preboard.c preboard.h \ 50 mobileactivation.c mobileactivation.h \
33 companion_proxy.c companion_proxy.h \ 51 preboard.c preboard.h \
34 syslog_relay.c syslog_relay.h 52 companion_proxy.c companion_proxy.h \
53 syslog_relay.c syslog_relay.h
35 54
36if WIN32 55if WIN32
37libimobiledevice_la_LDFLAGS += -avoid-version -static-libgcc 56libimobiledevice_la_LDFLAGS += -avoid-version -static-libgcc
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 726dc18..7e6487f 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,9 +1,42 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) 1AM_CPPFLAGS = \
2 2 -I$(top_srcdir)/include \
3AM_CFLAGS = $(GLOBAL_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(libgcrypt_CFLAGS) $(openssl_CFLAGS) $(libplist_CFLAGS) $(LFS_CFLAGS) 3 -I$(top_srcdir)
4AM_LDFLAGS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgcrypt_LIBS) $(openssl_LIBS) $(libplist_LIBS) 4
5 5AM_CFLAGS = \
6bin_PROGRAMS = idevice_id ideviceinfo idevicename idevicepair idevicesyslog ideviceimagemounter idevicescreenshot ideviceenterrecovery idevicedate idevicebackup idevicebackup2 ideviceprovision idevicedebugserverproxy idevicediagnostics idevicedebug idevicenotificationproxy idevicecrashreport idevicesetlocation 6 $(GLOBAL_CFLAGS) \
7 $(libgnutls_CFLAGS) \
8 $(libtasn1_CFLAGS) \
9 $(libgcrypt_CFLAGS) \
10 $(openssl_CFLAGS) \
11 $(libplist_CFLAGS) \
12 $(LFS_CFLAGS)
13
14AM_LDFLAGS = \
15 $(libgnutls_LIBS) \
16 $(libtasn1_LIBS) \
17 $(libgcrypt_LIBS) \
18 $(openssl_LIBS) \
19 $(libplist_LIBS)
20
21bin_PROGRAMS = \
22 idevice_id \
23 ideviceinfo \
24 idevicename \
25 idevicepair \
26 idevicesyslog \
27 ideviceimagemounter \
28 idevicescreenshot \
29 ideviceenterrecovery \
30 idevicedate \
31 idevicebackup \
32 idevicebackup2 \
33 ideviceprovision \
34 idevicedebugserverproxy \
35 idevicediagnostics \
36 idevicedebug \
37 idevicenotificationproxy \
38 idevicecrashreport \
39 idevicesetlocation
7 40
8ideviceinfo_SOURCES = ideviceinfo.c 41ideviceinfo_SOURCES = ideviceinfo.c
9ideviceinfo_CFLAGS = $(AM_CFLAGS) 42ideviceinfo_CFLAGS = $(AM_CFLAGS)