# Makefile.in generated by automake 1.13.4 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2013 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@



VPATH = @srcdir@
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
  case $${target_option-} in \
      ?) ;; \
      *) echo "am__make_running_with_option: internal error: invalid" \
              "target option '$${target_option-}' specified" >&2; \
         exit 1;; \
  esac; \
  has_opt=no; \
  sane_makeflags=$$MAKEFLAGS; \
  if $(am__is_gnu_make); then \
    sane_makeflags=$$MFLAGS; \
  else \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        bs=\\; \
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
    esac; \
  fi; \
  skip_next=no; \
  strip_trailopt () \
  { \
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  }; \
  for flg in $$sane_makeflags; do \
    test $$skip_next = yes && { skip_next=no; continue; }; \
    case $$flg in \
      *=*|--*) continue;; \
        -*I) strip_trailopt 'I'; skip_next=yes;; \
      -*I?*) strip_trailopt 'I';; \
        -*O) strip_trailopt 'O'; skip_next=yes;; \
      -*O?*) strip_trailopt 'O';; \
        -*l) strip_trailopt 'l'; skip_next=yes;; \
      -*l?*) strip_trailopt 'l';; \
      -[dEDm]) skip_next=yes;; \
      -[JT]) skip_next=yes;; \
    esac; \
    case $$flg in \
      *$$target_option*) has_opt=yes; break;; \
    esac; \
  done; \
  test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@ENABLE_INSTALLED_TESTS_TRUE@gabbledebug_PROGRAMS =  \
@ENABLE_INSTALLED_TESTS_TRUE@	telepathy-gabble-debug$(EXEEXT)
@ENABLE_INSTALLED_TESTS_FALSE@noinst_PROGRAMS =  \
@ENABLE_INSTALLED_TESTS_FALSE@	telepathy-gabble-debug$(EXEEXT)
DIST_COMMON = $(top_srcdir)/tools/check-coding-style.mk \
	$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
	$(am__nobase_dist_twistedtests_SCRIPTS_DIST) \
	$(top_srcdir)/depcomp \
	$(am__nobase_dist_twistedtests_DATA_DIST)
subdir = tests/twisted
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_config_dir.m4 \
	$(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
	$(top_srcdir)/m4/tp-compiler-flag.m4 \
	$(top_srcdir)/m4/tp-compiler-warnings.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(gabbledebugdir)" \
	"$(DESTDIR)$(twistedtestsdir)" "$(DESTDIR)$(twistedtestsdir)" \
	"$(DESTDIR)$(twistedtestsdir)" "$(DESTDIR)$(twistedtestsdir)"
PROGRAMS = $(gabbledebug_PROGRAMS) $(noinst_PROGRAMS)
am_telepathy_gabble_debug_OBJECTS = main-debug.$(OBJEXT) \
	test-resolver.$(OBJEXT)
telepathy_gabble_debug_OBJECTS = $(am_telepathy_gabble_debug_OBJECTS)
am__DEPENDENCIES_1 =
telepathy_gabble_debug_DEPENDENCIES =  \
	$(top_builddir)/src/libgabble-convenience.la \
	$(am__DEPENDENCIES_1)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
am__v_lt_1 = 
telepathy_gabble_debug_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
	$(AM_CFLAGS) $(CFLAGS) $(telepathy_gabble_debug_LDFLAGS) \
	$(LDFLAGS) -o $@
am__nobase_dist_twistedtests_SCRIPTS_DIST = tools/with-session-bus.sh
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
  test -z "$$files" \
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
         $(am__cd) "$$dir" && rm -f $$files; }; \
  }
