1 phpincludedir=$(prefix)/include/php
6 php_http_headers_api.h \
7 php_http_response_object.h \
8 php_http_util_object.h \
10 php_http_request_api.h \
11 php_http_message_api.h \
15 php_http_message_object.h \
18 php_http_exception_object.h \
19 php_http_request_object.h \
23 @echo "Installing HTTP headers: $(INSTALL_ROOT)$(phpincludedir)/ext/http/"
24 @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/http
25 @for f in $(HTTP_HEADER_FILES); do \
26 if test -f "$(top_srcdir)/$$f"; then \
27 $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
28 elif test -f "$(top_builddir)/$$f"; then \
29 $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
30 elif test -f "$(top_srcdir)/ext/http/$$f"; then \
31 $(INSTALL_DATA) $(top_srcdir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
32 elif test -f "$(top_builddir)/ext/http/$$f"; then \
33 $(INSTALL_DATA) $(top_builddir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
40 install: $(all_targets) $(install_targets) install-http-headers