File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / pdo / Makefile.frag
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:58 2012 UTC (12 years, 5 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_17p0, v5_3_10, HEAD
php

    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>