SCRIPTS = $(nobase_dist_twistedtests_SCRIPTS) \
	$(nobase_nodist_twistedtests_SCRIPTS)
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 = 
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo "  CC      " $@;
am__v_CC_1 = 
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo "  CCLD    " $@;
am__v_CCLD_1 = 
SOURCES = $(telepathy_gabble_debug_SOURCES)
DIST_SOURCES = $(telepathy_gabble_debug_SOURCES)
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
am__nobase_dist_twistedtests_DATA_DIST = addressing.py \
	avatar-requirements.py caps/advertise-contact-caps.py \
	caps/advertise-legacy.py caps/broken-reply.py \
	caps/caps-cache.py caps/caps-persistent-cache.py \
	caps/compat-bundles.py caps/disco-without-node.py \
	caps/double-disco.py caps/from-bare-jid.py caps/hashed-caps.py \
	caps_helper.py caps/initial-caps.py caps/jingle-caps.py \
	caps/offline.py caps/receive-jingle.py caps/trust-thyself.py \
	caps/tube-caps.py client-types.py cm/protocol.py \
	connect/disco-error-from-bare-jid.py connect/disco-facebook.py \
	connect/disconnect-timeout.py connect/disco-no-reply.py \
	connect/network-error.py connect/stream-closed.py \
	connect/test-connection-params.py connect/test-fail.py \
	connect/test-nonblocking-tls.py connect/test-success.py \
	connect/test-twice.py console.py dataforms.py gateways.py \
	last-activity.py mail-notification.py muc/avatars.py \
	muc/banned.py muc/chat-states.py muc/conference.py \
	muc/kicked.py muc/name-conflict.py muc/password.py \
	muc/presence-before-closing.py muc/renamed.py \
	muc/room-config.py muc/roomlist.py muc/room.py \
	muc/scrollback.py muc/send-error.py muc/subject.py \
	muc/test-ensure.py muc/test-muc-alias.py \
	muc/test-muc-invitation.py muc/test-muc-ownership.py \
	muc/test-muc.py olpc/change-notifications.py \
	olpc/current-activity.py olpc/olpc-muc-invitation.py \
	olpc/olpc-muc-prop-change.py olpc/test-olpc-bundle.py \
	olpc/test-olpc-set-props-preload.py pep-support.py \
	plugin-channel-managers.py power-save.py presence/decloak.py \
	presence/error.py presence/initial-contact-presence.py \
	presence/initial-presence.py presence/invisible_xep_0126.py \
	presence/invisible_xep_0186.py presence/plugins.py \
	presence/presence.py presence/set-idempotence.py \
	presence/shared-status.py pubsub.py roster/authorize.py \
	roster/edit-before-roster.py roster/ensure.py \
	roster/groups-12791.py roster/groups.py \
	roster/initial-aliases.py roster/push-from-contact.py \
	roster/push-without-id.py roster/removed-from-rp-subscribe.py \
	roster/request-group-after-roster.py \
	roster/request-group-before-roster.py \
	roster/test-google-roster.py \
	roster/test-roster-item-deletion.py roster/test-roster.py \
	roster/test-roster-subscribe.py \
	roster/test-save-alias-to-roster.py sasl/abort.py \
	sasl/close.py sasl/complex.py sasl/jabber_auth.py \
	sasl/plain.py sasl/telepathy-password.py \
	search/ceci-nest-pas-un-serveur.py search/extended.py \
	search/no-server-property.py search/unextended.py \
	servicetest.py sidecar-own-caps.py sidecars.py test-debug.py \
	test-fallback-socks5-proxy.py test-location.py \
	test-register.py text/destroy.py text/ensure.py \
	text/facebook-own-message.py text/initiate.py \
	text/initiate-requestotron.py text/receipts.py text/respawn.py \
	text/send-error.py text/send-to-correct-resource.py \
	text/test-chat-state.py text/test-text-delayed.py \
	text/test-text-no-body.py text/test-text.py \
	tls/legacy-jabber.py tls/server-tls-channel.py version.py \
	file-transfer/test-caps-file-transfer.py \
	file-transfer/test-ibb-too-early.py \
	file-transfer/test-receive-file-and-close-socket-while-receiving.py \
	file-transfer/test-receive-file-and-disconnect.py \
	file-transfer/test-receive-file-and-sender-disconnect-while-pending.py \
	file-transfer/test-receive-file-and-sender-disconnect-while-transfering.py \
	file-transfer/test-receive-file-decline.py \
	file-transfer/test-receive-file.py \
	file-transfer/test-send-file-and-cancel-immediately.py \
	file-transfer/test-send-file-declined.py \
	file-transfer/test-send-file-provide-immediately.py \
	file-transfer/test-send-file-send-before-accept.py \
	file-transfer/test-send-file-to-unknown-contact.py \
	file-transfer/test-send-file-wait-to-provide.py \
	file-transfer/test-uri.py file-transfer/metadata.py \
	file-transfer/ft-client-caps.py \
	jingle-share/test-caps-file-transfer.py \
	jingle-share/test-multift.py \
	jingle-share/test-receive-file-and-close-socket-while-receiving.py \
	jingle-share/test-receive-file-and-disconnect.py \
	jingle-share/test-receive-file-and-sender-disconnect-while-pending.py \
	jingle-share/test-receive-file-and-sender-disconnect-while-transfering.py \
	jingle-share/test-receive-file-decline.py \
	jingle-share/test-send-file-and-cancel-immediately.py \
	jingle-share/test-send-file.py \
	jingle-share/test-send-file-send-before-accept.py \
	jingle-share/test-send-file-wait-to-provide.py \
	tubes/accept-muc-dbus-tube.py tubes/accept-muc-stream-tube.py \
	tubes/accept-private-dbus-tube.py \
	tubes/accept-private-stream-tube.py \
	tubes/check-create-tube-return.py \
	tubes/close-muc-with-closed-tube.py \
	tubes/create-invalid-tube-channels.py tubes/ensure-si-tube.py \
	tubes/offer-muc-dbus-tube.py tubes/offer-muc-stream-tube.py \
	tubes/offer-no-caps.py tubes/offer-private-dbus-tube.py \
	tubes/offer-private-stream-tube.py \
	tubes/request-invalid-dbus-tube.py \
	tubes/test-get-available-tubes.py tubes/test-socks5-muc.py \
	jingle/accept-extra-stream.py jingle/call-basics.py \
	jingle/call-codecoffer.py \
	jingle/call-content-adding-removal.py jingle/call-dtmf.py \
	jingle/call-google-relay.py jingle/call-hold-audio.py \
	jingle/call-hold-av.py jingle/call-muc-cancel.py \
	jingle/call-muc.py jingle/call-muc-re-re-request.py \
	jingle/call-state.py jingle/decloak-peer.py \
	jingle/dtmf-no-audio.py jingle/dtmf.py jingle/google-relay.py \
	jingle/hold-audio.py jingle/hold-av.py \
	jingle/incoming-basics.py jingle/incoming-call-stream-error.py \
	jingle/incoming-gmail-modern-jingle.py \
	jingle/initial-audio-video.py jingle/misuse.py \
	jingle/outgoing-basics.py jingle/outgoing-ensure.py \
	jingle/outgoing-many-streams.py jingle/payload-types.py \
	jingle/preload-caps-crash.py jingle/session-id-collision.py \
	jingle/stream-errors-on-content-reject.py \
	jingle/stream-errors-on-terminate.py \
	jingle/stream-handler-error.py jingle/stun-server.py \
	jingle/test-content-adding-removal.py \
	jingle/test-content-complex.py jingle/test-description-info.py \
	jingle/test-incoming-call-reject.py \
	jingle/test-incoming-iceudp.py \
	jingle/test-outgoing-call-rejected.py \
	jingle/test-outgoing-iceudp.py \
	jingle/test-wait-for-caps-incomplete.py \
	jingle/test-wait-for-caps.py jingle/transport-info-parsing.py \
	jingle/unknown-session.py vcard/clear-avatar.py \
	vcard/disconnect-during-pep.py vcard/get-contact-info.py \
	vcard/item-not-found.py vcard/overlapping-sets.py \
	vcard/redundant-set.py vcard/refresh-contact-info.py \
	vcard/set-avatar.py vcard/set-contact-info.py \
	vcard/set-set-disconnect.py vcard/supported-fields.py \
	vcard/test-alias-empty-vcard.py vcard/test-alias-message.py \
	vcard/test-alias-pep.py vcard/test-alias.py \
	vcard/test-avatar-async.py \
	vcard/test-avatar-multiple-resources.py vcard/test-avatar.py \
	vcard/test-avatar-retrieved.py vcard/test-avatar-tokens.py \
	vcard/test-save-alias-to-vcard.py vcard/test-set-alias.py \
	vcard/test-vcard-cache.py vcard/test-vcard-race.py \
	vcard/update-get-failed.py vcard/update-rejected.py \
	bytestream.py connect/torture.py constants.py \
	file-transfer/file_transfer_helper.py gabbletest.py \
	httptest.py jingle/call_helper.py jingle/callutils.py \
	jingle/__init__.py jingle/jingletest2.py \
	jingle-share/file_transfer_helper.py \
	jingle-share/jingleshareutils.py mucutil.py ns.py olpc/util.py \
	presence/__init__.py presence/invisible_helper.py \
	rostertest.py sasl/saslutil.py search/search_helper.py \
	test-helper.py tls-cert.pem tls-key.pem tubes/tubetestutil.py
