version 1.1.1.1, 2012/02/21 23:47:51
|
version 1.1.1.4, 2014/06/15 20:03:40
|
Line 10 all: $(all_targets)
|
Line 10 all: $(all_targets)
|
@echo "Build complete." |
@echo "Build complete." |
@echo "Don't forget to run 'make test'." |
@echo "Don't forget to run 'make test'." |
@echo |
@echo |
| |
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX) |
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX) |
|
|
|
build-binaries: $(PHP_BINARIES) |
|
|
libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) |
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) --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 |
-@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1 |
Line 35 install-sapi: $(OVERALL_TARGET)
|
Line 37 install-sapi: $(OVERALL_TARGET)
|
fi |
fi |
@$(INSTALL_IT) |
@$(INSTALL_IT) |
|
|
|
install-binaries: build-binaries $(install_binary_targets) |
|
|
install-modules: build-modules |
install-modules: build-modules |
@test -d modules && \ |
@test -d modules && \ |
$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) |
$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) |
Line 79 PHP_TEST_SHARED_EXTENSIONS = ` \
|
Line 83 PHP_TEST_SHARED_EXTENSIONS = ` \
|
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \ |
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \ |
done; \ |
done; \ |
fi` |
fi` |
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*=' | PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*=' |
|
|
test: all |
test: all |
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \ |
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \ |
Line 109 clean:
|
Line 113 clean:
|
find . -name \*.la -o -name \*.a | xargs rm -f |
find . -name \*.la -o -name \*.a | xargs rm -f |
find . -name \*.so | xargs rm -f |
find . -name \*.so | xargs rm -f |
find . -name .libs -a -type d|xargs rm -rf |
find . -name .libs -a -type d|xargs rm -rf |
|
find . -name \*.1 | xargs rm -f |
rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/* |
rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/* |
|
|
distclean: clean |
distclean: clean |
rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp | rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak |
$(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f |
$(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f |
|
|
.PHONY: all clean install distclean test |
.PHONY: all clean install distclean test |