| 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 |
# -*- Mode: Makefile -*- |
| 19 |
# |
| 20 |
# Makefile.am - automake file for PHP interface to Redland |
| 21 |
# |
| 22 |
# Copyright (C) 2002-2012 David Beckett - http://www.dajobe.org/ |
| 23 |
# Copyright (C) 2002-2005 University of Bristol - http://www.bristol.ac.uk/ |
| 24 |
# |
| 25 |
# This package is Free Software and part of Redland http://librdf.org/ |
| 26 |
# |
| 27 |
# It is licensed under the following three licenses as alternatives: |
| 28 |
# 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version |
| 29 |
# 2. GNU General Public License (GPL) V2 or any newer version |
| 30 |
# 3. Apache License, V2.0 or any newer version |
| 31 |
# |
| 32 |
# You may not use this file except in compliance with at least one of |
| 33 |
# the above three licenses. |
| 34 |
# |
| 35 |
# See LICENSE.html or LICENSE.txt at the top of this package for the |
| 36 |
# full license terms. |
| 37 |
# |
| 38 |
|
| 39 |
VPATH = @srcdir@ |
| 40 |
am__make_dryrun = \ |
| 41 |
{ \ |
| 42 |
am__dry=no; \ |
| 43 |
case $$MAKEFLAGS in \ |
| 44 |
*\\[\ \ ]*) \ |
| 45 |
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ |
| 46 |
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \ |
| 47 |
*) \ |
| 48 |
for am__flg in $$MAKEFLAGS; do \ |
| 49 |
case $$am__flg in \ |
| 50 |
*=*|--*) ;; \ |
| 51 |
*n*) am__dry=yes; break;; \ |
| 52 |
esac; \ |
| 53 |
done;; \ |
| 54 |
esac; \ |
| 55 |
test $$am__dry = yes; \ |
| 56 |
} |
| 57 |
pkgdatadir = $(datadir)/@PACKAGE@ |
| 58 |
pkgincludedir = $(includedir)/@PACKAGE@ |
| 59 |
pkglibdir = $(libdir)/@PACKAGE@ |
| 60 |
pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 61 |
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 62 |
install_sh_DATA = $(install_sh) -c -m 644 |
| 63 |
install_sh_PROGRAM = $(install_sh) -c |
| 64 |
install_sh_SCRIPT = $(install_sh) -c |
| 65 |
INSTALL_HEADER = $(INSTALL_DATA) |
| 66 |
transform = $(program_transform_name) |
| 67 |
NORMAL_INSTALL = : |
| 68 |
PRE_INSTALL = : |
| 69 |
POST_INSTALL = : |
| 70 |
NORMAL_UNINSTALL = : |
| 71 |
PRE_UNINSTALL = : |
| 72 |
POST_UNINSTALL = : |
| 73 |
build_triplet = @build@ |
| 74 |
host_triplet = @host@ |
| 75 |
subdir = php |
| 76 |
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in |
| 77 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 78 |
am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
| 79 |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 80 |
$(ACLOCAL_M4) |
| 81 |
mkinstalldirs = $(install_sh) -d |
| 82 |
CONFIG_HEADER = $(top_builddir)/bindings_config.h |
| 83 |
CONFIG_CLEAN_FILES = |
| 84 |
CONFIG_CLEAN_VPATH_FILES = |
| 85 |
SOURCES = |
| 86 |
DIST_SOURCES = |
| 87 |
am__can_run_installinfo = \ |
| 88 |
case $$AM_UPDATE_INFO_DIR in \ |
| 89 |
n|no|NO) false;; \ |
| 90 |
*) (install-info --version) >/dev/null 2>&1;; \ |
| 91 |
esac |
| 92 |
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
| 93 |
am__vpath_adj = case $$p in \ |
| 94 |
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
| 95 |
*) f=$$p;; \ |
| 96 |
esac; |
| 97 |
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
| 98 |
am__install_max = 40 |
| 99 |
am__nobase_strip_setup = \ |
| 100 |
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
| 101 |
am__nobase_strip = \ |
| 102 |
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
| 103 |
am__nobase_list = $(am__nobase_strip_setup); \ |
| 104 |
for p in $$list; do echo "$$p $$p"; done | \ |
| 105 |
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
| 106 |
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
| 107 |
if (++n[$$2] == $(am__install_max)) \ |
| 108 |
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
| 109 |
END { for (dir in files) print dir, files[dir] }' |
| 110 |
am__base_list = \ |
| 111 |
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
| 112 |
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
| 113 |
am__uninstall_files_from_dir = { \ |
| 114 |
test -z "$$files" \ |
| 115 |
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ |
| 116 |
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \ |
| 117 |
$(am__cd) "$$dir" && rm -f $$files; }; \ |
| 118 |
} |
| 119 |
am__installdirs = "$(DESTDIR)$(phpdir)" |
| 120 |
DATA = $(php_DATA) |
| 121 |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 122 |
ACLOCAL = @ACLOCAL@ |
| 123 |
AMTAR = @AMTAR@ |
| 124 |
AR = @AR@ |
| 125 |
AUTOCONF = @AUTOCONF@ |
| 126 |
AUTOHEADER = @AUTOHEADER@ |
| 127 |
AUTOMAKE = @AUTOMAKE@ |
| 128 |
AWK = @AWK@ |
| 129 |
CC = @CC@ |
| 130 |
CCDEPMODE = @CCDEPMODE@ |
| 131 |
CFLAGS = @CFLAGS@ |
| 132 |
CPP = @CPP@ |
| 133 |
CPPFLAGS = @CPPFLAGS@ |
| 134 |
CYGPATH_W = @CYGPATH_W@ |
| 135 |
DEFS = @DEFS@ |
| 136 |
DEPDIR = @DEPDIR@ |
| 137 |
DLLTOOL = @DLLTOOL@ |
| 138 |
DSYMUTIL = @DSYMUTIL@ |
| 139 |
DUMPBIN = @DUMPBIN@ |
| 140 |
ECHO = @ECHO@ |
| 141 |
ECHO_C = @ECHO_C@ |
| 142 |
ECHO_N = @ECHO_N@ |
| 143 |
ECHO_T = @ECHO_T@ |
| 144 |
EGREP = @EGREP@ |
| 145 |
EXEEXT = @EXEEXT@ |
| 146 |
FGREP = @FGREP@ |
| 147 |
GREP = @GREP@ |
| 148 |
INSTALL = @INSTALL@ |
| 149 |
INSTALL_DATA = @INSTALL_DATA@ |
| 150 |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 151 |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 152 |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 153 |
LD = @LD@ |
| 154 |
LDFLAGS = @LDFLAGS@ |
| 155 |
LIBOBJS = @LIBOBJS@ |
| 156 |
LIBRDF_CPPFLAGS = @LIBRDF_CPPFLAGS@ |
| 157 |
LIBRDF_LDFLAGS = @LIBRDF_LDFLAGS@ |
| 158 |
LIBS = @LIBS@ |
| 159 |
LIBTOOL = @LIBTOOL@ |
| 160 |
LIPO = @LIPO@ |
| 161 |
LN_S = @LN_S@ |
| 162 |
LTLIBOBJS = @LTLIBOBJS@ |
| 163 |
LUA = @LUA@ |
| 164 |
LUA_CFLAGS = @LUA_CFLAGS@ |
| 165 |
LUA_LDFLAGS = @LUA_LDFLAGS@ |
| 166 |
MAINT = @MAINT@ |
| 167 |
MAKEINFO = @MAKEINFO@ |
| 168 |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
| 169 |
MEM = @MEM@ |
| 170 |
MEM_LIBS = @MEM_LIBS@ |
| 171 |
MKDIR_P = @MKDIR_P@ |
| 172 |
NM = @NM@ |
| 173 |
NMEDIT = @NMEDIT@ |
| 174 |
OBJDUMP = @OBJDUMP@ |
| 175 |
OBJEXT = @OBJEXT@ |
| 176 |
OTOOL = @OTOOL@ |
| 177 |
OTOOL64 = @OTOOL64@ |
| 178 |
PACKAGE = @PACKAGE@ |
| 179 |
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 180 |
PACKAGE_NAME = @PACKAGE_NAME@ |
| 181 |
PACKAGE_STRING = @PACKAGE_STRING@ |
| 182 |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 183 |
PACKAGE_URL = @PACKAGE_URL@ |
| 184 |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 185 |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 186 |
PERL = @PERL@ |
| 187 |
PERLINSTALLSITEARCH = @PERLINSTALLSITEARCH@ |
| 188 |
PERLMAN3DIR = @PERLMAN3DIR@ |
| 189 |
PERL_MAKEMAKER_ARGS = @PERL_MAKEMAKER_ARGS@ |
| 190 |
PERL_VERSION = @PERL_VERSION@ |
| 191 |
PHP = php |
| 192 |
PHP_CFLAGS = @PHP_CFLAGS@ |
| 193 |
PHP_CONFIG = @PHP_CONFIG@ |
| 194 |
PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@ |
| 195 |
PHP_INCLUDES = @PHP_INCLUDES@ |
| 196 |
PHP_LDFLAGS = @PHP_LDFLAGS@ |
| 197 |
PHP_SO_SUFFIX = @PHP_SO_SUFFIX@ |
| 198 |
PHP_SWIG = @PHP_SWIG@ |
| 199 |
PHP_VERSION = @PHP_VERSION@ |
| 200 |
PKG_CONFIG = @PKG_CONFIG@ |
| 201 |
PYTHON = @PYTHON@ |
| 202 |
PYTHON_INCLUDES = @PYTHON_INCLUDES@ |
| 203 |
PYTHON_LDFLAGS = @PYTHON_LDFLAGS@ |
| 204 |
PYTHON_LIB = @PYTHON_LIB@ |
| 205 |
PYTHON_LIBEXT = @PYTHON_LIBEXT@ |
| 206 |
PYTHON_VERSION = @PYTHON_VERSION@ |
| 207 |
RANLIB = @RANLIB@ |
| 208 |
RAPTOR_LDFLAGS = @RAPTOR_LDFLAGS@ |
| 209 |
RASQAL_LDFLAGS = @RASQAL_LDFLAGS@ |
| 210 |
REDLAND_CONFIG = @REDLAND_CONFIG@ |
| 211 |
REDLAND_RUN = @REDLAND_RUN@ |
| 212 |
REDLAND_SWIG = @REDLAND_SWIG@ |
| 213 |
REDLAND_VERSION = @REDLAND_VERSION@ |
| 214 |
RUBY = @RUBY@ |
| 215 |
RUBY_ARCH_INSTALLDIR = @RUBY_ARCH_INSTALLDIR@ |
| 216 |
RUBY_CFLAGS = @RUBY_CFLAGS@ |
| 217 |
RUBY_INCLUDES = @RUBY_INCLUDES@ |
| 218 |
RUBY_INSTALLDIR = @RUBY_INSTALLDIR@ |
| 219 |
RUBY_LDFLAGS = @RUBY_LDFLAGS@ |
| 220 |
RUBY_PACKAGE = @RUBY_PACKAGE@ |
| 221 |
RUBY_SO_SUFFIX = @RUBY_SO_SUFFIX@ |
| 222 |
RUBY_VERSION = @RUBY_VERSION@ |
| 223 |
SD = @SD@ |
| 224 |
SED = @SED@ |
| 225 |
SET_MAKE = @SET_MAKE@ |
| 226 |
SHELL = @SHELL@ |
| 227 |
STANDARD_CFLAGS = @STANDARD_CFLAGS@ |
| 228 |
STRIP = @STRIP@ |
| 229 |
SWIG = @SWIG@ |
| 230 |
SWIG_PYTHON_ARGS = @SWIG_PYTHON_ARGS@ |
| 231 |
TAR = @TAR@ |
| 232 |
VERSION = @VERSION@ |
| 233 |
abs_builddir = @abs_builddir@ |
| 234 |
abs_srcdir = @abs_srcdir@ |
| 235 |
abs_top_builddir = @abs_top_builddir@ |
| 236 |
abs_top_srcdir = @abs_top_srcdir@ |
| 237 |
ac_ct_AR = @ac_ct_AR@ |
| 238 |
ac_ct_CC = @ac_ct_CC@ |
| 239 |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
| 240 |
am__include = @am__include@ |
| 241 |
am__leading_dot = @am__leading_dot@ |
| 242 |
am__quote = @am__quote@ |
| 243 |
am__tar = @am__tar@ |
| 244 |
am__untar = @am__untar@ |
| 245 |
bindir = @bindir@ |
| 246 |
build = @build@ |
| 247 |
build_alias = @build_alias@ |
| 248 |
build_cpu = @build_cpu@ |
| 249 |
build_os = @build_os@ |
| 250 |
build_vendor = @build_vendor@ |
| 251 |
builddir = @builddir@ |
| 252 |
datadir = @datadir@ |
| 253 |
datarootdir = @datarootdir@ |
| 254 |
docdir = @docdir@ |
| 255 |
dvidir = @dvidir@ |
| 256 |
exec_prefix = @exec_prefix@ |
| 257 |
host = @host@ |
| 258 |
host_alias = @host_alias@ |
| 259 |
host_cpu = @host_cpu@ |
| 260 |
host_os = @host_os@ |
| 261 |
host_vendor = @host_vendor@ |
| 262 |
htmldir = @htmldir@ |
| 263 |
includedir = @includedir@ |
| 264 |
infodir = @infodir@ |
| 265 |
install_sh = @install_sh@ |
| 266 |
libdir = @libdir@ |
| 267 |
libexecdir = @libexecdir@ |
| 268 |
localedir = @localedir@ |
| 269 |
localstatedir = @localstatedir@ |
| 270 |
mandir = @mandir@ |
| 271 |
mkdir_p = @mkdir_p@ |
| 272 |
oldincludedir = @oldincludedir@ |
| 273 |
pdfdir = @pdfdir@ |
| 274 |
prefix = @prefix@ |
| 275 |
program_transform_name = @program_transform_name@ |
| 276 |
psdir = @psdir@ |
| 277 |
sbindir = @sbindir@ |
| 278 |
sharedstatedir = @sharedstatedir@ |
| 279 |
srcdir = @srcdir@ |
| 280 |
sysconfdir = @sysconfdir@ |
| 281 |
target_alias = @target_alias@ |
| 282 |
top_build_prefix = @top_build_prefix@ |
| 283 |
top_builddir = @top_builddir@ |
| 284 |
top_srcdir = @top_srcdir@ |
| 285 |
AM_CPPFLAGS = @CPPFLAGS@ @LIBRDF_CPPFLAGS@ @PHP_INCLUDES@ -DREDLAND_BINDINGS_VERSION=\"@VERSION@\" |
| 286 |
AM_CFLAGS = @STANDARD_CFLAGS@ @LIBRDF_CPPFLAGS@ $(MEM) |
| 287 |
AM_LDFLAGS = @LIBRDF_LDFLAGS@ $(MEM_LIBS) |
| 288 |
PHP_PACKAGE = redland |
| 289 |
SWIG_OUTPUTS = $(PHP_PACKAGE)_wrap.c php_$(PHP_PACKAGE).h |
| 290 |
SWIG_CRUFT = $(PHP_PACKAGE).php |
| 291 |
phpdir = @PHP_EXTENSION_DIR@ |
| 292 |
php_DATA = $(PHP_PACKAGE).$(PHP_SO_SUFFIX) |
| 293 |
EXTRA_DIST = \ |
| 294 |
test.php example.php php.ini \ |
| 295 |
redland-decl.i redland-init.i redland-post.i redland-typemap.i \ |
| 296 |
$(SWIG_OUTPUTS) |
| 297 |
|
| 298 |
CLEANFILES = \ |
| 299 |
*.db test-out.rdf \ |
| 300 |
$(PHP_PACKAGE)_wrap.o $(PHP_PACKAGE)-stamp \ |
| 301 |
$(PHP_PACKAGE).$(PHP_SO_SUFFIX) $(PHP_PACKAGE).bundle |
| 302 |
|
| 303 |
MAINTAINERCLEANFILES = $(SWIG_OUTPUTS) $(SWIG_CRUFT) |
| 304 |
RUN = @REDLAND_RUN@ |
| 305 |
SWIG_OPTS = -I$(srcdir) -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I |
| 306 |
all: all-am |
| 307 |
|
| 308 |
.SUFFIXES: |
| 309 |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
| 310 |
@for dep in $?; do \ |
| 311 |
case '$(am__configure_deps)' in \ |
| 312 |
*$$dep*) \ |
| 313 |
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
| 314 |
&& { if test -f $@; then exit 0; else break; fi; }; \ |
| 315 |
exit 1;; \ |
| 316 |
esac; \ |
| 317 |
done; \ |
| 318 |
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu php/Makefile'; \ |
| 319 |
$(am__cd) $(top_srcdir) && \ |
| 320 |
$(AUTOMAKE) --gnu php/Makefile |
| 321 |
.PRECIOUS: Makefile |
| 322 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 323 |
@case '$?' in \ |
| 324 |
*config.status*) \ |
| 325 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
| 326 |
*) \ |
| 327 |
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
| 328 |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
| 329 |
esac; |
| 330 |
|
| 331 |
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 332 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 333 |
|
| 334 |
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 335 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 336 |
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
| 337 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 338 |
$(am__aclocal_m4_deps): |
| 339 |
|
| 340 |
mostlyclean-libtool: |
| 341 |
-rm -f *.lo |
| 342 |
|
| 343 |
clean-libtool: |
| 344 |
-rm -rf .libs _libs |
| 345 |
install-phpDATA: $(php_DATA) |
| 346 |
@$(NORMAL_INSTALL) |
| 347 |
@list='$(php_DATA)'; test -n "$(phpdir)" || list=; \ |
| 348 |
if test -n "$$list"; then \ |
| 349 |
echo " $(MKDIR_P) '$(DESTDIR)$(phpdir)'"; \ |
| 350 |
$(MKDIR_P) "$(DESTDIR)$(phpdir)" || exit 1; \ |
| 351 |
fi; \ |
| 352 |
for p in $$list; do \ |
| 353 |
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 354 |
echo "$$d$$p"; \ |
| 355 |
done | $(am__base_list) | \ |
| 356 |
while read files; do \ |
| 357 |
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(phpdir)'"; \ |
| 358 |
$(INSTALL_DATA) $$files "$(DESTDIR)$(phpdir)" || exit $$?; \ |
| 359 |
done |
| 360 |
|
| 361 |
uninstall-phpDATA: |
| 362 |
@$(NORMAL_UNINSTALL) |
| 363 |
@list='$(php_DATA)'; test -n "$(phpdir)" || list=; \ |
| 364 |
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
| 365 |
dir='$(DESTDIR)$(phpdir)'; $(am__uninstall_files_from_dir) |
| 366 |
tags: TAGS |
| 367 |
TAGS: |
| 368 |
|
| 369 |
ctags: CTAGS |
| 370 |
CTAGS: |
| 371 |
|
| 372 |
|
| 373 |
distdir: $(DISTFILES) |
| 374 |
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 375 |
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 376 |
list='$(DISTFILES)'; \ |
| 377 |
dist_files=`for file in $$list; do echo $$file; done | \ |
| 378 |
sed -e "s|^$$srcdirstrip/||;t" \ |
| 379 |
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
| 380 |
case $$dist_files in \ |
| 381 |
*/*) $(MKDIR_P) `echo "$$dist_files" | \ |
| 382 |
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
| 383 |
sort -u` ;; \ |
| 384 |
esac; \ |
| 385 |
for file in $$dist_files; do \ |
| 386 |
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 387 |
if test -d $$d/$$file; then \ |
| 388 |
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 389 |
if test -d "$(distdir)/$$file"; then \ |
| 390 |
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 391 |
fi; \ |
| 392 |
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 393 |
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 394 |
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 395 |
fi; \ |
| 396 |
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 397 |
else \ |
| 398 |
test -f "$(distdir)/$$file" \ |
| 399 |
|| cp -p $$d/$$file "$(distdir)/$$file" \ |
| 400 |
|| exit 1; \ |
| 401 |
fi; \ |
| 402 |
done |
| 403 |
check-am: all-am |
| 404 |
$(MAKE) $(AM_MAKEFLAGS) check-local |
| 405 |
check: check-am |
| 406 |
all-am: Makefile $(DATA) |
| 407 |
installdirs: |
| 408 |
for dir in "$(DESTDIR)$(phpdir)"; do \ |
| 409 |
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
| 410 |
done |
| 411 |
install: install-am |
| 412 |
install-exec: install-exec-am |
| 413 |
install-data: install-data-am |
| 414 |
uninstall: uninstall-am |
| 415 |
|
| 416 |
install-am: all-am |
| 417 |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 418 |
|
| 419 |
installcheck: installcheck-am |
| 420 |
install-strip: |
| 421 |
if test -z '$(STRIP)'; then \ |
| 422 |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 423 |
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 424 |
install; \ |
| 425 |
else \ |
| 426 |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 427 |
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 428 |
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
| 429 |
fi |
| 430 |
mostlyclean-generic: |
| 431 |
|
| 432 |
clean-generic: |
| 433 |
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| 434 |
|
| 435 |
distclean-generic: |
| 436 |
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 437 |
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 438 |
|
| 439 |
maintainer-clean-generic: |
| 440 |
@echo "This command is intended for maintainers to use" |
| 441 |
@echo "it deletes files that may require special tools to rebuild." |
| 442 |
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
| 443 |
clean: clean-am |
| 444 |
|
| 445 |
clean-am: clean-generic clean-libtool mostlyclean-am |
| 446 |
|
| 447 |
distclean: distclean-am |
| 448 |
-rm -f Makefile |
| 449 |
distclean-am: clean-am distclean-generic |
| 450 |
|
| 451 |
dvi: dvi-am |
| 452 |
|
| 453 |
dvi-am: |
| 454 |
|
| 455 |
html: html-am |
| 456 |
|
| 457 |
html-am: |
| 458 |
|
| 459 |
info: info-am |
| 460 |
|
| 461 |
info-am: |
| 462 |
|
| 463 |
install-data-am: install-phpDATA |
| 464 |
|
| 465 |
install-dvi: install-dvi-am |
| 466 |
|
| 467 |
install-dvi-am: |
| 468 |
|
| 469 |
install-exec-am: |
| 470 |
|
| 471 |
install-html: install-html-am |
| 472 |
|
| 473 |
install-html-am: |
| 474 |
|
| 475 |
install-info: install-info-am |
| 476 |
|
| 477 |
install-info-am: |
| 478 |
|
| 479 |
install-man: |
| 480 |
|
| 481 |
install-pdf: install-pdf-am |
| 482 |
|
| 483 |
install-pdf-am: |
| 484 |
|
| 485 |
install-ps: install-ps-am |
| 486 |
|
| 487 |
install-ps-am: |
| 488 |
|
| 489 |
installcheck-am: |
| 490 |
|
| 491 |
maintainer-clean: maintainer-clean-am |
| 492 |
-rm -f Makefile |
| 493 |
maintainer-clean-am: distclean-am maintainer-clean-generic |
| 494 |
|
| 495 |
mostlyclean: mostlyclean-am |
| 496 |
|
| 497 |
mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
| 498 |
|
| 499 |
pdf: pdf-am |
| 500 |
|
| 501 |
pdf-am: |
| 502 |
|
| 503 |
ps: ps-am |
| 504 |
|
| 505 |
ps-am: |
| 506 |
|
| 507 |
uninstall-am: uninstall-phpDATA |
| 508 |
|
| 509 |
.MAKE: check-am install-am install-strip |
| 510 |
|
| 511 |
.PHONY: all all-am check check-am check-local clean clean-generic \ |
| 512 |
clean-libtool distclean distclean-generic distclean-libtool \ |
| 513 |
distdir dvi dvi-am html html-am info info-am install \ |
| 514 |
install-am install-data install-data-am install-dvi \ |
| 515 |
install-dvi-am install-exec install-exec-am install-html \ |
| 516 |
install-html-am install-info install-info-am install-man \ |
| 517 |
install-pdf install-pdf-am install-phpDATA install-ps \ |
| 518 |
install-ps-am install-strip installcheck installcheck-am \ |
| 519 |
installdirs maintainer-clean maintainer-clean-generic \ |
| 520 |
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ |
| 521 |
ps ps-am uninstall uninstall-am uninstall-phpDATA |
| 522 |
|
| 523 |
|
| 524 |
$(PHP_PACKAGE)_wrap.c: @REDLAND_SWIG@ redland-decl.i redland-init.i redland-post.i redland-typemap.i |
| 525 |
swig -v $(PHP_SWIG) $(SWIG_OPTS) -noproxy -module $(PHP_PACKAGE) -o $@ @REDLAND_SWIG@ |
| 526 |
rm -f $(PHP_PACKAGE).php |
| 527 |
|
| 528 |
# -UHAVE_CONFIG_H to stop PHP trying to include config.h which |
| 529 |
# quite often just doesn't exist |
| 530 |
$(PHP_PACKAGE)_wrap.o: $(PHP_PACKAGE)_wrap.c |
| 531 |
$(CC) $(DEFS) $(PHP_CFLAGS) $(SWIG_OPTS) -UHAVE_CONFIG_H $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(STANDARD_CFLAGS) -fPIC -DPIC $(PHP_PACKAGE)_wrap.c -c -o $@ |
| 532 |
|
| 533 |
$(PHP_PACKAGE).$(PHP_SO_SUFFIX): $(PHP_PACKAGE)-stamp |
| 534 |
$(PHP_PACKAGE)-stamp: $(PHP_PACKAGE)_wrap.o |
| 535 |
$(CC) $(STANDARD_CFLAGS) $(PHP_PACKAGE)_wrap.o $(AM_LDFLAGS) $(LDFLAGS) $(PHP_LDFLAGS) -o $(PHP_PACKAGE).$(PHP_SO_SUFFIX) |
| 536 |
touch $(PHP_PACKAGE)-stamp |
| 537 |
|
| 538 |
check-local: test-php |
| 539 |
|
| 540 |
# Make PHP run using the build directory (.) as the PHP extension dir |
| 541 |
# to find redland.so (see php.ini for the configuration there) |
| 542 |
# -c $(srcdir) is the only portable way to make it read php.ini |
| 543 |
# from here rather than (also) reading some global php.ini. |
| 544 |
# The alternative to use php -n is only available in PHP 4.3.0 or newer. |
| 545 |
# |
| 546 |
# See the manual for the php command: |
| 547 |
# http://www.php.net/manual/en/features.commandline.php |
| 548 |
# |
| 549 |
# 1.0.11.1: Added -d enable_dl=On because sometimes this test gives a warning" |
| 550 |
test-php: $(PHP_PACKAGE).$(PHP_SO_SUFFIX) $(srcdir)/test.php |
| 551 |
$(RUN)$(PHP) -d enable_dl=On -c $(srcdir) $(srcdir)/test.php |
| 552 |
|
| 553 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 554 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
| 555 |
.NOEXPORT: |