DATA = $(nobase_dist_twistedtests_DATA) \
	$(nobase_nodist_twistedtests_DATA)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates.  Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
  BEGIN { nonempty = 0; } \
  { items[$$0] = 1; nonempty = 1; } \
  END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique.  This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
  list='$(am__tagged_files)'; \
  unique=`for i in $$list; do \
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CLIENT_TYPE = @CLIENT_TYPE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DBUS_CFLAGS = @DBUS_CFLAGS@
DBUS_LIBS = @DBUS_LIBS@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ENABLE_CODING_STYLE_CHECKS = @ENABLE_CODING_STYLE_CHECKS@
ENABLE_PLUGINS = @ENABLE_PLUGINS@
ERROR_CFLAGS = @ERROR_CFLAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
GLIB_LIBS = @GLIB_LIBS@
GMODULE_CFLAGS = @GMODULE_CFLAGS@
GMODULE_LIBS = @GMODULE_LIBS@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NICE_CFLAGS = @NICE_CFLAGS@
NICE_LIBS = @NICE_LIBS@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
PYTHON = @PYTHON@
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
PYTHON_PLATFORM = @PYTHON_PLATFORM@
PYTHON_PREFIX = @PYTHON_PREFIX@
PYTHON_VERSION = @PYTHON_VERSION@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SOUP_CFLAGS = @SOUP_CFLAGS@
SOUP_LIBS = @SOUP_LIBS@
STRIP = @STRIP@
TEST_PYTHON = @TEST_PYTHON@
TP_GLIB_CFLAGS = @TP_GLIB_CFLAGS@
TP_GLIB_LIBS = @TP_GLIB_LIBS@
VERSION = @VERSION@
WOCKY_CFLAGS = @WOCKY_CFLAGS@
WOCKY_LIBS = @WOCKY_LIBS@
XSLTPROC = @XSLTPROC@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
gabbletestsdir = @gabbletestsdir@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
pkgpyexecdir = @pkgpyexecdir@
pkgpythondir = @pkgpythondir@
pluginexecdir = @pluginexecdir@
pluginexeclibdir = @pluginexeclibdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
TWISTED_TESTS = addressing.py avatar-requirements.py \
	caps/advertise-contact-caps.py caps/advertise-legacy.py \
	caps/broken-reply.py caps/caps-cache.py \
	caps/caps-persistent-cache.py caps/compat-bundles.py \
	caps/disco-without-node.py caps/double-disco.py \
	caps/from-bare-jid.py caps/hashed-caps.py caps_helper.py \
	caps/initial-caps.py caps/jingle-caps.py caps/offline.py \
	caps/receive-jingle.py caps/trust-thyself.py caps/tube-caps.py \
	client-types.py cm/protocol.py \
	connect/disco-error-from-bare-jid.py connect/disco-facebook.py \
	connect/disconnect-timeout.py connect/disco-no-reply.py \
	connect/network-error.py connect/stream-closed.py \
	connect/test-connection-params.py connect/test-fail.py \
	connect/test-nonblocking-tls.py connect/test-success.py \
	connect/test-twice.py console.py dataforms.py gateways.py \
	last-activity.py mail-notification.py muc/avatars.py \
	muc/banned.py muc/chat-states.py muc/conference.py \
	muc/kicked.py muc/name-conflict.py muc/password.py \
	muc/presence-before-closing.py muc/renamed.py \
	muc/room-config.py muc/roomlist.py muc/room.py \
	muc/scrollback.py muc/send-error.py muc/subject.py \
	muc/test-ensure.py muc/test-muc-alias.py \
	muc/test-muc-invitation.py muc/test-muc-ownership.py \
	muc/test-muc.py olpc/change-notifications.py \
	olpc/current-activity.py olpc/olpc-muc-invitation.py \
	olpc/olpc-muc-prop-change.py olpc/test-olpc-bundle.py \
	olpc/test-olpc-set-props-preload.py pep-support.py \
	plugin-channel-managers.py power-save.py presence/decloak.py \
	presence/error.py presence/initial-contact-presence.py \
	presence/initial-presence.py presence/invisible_xep_0126.py \
	presence/invisible_xep_0186.py presence/plugins.py \
	presence/presence.py presence/set-idempotence.py \
	presence/shared-status.py pubsub.py roster/authorize.py \
	roster/edit-before-roster.py roster/ensure.py \
	roster/groups-12791.py roster/groups.py \
	roster/initial-aliases.py roster/push-from-contact.py \
	roster/push-without-id.py roster/removed-from-rp-subscribe.py \
	roster/request-group-after-roster.py \
	roster/request-group-before-roster.py \
	roster/test-google-roster.py \
	roster/test-roster-item-deletion.py roster/test-roster.py \
	roster/test-roster-subscribe.py \
	roster/test-save-alias-to-roster.py sasl/abort.py \
	sasl/close.py sasl/complex.py sasl/jabber_auth.py \
	sasl/plain.py sasl/telepathy-password.py \
	search/ceci-nest-pas-un-serveur.py search/extended.py \
	search/no-server-property.py search/unextended.py \
	servicetest.py sidecar-own-caps.py sidecars.py test-debug.py \
	test-fallback-socks5-proxy.py test-location.py \
	test-register.py text/destroy.py text/ensure.py \
	text/facebook-own-message.py text/initiate.py \
	text/initiate-requestotron.py text/receipts.py text/respawn.py \
	text/send-error.py text/send-to-correct-resource.py \
	text/test-chat-state.py text/test-text-delayed.py \
	text/test-text-no-body.py text/test-text.py \
	tls/legacy-jabber.py tls/server-tls-channel.py version.py \
	$(NULL) $(TWISTED_FT_TESTS) $(TWISTED_TUBE_TESTS) \
	$(TWISTED_JINGLE_TESTS) $(TWISTED_VCARD_TESTS)
TWISTED_TUBE_TESTS = \
	tubes/accept-muc-dbus-tube.py \
	tubes/accept-muc-stream-tube.py \
	tubes/accept-private-dbus-tube.py \
	tubes/accept-private-stream-tube.py \
	tubes/check-create-tube-return.py \
	tubes/close-muc-with-closed-tube.py \
	tubes/create-invalid-tube-channels.py \
	tubes/ensure-si-tube.py \
	tubes/offer-muc-dbus-tube.py \
	tubes/offer-muc-stream-tube.py \
	tubes/offer-no-caps.py \
	tubes/offer-private-dbus-tube.py \
	tubes/offer-private-stream-tube.py \
	tubes/request-invalid-dbus-tube.py \
	tubes/test-get-available-tubes.py \
	tubes/test-socks5-muc.py \
	$(NULL)

TWISTED_VCARD_TESTS = \
	vcard/clear-avatar.py \
	vcard/disconnect-during-pep.py \
	vcard/get-contact-info.py \
	vcard/item-not-found.py \
	vcard/overlapping-sets.py \
	vcard/redundant-set.py \
	vcard/refresh-contact-info.py \
	vcard/set-avatar.py \
	vcard/set-contact-info.py \
	vcard/set-set-disconnect.py \
	vcard/supported-fields.py \
	vcard/test-alias-empty-vcard.py \
	vcard/test-alias-message.py \
	vcard/test-alias-pep.py \
	vcard/test-alias.py \
	vcard/test-avatar-async.py \
	vcard/test-avatar-multiple-resources.py \
	vcard/test-avatar.py \
	vcard/test-avatar-retrieved.py \
	vcard/test-avatar-tokens.py \
	vcard/test-save-alias-to-vcard.py \
	vcard/test-set-alias.py \
	vcard/test-vcard-cache.py \
	vcard/test-vcard-race.py \
	vcard/update-get-failed.py \
	vcard/update-rejected.py \
	$(NULL)

TWISTED_JINGLE_TESTS = \
	jingle/accept-extra-stream.py \
	jingle/call-basics.py \
	jingle/call-codecoffer.py \
	jingle/call-content-adding-removal.py \
	jingle/call-dtmf.py \
	jingle/call-google-relay.py \
	jingle/call-hold-audio.py \
	jingle/call-hold-av.py \
	jingle/call-muc-cancel.py \
	jingle/call-muc.py \
	jingle/call-muc-re-re-request.py \
	jingle/call-state.py \
	jingle/decloak-peer.py \
	jingle/dtmf-no-audio.py \
	jingle/dtmf.py \
	jingle/google-relay.py \
	jingle/hold-audio.py \
	jingle/hold-av.py \
	jingle/incoming-basics.py \
	jingle/incoming-call-stream-error.py \
	jingle/incoming-gmail-modern-jingle.py \
	jingle/initial-audio-video.py \
	jingle/misuse.py \
	jingle/outgoing-basics.py \
	jingle/outgoing-ensure.py \
	jingle/outgoing-many-streams.py \
	jingle/payload-types.py \
	jingle/preload-caps-crash.py \
	jingle/session-id-collision.py \
	jingle/stream-errors-on-content-reject.py \
	jingle/stream-errors-on-terminate.py \
	jingle/stream-handler-error.py \
	jingle/stun-server.py \
	jingle/test-content-adding-removal.py \
	jingle/test-content-complex.py \
	jingle/test-description-info.py \
	jingle/test-incoming-call-reject.py \
	jingle/test-incoming-iceudp.py \
	jingle/test-outgoing-call-rejected.py \
	jingle/test-outgoing-iceudp.py \
	jingle/test-wait-for-caps-incomplete.py \
	jingle/test-wait-for-caps.py \
	jingle/transport-info-parsing.py \
	jingle/unknown-session.py \
	$(NULL)

TWISTED_FT_TESTS = \
	file-transfer/test-caps-file-transfer.py \
	file-transfer/test-ibb-too-early.py \
	file-transfer/test-receive-file-and-close-socket-while-receiving.py \
	file-transfer/test-receive-file-and-disconnect.py \
	file-transfer/test-receive-file-and-sender-disconnect-while-pending.py \
	file-transfer/test-receive-file-and-sender-disconnect-while-transfering.py \
	file-transfer/test-receive-file-decline.py \
	file-transfer/test-receive-file.py \
	file-transfer/test-send-file-and-cancel-immediately.py \
	file-transfer/test-send-file-declined.py \
	file-transfer/test-send-file-provide-immediately.py \
	file-transfer/test-send-file-send-before-accept.py \
	file-transfer/test-send-file-to-unknown-contact.py \
	file-transfer/test-send-file-wait-to-provide.py \
	file-transfer/test-uri.py \
	file-transfer/metadata.py \
	file-transfer/ft-client-caps.py \
	jingle-share/test-caps-file-transfer.py \
	jingle-share/test-multift.py \
	jingle-share/test-receive-file-and-close-socket-while-receiving.py \
	jingle-share/test-receive-file-and-disconnect.py \
	jingle-share/test-receive-file-and-sender-disconnect-while-pending.py \
	jingle-share/test-receive-file-and-sender-disconnect-while-transfering.py \
	jingle-share/test-receive-file-decline.py \
	jingle-share/test-send-file-and-cancel-immediately.py \
	jingle-share/test-send-file.py \
	jingle-share/test-send-file-send-before-accept.py \
	jingle-share/test-send-file-wait-to-provide.py \
	$(NULL)


# other files used by the twisted tests, but are not tests and are not built
# source
TWISTED_OTHER_FILES = \
	bytestream.py \
	connect/torture.py \
	constants.py \
	file-transfer/file_transfer_helper.py \
	gabbletest.py \
	httptest.py \
	jingle/call_helper.py \
	jingle/callutils.py \
	jingle/__init__.py \
	jingle/jingletest2.py \
	jingle-share/file_transfer_helper.py \
	jingle-share/jingleshareutils.py \
	mucutil.py \
	ns.py \
	olpc/util.py \
	presence/__init__.py \
	presence/invisible_helper.py \
	rostertest.py \
	sasl/saslutil.py \
	search/search_helper.py \
	test-helper.py \
	tls-cert.pem \
	tls-key.pem \
	tubes/tubetestutil.py \
	$(NULL)


# Install files in each directory. They could be tests, pristine data files,
# scripts or built source
@ENABLE_INSTALLED_TESTS_TRUE@twistedtestsdir = @gabbletestsdir@/twisted
@ENABLE_INSTALLED_TESTS_TRUE@nobase_nodist_twistedtests_SCRIPTS = \
@ENABLE_INSTALLED_TESTS_TRUE@	run-test.sh \
@ENABLE_INSTALLED_TESTS_TRUE@	tools/exec-with-log.sh \
@ENABLE_INSTALLED_TESTS_TRUE@	tools/run-gabble.sh \
@ENABLE_INSTALLED_TESTS_TRUE@	$(NULL)

@ENABLE_INSTALLED_TESTS_TRUE@nobase_dist_twistedtests_SCRIPTS = \
@ENABLE_INSTALLED_TESTS_TRUE@	tools/with-session-bus.sh \
@ENABLE_INSTALLED_TESTS_TRUE@	$(NULL)

@ENABLE_INSTALLED_TESTS_TRUE@nobase_dist_twistedtests_DATA = \
@ENABLE_INSTALLED_TESTS_TRUE@	$(TWISTED_TESTS) \
@ENABLE_INSTALLED_TESTS_TRUE@	$(TWISTED_OTHER_FILES) \
@ENABLE_INSTALLED_TESTS_TRUE@	$(NULL)

@ENABLE_INSTALLED_TESTS_TRUE@nobase_nodist_twistedtests_DATA = \
@ENABLE_INSTALLED_TESTS_TRUE@	config.py \
@ENABLE_INSTALLED_TESTS_TRUE@	gabble-twisted-tests.list \
@ENABLE_INSTALLED_TESTS_TRUE@	$(installed_conf_files) \
@ENABLE_INSTALLED_TESTS_TRUE@	$(service_files)


# set to 6 when using refdbg, to give Gabble time to exit
CHECK_TWISTED_SLEEP = 0
@ENABLE_DEBUG_FALSE@DEBUGGING_PYBOOL = False
@ENABLE_DEBUG_TRUE@DEBUGGING_PYBOOL = True
@ENABLE_PLUGINS_FALSE@PLUGINS_ENABLED_PYBOOL = False
@ENABLE_PLUGINS_TRUE@PLUGINS_ENABLED_PYBOOL = True
@ENABLE_CHANNEL_TYPE_CALL_FALSE@CHANNEL_TYPE_CALL_ENABLED_PYBOOL = False
@ENABLE_CHANNEL_TYPE_CALL_TRUE@CHANNEL_TYPE_CALL_ENABLED_PYBOOL = True
@ENABLE_GOOGLE_RELAY_FALSE@GOOGLE_RELAY_ENABLED_PYBOOL = False
@ENABLE_GOOGLE_RELAY_TRUE@GOOGLE_RELAY_ENABLED_PYBOOL = True
@ENABLE_FILE_TRANSFER_FALSE@FILE_TRANSFER_ENABLED_PYBOOL = False
@ENABLE_FILE_TRANSFER_TRUE@FILE_TRANSFER_ENABLED_PYBOOL = True
@ENABLE_VOIP_FALSE@VOIP_ENABLED_PYBOOL = False
@ENABLE_VOIP_TRUE@VOIP_ENABLED_PYBOOL = True
@ENABLE_JINGLE_FILE_TRANSFER_FALSE@JINGLE_FILE_TRANSFER_ENABLED_PYBOOL = False
@ENABLE_JINGLE_FILE_TRANSFER_TRUE@JINGLE_FILE_TRANSFER_ENABLED_PYBOOL = True
BUILT_SOURCES = config.py $(service_files) $(installed_conf_files) \
	$(uninstalled_service_files) $(uninstalled_conf_files) \
	gabble-twisted-tests.list run-test.sh tools/exec-with-log.sh \
	tools/run-gabble.sh $(NULL)
@ENABLE_INSTALLED_TESTS_TRUE@gabbledebugdir = @gabbletestsdir@/twisted
telepathy_gabble_debug_SOURCES = \
    main-debug.c \
    test-resolver.c \
    test-resolver.h

telepathy_gabble_debug_LDADD = \
    $(top_builddir)/src/libgabble-convenience.la \
    $(ALL_LIBS)

telepathy_gabble_debug_LDFLAGS = -export-dynamic
AM_CFLAGS = $(ERROR_CFLAGS) @DBUS_CFLAGS@ @GLIB_CFLAGS@ @WOCKY_CFLAGS@ \
    @TP_GLIB_CFLAGS@ \
    -I $(top_srcdir)/src -I $(top_builddir)/src \
     -I $(top_srcdir)/lib -I $(top_builddir)/lib \
    -I $(top_srcdir) -I $(top_builddir)

ALL_LIBS = @DBUS_LIBS@ @GLIB_LIBS@ @WOCKY_LIBS@ @TP_GLIB_LIBS@
CLEANFILES = gabble-[1-9]*.log *.pyc */*.pyc config.py \
	$(BUILT_SOURCES) tools/gabble-testing.log
check_misc_sources = $(TESTS)

# D-Bus service file for testing
installed_service_in_files = tools/servicedir/gabble.service.in
service_files = tools/servicedir/org.freedesktop.Telepathy.ConnectionManager.gabble.service
uninstalled_service_in_files = tools/servicedir-uninstalled/gabble.service.in
uninstalled_service_files = tools/servicedir-uninstalled/org.freedesktop.Telepathy.ConnectionManager.gabble.service

# D-Bus config file for testing
installed_conf_in_files = tools/servicedir/tmp-session-bus.conf.in
installed_conf_files = $(installed_conf_in_files:.conf.in=.conf)
uninstalled_conf_in_files = tools/servicedir-uninstalled/tmp-session-bus.conf.in
uninstalled_conf_files = $(uninstalled_conf_in_files:.conf.in=.conf)
EXTRA_DIST = \
	$(installed_service_in_files) \
	$(uninstalled_service_in_files) \
	$(installed_conf_in_files) \
	$(uninstalled_conf_in_files) \
	tools/exec-with-log.sh.in \
	tools/run-gabble.sh.in \
	run-test.sh.in \
	$(NULL)

all: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/tools/check-coding-style.mk $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
	        && { if test -f $@; then exit 0; else break; fi; }; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/twisted/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --gnu tests/twisted/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;
$(top_srcdir)/tools/check-coding-style.mk:

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-gabbledebugPROGRAMS: $(gabbledebug_PROGRAMS)
	@$(NORMAL_INSTALL)
	@list='$(gabbledebug_PROGRAMS)'; test -n "$(gabbledebugdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(gabbledebugdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(gabbledebugdir)" || exit 1; \
	fi; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p \
	 || test -f $$p1 \
	  ; then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' \
	    -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(gabbledebugdir)$$dir'"; \
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(gabbledebugdir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-gabbledebugPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(gabbledebug_PROGRAMS)'; test -n "$(gabbledebugdir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' \
	`; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(gabbledebugdir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(gabbledebugdir)" && rm -f $$files

clean-gabbledebugPROGRAMS:
	@list='$(gabbledebug_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list

clean-noinstPROGRAMS:
	@list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list

telepathy-gabble-debug$(EXEEXT): $(telepathy_gabble_debug_OBJECTS) $(telepathy_gabble_debug_DEPENDENCIES) $(EXTRA_telepathy_gabble_debug_DEPENDENCIES) 
	@rm -f telepathy-gabble-debug$(EXEEXT)
	$(AM_V_CCLD)$(telepathy_gabble_debug_LINK) $(telepathy_gabble_debug_OBJECTS) $(telepathy_gabble_debug_LDADD) $(LIBS)
install-nobase_dist_twistedtestsSCRIPTS: $(nobase_dist_twistedtests_SCRIPTS)
	@$(NORMAL_INSTALL)
	@list='$(nobase_dist_twistedtests_SCRIPTS)'; test -n "$(twistedtestsdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)" || exit 1; \
	fi; \
	$(am__nobase_strip_setup); \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e "s|$$srcdirstrip/||" -e 'h;s|[^/]*$$||; s|^$$|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	  case $$type in \
	  d) echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)/$$dir'"; \
	     $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)/$$dir" || exit $$?;; \
	  f) \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(twistedtestsdir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(twistedtestsdir)$$dir" || exit $$?; \
	     } \
	  ;; esac \
	; done

uninstall-nobase_dist_twistedtestsSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(nobase_dist_twistedtests_SCRIPTS)'; test -n "$(twistedtestsdir)" || exit 0; \
	$(am__nobase_strip_setup); \
	files=`$(am__nobase_strip) \
	       -e 'h;s,.*/,,;$(transform);x;s|[^/]*$$||;G;s,\n,,'`; \
	dir='$(DESTDIR)$(twistedtestsdir)'; $(am__uninstall_files_from_dir)
install-nobase_nodist_twistedtestsSCRIPTS: $(nobase_nodist_twistedtests_SCRIPTS)
	@$(NORMAL_INSTALL)
	@list='$(nobase_nodist_twistedtests_SCRIPTS)'; test -n "$(twistedtestsdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)" || exit 1; \
	fi; \
	$(am__nobase_strip_setup); \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e "s|$$srcdirstrip/||" -e 'h;s|[^/]*$$||; s|^$$|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	  case $$type in \
	  d) echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)/$$dir'"; \
	     $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)/$$dir" || exit $$?;; \
	  f) \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(twistedtestsdir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(twistedtestsdir)$$dir" || exit $$?; \
	     } \
	  ;; esac \
	; done

uninstall-nobase_nodist_twistedtestsSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(nobase_nodist_twistedtests_SCRIPTS)'; test -n "$(twistedtestsdir)" || exit 0; \
	$(am__nobase_strip_setup); \
	files=`$(am__nobase_strip) \
	       -e 'h;s,.*/,,;$(transform);x;s|[^/]*$$||;G;s,\n,,'`; \
	dir='$(DESTDIR)$(twistedtestsdir)'; $(am__uninstall_files_from_dir)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main-debug.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-resolver.Po@am__quote@

.c.o:
@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<

.c.obj:
@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs
install-nobase_dist_twistedtestsDATA: $(nobase_dist_twistedtests_DATA)
	@$(NORMAL_INSTALL)
	@list='$(nobase_dist_twistedtests_DATA)'; test -n "$(twistedtestsdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)" || exit 1; \
	fi; \
	$(am__nobase_list) | while read dir files; do \
	  xfiles=; for file in $$files; do \
	    if test -f "$$file"; then xfiles="$$xfiles $$file"; \
	    else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
	  test -z "$$xfiles" || { \
	    test "x$$dir" = x. || { \
	      echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)/$$dir'"; \
	      $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)/$$dir"; }; \
	    echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(twistedtestsdir)/$$dir'"; \
	    $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(twistedtestsdir)/$$dir" || exit $$?; }; \
	done

uninstall-nobase_dist_twistedtestsDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(nobase_dist_twistedtests_DATA)'; test -n "$(twistedtestsdir)" || list=; \
	$(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
	dir='$(DESTDIR)$(twistedtestsdir)'; $(am__uninstall_files_from_dir)
install-nobase_nodist_twistedtestsDATA: $(nobase_nodist_twistedtests_DATA)
	@$(NORMAL_INSTALL)
	@list='$(nobase_nodist_twistedtests_DATA)'; test -n "$(twistedtestsdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)" || exit 1; \
	fi; \
	$(am__nobase_list) | while read dir files; do \
	  xfiles=; for file in $$files; do \
	    if test -f "$$file"; then xfiles="$$xfiles $$file"; \
	    else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
	  test -z "$$xfiles" || { \
	    test "x$$dir" = x. || { \
	      echo " $(MKDIR_P) '$(DESTDIR)$(twistedtestsdir)/$$dir'"; \
	      $(MKDIR_P) "$(DESTDIR)$(twistedtestsdir)/$$dir"; }; \
	    echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(twistedtestsdir)/$$dir'"; \
	    $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(twistedtestsdir)/$$dir" || exit $$?; }; \
	done

uninstall-nobase_nodist_twistedtestsDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(nobase_nodist_twistedtests_DATA)'; test -n "$(twistedtestsdir)" || list=; \
	$(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
	dir='$(DESTDIR)$(twistedtestsdir)'; $(am__uninstall_files_from_dir)

ID: $(am__tagged_files)
	$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags

tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	set x; \
	here=`pwd`; \
	$(am__define_uniq_tagged_files); \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: ctags-am

CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	$(am__define_uniq_tagged_files); \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-am

cscopelist-am: $(am__tagged_files)
	list='$(am__tagged_files)'; \
	case "$(srcdir)" in \
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
	  *) sdir=$(subdir)/$(srcdir) ;; \
	esac; \
	for i in $$list; do \
	  if test -f "$$i"; then \
	    echo "$(subdir)/$$i"; \
	  else \
	    echo "$$sdir/$$i"; \
	  fi; \
	done >> $(top_builddir)/cscope.files

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) check-local
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
installdirs:
	for dir in "$(DESTDIR)$(gabbledebugdir)" "$(DESTDIR)$(twistedtestsdir)" "$(DESTDIR)$(twistedtestsdir)" "$(DESTDIR)$(twistedtestsdir)" "$(DESTDIR)$(twistedtestsdir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am

