summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am27
2 files changed, 16 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index 645b3fb..24eec9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,13 +43,13 @@ AC_ARG_ENABLE([dev-tools],
[build development helper tools (default is no)])],
[build_dev_tools=true],
[build_dev_tools=false])
-AM_CONDITIONAL(BUILD_DEV_TOOLS, test x$build_dev_tools = xtrue)
+AM_CONDITIONAL([BUILD_DEV_TOOLS], [test x$build_dev_tools = xtrue])
AC_ARG_ENABLE([debug-code],
[AS_HELP_STRING([--enable-debug-code],
[enable debug message reporting in library (default is yes)])],
[debug_code=true],
[debug_code=false])
-AM_CONDITIONAL(STRIP_DEBUG_CODE, test x$debug_code = xfalse)
+AM_CONDITIONAL([STRIP_DEBUG_CODE], [test x$debug_code = xfalse])
AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile libiphone-1.0.pc)
diff --git a/src/Makefile.am b/src/Makefile.am
index 24fc4aa..a66c05b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,21 +6,22 @@ AM_LDFLAGS = $(libxml2_LIBS) $(libusb_LIBS) $(libglib2_LIBS) $(libgnutls_LIBS) $
bin_PROGRAMS = libiphone-initconf
if BUILD_DEV_TOOLS
- bin_PROGRAMS = iphoneclient libiphone-initconf lckd-client afccheck
- iphoneclient_SOURCES = main.c
- iphoneclient_LDADD = libiphone.la
-
- lckd_client_SOURCES = lckdclient.c
- 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
+ bin_PROGRAMS += iphoneclient lckd-client afccheck
endif
+iphoneclient_SOURCES = main.c
+iphoneclient_LDADD = libiphone.la
+
+lckd_client_SOURCES = lckdclient.c
+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
+
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)