## -- PECL
+ext%: PECL_DIR:=$(curdir)
+
.PHONY: pecl-check
pecl-check:
@if test -z "$(PECL)"; then echo "No pecl extension specified, e.g. PECL=pecl_http:http"; exit 1; fi
ext-clean: pecl-clean
.PHONY: ext-rm
-ext-rm: PECL_DIR:=$(curdir)
ext-rm: pecl-rm
.PHONY: ext
-ext: PECL_DIR:=$(curdir)
ext: pecl-check pecl
$(srcdir)/check-packagexml.php package.xml
.PHONY: php
-test: PECL_DIR:=$(curdir)
test: php
REPORT_EXIT_STATUS=1 $(bindir)/php run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff tests