Annotation of embedaddon/php/ext/pdo/Makefile.frag, revision 1.1.1.1

1.1       misho       1: phpincludedir=$(prefix)/include/php
                      2: 
                      3: PDO_HEADER_FILES= \
                      4:        php_pdo.h \
                      5:        php_pdo_driver.h
                      6: 
                      7: install-pdo-headers:
                      8:        @echo "Installing PDO headers:          $(INSTALL_ROOT)$(phpincludedir)/ext/pdo/"
                      9:        @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/pdo
                     10:        @for f in $(PDO_HEADER_FILES); do \
                     11:                if test -f "$(top_srcdir)/$$f"; then \
                     12:                        $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
                     13:                elif test -f "$(top_builddir)/$$f"; then \
                     14:                        $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
                     15:                elif test -f "$(top_srcdir)/ext/pdo/$$f"; then \
                     16:                        $(INSTALL_DATA) $(top_srcdir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
                     17:                elif test -f "$(top_builddir)/ext/pdo/$$f"; then \
                     18:                        $(INSTALL_DATA) $(top_builddir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
                     19:                else \
                     20:                        echo "hmmm"; \
                     21:                fi \
                     22:        done;
                     23: 
                     24: # mini hack
                     25: install: $(all_targets) $(install_targets) install-pdo-headers
                     26: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>