clean-am: clean-gabbledebugPROGRAMS clean-generic clean-libtool \
	clean-noinstPROGRAMS mostlyclean-am

distclean: distclean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

html-am:

info: info-am

info-am:

install-data-am: install-gabbledebugPROGRAMS \
	install-nobase_dist_twistedtestsDATA \
	install-nobase_dist_twistedtestsSCRIPTS \
	install-nobase_nodist_twistedtestsDATA \
	install-nobase_nodist_twistedtestsSCRIPTS

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am:

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

install-man:

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-gabbledebugPROGRAMS \
	uninstall-nobase_dist_twistedtestsDATA \
	uninstall-nobase_dist_twistedtestsSCRIPTS \
	uninstall-nobase_nodist_twistedtestsDATA \
	uninstall-nobase_nodist_twistedtestsSCRIPTS

.MAKE: all check check-am install install-am install-strip

.PHONY: CTAGS GTAGS TAGS all all-am check check-am check-local clean \
	clean-gabbledebugPROGRAMS clean-generic clean-libtool \
	clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
	distclean-compile distclean-generic distclean-libtool \
	distclean-tags distdir dvi dvi-am html html-am info info-am \
	install install-am install-data install-data-am install-dvi \
	install-dvi-am install-exec install-exec-am \
	install-gabbledebugPROGRAMS install-html install-html-am \
	install-info install-info-am install-man \
	install-nobase_dist_twistedtestsDATA \
	install-nobase_dist_twistedtestsSCRIPTS \
	install-nobase_nodist_twistedtestsDATA \
	install-nobase_nodist_twistedtestsSCRIPTS install-pdf \
	install-pdf-am install-ps install-ps-am install-strip \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags tags-am uninstall uninstall-am \
	uninstall-gabbledebugPROGRAMS \
	uninstall-nobase_dist_twistedtestsDATA \
	uninstall-nobase_dist_twistedtestsSCRIPTS \
	uninstall-nobase_nodist_twistedtestsDATA \
	uninstall-nobase_nodist_twistedtestsSCRIPTS

