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

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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__make_dryrun = \
  { \
    am__dry=no; \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
      *) \
        for am__flg in $$MAKEFLAGS; do \
          case $$am__flg in \
            *=*|--*) ;; \
            *n*) am__dry=yes; break;; \
          esac; \
        done;; \
    esac; \
    test $$am__dry = yes; \
  }
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@
check_PROGRAMS = apitest$(EXEEXT) internaltest$(EXEEXT) \
	stemtest$(EXEEXT) queryparsertest$(EXEEXT) \
	termgentest$(EXEEXT) unittest$(EXEEXT) \
	perftest/perftest$(EXEEXT) soaktest/soaktest$(EXEEXT)
@MAINTAINER_MODE_TRUE@am__append_1 = api_all.h api_collated.h \
@MAINTAINER_MODE_TRUE@	$(collated_apitest_sources:.cc=.h) \
@MAINTAINER_MODE_TRUE@	api_generated.cc perftest/perftest_all.h \
@MAINTAINER_MODE_TRUE@	perftest/perftest_collated.h \
@MAINTAINER_MODE_TRUE@	$(collated_perftest_sources:.cc=.h) \
@MAINTAINER_MODE_TRUE@	soaktest/soaktest_all.h \
@MAINTAINER_MODE_TRUE@	soaktest/soaktest_collated.h \
@MAINTAINER_MODE_TRUE@	$(collated_soaktest_sources:.cc=.h)
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/harness/Makefile.mk \
	$(srcdir)/perftest/Makefile.mk $(srcdir)/runsrv.in \
	$(srcdir)/runtest.in $(srcdir)/soaktest/Makefile.mk \
	$(srcdir)/submitperftest.in
@BUILD_BACKEND_BRASS_TRUE@am__append_2 = harness/backendmanager_brass.cc
@BUILD_BACKEND_CHERT_TRUE@am__append_3 = harness/backendmanager_chert.cc
@BUILD_BACKEND_FLINT_TRUE@am__append_4 = harness/backendmanager_flint.cc
@BUILD_BACKEND_INMEMORY_TRUE@am__append_5 = harness/backendmanager_inmemory.cc
@BUILD_BACKEND_REMOTE_TRUE@am__append_6 = \
@BUILD_BACKEND_REMOTE_TRUE@	harness/backendmanager_remote.cc\
@BUILD_BACKEND_REMOTE_TRUE@	harness/backendmanager_remoteprog.cc\
@BUILD_BACKEND_REMOTE_TRUE@	harness/backendmanager_remotetcp.cc

