summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2010-11-13 23:13:07 +0000
committerJani Taskinen <jani@php.net>2010-11-13 23:13:07 +0000
commit25aee9cad951b018d615c069373325160847cd4a (patch)
treeda977ad05055cc4e39fd7592b74c4e8a7b1a034e /Makefile.global
parent200dcee22d9790944dbb4f83efef51963a3b35bb (diff)
downloadphp-git-25aee9cad951b018d615c069373325160847cd4a.tar.gz
- Implemented FR #53271, FR #52410 (Building multiple PHP binary SAPIs and one SAPI module the same time)
# Bug #53271, Bug #52410
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.global b/Makefile.global
index f9c56f17db..b30c318fc4 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -13,6 +13,8 @@ all: $(all_targets)
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
+build-binaries: $(PHP_BINARIES)
+
libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
@@ -35,6 +37,8 @@ install-sapi: $(OVERALL_TARGET)
fi
@$(INSTALL_IT)
+install-binaries: build-binaries $(install_binary_targets)
+
install-modules: build-modules
@test -d modules && \
$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)