1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

- Added PHP_INSTALL_HEADERS() macro

- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
This commit is contained in:
foobar
2005-05-07 02:51:53 +00:00
parent deacfcefc2
commit 626253940e
19 changed files with 88 additions and 95 deletions

View File

@@ -31,32 +31,14 @@ install-build:
$(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \
$(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
HEADER_DIRS = \
Zend/ \
TSRM/ \
include/ \
main/ \
main/streams/ \
regex/ \
ext/iconv/ \
ext/libxml/ \
ext/standard/ \
ext/session/ \
ext/dom/xml_common.h \
ext/xml/ \
ext/mbstring/ \
ext/mbstring/libmbfl/ \
ext/mbstring/libmbfl/mbfl/ \
ext/sqlite/libsqlite/src/sqlite.h
install-headers:
-@for i in $(HEADER_DIRS); do \
-@for i in $(INSTALL_HEADERS); do \
i=`$(top_srcdir)/build/shtool path -d $$i`; \
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
done; \
$(mkinstalldirs) $$paths && \
echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
for i in $(HEADER_DIRS); do \
for i in $(INSTALL_HEADERS); do \
if test -f "$(top_srcdir)/$$i"; then \
$(INSTALL_DATA) $(top_srcdir)/$$i $(INSTALL_ROOT)$(phpincludedir)/$$i; \
elif test -f "$(top_builddir)/$$i"; then \