@USE_ZLIB_VG_TRUE@am__append_7 = zlib-vg.so
@USE_ZLIB_VG_TRUE@am__append_8 = zlib-vg.so
subdir = tests
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(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/type_socklen_t.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 = runtest runsrv submitperftest
CONFIG_CLEAN_VPATH_FILES =
am__apitest_SOURCES_DIST = apitest.cc dbcheck.cc api_anydb.cc \
	api_backend.cc api_closedb.cc api_collapse.cc api_compact.cc \
	api_db.cc api_generated.cc api_matchspy.cc api_metadata.cc \
	api_nodb.cc api_none.cc api_opsynonym.cc api_opvalue.cc \
	api_percentages.cc api_posdb.cc api_postingsource.cc \
	api_qpbackend.cc api_query.cc api_replacedoc.cc \
	api_replicate.cc api_scalability.cc api_serialise.cc \
	api_sorting.cc api_sortingold.cc api_spelling.cc api_stem.cc \
	api_transdb.cc api_unicode.cc api_valuestats.cc \
	api_valuestream.cc api_weight.cc api_wrdb.cc api_all.h \
	api_collated.h harness/backendmanager.cc \
	harness/backendmanager_multi.cc harness/cputimer.cc \
	harness/fdtracker.cc harness/index_utils.cc \
	harness/scalability.cc harness/testrunner.cc \
	harness/testsuite.cc harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am__objects_1 = api_anydb.$(OBJEXT) api_backend.$(OBJEXT) \
	api_closedb.$(OBJEXT) api_collapse.$(OBJEXT) \
	api_compact.$(OBJEXT) api_db.$(OBJEXT) api_generated.$(OBJEXT) \
	api_matchspy.$(OBJEXT) api_metadata.$(OBJEXT) \
	api_nodb.$(OBJEXT) api_none.$(OBJEXT) api_opsynonym.$(OBJEXT) \
	api_opvalue.$(OBJEXT) api_percentages.$(OBJEXT) \
	api_posdb.$(OBJEXT) api_postingsource.$(OBJEXT) \
	api_qpbackend.$(OBJEXT) api_query.$(OBJEXT) \
	api_replacedoc.$(OBJEXT) api_replicate.$(OBJEXT) \
	api_scalability.$(OBJEXT) api_serialise.$(OBJEXT) \
	api_sorting.$(OBJEXT) api_sortingold.$(OBJEXT) \
	api_spelling.$(OBJEXT) api_stem.$(OBJEXT) \
	api_transdb.$(OBJEXT) api_unicode.$(OBJEXT) \
	api_valuestats.$(OBJEXT) api_valuestream.$(OBJEXT) \
	api_weight.$(OBJEXT) api_wrdb.$(OBJEXT)
am__dirstamp = $(am__leading_dot)dirstamp
@BUILD_BACKEND_BRASS_TRUE@am__objects_2 = harness/backendmanager_brass.$(OBJEXT)
@BUILD_BACKEND_CHERT_TRUE@am__objects_3 = harness/backendmanager_chert.$(OBJEXT)
@BUILD_BACKEND_FLINT_TRUE@am__objects_4 = harness/backendmanager_flint.$(OBJEXT)
@BUILD_BACKEND_INMEMORY_TRUE@am__objects_5 = harness/backendmanager_inmemory.$(OBJEXT)
@BUILD_BACKEND_REMOTE_TRUE@am__objects_6 = harness/backendmanager_remote.$(OBJEXT) \
@BUILD_BACKEND_REMOTE_TRUE@	harness/backendmanager_remoteprog.$(OBJEXT) \
@BUILD_BACKEND_REMOTE_TRUE@	harness/backendmanager_remotetcp.$(OBJEXT)
am__objects_7 = harness/backendmanager.$(OBJEXT) \
	harness/backendmanager_multi.$(OBJEXT) \
	harness/cputimer.$(OBJEXT) harness/fdtracker.$(OBJEXT) \
	harness/index_utils.$(OBJEXT) harness/scalability.$(OBJEXT) \
	harness/testrunner.$(OBJEXT) harness/testsuite.$(OBJEXT) \
	harness/testutils.$(OBJEXT) harness/unixcmds.$(OBJEXT) \
	$(am__objects_2) $(am__objects_3) $(am__objects_4) \
	$(am__objects_5) $(am__objects_6)
am_apitest_OBJECTS = apitest.$(OBJEXT) dbcheck.$(OBJEXT) \
	$(am__objects_1) $(am__objects_7)
apitest_OBJECTS = $(am_apitest_OBJECTS)
apitest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
apitest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
	$(apitest_LDFLAGS) $(LDFLAGS) -o $@
am__internaltest_SOURCES_DIST = internaltest.cc \
	harness/backendmanager.cc harness/backendmanager_multi.cc \
	harness/cputimer.cc harness/fdtracker.cc \
	harness/index_utils.cc harness/scalability.cc \
	harness/testrunner.cc harness/testsuite.cc \
	harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am_internaltest_OBJECTS = internaltest.$(OBJEXT) $(am__objects_7)
internaltest_OBJECTS = $(am_internaltest_OBJECTS)
internaltest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
internaltest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(internaltest_LDFLAGS) $(LDFLAGS) -o $@
am__perftest_perftest_SOURCES_DIST = perftest/perftest.cc \
	perftest/perftest_matchdecider.cc \
	perftest/perftest_randomidx.cc perftest/perftest_all.h \
	perftest/perftest_collated.h perftest/freemem.cc \
	perftest/freemem.h perftest/runprocess.cc \
	perftest/runprocess.h harness/backendmanager.cc \
	harness/backendmanager_multi.cc harness/cputimer.cc \
	harness/fdtracker.cc harness/index_utils.cc \
	harness/scalability.cc harness/testrunner.cc \
	harness/testsuite.cc harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am__objects_8 = perftest/perftest_matchdecider.$(OBJEXT) \
	perftest/perftest_randomidx.$(OBJEXT)
am_perftest_perftest_OBJECTS = perftest/perftest.$(OBJEXT) \
	$(am__objects_8) perftest/freemem.$(OBJEXT) \
	perftest/runprocess.$(OBJEXT) $(am__objects_7)
perftest_perftest_OBJECTS = $(am_perftest_perftest_OBJECTS)
perftest_perftest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
perftest_perftest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(perftest_perftest_LDFLAGS) $(LDFLAGS) -o $@
am__queryparsertest_SOURCES_DIST = queryparsertest.cc \
	harness/backendmanager.cc harness/backendmanager_multi.cc \
	harness/cputimer.cc harness/fdtracker.cc \
	harness/index_utils.cc harness/scalability.cc \
	harness/testrunner.cc harness/testsuite.cc \
	harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am_queryparsertest_OBJECTS = queryparsertest.$(OBJEXT) \
	$(am__objects_7)
queryparsertest_OBJECTS = $(am_queryparsertest_OBJECTS)
queryparsertest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
queryparsertest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(queryparsertest_LDFLAGS) $(LDFLAGS) -o $@
am__soaktest_soaktest_SOURCES_DIST = soaktest/soaktest.cc \
	soaktest/soaktest_queries.cc soaktest/soaktest_all.h \
	soaktest/soaktest_collated.h harness/backendmanager.cc \
	harness/backendmanager_multi.cc harness/cputimer.cc \
	harness/fdtracker.cc harness/index_utils.cc \
	harness/scalability.cc harness/testrunner.cc \
	harness/testsuite.cc harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am__objects_9 = soaktest/soaktest_queries.$(OBJEXT)
am_soaktest_soaktest_OBJECTS = soaktest/soaktest.$(OBJEXT) \
	$(am__objects_9) $(am__objects_7)
soaktest_soaktest_OBJECTS = $(am_soaktest_soaktest_OBJECTS)
soaktest_soaktest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
soaktest_soaktest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(soaktest_soaktest_LDFLAGS) $(LDFLAGS) -o $@
am__stemtest_SOURCES_DIST = stemtest.cc harness/backendmanager.cc \
	harness/backendmanager_multi.cc harness/cputimer.cc \
	harness/fdtracker.cc harness/index_utils.cc \
	harness/scalability.cc harness/testrunner.cc \
	harness/testsuite.cc harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am_stemtest_OBJECTS = stemtest.$(OBJEXT) $(am__objects_7)
stemtest_OBJECTS = $(am_stemtest_OBJECTS)
stemtest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
stemtest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(stemtest_LDFLAGS) $(LDFLAGS) -o $@
am__termgentest_SOURCES_DIST = termgentest.cc \
	harness/backendmanager.cc harness/backendmanager_multi.cc \
	harness/cputimer.cc harness/fdtracker.cc \
	harness/index_utils.cc harness/scalability.cc \
	harness/testrunner.cc harness/testsuite.cc \
	harness/testutils.cc harness/unixcmds.cc \
	harness/backendmanager_brass.cc \
	harness/backendmanager_chert.cc \
	harness/backendmanager_flint.cc \
	harness/backendmanager_inmemory.cc \
	harness/backendmanager_remote.cc \
	harness/backendmanager_remoteprog.cc \
	harness/backendmanager_remotetcp.cc
am_termgentest_OBJECTS = termgentest.$(OBJEXT) $(am__objects_7)
termgentest_OBJECTS = $(am_termgentest_OBJECTS)
termgentest_DEPENDENCIES = ../libgetopt.la ../$(libxapian_la)
termgentest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(termgentest_LDFLAGS) $(LDFLAGS) -o $@
am_unittest_OBJECTS = unittest.$(OBJEXT)
unittest_OBJECTS = $(am_unittest_OBJECTS)
unittest_LDADD = $(LDADD)
unittest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(unittest_LDFLAGS) $(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
SOURCES = $(apitest_SOURCES) $(internaltest_SOURCES) \
	$(perftest_perftest_SOURCES) $(queryparsertest_SOURCES) \
	$(soaktest_soaktest_SOURCES) $(stemtest_SOURCES) \
	$(termgentest_SOURCES) $(unittest_SOURCES)
DIST_SOURCES = $(am__apitest_SOURCES_DIST) \
	$(am__internaltest_SOURCES_DIST) \
	$(am__perftest_perftest_SOURCES_DIST) \
	$(am__queryparsertest_SOURCES_DIST) \
	$(am__soaktest_soaktest_SOURCES_DIST) \
	$(am__stemtest_SOURCES_DIST) $(am__termgentest_SOURCES_DIST) \
	$(unittest_SOURCES)
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
am__tty_colors = \
red=; grn=; lgn=; blu=; std=
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_CXXFLAGS = @AM_CXXFLAGS@
ANSI_CXXFLAGS = @ANSI_CXXFLAGS@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOM4TE = @AUTOM4TE@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CC_FOR_BUILD = @CC_FOR_BUILD@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DOT = @DOT@
DOXYGEN = @DOXYGEN@
DOXYGEN_DOT_PATH = @DOXYGEN_DOT_PATH@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
EATMYDATA = @EATMYDATA@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FP_EXCESS_PRECISION = @FP_EXCESS_PRECISION@
GREP = @GREP@
HELP2MAN = @HELP2MAN@
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@
LIBRARY_VERSION_INFO = @LIBRARY_VERSION_INFO@
LIBRARY_VERSION_SUFFIX = @LIBRARY_VERSION_SUFFIX@
LIBS = @LIBS@

# `make QUIET=' overrides `./configure --enable-quiet'.
# `make QUIET=y' overrides `./configure' without `--enable-quiet'.
LIBTOOL = @LIBTOOL@ $(QUIET:y=--quiet)
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINDEX = @MAKEINDEX@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
NO_INSTALL = @NO_INSTALL@
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@
PERL = @PERL@
PNGCRUSH = @PNGCRUSH@
QUIET = @QUIET@
RANLIB = @RANLIB@
RST2HTML = @RST2HTML@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SHLIBEXT = @SHLIBEXT@
STRIP = @STRIP@
VALGRIND = @VALGRIND@
VERSION = @VERSION@
XAPIAN_LDFLAGS = @XAPIAN_LDFLAGS@
XAPIAN_LIBS = @XAPIAN_LIBS@
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_CXX = @ac_ct_CXX@
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@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
incdir = @incdir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
ldflags = @ldflags@
libdir = @libdir@
libexecdir = @libexecdir@
link_all_deplibs_CXX = @link_all_deplibs_CXX@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
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@
AUTOMAKE_OPTIONS = 1.5 subdir-objects
AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include \
 -I$(top_builddir)/include -I$(srcdir)/harness

CLEANFILES = $(am__append_8)
libxapian_la = libxapian@LIBRARY_VERSION_SUFFIX@.la
TESTS_ENVIRONMENT = ./runtest
TESTS = apitest$(EXEEXT) internaltest$(EXEEXT) stemtest$(EXEEXT) \
 queryparsertest$(EXEEXT) termgentest$(EXEEXT) unittest$(EXEEXT)


# Make sure runtest is up to date before running tests

# Ensure the get_machine_info script is up to date before running tests.
check_SCRIPTS = runtest perftest/get_machine_info $(am__append_7)
noinst_HEADERS = apitest.h dbcheck.h harness/backendmanager.h \
	harness/backendmanager_brass.h harness/backendmanager_chert.h \
	harness/backendmanager_flint.h \
	harness/backendmanager_inmemory.h \
	harness/backendmanager_local.h harness/backendmanager_multi.h \
	harness/backendmanager_remote.h \
	harness/backendmanager_remoteprog.h \
	harness/backendmanager_remotetcp.h harness/cputimer.h \
	harness/fdtracker.h harness/index_utils.h harness/unixcmds.h \
	harness/scalability.h harness/testmacros.h \
	harness/testrunner.h harness/testsuite.h harness/testutils.h \
	perftest/perftest.h soaktest/soaktest.h
collated_apitest_sources = \
 api_anydb.cc \
 api_backend.cc \
 api_closedb.cc \
 api_collapse.cc \
 api_compact.cc \
 api_db.cc \
 api_generated.cc \
 api_matchspy.cc \
 api_metadata.cc \
 api_nodb.cc \
 api_none.cc \
 api_opsynonym.cc \
 api_opvalue.cc \
 api_percentages.cc \
 api_posdb.cc \
 api_postingsource.cc \
 api_qpbackend.cc \
 api_query.cc \
 api_replacedoc.cc \
 api_replicate.cc \
 api_scalability.cc \
 api_serialise.cc \
 api_sorting.cc \
 api_sortingold.cc \
 api_spelling.cc \
 api_stem.cc \
 api_transdb.cc \
 api_unicode.cc \
 api_valuestats.cc \
 api_valuestream.cc \
 api_weight.cc \
 api_wrdb.cc

apitest_SOURCES = apitest.cc dbcheck.cc $(collated_apitest_sources) \
 api_all.h api_collated.h $(testharness_sources)

apitest_LDFLAGS = @NO_INSTALL@ $(ldflags)
apitest_LDADD = ../libgetopt.la ../$(libxapian_la)
stemtest_SOURCES = stemtest.cc $(testharness_sources)
stemtest_LDFLAGS = @NO_INSTALL@ $(ldflags)
stemtest_LDADD = ../libgetopt.la ../$(libxapian_la)
internaltest_SOURCES = internaltest.cc $(testharness_sources)
internaltest_LDFLAGS = @NO_INSTALL@ $(ldflags)
internaltest_LDADD = ../libgetopt.la ../$(libxapian_la)
queryparsertest_SOURCES = queryparsertest.cc $(testharness_sources)
queryparsertest_LDFLAGS = @NO_INSTALL@ $(ldflags)
queryparsertest_LDADD = ../libgetopt.la ../$(libxapian_la)
termgentest_SOURCES = termgentest.cc $(testharness_sources)
termgentest_LDFLAGS = @NO_INSTALL@ $(ldflags)
termgentest_LDADD = ../libgetopt.la ../$(libxapian_la)
unittest_SOURCES = unittest.cc
unittest_LDFLAGS = @NO_INSTALL@ $(ldflags)
BUILT_SOURCES = $(am__append_1)
EXTRA_DIST = collate-test generate-api_generated api_all.h \
	api_collated.h $(collated_apitest_sources:.cc=.h) dir_contents \
	runtest.in valgrind.supp testdata/apitest_onedoc.txt \
	testdata/apitest_simpledata.txt \
	testdata/apitest_simpledata2.txt \
	testdata/apitest_termorder.txt testdata/apitest_rset.txt \
	testdata/apitest_phrase.txt testdata/apitest_punc.txt \
	testdata/apitest_space.txt testdata/apitest_allterms.txt \
	testdata/apitest_allterms2.txt testdata/apitest_allterms4.txt \
	testdata/apitest_poslist.txt testdata/apitest_manydocs.txt \
	testdata/apitest_sortconsist.txt testdata/apitest_sortrel.txt \
	testdata/apitest_declen.txt testdata/etext.txt \
	testdata/flint-0.9.9/flicklock testdata/flint-0.9.9/iamflint \
	testdata/flint-0.9.9/position.baseA \
	testdata/flint-0.9.9/position.DB \
	testdata/flint-0.9.9/postlist.baseA \
	testdata/flint-0.9.9/postlist.DB \
	testdata/flint-0.9.9/record.baseA \
	testdata/flint-0.9.9/record.DB \
	testdata/flint-0.9.9/termlist.baseA \
	testdata/flint-0.9.9/termlist.DB \
	testdata/flint-0.9.9/value.baseA testdata/flint-0.9.9/value.DB \
	testdata/flint-1.0.1/flintlock testdata/flint-1.0.1/iamflint \
	testdata/flint-1.0.1/position.baseA \
	testdata/flint-1.0.1/position.DB \
	testdata/flint-1.0.1/postlist.baseA \
	testdata/flint-1.0.1/postlist.DB \
	testdata/flint-1.0.1/record.baseA \
	testdata/flint-1.0.1/record.DB \
	testdata/flint-1.0.1/termlist.baseA \
	testdata/flint-1.0.1/termlist.DB \
	testdata/flint-1.0.1/value.baseA testdata/flint-1.0.1/value.DB \
	testdata/flint-1.0.2/flintlock testdata/flint-1.0.2/iamflint \
	testdata/flint-1.0.2/postlist.baseA \
	testdata/flint-1.0.2/postlist.DB \
	testdata/flint-1.0.2/record.baseA \
	testdata/flint-1.0.2/record.DB \
	testdata/flint-1.0.2/termlist.baseA \
	testdata/flint-1.0.2/termlist.DB harness/dir_contents \
	harness/Makefile perftest/dir_contents perftest/perftest_all.h \
	perftest/perftest_collated.h \
	$(collated_perftest_sources:.cc=.h) soaktest/dir_contents \
	soaktest/soaktest_all.h soaktest/soaktest_collated.h \
	$(collated_soaktest_sources:.cc=.h) zlib-vg.c
testharness_sources = harness/backendmanager.cc \
	harness/backendmanager_multi.cc harness/cputimer.cc \
	harness/fdtracker.cc harness/index_utils.cc \
	harness/scalability.cc harness/testrunner.cc \
	harness/testsuite.cc harness/testutils.cc harness/unixcmds.cc \
	$(am__append_2) $(am__append_3) $(am__append_4) \
	$(am__append_5) $(am__append_6)
collated_perftest_sources = \
 perftest/perftest_matchdecider.cc \
 perftest/perftest_randomidx.cc

perftest_perftest_SOURCES = perftest/perftest.cc $(collated_perftest_sources) \
 perftest/perftest_all.h perftest/perftest_collated.h \
 perftest/freemem.cc perftest/freemem.h \
 perftest/runprocess.cc perftest/runprocess.h \
 $(testharness_sources)

perftest_perftest_LDFLAGS = @NO_INSTALL@ $(ldflags)
perftest_perftest_LDADD = ../libgetopt.la ../$(libxapian_la)
collated_soaktest_sources = \
 soaktest/soaktest_queries.cc

soaktest_soaktest_SOURCES = \
 soaktest/soaktest.cc \
 $(collated_soaktest_sources) \
 soaktest/soaktest_all.h \
 soaktest/soaktest_collated.h \
 $(testharness_sources)

soaktest_soaktest_LDFLAGS = -no-install $(ldflags)
soaktest_soaktest_LDADD = ../libgetopt.la ../$(libxapian_la)
all: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .cc .lo .o .obj
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/harness/Makefile.mk $(srcdir)/perftest/Makefile.mk $(srcdir)/soaktest/Makefile.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/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --gnu tests/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;
$(srcdir)/harness/Makefile.mk $(srcdir)/perftest/Makefile.mk $(srcdir)/soaktest/Makefile.mk:

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

$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
runtest: $(top_builddir)/config.status $(srcdir)/runtest.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
runsrv: $(top_builddir)/config.status $(srcdir)/runsrv.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
submitperftest: $(top_builddir)/config.status $(srcdir)/submitperftest.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@

clean-checkPROGRAMS:
	@list='$(check_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
harness/$(am__dirstamp):
	@$(MKDIR_P) harness
	@: > harness/$(am__dirstamp)
harness/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) harness/$(DEPDIR)
	@: > harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_multi.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/cputimer.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/fdtracker.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/index_utils.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/scalability.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/testrunner.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/testsuite.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/testutils.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/unixcmds.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_brass.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_chert.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_flint.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_inmemory.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_remote.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_remoteprog.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
harness/backendmanager_remotetcp.$(OBJEXT): harness/$(am__dirstamp) \
	harness/$(DEPDIR)/$(am__dirstamp)
apitest$(EXEEXT): $(apitest_OBJECTS) $(apitest_DEPENDENCIES) $(EXTRA_apitest_DEPENDENCIES) 
	@rm -f apitest$(EXEEXT)
	$(apitest_LINK) $(apitest_OBJECTS) $(apitest_LDADD) $(LIBS)
internaltest$(EXEEXT): $(internaltest_OBJECTS) $(internaltest_DEPENDENCIES) $(EXTRA_internaltest_DEPENDENCIES) 
	@rm -f internaltest$(EXEEXT)
	$(internaltest_LINK) $(internaltest_OBJECTS) $(internaltest_LDADD) $(LIBS)
perftest/$(am__dirstamp):
	@$(MKDIR_P) perftest
	@: > perftest/$(am__dirstamp)
perftest/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) perftest/$(DEPDIR)
	@: > perftest/$(DEPDIR)/$(am__dirstamp)
