diff options
| -rw-r--r-- | Makefile.am | 4 | ||||
| -rwxr-xr-x | autogen.sh | 4 | ||||
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | dev/iphoneinfo.c | 6 | ||||
| -rw-r--r-- | fdi/Makefile.am | 1 | ||||
| -rw-r--r-- | src/Makefile.am | 9 | ||||
| -rw-r--r-- | udev/Makefile.am | 2 |
7 files changed, 18 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index a8fe16d..a691d73 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -2,6 +2,8 @@ AUTOMAKE_OPTIONS = foreign | |||
| 2 | ACLOCAL_AMFLAGS = -I m4 | 2 | ACLOCAL_AMFLAGS = -I m4 |
| 3 | SUBDIRS = src include fdi swig udev $(DEV_SUB) | 3 | SUBDIRS = src include fdi swig udev $(DEV_SUB) |
| 4 | 4 | ||
| 5 | DISTCHECK_CONFIGURE_FLAGS = --enable-dev-tools | ||
| 6 | |||
| 5 | pkgconfigdir = $(libdir)/pkgconfig | 7 | pkgconfigdir = $(libdir)/pkgconfig |
| 6 | pkgconfig_DATA = libiphone-1.0.pc | 8 | pkgconfig_DATA = libiphone-1.0.pc |
| 7 | 9 | ||
| @@ -11,5 +13,3 @@ doc: | |||
| 11 | indent: | 13 | indent: |
| 12 | indent -kr -ut -ts4 -l120 src/*.c src/*.h dev/*.c | 14 | indent -kr -ut -ts4 -l120 src/*.c src/*.h dev/*.c |
| 13 | 15 | ||
| 14 | release: | ||
| 15 | git archive --format=tar --prefix=libiphone-${RELEASE}/ tags/${RELEASE} | bzip2 > libiphone-${RELEASE}.tar.bz2 | ||
| @@ -4,3 +4,7 @@ libtoolize | |||
| 4 | autoheader | 4 | autoheader |
| 5 | automake --add-missing | 5 | automake --add-missing |
| 6 | autoconf | 6 | autoconf |
| 7 | |||
| 8 | if [ -z "$NOCONFIGURE" ]; then | ||
| 9 | ./configure --enable-dev-tools "$@" | ||
| 10 | fi | ||
diff --git a/configure.ac b/configure.ac index 9996ebe..68929ff 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | AC_PREREQ(2.61) | 4 | AC_PREREQ(2.61) |
| 5 | AC_INIT(libiphone, 0.1.0, nospam@nowhere.com) | 5 | AC_INIT(libiphone, 0.1.0, nospam@nowhere.com) |
| 6 | AM_INIT_AUTOMAKE(libiphone, 0.1.0) | 6 | AM_INIT_AUTOMAKE(libiphone, 0.9.1) |
| 7 | AC_CONFIG_SRCDIR([src/]) | 7 | AC_CONFIG_SRCDIR([src/]) |
| 8 | AC_CONFIG_HEADER([config.h]) | 8 | AC_CONFIG_HEADER([config.h]) |
| 9 | AC_CONFIG_MACRO_DIR([m4]) | 9 | AC_CONFIG_MACRO_DIR([m4]) |
diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c index 4c887ac..4995b9b 100644 --- a/dev/iphoneinfo.c +++ b/dev/iphoneinfo.c | |||
| @@ -150,12 +150,6 @@ void plist_node_to_string(plist_t *node) | |||
| 150 | free(s); | 150 | free(s); |
| 151 | break; | 151 | break; |
| 152 | 152 | ||
| 153 | case PLIST_UNICODE: | ||
| 154 | plist_get_unicode_val(node, &s); | ||
| 155 | printf("%s\n", s); | ||
| 156 | free(s); | ||
| 157 | break; | ||
| 158 | |||
| 159 | case PLIST_KEY: | 153 | case PLIST_KEY: |
| 160 | plist_get_key_val(node, &s); | 154 | plist_get_key_val(node, &s); |
| 161 | printf("%s: ", s); | 155 | printf("%s: ", s); |
diff --git a/fdi/Makefile.am b/fdi/Makefile.am index 31e716b..6ba7e6c 100644 --- a/fdi/Makefile.am +++ b/fdi/Makefile.am | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | freedesktopfdidir=$(prefix)/share/hal/fdi/information/20thirdparty/ | 1 | freedesktopfdidir=$(prefix)/share/hal/fdi/information/20thirdparty/ |
| 2 | freedesktopfdi_DATA=31-apple-mobile-device.fdi | 2 | freedesktopfdi_DATA=31-apple-mobile-device.fdi |
| 3 | 3 | ||
| 4 | EXTRA_DIST=$(freedesktopfdi_DATA) | ||
diff --git a/src/Makefile.am b/src/Makefile.am index a10254c..2ae1943 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
| @@ -4,4 +4,11 @@ AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS) $(libglib2_CFLAGS) $(libgnutls_CFL | |||
| 4 | AM_LDFLAGS = $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS) | 4 | AM_LDFLAGS = $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS) |
| 5 | 5 | ||
| 6 | lib_LTLIBRARIES = libiphone.la | 6 | lib_LTLIBRARIES = libiphone.la |
| 7 | libiphone_la_SOURCES = usbmux.c iphone.c lockdown.c AFC.c NotificationProxy.c userpref.c utils.c MobileSync.c | 7 | libiphone_la_SOURCES = usbmux.c usbmux.h \ |
| 8 | iphone.c iphone.h \ | ||
| 9 | lockdown.c lockdown.h\ | ||
| 10 | AFC.c AFC.h\ | ||
| 11 | NotificationProxy.c NotificationProxy.h\ | ||
| 12 | userpref.c userpref.h\ | ||
| 13 | utils.c utils.h\ | ||
| 14 | MobileSync.c MobileSync.h | ||
diff --git a/udev/Makefile.am b/udev/Makefile.am index d7b8a2f..c6deb39 100644 --- a/udev/Makefile.am +++ b/udev/Makefile.am | |||
| @@ -1,2 +1,4 @@ | |||
| 1 | udevdir=$(sysconfdir)/udev/rules.d/ | 1 | udevdir=$(sysconfdir)/udev/rules.d/ |
| 2 | udev_DATA=89-libiphone.rules | 2 | udev_DATA=89-libiphone.rules |
| 3 | |||
| 4 | EXTRA_DIST=$(udev_DATA) | ||
