summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-07-02 01:08:26 (GMT)
committerSascha Schumann <sas@php.net>2003-07-02 01:08:26 (GMT)
commit1b50ca4df67b0a274cbc92dfeaad647343fb06bd (patch)
tree07ebc20d51b0ed5d9942a6224bd5fde8914bf465 /Makefile.global
parent60844878224a4627cc04ea2c08672adb3d441971 (diff)
downloadphp-1b50ca4df67b0a274cbc92dfeaad647343fb06bd.tar.gz
Fix install-sapi dependency - it should depend on OVERALL_TARGET, of course.
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.global b/Makefile.global
index ce47c8d..40f1c5d 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -16,15 +16,15 @@ build-modules: $(PHP_MODULES)
libphp5.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 libphp5.la $(phptempdir)/libphp5.la >/dev/null 2>&1
libs/libphp5.bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp5.so
install: $(all_targets) $(install_targets)
-install-sapi: libphp5.la
+install-sapi: $(OVERALL_TARGET)
@echo "Installing PHP SAPI module"
- -@$(LIBTOOL) --silent --mode=install cp libphp5.la $(phptempdir)/libphp5.la >/dev/null 2>&1
-@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
-@if test ! -r $(phptempdir)/libphp5.$(SHLIB_SUFFIX_NAME); then \
for i in 0.0.0 0.0 0; do \