summaryrefslogtreecommitdiff
path: root/lang/php/ext.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php/ext.mk')
-rw-r--r--lang/php/ext.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk
new file mode 100644
index 00000000000..d9883819eba
--- /dev/null
+++ b/lang/php/ext.mk
@@ -0,0 +1,13 @@
+# $NetBSD: ext.mk,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+# PHP wrapper, for module builds
+
+.if !defined(PHPEXT_MK)
+PHPEXT_MK= defined
+
+.include "../../lang/php/phpversion.mk"
+
+.if (defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[nN][oO]))
+. include "${PHPPKGSRCDIR}/Makefile.module"
+.endif
+
+.endif # PHPEXT_MK