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