@ENABLE_INSTALLED_TESTS_TRUE@	$(NULL)

check-local: check-coding-style check-twisted

check-twisted: $(BUILT_SOURCES)
@WANT_TWISTED_TESTS_TRUE@	rm -f tools/core
@WANT_TWISTED_TESTS_TRUE@	rm -f tools/vgcore.*
@WANT_TWISTED_TESTS_TRUE@	rm -f tools/gabble-testing.log
@WANT_TWISTED_TESTS_TRUE@	rm -f tools/strace.log
@WANT_TWISTED_TESTS_TRUE@	if test -n "$$GABBLE_TEST_REFDBG"; then \
@WANT_TWISTED_TESTS_TRUE@	  sleep=6; \
@WANT_TWISTED_TESTS_TRUE@        else \
@WANT_TWISTED_TESTS_TRUE@	  sleep=$(CHECK_TWISTED_SLEEP); \
@WANT_TWISTED_TESTS_TRUE@	fi; \
@WANT_TWISTED_TESTS_TRUE@	failed=0; \
@WANT_TWISTED_TESTS_TRUE@	GABBLE_TEST_UNINSTALLED=1 \
@WANT_TWISTED_TESTS_TRUE@	  GABBLE_TEST_SLEEP="--sleep=$$sleep" \
@WANT_TWISTED_TESTS_TRUE@	  GABBLE_ABS_TOP_SRCDIR=@abs_top_srcdir@ \
@WANT_TWISTED_TESTS_TRUE@	  GABBLE_ABS_TOP_BUILDDIR=@abs_top_builddir@ \
@WANT_TWISTED_TESTS_TRUE@	  sh run-test.sh "$(TWISTED_TESTS)" || failed=1; \
@WANT_TWISTED_TESTS_TRUE@	if test -e tools/core; then\
@WANT_TWISTED_TESTS_TRUE@		echo -e "\033[0;31;1mCore dump exists: tools/core\033[0m";\
@WANT_TWISTED_TESTS_TRUE@		exit 1;\
@WANT_TWISTED_TESTS_TRUE@	fi; \
@WANT_TWISTED_TESTS_TRUE@	if test $$failed = 1; then\
@WANT_TWISTED_TESTS_TRUE@		exit 1;\
@WANT_TWISTED_TESTS_TRUE@	fi;
@WANT_TWISTED_TESTS_FALSE@	@echo "Configured without Twisted test support. To enable them,"
@WANT_TWISTED_TESTS_FALSE@	@echo "ensure that these Python modules are available:"
@WANT_TWISTED_TESTS_FALSE@	@echo " • twisted.words.xish.domish"
@WANT_TWISTED_TESTS_FALSE@	@echo " • twisted.words.protocols.jabber"
@WANT_TWISTED_TESTS_FALSE@	@echo " • twisted.internet.reactor"
@WANT_TWISTED_TESTS_FALSE@	@echo "and then re-run configure."