perftest/perftest.$(OBJEXT): perftest/$(am__dirstamp) \
	perftest/$(DEPDIR)/$(am__dirstamp)
perftest/perftest_matchdecider.$(OBJEXT): perftest/$(am__dirstamp) \
	perftest/$(DEPDIR)/$(am__dirstamp)
perftest/perftest_randomidx.$(OBJEXT): perftest/$(am__dirstamp) \
	perftest/$(DEPDIR)/$(am__dirstamp)
perftest/freemem.$(OBJEXT): perftest/$(am__dirstamp) \
	perftest/$(DEPDIR)/$(am__dirstamp)
perftest/runprocess.$(OBJEXT): perftest/$(am__dirstamp) \
	perftest/$(DEPDIR)/$(am__dirstamp)
perftest/perftest$(EXEEXT): $(perftest_perftest_OBJECTS) $(perftest_perftest_DEPENDENCIES) $(EXTRA_perftest_perftest_DEPENDENCIES) perftest/$(am__dirstamp)
	@rm -f perftest/perftest$(EXEEXT)
	$(perftest_perftest_LINK) $(perftest_perftest_OBJECTS) $(perftest_perftest_LDADD) $(LIBS)
queryparsertest$(EXEEXT): $(queryparsertest_OBJECTS) $(queryparsertest_DEPENDENCIES) $(EXTRA_queryparsertest_DEPENDENCIES) 
	@rm -f queryparsertest$(EXEEXT)
	$(queryparsertest_LINK) $(queryparsertest_OBJECTS) $(queryparsertest_LDADD) $(LIBS)
