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 39VPATH = @srcdir@ 40am__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 } 57pkgdatadir = $(datadir)/@PACKAGE@ 58pkgincludedir = $(includedir)/@PACKAGE@ 59pkglibdir = $(libdir)/@PACKAGE@ 60pkglibexecdir = $(libexecdir)/@PACKAGE@ 61am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 62install_sh_DATA = $(install_sh) -c -m 644 63install_sh_PROGRAM = $(install_sh) -c 64install_sh_SCRIPT = $(install_sh) -c 65INSTALL_HEADER = $(INSTALL_DATA) 66transform = $(program_transform_name) 67NORMAL_INSTALL = : 68PRE_INSTALL = : 69POST_INSTALL = : 70NORMAL_UNINSTALL = : 71PRE_UNINSTALL = : 72POST_UNINSTALL = : 73build_triplet = @build@ 74host_triplet = @host@ 75subdir = php 76DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 77ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 78am__aclocal_m4_deps = $(top_srcdir)/configure.ac 79am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 80 $(ACLOCAL_M4) 81mkinstalldirs = $(install_sh) -d 82CONFIG_HEADER = $(top_builddir)/bindings_config.h 83CONFIG_CLEAN_FILES = 84CONFIG_CLEAN_VPATH_FILES = 85SOURCES = 86DIST_SOURCES = 87am__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 92am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 93am__vpath_adj = case $$p in \ 94 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 95 *) f=$$p;; \ 96 esac; 97am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 98am__install_max = 40 99am__nobase_strip_setup = \ 100 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` 101am__nobase_strip = \ 102 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" 103am__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] }' 110am__base_list = \ 111 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ 112 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 113am__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 } 119am__installdirs = "$(DESTDIR)$(phpdir)" 120DATA = $(php_DATA) 121DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 122ACLOCAL = @ACLOCAL@ 123AMTAR = @AMTAR@ 124AR = @AR@ 125AUTOCONF = @AUTOCONF@ 126AUTOHEADER = @AUTOHEADER@ 127AUTOMAKE = @AUTOMAKE@ 128AWK = @AWK@ 129CC = @CC@ 130CCDEPMODE = @CCDEPMODE@ 131CFLAGS = @CFLAGS@ 132CPP = @CPP@ 133CPPFLAGS = @CPPFLAGS@ 134CYGPATH_W = @CYGPATH_W@ 135DEFS = @DEFS@ 136DEPDIR = @DEPDIR@ 137DLLTOOL = @DLLTOOL@ 138DSYMUTIL = @DSYMUTIL@ 139DUMPBIN = @DUMPBIN@ 140ECHO = @ECHO@ 141ECHO_C = @ECHO_C@ 142ECHO_N = @ECHO_N@ 143ECHO_T = @ECHO_T@ 144EGREP = @EGREP@ 145EXEEXT = @EXEEXT@ 146FGREP = @FGREP@ 147GREP = @GREP@ 148INSTALL = @INSTALL@ 149INSTALL_DATA = @INSTALL_DATA@ 150INSTALL_PROGRAM = @INSTALL_PROGRAM@ 151INSTALL_SCRIPT = @INSTALL_SCRIPT@ 152INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 153LD = @LD@ 154LDFLAGS = @LDFLAGS@ 155LIBOBJS = @LIBOBJS@ 156LIBRDF_CPPFLAGS = @LIBRDF_CPPFLAGS@ 157LIBRDF_LDFLAGS = @LIBRDF_LDFLAGS@ 158LIBS = @LIBS@ 159LIBTOOL = @LIBTOOL@ 160LIPO = @LIPO@ 161LN_S = @LN_S@ 162LTLIBOBJS = @LTLIBOBJS@ 163LUA = @LUA@ 164LUA_CFLAGS = @LUA_CFLAGS@ 165LUA_LDFLAGS = @LUA_LDFLAGS@ 166MAINT = @MAINT@ 167MAKEINFO = @MAKEINFO@ 168MANIFEST_TOOL = @MANIFEST_TOOL@ 169MEM = @MEM@ 170MEM_LIBS = @MEM_LIBS@ 171MKDIR_P = @MKDIR_P@ 172NM = @NM@ 173NMEDIT = @NMEDIT@ 174OBJDUMP = @OBJDUMP@ 175OBJEXT = @OBJEXT@ 176OTOOL = @OTOOL@ 177OTOOL64 = @OTOOL64@ 178PACKAGE = @PACKAGE@ 179PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 180PACKAGE_NAME = @PACKAGE_NAME@ 181PACKAGE_STRING = @PACKAGE_STRING@ 182PACKAGE_TARNAME = @PACKAGE_TARNAME@ 183PACKAGE_URL = @PACKAGE_URL@ 184PACKAGE_VERSION = @PACKAGE_VERSION@ 185PATH_SEPARATOR = @PATH_SEPARATOR@ 186PERL = @PERL@ 187PERLINSTALLSITEARCH = @PERLINSTALLSITEARCH@ 188PERLMAN3DIR = @PERLMAN3DIR@ 189PERL_MAKEMAKER_ARGS = @PERL_MAKEMAKER_ARGS@ 190PERL_VERSION = @PERL_VERSION@ 191PHP = php 192PHP_CFLAGS = @PHP_CFLAGS@ 193PHP_CONFIG = @PHP_CONFIG@ 194PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@ 195PHP_INCLUDES = @PHP_INCLUDES@ 196PHP_LDFLAGS = @PHP_LDFLAGS@ 197PHP_SO_SUFFIX = @PHP_SO_SUFFIX@ 198PHP_SWIG = @PHP_SWIG@ 199PHP_VERSION = @PHP_VERSION@ 200PKG_CONFIG = @PKG_CONFIG@ 201PYTHON = @PYTHON@ 202PYTHON_INCLUDES = @PYTHON_INCLUDES@ 203PYTHON_LDFLAGS = @PYTHON_LDFLAGS@ 204PYTHON_LIB = @PYTHON_LIB@ 205PYTHON_LIBEXT = @PYTHON_LIBEXT@ 206PYTHON_VERSION = @PYTHON_VERSION@ 207RANLIB = @RANLIB@ 208RAPTOR_LDFLAGS = @RAPTOR_LDFLAGS@ 209RASQAL_LDFLAGS = @RASQAL_LDFLAGS@ 210REDLAND_CONFIG = @REDLAND_CONFIG@ 211REDLAND_RUN = @REDLAND_RUN@ 212REDLAND_SWIG = @REDLAND_SWIG@ 213REDLAND_VERSION = @REDLAND_VERSION@ 214RUBY = @RUBY@ 215RUBY_ARCH_INSTALLDIR = @RUBY_ARCH_INSTALLDIR@ 216RUBY_CFLAGS = @RUBY_CFLAGS@ 217RUBY_INCLUDES = @RUBY_INCLUDES@ 218RUBY_INSTALLDIR = @RUBY_INSTALLDIR@ 219RUBY_LDFLAGS = @RUBY_LDFLAGS@ 220RUBY_PACKAGE = @RUBY_PACKAGE@ 221RUBY_SO_SUFFIX = @RUBY_SO_SUFFIX@ 222RUBY_VERSION = @RUBY_VERSION@ 223SD = @SD@ 224SED = @SED@ 225SET_MAKE = @SET_MAKE@ 226SHELL = @SHELL@ 227STANDARD_CFLAGS = @STANDARD_CFLAGS@ 228STRIP = @STRIP@ 229SWIG = @SWIG@ 230SWIG_PYTHON_ARGS = @SWIG_PYTHON_ARGS@ 231TAR = @TAR@ 232VERSION = @VERSION@ 233abs_builddir = @abs_builddir@ 234abs_srcdir = @abs_srcdir@ 235abs_top_builddir = @abs_top_builddir@ 236abs_top_srcdir = @abs_top_srcdir@ 237ac_ct_AR = @ac_ct_AR@ 238ac_ct_CC = @ac_ct_CC@ 239ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 240am__include = @am__include@ 241am__leading_dot = @am__leading_dot@ 242am__quote = @am__quote@ 243am__tar = @am__tar@ 244am__untar = @am__untar@ 245bindir = @bindir@ 246build = @build@ 247build_alias = @build_alias@ 248build_cpu = @build_cpu@ 249build_os = @build_os@ 250build_vendor = @build_vendor@ 251builddir = @builddir@ 252datadir = @datadir@ 253datarootdir = @datarootdir@ 254docdir = @docdir@ 255dvidir = @dvidir@ 256exec_prefix = @exec_prefix@ 257host = @host@ 258host_alias = @host_alias@ 259host_cpu = @host_cpu@ 260host_os = @host_os@ 261host_vendor = @host_vendor@ 262htmldir = @htmldir@ 263includedir = @includedir@ 264infodir = @infodir@ 265install_sh = @install_sh@ 266libdir = @libdir@ 267libexecdir = @libexecdir@ 268localedir = @localedir@ 269localstatedir = @localstatedir@ 270mandir = @mandir@ 271mkdir_p = @mkdir_p@ 272oldincludedir = @oldincludedir@ 273pdfdir = @pdfdir@ 274prefix = @prefix@ 275program_transform_name = @program_transform_name@ 276psdir = @psdir@ 277sbindir = @sbindir@ 278sharedstatedir = @sharedstatedir@ 279srcdir = @srcdir@ 280sysconfdir = @sysconfdir@ 281target_alias = @target_alias@ 282top_build_prefix = @top_build_prefix@ 283top_builddir = @top_builddir@ 284top_srcdir = @top_srcdir@ 285AM_CPPFLAGS = @CPPFLAGS@ @LIBRDF_CPPFLAGS@ @PHP_INCLUDES@ -DREDLAND_BINDINGS_VERSION=\"@VERSION@\" 286AM_CFLAGS = @STANDARD_CFLAGS@ @LIBRDF_CPPFLAGS@ $(MEM) 287AM_LDFLAGS = @LIBRDF_LDFLAGS@ $(MEM_LIBS) 288PHP_PACKAGE = redland 289SWIG_OUTPUTS = $(PHP_PACKAGE)_wrap.c php_$(PHP_PACKAGE).h 290SWIG_CRUFT = $(PHP_PACKAGE).php 291phpdir = @PHP_EXTENSION_DIR@ 292php_DATA = $(PHP_PACKAGE).$(PHP_SO_SUFFIX) 293EXTRA_DIST = \ 294test.php example.php php.ini \ 295redland-decl.i redland-init.i redland-post.i redland-typemap.i \ 296$(SWIG_OUTPUTS) 297 298CLEANFILES = \ 299*.db test-out.rdf \ 300$(PHP_PACKAGE)_wrap.o $(PHP_PACKAGE)-stamp \ 301$(PHP_PACKAGE).$(PHP_SO_SUFFIX) $(PHP_PACKAGE).bundle 302 303MAINTAINERCLEANFILES = $(SWIG_OUTPUTS) $(SWIG_CRUFT) 304RUN = @REDLAND_RUN@ 305SWIG_OPTS = -I$(srcdir) -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I 306all: 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 322Makefile: $(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 340mostlyclean-libtool: 341 -rm -f *.lo 342 343clean-libtool: 344 -rm -rf .libs _libs 345install-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 361uninstall-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) 366tags: TAGS 367TAGS: 368 369ctags: CTAGS 370CTAGS: 371 372 373distdir: $(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 403check-am: all-am 404 $(MAKE) $(AM_MAKEFLAGS) check-local 405check: check-am 406all-am: Makefile $(DATA) 407installdirs: 408 for dir in "$(DESTDIR)$(phpdir)"; do \ 409 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 410 done 411install: install-am 412install-exec: install-exec-am 413install-data: install-data-am 414uninstall: uninstall-am 415 416install-am: all-am 417 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 418 419installcheck: installcheck-am 420install-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 430mostlyclean-generic: 431 432clean-generic: 433 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 434 435distclean-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 439maintainer-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) 443clean: clean-am 444 445clean-am: clean-generic clean-libtool mostlyclean-am 446 447distclean: distclean-am 448 -rm -f Makefile 449distclean-am: clean-am distclean-generic 450 451dvi: dvi-am 452 453dvi-am: 454 455html: html-am 456 457html-am: 458 459info: info-am 460 461info-am: 462 463install-data-am: install-phpDATA 464 465install-dvi: install-dvi-am 466 467install-dvi-am: 468 469install-exec-am: 470 471install-html: install-html-am 472 473install-html-am: 474 475install-info: install-info-am 476 477install-info-am: 478 479install-man: 480 481install-pdf: install-pdf-am 482 483install-pdf-am: 484 485install-ps: install-ps-am 486 487install-ps-am: 488 489installcheck-am: 490 491maintainer-clean: maintainer-clean-am 492 -rm -f Makefile 493maintainer-clean-am: distclean-am maintainer-clean-generic 494 495mostlyclean: mostlyclean-am 496 497mostlyclean-am: mostlyclean-generic mostlyclean-libtool 498 499pdf: pdf-am 500 501pdf-am: 502 503ps: ps-am 504 505ps-am: 506 507uninstall-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 538check-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" 550test-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: 556