config.py: Makefile
	$(AM_V_GEN) { \
		echo "PACKAGE_STRING = \"$(PACKAGE_STRING)\""; \
		echo "CLIENT_TYPE = '$(CLIENT_TYPE)'"; \
		echo "DEBUGGING = $(DEBUGGING_PYBOOL)"; \
		echo "PLUGINS_ENABLED = $(PLUGINS_ENABLED_PYBOOL)"; \
		echo "CHANNEL_TYPE_CALL_ENABLED = $(CHANNEL_TYPE_CALL_ENABLED_PYBOOL)"; \
		echo "GOOGLE_RELAY_ENABLED = $(GOOGLE_RELAY_ENABLED_PYBOOL)"; \
		echo "FILE_TRANSFER_ENABLED = $(FILE_TRANSFER_ENABLED_PYBOOL)"; \
		echo "VOIP_ENABLED = $(VOIP_ENABLED_PYBOOL)"; \
		echo "JINGLE_FILE_TRANSFER_ENABLED = $(JINGLE_FILE_TRANSFER_ENABLED_PYBOOL)"; \
	} > $@
check-coding-style:
	@fail=0; \
	if test -n "$(check_misc_sources)"; then \
		tools_dir=$(top_srcdir)/tools \
		sh $(top_srcdir)/tools/check-misc.sh \
			$(addprefix $(srcdir)/,$(check_misc_sources)) || fail=1; \
	fi; \
	if test -n "$(check_c_sources)"; then \
		tools_dir=$(top_srcdir)/tools \
		sh $(top_srcdir)/tools/check-c-style.sh \
			$(addprefix $(srcdir)/,$(check_c_sources)) || fail=1; \
	fi;\
	if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
		exit "$$fail";\
	else \
		exit 0;\
	fi

