3 phpincludedir=$(prefix)/include/php
5 install-http: install install-http-headers
8 @echo "Installing HTTP headers: $(INSTALL_ROOT)$(phpincludedir)/ext/http/"
9 @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/http
10 @for f in $(PHP_HTTP_HEADERS); do \
11 if test -f "$(top_srcdir)/$$f"; then \
12 $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
13 elif test -f "$(top_builddir)/$$f"; then \
14 $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
15 elif test -f "$(top_srcdir)/ext/http/$$f"; then \
16 $(INSTALL_DATA) $(top_srcdir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
17 elif test -f "$(top_builddir)/ext/http/$$f"; then \
18 $(INSTALL_DATA) $(top_builddir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \