summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-09-14 22:23:01 +0200
committerGravatar Jonathan Beck2008-10-25 17:43:47 +0200
commit587990158fe0a7ee9a8ee086d83d1d61d61cc56b (patch)
treeedbb0422140e5df84b3e547984b7f87833619757 /src/Makefile.am
parent0691e6e4cee6f0e54b432fbf0e478d699e964eaf (diff)
downloadlibplist-587990158fe0a7ee9a8ee086d83d1d61d61cc56b.tar.gz
libplist-587990158fe0a7ee9a8ee086d83d1d61d61cc56b.tar.bz2
Change lock to mutex and add tool to check AFC in multithreaded env.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a8f7cbf..24fc4aa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,12 +1,12 @@
INCLUDES = -I$(top_srcdir)/include
-AM_CFLAGS = $(libxml2_CFLAGS) $(libusb_CFLAGS) $(libglib2_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) -g
-AM_LDFLAGS = $(libxml2_LIBS) $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS)
+AM_CFLAGS = $(libxml2_CFLAGS) $(libusb_CFLAGS) $(libglib2_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(libgthread2_CFLAGS) -g
+AM_LDFLAGS = $(libxml2_LIBS) $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS)
bin_PROGRAMS = libiphone-initconf
if BUILD_DEV_TOOLS
- bin_PROGRAMS = iphoneclient libiphone-initconf lckd-client
+ bin_PROGRAMS = iphoneclient libiphone-initconf lckd-client afccheck
iphoneclient_SOURCES = main.c
iphoneclient_LDADD = libiphone.la
@@ -14,11 +14,17 @@ if BUILD_DEV_TOOLS
lckd_client_CFLAGS = $(AM_CFLAGS)
lckd_client_LDFLAGS = -lreadline $(AM_LDFLAGS)
lckd_client_LDADD = libiphone.la
+
+ afccheck_SOURCES = afccheck.c
+ afccheck_CFLAGS = $(AM_CFLAGS)
+ afccheck_LDFLAGS = $(AM_LDFLAGS)
+ afccheck_LDADD = libiphone.la
endif
libiphone_initconf_SOURCES = initconf.c userpref.c lockdown.c plist.c usbmux.c iphone.c utils.c
libiphone_initconf_CFLAGS = $(libgthread2_CFLAGS) $(AM_CFLAGS)
libiphone_initconf_LDFLAGS = $(libgthread2_LIBS) $(AM_LDFLAGS)
+
lib_LTLIBRARIES = libiphone.la
libiphone_la_SOURCES = usbmux.c iphone.c plist.c lockdown.c AFC.c userpref.c utils.c