1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18
19VPATH = @srcdir@
20am__make_dryrun = \
21  { \
22    am__dry=no; \
23    case $$MAKEFLAGS in \
24      *\\[\ \	]*) \
25        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
26          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
27      *) \
28        for am__flg in $$MAKEFLAGS; do \
29          case $$am__flg in \
30            *=*|--*) ;; \
31            *n*) am__dry=yes; break;; \
32          esac; \
33        done;; \
34    esac; \
35    test $$am__dry = yes; \
36  }
37pkgdatadir = $(datadir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@
39pkglibdir = $(libdir)/@PACKAGE@
40pkglibexecdir = $(libexecdir)/@PACKAGE@
41am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42install_sh_DATA = $(install_sh) -c -m 644
43install_sh_PROGRAM = $(install_sh) -c
44install_sh_SCRIPT = $(install_sh) -c
45INSTALL_HEADER = $(INSTALL_DATA)
46transform = $(program_transform_name)
47NORMAL_INSTALL = :
48PRE_INSTALL = :
49POST_INSTALL = :
50NORMAL_UNINSTALL = :
51PRE_UNINSTALL = :
52POST_UNINSTALL = :
53build_triplet = @build@
54host_triplet = @host@
55DIST_COMMON = $(dist_docdata_DATA) $(dist_exampledata_DATA) \
56	$(srcdir)/../generic/generic.mk $(srcdir)/Makefile.am \
57	$(srcdir)/Makefile.in
58@MAINTAINER_MODE_TRUE@am__append_1 = except.i
59subdir = lua
60ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
62	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
63	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
64	$(top_srcdir)/configure.ac
65am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66	$(ACLOCAL_M4)
67mkinstalldirs = $(install_sh) -d
68CONFIG_HEADER = $(top_builddir)/config.h
69CONFIG_CLEAN_FILES =
70CONFIG_CLEAN_VPATH_FILES =
71am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
72am__vpath_adj = case $$p in \
73    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
74    *) f=$$p;; \
75  esac;
76am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
77am__install_max = 40
78am__nobase_strip_setup = \
79  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
80am__nobase_strip = \
81  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
82am__nobase_list = $(am__nobase_strip_setup); \
83  for p in $$list; do echo "$$p $$p"; done | \
84  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
85  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
86    if (++n[$$2] == $(am__install_max)) \
87      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
88    END { for (dir in files) print dir, files[dir] }'
89am__base_list = \
90  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
91  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
92am__uninstall_files_from_dir = { \
93  test -z "$$files" \
94    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
95    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
96         $(am__cd) "$$dir" && rm -f $$files; }; \
97  }
98am__installdirs = "$(DESTDIR)$(lualibdir)" "$(DESTDIR)$(docdatadir)" \
99	"$(DESTDIR)$(exampledatadir)"
100LTLIBRARIES = $(lualib_LTLIBRARIES)
101am__DEPENDENCIES_1 =
102xapian_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
103nodist_xapian_la_OBJECTS = xapian_wrap.lo
104xapian_la_OBJECTS = $(nodist_xapian_la_OBJECTS)
105xapian_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
106	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
107	$(CXXFLAGS) $(xapian_la_LDFLAGS) $(LDFLAGS) -o $@
108DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
109depcomp = $(SHELL) $(top_srcdir)/depcomp
110am__depfiles_maybe = depfiles
111am__mv = mv -f
112CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
113	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
114LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
115	--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
116	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
117CXXLD = $(CXX)
118CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
119	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
120	$(LDFLAGS) -o $@
121SOURCES = $(nodist_xapian_la_SOURCES)
122DIST_SOURCES =
123am__can_run_installinfo = \
124  case $$AM_UPDATE_INFO_DIR in \
125    n|no|NO) false;; \
126    *) (install-info --version) >/dev/null 2>&1;; \
127  esac
128DATA = $(dist_docdata_DATA) $(dist_exampledata_DATA)
129ETAGS = etags
130CTAGS = ctags
131am__tty_colors = \
132red=; grn=; lgn=; blu=; std=
133DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
134ACLOCAL = @ACLOCAL@
135AMTAR = @AMTAR@
136AR = @AR@
137AUTOCONF = @AUTOCONF@
138AUTOHEADER = @AUTOHEADER@
139AUTOM4TE = @AUTOM4TE@
140AUTOMAKE = @AUTOMAKE@
141AWK = @AWK@
142BINDINGS = @BINDINGS@
143CC = @CC@
144CCDEPMODE = @CCDEPMODE@
145CFLAGS = @CFLAGS@
146COMPAT_VERSION = @COMPAT_VERSION@
147CPP = @CPP@
148CPPFLAGS = @CPPFLAGS@
149CSC = @CSC@
150CXX = @CXX@
151CXXCPP = @CXXCPP@
152CXXDEPMODE = @CXXDEPMODE@
153CXXFLAGS = @CXXFLAGS@
154CYGPATH_W = @CYGPATH_W@
155DEFS = @DEFS@
156DEPDIR = @DEPDIR@
157DLLTOOL = @DLLTOOL@
158DSYMUTIL = @DSYMUTIL@
159DUMPBIN = @DUMPBIN@
160ECHO_C = @ECHO_C@
161ECHO_N = @ECHO_N@
162ECHO_T = @ECHO_T@
163EGREP = @EGREP@
164EXEEXT = @EXEEXT@
165FGREP = @FGREP@
166GACUTIL = @GACUTIL@
167GACUTIL_FLAGS = @GACUTIL_FLAGS@
168GREP = @GREP@
169INSTALL = @INSTALL@
170INSTALL_DATA = @INSTALL_DATA@
171INSTALL_PROGRAM = @INSTALL_PROGRAM@
172INSTALL_SCRIPT = @INSTALL_SCRIPT@
173INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
174INTREE_DYLD_PATH = @INTREE_DYLD_PATH@
175JAR = @JAR@
176JAVA = @JAVA@
177JAVAC = @JAVAC@
178JAVA_CPPFLAGS = @JAVA_CPPFLAGS@
179JAVA_CXXFLAGS = @JAVA_CXXFLAGS@
180JAVA_HOME = @JAVA_HOME@
181JAVA_PATHSEP = @JAVA_PATHSEP@
182JDK_HOME = @JDK_HOME@
183JNI_INCLUDE_DIR = @JNI_INCLUDE_DIR@
184LD = @LD@
185LDFLAGS = @LDFLAGS@
186LIBOBJS = @LIBOBJS@
187LIBS = @LIBS@
188
189# `make QUIET=' overrides `./configure --enable-quiet'.
190# `make QUIET=y' overrides `./configure' without `--enable-quiet'.
191LIBTOOL = @LIBTOOL@ $(QUIET:y=--quiet)
192LIPO = @LIPO@
193LN_S = @LN_S@
194LTLIBOBJS = @LTLIBOBJS@
195LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
196LUA = @LUA@
197LUA_CPPFLAGS = @LUA_CPPFLAGS@
198LUA_INC = @LUA_INC@
199LUA_LIB = @LUA_LIB@
200LUA_SO = @LUA_SO@
201MAINT = @MAINT@
202MAKEINFO = @MAKEINFO@
203MANIFEST_TOOL = @MANIFEST_TOOL@
204MKDIR_P = @MKDIR_P@
205MONO = @MONO@
206NM = @NM@
207NMEDIT = @NMEDIT@
208NO_UNDEFINED = @NO_UNDEFINED@
209OBJDUMP = @OBJDUMP@
210OBJEXT = @OBJEXT@
211OTOOL = @OTOOL@
212OTOOL64 = @OTOOL64@
213OVERRIDE_MACOSX_DEPLOYMENT_TARGET = @OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
214PACKAGE = @PACKAGE@
215PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
216PACKAGE_NAME = @PACKAGE_NAME@
217PACKAGE_STRING = @PACKAGE_STRING@
218PACKAGE_TARNAME = @PACKAGE_TARNAME@
219PACKAGE_URL = @PACKAGE_URL@
220PACKAGE_VERSION = @PACKAGE_VERSION@
221PATH_SEPARATOR = @PATH_SEPARATOR@
222PERL = @PERL@
223PERL_ARCH = @PERL_ARCH@
224PERL_INC = @PERL_INC@
225PERL_LIB = @PERL_LIB@
226PERL_SO = @PERL_SO@
227PERL_XAPIAN_VERSION = @PERL_XAPIAN_VERSION@
228PHP = @PHP@
229PHP_CONFIG = @PHP_CONFIG@
230PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@
231PHP_INC = @PHP_INC@
232PHP_LIBS = @PHP_LIBS@
233PHP_MAJOR_VERSION = @PHP_MAJOR_VERSION@
234PHP_PATH_SEPARATOR = @PHP_PATH_SEPARATOR@
235PYTHON = @PYTHON@
236PYTHON_INC = @PYTHON_INC@
237PYTHON_LIB = @PYTHON_LIB@
238PYTHON_LIBS = @PYTHON_LIBS@
239PYTHON_SO = @PYTHON_SO@
240QUIET = @QUIET@
241RANLIB = @RANLIB@
242RDOC = @RDOC@
243RUBY = @RUBY@
244RUBY_DLEXT = @RUBY_DLEXT@
245RUBY_INC = @RUBY_INC@
246RUBY_INC_ARCH = @RUBY_INC_ARCH@
247RUBY_LIB = @RUBY_LIB@
248RUBY_LIBS = @RUBY_LIBS@
249RUBY_LIB_ARCH = @RUBY_LIB_ARCH@
250RUN_CSHARP = @RUN_CSHARP@
251SED = @SED@
252SET_MAKE = @SET_MAKE@
253SHELL = @SHELL@
254SN = @SN@
255STRIP = @STRIP@
256SWIG = @SWIG@
257SWIG_CXXFLAGS = @SWIG_CXXFLAGS@
258SWIG_FLAGS = @SWIG_FLAGS@
259TCLSH = @TCLSH@
260TCL_CPPFLAGS = @TCL_CPPFLAGS@
261TCL_INC = @TCL_INC@
262TCL_LIB = @TCL_LIB@
263TCL_LIBS = @TCL_LIBS@
264VERSION = @VERSION@
265VERSION_NO_SNAPSHOT = @VERSION_NO_SNAPSHOT@
266XAPIAN_CONFIG = @XAPIAN_CONFIG@
267XAPIAN_CXXFLAGS = @XAPIAN_CXXFLAGS@
268XAPIAN_LIBS = @XAPIAN_LIBS@
269XAPIAN_VERSION = @XAPIAN_VERSION@
270abs_builddir = @abs_builddir@
271abs_srcdir = @abs_srcdir@
272abs_top_builddir = @abs_top_builddir@
273abs_top_srcdir = @abs_top_srcdir@
274ac_ct_AR = @ac_ct_AR@
275ac_ct_CC = @ac_ct_CC@
276ac_ct_CXX = @ac_ct_CXX@
277ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
278am__include = @am__include@
279am__leading_dot = @am__leading_dot@
280am__quote = @am__quote@
281am__tar = @am__tar@
282am__untar = @am__untar@
283bindir = @bindir@
284build = @build@
285build_alias = @build_alias@
286build_cpu = @build_cpu@
287build_os = @build_os@
288build_vendor = @build_vendor@
289builddir = @builddir@
290datadir = @datadir@
291datarootdir = @datarootdir@
292docdir = @docdir@
293dvidir = @dvidir@
294exec_prefix = @exec_prefix@
295host = @host@
296host_alias = @host_alias@
297host_cpu = @host_cpu@
298host_os = @host_os@
299host_vendor = @host_vendor@
300htmldir = @htmldir@
301includedir = @includedir@
302infodir = @infodir@
303install_sh = @install_sh@
304libdir = @libdir@
305libexecdir = @libexecdir@
306localedir = @localedir@
307localstatedir = @localstatedir@
308mandir = @mandir@
309mkdir_p = @mkdir_p@
310oldincludedir = @oldincludedir@
311pdfdir = @pdfdir@
312prefix = @prefix@
313program_transform_name = @program_transform_name@
314psdir = @psdir@
315sbindir = @sbindir@
316sharedstatedir = @sharedstatedir@
317srcdir = @srcdir@
318sysconfdir = @sysconfdir@
319target_alias = @target_alias@
320top_build_prefix = @top_build_prefix@
321top_builddir = @top_builddir@
322top_srcdir = @top_srcdir@
323
324# Recover from the removal of $@.  A full explanation of this is in the
325# automake manual under the heading "Multiple Outputs".
326make_many_locked = \
327if test -f $@; then :; else \
328  trap 'rm -rf "$$stamp-lck" "$$stamp"' 1 2 13 15; \
329  if mkdir "$$stamp-lck" 2>/dev/null; then \
330    rm -f "$$stamp"; \
331    $(MAKE) $(AM_MAKEFLAGS) "$$stamp"; \
332    result=$$?; rm -rf "$$stamp-lck"; exit $$result; \
333  else \
334    while test -d "$$stamp-lck"; do sleep 1; done; \
335    test -f "$$stamp"; \
336  fi; \
337fi
338
339multitarget_begin = @rm -f $@-t; touch $@-t
340multitarget_end = @mv -f $@-t $@
341SWIG_mainsource = \
342	$(srcdir)/../xapian.i
343
344SWIG_sources = \
345	$(SWIG_mainsource) \
346	$(srcdir)/../generic/except.i
347
348SWIG_includes = \
349	-I$(srcdir) \
350	-I$(srcdir)/../generic
351
352TESTS_ENVIRONMENT = LUA_CPATH='.libs/?$(LUA_SO)' $(LUA)
353TESTS = smoketest.lua
354EXTRA_DIST = util.i except.i \
355	generate-lua-exceptions \
356	$(TESTS) $(BUILT_SOURCES)
357
358lualibdir = @LUA_LIB@
359lualib_LTLIBRARIES = xapian.la
360AM_CPPFLAGS = @LUA_CPPFLAGS@
361AM_CXXFLAGS = @SWIG_CXXFLAGS@ $(XAPIAN_CXXFLAGS)
362xapian_la_LDFLAGS = -avoid-version -module -shrext "$(LUA_SO)" $(NO_UNDEFINED)
363nodist_xapian_la_SOURCES = xapian_wrap.cc
364xapian_la_LIBADD = $(XAPIAN_LIBS)
365BUILT_SOURCES = xapian_wrap.cc $(am__append_1)
366MAINTAINERCLEANFILES = $(BUILT_SOURCES)
367exampledatadir = $(docdir)/lua/examples
368dist_exampledata_DATA = \
369	docs/examples/simpleindex.lua \
370	docs/examples/simpleexpand.lua \
371	docs/examples/simplematchdecider.lua \
372	docs/examples/simplesearch.lua
373
374docdatadir = $(docdir)/lua
375dist_docdata_DATA = docs/index.html
376all: $(BUILT_SOURCES)
377	$(MAKE) $(AM_MAKEFLAGS) all-am
378
379.SUFFIXES:
380.SUFFIXES: .cc .lo .o .obj
381$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../generic/generic.mk $(am__configure_deps)
382	@for dep in $?; do \
383	  case '$(am__configure_deps)' in \
384	    *$$dep*) \
385	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
386	        && { if test -f $@; then exit 0; else break; fi; }; \
387	      exit 1;; \
388	  esac; \
389	done; \
390	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lua/Makefile'; \
391	$(am__cd) $(top_srcdir) && \
392	  $(AUTOMAKE) --gnu lua/Makefile
393.PRECIOUS: Makefile
394Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
395	@case '$?' in \
396	  *config.status*) \
397	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
398	  *) \
399	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
400	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
401	esac;
402$(srcdir)/../generic/generic.mk:
403
404$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
405	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
406
407$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
408	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
409$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
410	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
411$(am__aclocal_m4_deps):
412install-lualibLTLIBRARIES: $(lualib_LTLIBRARIES)
413	@$(NORMAL_INSTALL)
414	@list='$(lualib_LTLIBRARIES)'; test -n "$(lualibdir)" || list=; \
415	list2=; for p in $$list; do \
416	  if test -f $$p; then \
417	    list2="$$list2 $$p"; \
418	  else :; fi; \
419	done; \
420	test -z "$$list2" || { \
421	  echo " $(MKDIR_P) '$(DESTDIR)$(lualibdir)'"; \
422	  $(MKDIR_P) "$(DESTDIR)$(lualibdir)" || exit 1; \
423	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(lualibdir)'"; \
424	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(lualibdir)"; \
425	}
426
427uninstall-lualibLTLIBRARIES:
428	@$(NORMAL_UNINSTALL)
429	@list='$(lualib_LTLIBRARIES)'; test -n "$(lualibdir)" || list=; \
430	for p in $$list; do \
431	  $(am__strip_dir) \
432	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(lualibdir)/$$f'"; \
433	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(lualibdir)/$$f"; \
434	done
435
436clean-lualibLTLIBRARIES:
437	-test -z "$(lualib_LTLIBRARIES)" || rm -f $(lualib_LTLIBRARIES)
438	@list='$(lualib_LTLIBRARIES)'; for p in $$list; do \
439	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
440	  test "$$dir" != "$$p" || dir=.; \
441	  echo "rm -f \"$${dir}/so_locations\""; \
442	  rm -f "$${dir}/so_locations"; \
443	done
444xapian.la: $(xapian_la_OBJECTS) $(xapian_la_DEPENDENCIES) $(EXTRA_xapian_la_DEPENDENCIES)
445	$(xapian_la_LINK) -rpath $(lualibdir) $(xapian_la_OBJECTS) $(xapian_la_LIBADD) $(LIBS)
446
447mostlyclean-compile:
448	-rm -f *.$(OBJEXT)
449
450distclean-compile:
451	-rm -f *.tab.c
452
453@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xapian_wrap.Plo@am__quote@
454
455.cc.o:
456@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
457@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
458@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
459@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
460@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
461
462.cc.obj:
463@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
464@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
465@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
466@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
467@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
468
469.cc.lo:
470@am__fastdepCXX_TRUE@	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
471@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
472@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
473@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
474@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<
475
476mostlyclean-libtool:
477	-rm -f *.lo
478
479clean-libtool:
480	-rm -rf .libs _libs
481install-dist_docdataDATA: $(dist_docdata_DATA)
482	@$(NORMAL_INSTALL)
483	@list='$(dist_docdata_DATA)'; test -n "$(docdatadir)" || list=; \
484	if test -n "$$list"; then \
485	  echo " $(MKDIR_P) '$(DESTDIR)$(docdatadir)'"; \
486	  $(MKDIR_P) "$(DESTDIR)$(docdatadir)" || exit 1; \
487	fi; \
488	for p in $$list; do \
489	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
490	  echo "$$d$$p"; \
491	done | $(am__base_list) | \
492	while read files; do \
493	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdatadir)'"; \
494	  $(INSTALL_DATA) $$files "$(DESTDIR)$(docdatadir)" || exit $$?; \
495	done
496
497uninstall-dist_docdataDATA:
498	@$(NORMAL_UNINSTALL)
499	@list='$(dist_docdata_DATA)'; test -n "$(docdatadir)" || list=; \
500	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
501	dir='$(DESTDIR)$(docdatadir)'; $(am__uninstall_files_from_dir)
502install-dist_exampledataDATA: $(dist_exampledata_DATA)
503	@$(NORMAL_INSTALL)
504	@list='$(dist_exampledata_DATA)'; test -n "$(exampledatadir)" || list=; \
505	if test -n "$$list"; then \
506	  echo " $(MKDIR_P) '$(DESTDIR)$(exampledatadir)'"; \
507	  $(MKDIR_P) "$(DESTDIR)$(exampledatadir)" || exit 1; \
508	fi; \
509	for p in $$list; do \
510	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
511	  echo "$$d$$p"; \
512	done | $(am__base_list) | \
513	while read files; do \
514	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(exampledatadir)'"; \
515	  $(INSTALL_DATA) $$files "$(DESTDIR)$(exampledatadir)" || exit $$?; \
516	done
517
518uninstall-dist_exampledataDATA:
519	@$(NORMAL_UNINSTALL)
520	@list='$(dist_exampledata_DATA)'; test -n "$(exampledatadir)" || list=; \
521	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
522	dir='$(DESTDIR)$(exampledatadir)'; $(am__uninstall_files_from_dir)
523
524ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
525	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
526	unique=`for i in $$list; do \
527	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
528	  done | \
529	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
530	      END { if (nonempty) { for (i in files) print i; }; }'`; \
531	mkid -fID $$unique
532tags: TAGS
533
534TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
535		$(TAGS_FILES) $(LISP)
536	set x; \
537	here=`pwd`; \
538	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
539	unique=`for i in $$list; do \
540	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
541	  done | \
542	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
543	      END { if (nonempty) { for (i in files) print i; }; }'`; \
544	shift; \
545	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
546	  test -n "$$unique" || unique=$$empty_fix; \
547	  if test $$# -gt 0; then \
548	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
549	      "$$@" $$unique; \
550	  else \
551	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
552	      $$unique; \
553	  fi; \
554	fi
555ctags: CTAGS
556CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
557		$(TAGS_FILES) $(LISP)
558	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
559	unique=`for i in $$list; do \
560	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
561	  done | \
562	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
563	      END { if (nonempty) { for (i in files) print i; }; }'`; \
564	test -z "$(CTAGS_ARGS)$$unique" \
565	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
566	     $$unique
567
568GTAGS:
569	here=`$(am__cd) $(top_builddir) && pwd` \
570	  && $(am__cd) $(top_srcdir) \
571	  && gtags -i $(GTAGS_ARGS) "$$here"
572
573distclean-tags:
574	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
575
576check-TESTS: $(TESTS)
577	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
578	srcdir=$(srcdir); export srcdir; \
579	list=' $(TESTS) '; \
580	$(am__tty_colors); \
581	if test -n "$$list"; then \
582	  for tst in $$list; do \
583	    if test -f ./$$tst; then dir=./; \
584	    elif test -f $$tst; then dir=; \
585	    else dir="$(srcdir)/"; fi; \
586	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
587	      all=`expr $$all + 1`; \
588	      case " $(XFAIL_TESTS) " in \
589	      *[\ \	]$$tst[\ \	]*) \
590		xpass=`expr $$xpass + 1`; \
591		failed=`expr $$failed + 1`; \
592		col=$$red; res=XPASS; \
593	      ;; \
594	      *) \
595		col=$$grn; res=PASS; \
596	      ;; \
597	      esac; \
598	    elif test $$? -ne 77; then \
599	      all=`expr $$all + 1`; \
600	      case " $(XFAIL_TESTS) " in \
601	      *[\ \	]$$tst[\ \	]*) \
602		xfail=`expr $$xfail + 1`; \
603		col=$$lgn; res=XFAIL; \
604	      ;; \
605	      *) \
606		failed=`expr $$failed + 1`; \
607		col=$$red; res=FAIL; \
608	      ;; \
609	      esac; \
610	    else \
611	      skip=`expr $$skip + 1`; \
612	      col=$$blu; res=SKIP; \
613	    fi; \
614	    echo "$${col}$$res$${std}: $$tst"; \
615	  done; \
616	  if test "$$all" -eq 1; then \
617	    tests="test"; \
618	    All=""; \
619	  else \
620	    tests="tests"; \
621	    All="All "; \
622	  fi; \
623	  if test "$$failed" -eq 0; then \
624	    if test "$$xfail" -eq 0; then \
625	      banner="$$All$$all $$tests passed"; \
626	    else \
627	      if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
628	      banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
629	    fi; \
630	  else \
631	    if test "$$xpass" -eq 0; then \
632	      banner="$$failed of $$all $$tests failed"; \
633	    else \
634	      if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
635	      banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
636	    fi; \
637	  fi; \
638	  dashes="$$banner"; \
639	  skipped=""; \
640	  if test "$$skip" -ne 0; then \
641	    if test "$$skip" -eq 1; then \
642	      skipped="($$skip test was not run)"; \
643	    else \
644	      skipped="($$skip tests were not run)"; \
645	    fi; \
646	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
647	      dashes="$$skipped"; \
648	  fi; \
649	  report=""; \
650	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
651	    report="Please report to $(PACKAGE_BUGREPORT)"; \
652	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
653	      dashes="$$report"; \
654	  fi; \
655	  dashes=`echo "$$dashes" | sed s/./=/g`; \
656	  if test "$$failed" -eq 0; then \
657	    col="$$grn"; \
658	  else \
659	    col="$$red"; \
660	  fi; \
661	  echo "$${col}$$dashes$${std}"; \
662	  echo "$${col}$$banner$${std}"; \
663	  test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
664	  test -z "$$report" || echo "$${col}$$report$${std}"; \
665	  echo "$${col}$$dashes$${std}"; \
666	  test "$$failed" -eq 0; \
667	else :; fi
668
669distdir: $(DISTFILES)
670	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
671	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
672	list='$(DISTFILES)'; \
673	  dist_files=`for file in $$list; do echo $$file; done | \
674	  sed -e "s|^$$srcdirstrip/||;t" \
675	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
676	case $$dist_files in \
677	  */*) $(MKDIR_P) `echo "$$dist_files" | \
678			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
679			   sort -u` ;; \
680	esac; \
681	for file in $$dist_files; do \
682	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
683	  if test -d $$d/$$file; then \
684	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
685	    if test -d "$(distdir)/$$file"; then \
686	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
687	    fi; \
688	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
689	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
690	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
691	    fi; \
692	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
693	  else \
694	    test -f "$(distdir)/$$file" \
695	    || cp -p $$d/$$file "$(distdir)/$$file" \
696	    || exit 1; \
697	  fi; \
698	done
699check-am: all-am
700	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
701check: $(BUILT_SOURCES)
702	$(MAKE) $(AM_MAKEFLAGS) check-am
703all-am: Makefile $(LTLIBRARIES) $(DATA)
704installdirs:
705	for dir in "$(DESTDIR)$(lualibdir)" "$(DESTDIR)$(docdatadir)" "$(DESTDIR)$(exampledatadir)"; do \
706	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
707	done
708install: $(BUILT_SOURCES)
709	$(MAKE) $(AM_MAKEFLAGS) install-am
710install-exec: install-exec-am
711install-data: install-data-am
712uninstall: uninstall-am
713
714install-am: all-am
715	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
716
717installcheck: installcheck-am
718install-strip:
719	if test -z '$(STRIP)'; then \
720	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
721	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
722	      install; \
723	else \
724	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
725	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
726	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
727	fi
728mostlyclean-generic:
729
730clean-generic:
731
732distclean-generic:
733	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
734	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
735
736maintainer-clean-generic:
737	@echo "This command is intended for maintainers to use"
738	@echo "it deletes files that may require special tools to rebuild."
739	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
740	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
741clean: clean-am
742
743clean-am: clean-generic clean-libtool clean-lualibLTLIBRARIES \
744	mostlyclean-am
745
746distclean: distclean-am
747	-rm -rf ./$(DEPDIR)
748	-rm -f Makefile
749distclean-am: clean-am distclean-compile distclean-generic \
750	distclean-tags
751
752dvi: dvi-am
753
754dvi-am:
755
756html: html-am
757
758html-am:
759
760info: info-am
761
762info-am:
763
764install-data-am: install-dist_docdataDATA install-dist_exampledataDATA \
765	install-lualibLTLIBRARIES
766	@$(NORMAL_INSTALL)
767	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
768install-dvi: install-dvi-am
769
770install-dvi-am:
771
772install-exec-am:
773
774install-html: install-html-am
775
776install-html-am:
777
778install-info: install-info-am
779
780install-info-am:
781
782install-man:
783
784install-pdf: install-pdf-am
785
786install-pdf-am:
787
788install-ps: install-ps-am
789
790install-ps-am:
791
792installcheck-am:
793
794maintainer-clean: maintainer-clean-am
795	-rm -rf ./$(DEPDIR)
796	-rm -f Makefile
797maintainer-clean-am: distclean-am maintainer-clean-generic
798
799mostlyclean: mostlyclean-am
800
801mostlyclean-am: mostlyclean-compile mostlyclean-generic \
802	mostlyclean-libtool
803
804pdf: pdf-am
805
806pdf-am:
807
808ps: ps-am
809
810ps-am:
811
812uninstall-am: uninstall-dist_docdataDATA \
813	uninstall-dist_exampledataDATA uninstall-local \
814	uninstall-lualibLTLIBRARIES
815
816.MAKE: all check check-am install install-am install-data-am \
817	install-strip
818
819.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
820	clean-generic clean-libtool clean-lualibLTLIBRARIES ctags \
821	distclean distclean-compile distclean-generic \
822	distclean-libtool distclean-tags distdir dvi dvi-am html \
823	html-am info info-am install install-am install-data \
824	install-data-am install-data-hook install-dist_docdataDATA \
825	install-dist_exampledataDATA install-dvi install-dvi-am \
826	install-exec install-exec-am install-html install-html-am \
827	install-info install-info-am install-lualibLTLIBRARIES \
828	install-man install-pdf install-pdf-am install-ps \
829	install-ps-am install-strip installcheck installcheck-am \
830	installdirs maintainer-clean maintainer-clean-generic \
831	mostlyclean mostlyclean-compile mostlyclean-generic \
832	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
833	uninstall-am uninstall-dist_docdataDATA \
834	uninstall-dist_exampledataDATA uninstall-local \
835	uninstall-lualibLTLIBRARIES
836
837
838# Export these so that we run the locally installed autotools when building
839# from a bootstrapped git tree.
840@MAINTAINER_MODE_TRUE@export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
841
842# This requires GNU make, but apparently that's the default on OS X.
843@OVERRIDE_MACOSX_DEPLOYMENT_TARGET_TRUE@export MACOSX_DEPLOYMENT_TARGET=@OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
844
845# This is a hack for Mac OS X to enable tests to work when built against an
846# uninstalled xapian-core tree.  See https://trac.xapian.org/ticket/322
847@NEED_INTREE_DYLD_TRUE@@OVERRIDE_MACOSX_DEPLOYMENT_TARGET_TRUE@export DYLD_LIBRARY_PATH=$(INTREE_DYLD_PATH)
848
849# Remove the .la file - xapian.la is never linked against (it's a module)
850# and LUA doesn't use libltdl.  Note that the library gets installed by
851# install-data, so that's where we need to hook.
852install-data-hook:
853	rm -f $(DESTDIR)$(lualibdir)/xapian.la
854
855# Because we don't install the .la file, "make uninstall" doesn't work and
856# we need to remove the file ourselves.
857uninstall-local:
858	rm -f $(DESTDIR)$(lualibdir)/xapian$(LUA_SO)
859@MAINTAINER_MODE_TRUE@except.i: $(srcdir)/generate-lua-exceptions ../../xapian-core/exception_data.pm
860@MAINTAINER_MODE_TRUE@	$(PERL) -w -I$(srcdir)/../../xapian-core $(srcdir)/generate-lua-exceptions
861
862@MAINTAINER_MODE_TRUE@xapian_wrap.cc: $(SWIG_sources) util.i except.i
863@MAINTAINER_MODE_TRUE@	$(SWIG) $(SWIG_includes) $(SWIG_FLAGS) -c++ \
864@MAINTAINER_MODE_TRUE@	    -lua \
865@MAINTAINER_MODE_TRUE@	    -o xapian_wrap_cc.tmp -MD -MF xapian_wrap_d.tmp $(SWIG_mainsource)
866@MAINTAINER_MODE_TRUE@	$(PERL) -p -e 's/\blua_strlen\(/lua_rawlen\(/;s/\bluaL_reg\b/luaL_Reg/;/end module/../return/ and /lua_pop/ and $$_=""' xapian_wrap_cc.tmp > xapian_wrap.cc
867@MAINTAINER_MODE_TRUE@	rm xapian_wrap_cc.tmp
868@MAINTAINER_MODE_TRUE@	mv xapian_wrap_d.tmp xapian_wrap.d
869
870@MAINTAINER_MODE_TRUE@-include xapian_wrap.d
871
872# Tell versions [3.59,3.63) of GNU make to not export all variables.
873# Otherwise a system limit (for SysV at least) may be exceeded.
874.NOEXPORT:
875