soaktest/$(am__dirstamp):
	@$(MKDIR_P) soaktest
	@: > soaktest/$(am__dirstamp)
soaktest/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) soaktest/$(DEPDIR)
	@: > soaktest/$(DEPDIR)/$(am__dirstamp)
soaktest/soaktest.$(OBJEXT): soaktest/$(am__dirstamp) \
	soaktest/$(DEPDIR)/$(am__dirstamp)
soaktest/soaktest_queries.$(OBJEXT): soaktest/$(am__dirstamp) \
	soaktest/$(DEPDIR)/$(am__dirstamp)
soaktest/soaktest$(EXEEXT): $(soaktest_soaktest_OBJECTS) $(soaktest_soaktest_DEPENDENCIES) $(EXTRA_soaktest_soaktest_DEPENDENCIES) soaktest/$(am__dirstamp)
	@rm -f soaktest/soaktest$(EXEEXT)
	$(soaktest_soaktest_LINK) $(soaktest_soaktest_OBJECTS) $(soaktest_soaktest_LDADD) $(LIBS)
stemtest$(EXEEXT): $(stemtest_OBJECTS) $(stemtest_DEPENDENCIES) $(EXTRA_stemtest_DEPENDENCIES) 
	@rm -f stemtest$(EXEEXT)
	$(stemtest_LINK) $(stemtest_OBJECTS) $(stemtest_LDADD) $(LIBS)