# the following used to be in tools/

gabble-twisted-tests.list: Makefile
	$(AM_V_GEN)echo $(TWISTED_TESTS) > $@

run-test.sh: run-test.sh.in Makefile
	$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" \
		-e "s|[@]PYTHON[@]|$(PYTHON)|g" \
		-e "s|[@]TEST_PYTHON[@]|$(TEST_PYTHON)|g" \
		 $< > $@
	@chmod +x $@

tools/run-gabble.sh: tools/run-gabble.sh.in Makefile
	@mkdir -p tools
	$(AM_V_GEN)sed \
		-e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" \
		-e "s|[@]pluginexecdir[@]|@pluginexecdir@|g" \
		-e "s|[@]libdir[@]|$(libdir)|g" \
		$< > $@
	@chmod +x $@

tools/exec-with-log.sh: tools/exec-with-log.sh.in
	$(MKDIR_P) tools
	$(AM_V_GEN)sed -e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" \
		-e "s|[@]abs_top_srcdir[@]|@abs_top_srcdir@|g" $< > $@
	@chmod +x $@

# The wildcard % matches both config files!
tools/%.conf: tools/%.conf.in Makefile
	$(MKDIR_P) tools/servicedir
	$(MKDIR_P) tools/servicedir-uninstalled
	$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" \
		-e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" $< > $@

# We don't use the full filename for the .in because > 99 character filenames
# in tarballs are non-portable (and automake 1.8 doesn't let us build
# non-archaic tarballs)
tools/servicedir/org.freedesktop.Telepathy.ConnectionManager.%.service: tools/servicedir/%.service.in  Makefile
	$(MKDIR_P) tools/servicedir
	$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" $< > $@

tools/servicedir-uninstalled/org.freedesktop.Telepathy.ConnectionManager.%.service: tools/servicedir-uninstalled/%.service.in
	$(MKDIR_P) tools/servicedir-uninstalled
	$(AM_V_GEN)sed -e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" $< > $@

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
