summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rwxr-xr-xautogen.sh4
-rw-r--r--configure.ac2
-rw-r--r--dev/iphoneinfo.c6
-rw-r--r--fdi/Makefile.am1
-rw-r--r--src/Makefile.am9
-rw-r--r--udev/Makefile.am2
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
2ACLOCAL_AMFLAGS = -I m4 2ACLOCAL_AMFLAGS = -I m4
3SUBDIRS = src include fdi swig udev $(DEV_SUB) 3SUBDIRS = src include fdi swig udev $(DEV_SUB)
4 4
5DISTCHECK_CONFIGURE_FLAGS = --enable-dev-tools
6
5pkgconfigdir = $(libdir)/pkgconfig 7pkgconfigdir = $(libdir)/pkgconfig
6pkgconfig_DATA = libiphone-1.0.pc 8pkgconfig_DATA = libiphone-1.0.pc
7 9
@@ -11,5 +13,3 @@ doc:
11indent: 13indent:
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
14release:
15 git archive --format=tar --prefix=libiphone-${RELEASE}/ tags/${RELEASE} | bzip2 > libiphone-${RELEASE}.tar.bz2
diff --git a/autogen.sh b/autogen.sh
index 9aa7170..460bc5e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,3 +4,7 @@ libtoolize
4autoheader 4autoheader
5automake --add-missing 5automake --add-missing
6autoconf 6autoconf
7
8if [ -z "$NOCONFIGURE" ]; then
9 ./configure --enable-dev-tools "$@"
10fi
diff --git a/configure.ac b/configure.ac
index 9996ebe..68929ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
3 3
4AC_PREREQ(2.61) 4AC_PREREQ(2.61)
5AC_INIT(libiphone, 0.1.0, nospam@nowhere.com) 5AC_INIT(libiphone, 0.1.0, nospam@nowhere.com)
6AM_INIT_AUTOMAKE(libiphone, 0.1.0) 6AM_INIT_AUTOMAKE(libiphone, 0.9.1)
7AC_CONFIG_SRCDIR([src/]) 7AC_CONFIG_SRCDIR([src/])
8AC_CONFIG_HEADER([config.h]) 8AC_CONFIG_HEADER([config.h])
9AC_CONFIG_MACRO_DIR([m4]) 9AC_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 @@
1freedesktopfdidir=$(prefix)/share/hal/fdi/information/20thirdparty/ 1freedesktopfdidir=$(prefix)/share/hal/fdi/information/20thirdparty/
2freedesktopfdi_DATA=31-apple-mobile-device.fdi 2freedesktopfdi_DATA=31-apple-mobile-device.fdi
3 3
4EXTRA_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
4AM_LDFLAGS = $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS) 4AM_LDFLAGS = $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS)
5 5
6lib_LTLIBRARIES = libiphone.la 6lib_LTLIBRARIES = libiphone.la
7libiphone_la_SOURCES = usbmux.c iphone.c lockdown.c AFC.c NotificationProxy.c userpref.c utils.c MobileSync.c 7libiphone_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 @@
1udevdir=$(sysconfdir)/udev/rules.d/ 1udevdir=$(sysconfdir)/udev/rules.d/
2udev_DATA=89-libiphone.rules 2udev_DATA=89-libiphone.rules
3
4EXTRA_DIST=$(udev_DATA)