termgentest$(EXEEXT): $(termgentest_OBJECTS) $(termgentest_DEPENDENCIES) $(EXTRA_termgentest_DEPENDENCIES) 
	@rm -f termgentest$(EXEEXT)
	$(termgentest_LINK) $(termgentest_OBJECTS) $(termgentest_LDADD) $(LIBS)
unittest$(EXEEXT): $(unittest_OBJECTS) $(unittest_DEPENDENCIES) $(EXTRA_unittest_DEPENDENCIES) 
	@rm -f unittest$(EXEEXT)
	$(unittest_LINK) $(unittest_OBJECTS) $(unittest_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)
	-rm -f harness/backendmanager.$(OBJEXT)
	-rm -f harness/backendmanager_brass.$(OBJEXT)
	-rm -f harness/backendmanager_chert.$(OBJEXT)
	-rm -f harness/backendmanager_flint.$(OBJEXT)
	-rm -f harness/backendmanager_inmemory.$(OBJEXT)
	-rm -f harness/backendmanager_multi.$(OBJEXT)
	-rm -f harness/backendmanager_remote.$(OBJEXT)
	-rm -f harness/backendmanager_remoteprog.$(OBJEXT)
	-rm -f harness/backendmanager_remotetcp.$(OBJEXT)
	-rm -f harness/cputimer.$(OBJEXT)
	-rm -f harness/fdtracker.$(OBJEXT)
	-rm -f harness/index_utils.$(OBJEXT)
	-rm -f harness/scalability.$(OBJEXT)
	-rm -f harness/testrunner.$(OBJEXT)
	-rm -f harness/testsuite.$(OBJEXT)
	-rm -f harness/testutils.$(OBJEXT)
	-rm -f harness/unixcmds.$(OBJEXT)
	-rm -f perftest/freemem.$(OBJEXT)
	-rm -f perftest/perftest.$(OBJEXT)
	-rm -f perftest/perftest_matchdecider.$(OBJEXT)
	-rm -f perftest/perftest_randomidx.$(OBJEXT)
	-rm -f perftest/runprocess.$(OBJEXT)
	-rm -f soaktest/soaktest.$(OBJEXT)
	-rm -f soaktest/soaktest_queries.$(OBJEXT)

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

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_anydb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_backend.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_closedb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_collapse.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_compact.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_db.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_generated.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_matchspy.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_metadata.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_nodb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_none.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_opsynonym.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_opvalue.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_percentages.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_posdb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_postingsource.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_qpbackend.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_query.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_replacedoc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_replicate.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_scalability.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_serialise.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_sorting.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_sortingold.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_spelling.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_stem.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_transdb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_unicode.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_valuestats.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_valuestream.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_weight.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api_wrdb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/apitest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dbcheck.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/internaltest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/queryparsertest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stemtest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/termgentest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unittest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_brass.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_chert.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_flint.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_inmemory.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_multi.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_remote.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_remoteprog.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/backendmanager_remotetcp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/cputimer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/fdtracker.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/index_utils.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/scalability.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/testrunner.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/testsuite.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/testutils.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@harness/$(DEPDIR)/unixcmds.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@perftest/$(DEPDIR)/freemem.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@perftest/$(DEPDIR)/perftest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@perftest/$(DEPDIR)/perftest_matchdecider.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@perftest/$(DEPDIR)/perftest_randomidx.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@perftest/$(DEPDIR)/runprocess.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@soaktest/$(DEPDIR)/soaktest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@soaktest/$(DEPDIR)/soaktest_queries.Po@am__quote@

