From 41778c3dcd0bf0ede8f526d9045a023a9188d455 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 25 Oct 2008 18:23:00 +0200 Subject: fix autotools conditional --- src/Makefile.am | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src') 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) -- cgit v1.1-32-gdbae