.cc.o:
@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<

.cc.obj:
@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

.cc.lo:
@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
@am__fastdepCXX_TRUE@	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs
	-rm -rf perftest/.libs perftest/_libs
	-rm -rf soaktest/.libs soaktest/_libs

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	set x; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	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
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	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"

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

check-TESTS: $(TESTS)
	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
	srcdir=$(srcdir); export srcdir; \
	list=' $(TESTS) '; \
	$(am__tty_colors); \
	if test -n "$$list"; then \
	  for tst in $$list; do \
	    if test -f ./$$tst; then dir=./; \
	    elif test -f $$tst; then dir=; \
	    else dir="$(srcdir)/"; fi; \
	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *[\ \	]$$tst[\ \	]*) \
		xpass=`expr $$xpass + 1`; \
		failed=`expr $$failed + 1`; \
		col=$$red; res=XPASS; \
	      ;; \
	      *) \
		col=$$grn; res=PASS; \
	      ;; \
	      esac; \
	    elif test $$? -ne 77; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *[\ \	]$$tst[\ \	]*) \
		xfail=`expr $$xfail + 1`; \
		col=$$lgn; res=XFAIL; \
	      ;; \
	      *) \
		failed=`expr $$failed + 1`; \
		col=$$red; res=FAIL; \
	      ;; \
	      esac; \
	    else \
	      skip=`expr $$skip + 1`; \
	      col=$$blu; res=SKIP; \
	    fi; \
	    echo "$${col}$$res$${std}: $$tst"; \
	  done; \
	  if test "$$all" -eq 1; then \
	    tests="test"; \
	    All=""; \
	  else \
	    tests="tests"; \
	    All="All "; \
	  fi; \
	  if test "$$failed" -eq 0; then \
	    if test "$$xfail" -eq 0; then \
	      banner="$$All$$all $$tests passed"; \
	    else \
	      if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
	      banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
	    fi; \
	  else \
	    if test "$$xpass" -eq 0; then \
	      banner="$$failed of $$all $$tests failed"; \
	    else \
	      if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
	      banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
	    fi; \
	  fi; \
	  dashes="$$banner"; \
	  skipped=""; \
	  if test "$$skip" -ne 0; then \
	    if test "$$skip" -eq 1; then \
	      skipped="($$skip test was not run)"; \
	    else \
	      skipped="($$skip tests were not run)"; \
	    fi; \
	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$skipped"; \
	  fi; \
	  report=""; \
	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
	    report="Please report to $(PACKAGE_BUGREPORT)"; \
	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$report"; \
	  fi; \
	  dashes=`echo "$$dashes" | sed s/./=/g`; \
	  if test "$$failed" -eq 0; then \
	    col="$$grn"; \
	  else \
	    col="$$red"; \
	  fi; \
	  echo "$${col}$$dashes$${std}"; \
	  echo "$${col}$$banner$${std}"; \
	  test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
	  test -z "$$report" || echo "$${col}$$report$${std}"; \
	  echo "$${col}$$dashes$${std}"; \
	  test "$$failed" -eq 0; \
	else :; fi

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_PROGRAMS) $(check_SCRIPTS)
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(HEADERS)
installdirs:
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)
	-rm -f harness/$(DEPDIR)/$(am__dirstamp)
	-rm -f harness/$(am__dirstamp)
	-rm -f perftest/$(DEPDIR)/$(am__dirstamp)
	-rm -f perftest/$(am__dirstamp)
	-rm -f soaktest/$(DEPDIR)/$(am__dirstamp)
	-rm -f soaktest/$(am__dirstamp)

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-checkPROGRAMS clean-generic clean-libtool clean-local \
	mostlyclean-am

distclean: distclean-am
	-rm -rf ./$(DEPDIR) harness/$(DEPDIR) perftest/$(DEPDIR) soaktest/$(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-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) harness/$(DEPDIR) perftest/$(DEPDIR) soaktest/$(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:

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

.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
	clean-checkPROGRAMS clean-generic clean-libtool clean-local \
	ctags 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-html install-html-am install-info \
	install-info-am install-man 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 uninstall uninstall-am


# Export these so that we run the locally installed autotools when building
# from a bootstrapped git tree.
@MAINTAINER_MODE_TRUE@export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE

.PHONY: check-none check-inmemory \
        check-multi check-multi-brass check-multi-chert check-multi-flint \
        check-remote check-remoteprog check-remotetcp \
	check-remoteprog-brass check-remoteprog-chert check-remoteprog-flint\
	check-remotetcp-brass check-remotetcp-chert check-remotetcp-flint\
	check-brass check-chert check-flint up remove-cached-databases

up:
	cd .. && $(MAKE)

check-none: apitest$(EXEEXT) \
            internaltest$(EXEEXT) \
	    stemtest$(EXEEXT) \
	    queryparsertest$(EXEEXT) \
	    termgentest$(EXEEXT) \
	    unittest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b none
	$(TESTS_ENVIRONMENT) ./internaltest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./stemtest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./queryparsertest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./termgentest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./unittest$(EXEEXT)

check-inmemory: apitest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b inmemory

check-multi: apitest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b multi

@BUILD_BACKEND_REMOTE_TRUE@check-remote: check-remoteprog check-remotetcp

@BUILD_BACKEND_REMOTE_TRUE@check-remoteprog: apitest$(EXEEXT)
@BUILD_BACKEND_CHERT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remoteprog_chert
@BUILD_BACKEND_CHERT_FALSE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remoteprog

@BUILD_BACKEND_REMOTE_TRUE@check-remotetcp: apitest$(EXEEXT)
@BUILD_BACKEND_BRASS_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remotetcp_brass
@BUILD_BACKEND_FLINT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remotetcp_flint
@BUILD_BACKEND_FLINT_FALSE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remotetcp

@BUILD_BACKEND_BRASS_TRUE@@BUILD_BACKEND_REMOTE_TRUE@check-remoteprog-brass: apitest$(EXEEXT)
@BUILD_BACKEND_BRASS_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remoteprog_brass
@BUILD_BACKEND_BRASS_TRUE@@BUILD_BACKEND_REMOTE_TRUE@check-remotetcp-brass: apitest$(EXEEXT)
@BUILD_BACKEND_BRASS_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remotetcp_brass

@BUILD_BACKEND_CHERT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@check-remoteprog-chert: apitest$(EXEEXT)
@BUILD_BACKEND_CHERT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remoteprog_chert
@BUILD_BACKEND_CHERT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@check-remotetcp-chert: apitest$(EXEEXT)
@BUILD_BACKEND_CHERT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remotetcp_chert

@BUILD_BACKEND_FLINT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@check-remoteprog-flint: apitest$(EXEEXT)
@BUILD_BACKEND_FLINT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remoteprog_flint
@BUILD_BACKEND_FLINT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@check-remotetcp-flint: apitest$(EXEEXT)
@BUILD_BACKEND_FLINT_TRUE@@BUILD_BACKEND_REMOTE_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b remotetcp_flint

@BUILD_BACKEND_BRASS_TRUE@check-multi-brass: apitest$(EXEEXT)
@BUILD_BACKEND_BRASS_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b multi_brass
@BUILD_BACKEND_BRASS_TRUE@check-brass: apitest$(EXEEXT)
@BUILD_BACKEND_BRASS_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b brass

@BUILD_BACKEND_CHERT_TRUE@check-multi-chert: apitest$(EXEEXT)
@BUILD_BACKEND_CHERT_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b multi_chert
@BUILD_BACKEND_CHERT_TRUE@check-chert: apitest$(EXEEXT)
@BUILD_BACKEND_CHERT_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b chert

@BUILD_BACKEND_FLINT_TRUE@check-multi-flint: apitest$(EXEEXT)
@BUILD_BACKEND_FLINT_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b multi_flint
@BUILD_BACKEND_FLINT_TRUE@check-flint: apitest$(EXEEXT)
@BUILD_BACKEND_FLINT_TRUE@	$(TESTS_ENVIRONMENT) ./apitest$(EXEEXT) -b flint

@MAINTAINER_MODE_TRUE@api_all.h api_collated.h $(collated_apitest_sources:.cc=.h): api_collated.stamp
@MAINTAINER_MODE_TRUE@	@if test -f $@; then :; else \
@MAINTAINER_MODE_TRUE@	  trap 'rm -rf api_collated.lock api_collated.stamp' 1 2 13 15; \
@MAINTAINER_MODE_TRUE@	  if mkdir api_collated.lock 2>/dev/null; then \
@MAINTAINER_MODE_TRUE@	    rm -f api_collated.stamp; \
@MAINTAINER_MODE_TRUE@	    $(MAKE) $(AM_MAKEFLAGS) api_collated.stamp; \
@MAINTAINER_MODE_TRUE@	    rmdir api_collated.lock; \
@MAINTAINER_MODE_TRUE@	  else \
@MAINTAINER_MODE_TRUE@	    while test -d api_collated.lock; do sleep 1; done; \
@MAINTAINER_MODE_TRUE@	    test -f api_collated.stamp; exit $$?; \
@MAINTAINER_MODE_TRUE@	  fi; \
@MAINTAINER_MODE_TRUE@	fi
@MAINTAINER_MODE_TRUE@api_collated.stamp: $(collated_apitest_sources) collate-test Makefile.am
@MAINTAINER_MODE_TRUE@	$(PERL) "$(srcdir)/collate-test" "$(srcdir)" api_collated.h api_all.h $(collated_apitest_sources)
@MAINTAINER_MODE_TRUE@	touch $@

@MAINTAINER_MODE_TRUE@api_generated.cc: generate-api_generated
@MAINTAINER_MODE_TRUE@	$(PERL) "$(srcdir)/generate-api_generated" > api_generated.ccT
@MAINTAINER_MODE_TRUE@	mv api_generated.ccT api_generated.cc

remove-cached-databases:
	rm -rf .brass .chert .flint .multibrass .multichert .multiflint .stub

clean-local: remove-cached-databases

# Remove the cached databases before "make check" to avoid issues with missing
# bugs in database creation when we reuse databases from a previous test run.
check: remove-cached-databases

.PHONY: check-perf

check-perf: perftest/perftest$(EXEEXT) perftest/get_machine_info
	VALGRIND= XAPIAN_TESTSUITE_LD_PRELOAD= $(TESTS_ENVIRONMENT) ./perftest/perftest$(EXEEXT)
perftest/get_machine_info: perftest/get_machine_info.in
	cd .. && $(MAKE) tests/perftest/get_machine_info

@MAINTAINER_MODE_TRUE@perftest/perftest_all.h perftest/perftest_collated.h $(collated_perftest_sources:.cc=.h): perftest/perftest_collated.stamp
@MAINTAINER_MODE_TRUE@	@if test -f $@; then :; else \
@MAINTAINER_MODE_TRUE@	  trap 'rm -rf perftest/perftest_collated.lock perftest/perftest_collated.stamp' 1 2 13 15; \
@MAINTAINER_MODE_TRUE@	  if mkdir perftest/perftest_collated.lock 2>/dev/null; then \
@MAINTAINER_MODE_TRUE@	    rm -f perftest/perftest_collated.stamp; \
@MAINTAINER_MODE_TRUE@	    $(MAKE) $(AM_MAKEFLAGS) perftest/perftest_collated.stamp; \
@MAINTAINER_MODE_TRUE@	    rmdir perftest/perftest_collated.lock; \
@MAINTAINER_MODE_TRUE@	  else \
@MAINTAINER_MODE_TRUE@	    while test -d perftest/perftest_collated.lock; do sleep 1; done; \
@MAINTAINER_MODE_TRUE@	    test -f perftest/perftest_collated.stamp; exit $$?; \
@MAINTAINER_MODE_TRUE@	  fi; \
@MAINTAINER_MODE_TRUE@	fi
@MAINTAINER_MODE_TRUE@perftest/perftest_collated.stamp: $(collated_perftest_sources) collate-test perftest/Makefile.mk
@MAINTAINER_MODE_TRUE@	$(PERL) "$(srcdir)/collate-test" "$(srcdir)" perftest/perftest_collated.h perftest/perftest_all.h $(collated_perftest_sources)
@MAINTAINER_MODE_TRUE@	touch $@

.PHONY: check-soak

check-soak: soaktest/soaktest$(EXEEXT)
	$(TESTS_ENVIRONMENT) ./soaktest/soaktest$(EXEEXT)

@MAINTAINER_MODE_TRUE@soaktest/soaktest_all.h soaktest/soaktest_collated.h $(collated_soaktest_sources:.cc=.h): soaktest/soaktest_collated.stamp
@MAINTAINER_MODE_TRUE@	@if test -f $@; then :; else \
@MAINTAINER_MODE_TRUE@	  trap 'rm -rf soaktest/soaktest_collated.lock soaktest/soaktest_collated.stamp' 1 2 13 15; \
@MAINTAINER_MODE_TRUE@	  if mkdir soaktest/soaktest_collated.lock 2>/dev/null; then \
@MAINTAINER_MODE_TRUE@	    rm -f soaktest/soaktest_collated.stamp; \
@MAINTAINER_MODE_TRUE@	    $(MAKE) $(AM_MAKEFLAGS) soaktest/soaktest_collated.stamp; \
@MAINTAINER_MODE_TRUE@	    rmdir soaktest/soaktest_collated.lock; \
@MAINTAINER_MODE_TRUE@	  else \
@MAINTAINER_MODE_TRUE@	    while test -d soaktest/soaktest_collated.lock; do sleep 1; done; \
@MAINTAINER_MODE_TRUE@	    test -f soaktest/soaktest_collated.stamp; exit $$?; \
@MAINTAINER_MODE_TRUE@	  fi; \
@MAINTAINER_MODE_TRUE@	fi
@MAINTAINER_MODE_TRUE@soaktest/soaktest_collated.stamp: $(collated_soaktest_sources) collate-test soaktest/Makefile.mk
@MAINTAINER_MODE_TRUE@	$(PERL) "$(srcdir)/collate-test" "$(srcdir)" soaktest/soaktest_collated.h soaktest/soaktest_all.h $(collated_soaktest_sources)
@MAINTAINER_MODE_TRUE@	touch $@

@USE_ZLIB_VG_TRUE@zlib-vg.so: zlib-vg.c
@USE_ZLIB_VG_TRUE@	$(CC_FOR_BUILD) -fPIC -shared -o zlib-vg.so $(srcdir)/zlib-vg.c -ldl

# 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:
