home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 August / PCWorld_2001-08_cd.bin / Komunikace / phptriad / phptriadsetup2-11.exe / php / pear / Makefile.in < prev    next >
Makefile  |  2001-03-12  |  4KB  |  181 lines

  1.  
  2. install_targets = \
  3.     install-data-local \
  4.     install-headers \
  5.     install-build \
  6.     install-programs
  7.  
  8. include $(top_srcdir)/build/rules.mk
  9.  
  10. peardir=$(PEAR_INSTALLDIR)
  11.  
  12. PEAR_SUBDIRS = \
  13.     Benchmark \
  14.     Cache \
  15.     Cache/Container \
  16.     Console \
  17.     Crypt \
  18.     Date \
  19.     DB \
  20.     File \
  21.     HTML \
  22.     HTTP \
  23.     Image \
  24.     Log \
  25.     Mail \
  26.     Math \
  27.     Net \
  28.     Numbers \
  29.     Payment \
  30.     PEAR \
  31.     Schedule \
  32.     XML
  33.  
  34. PEAR_FILES = \
  35.     Benchmark/Iterate.php \
  36.     Benchmark/Timer.php \
  37.     Cache.php \
  38.     Cache/Container.php \
  39.     Cache/Function.php \
  40.     Cache/Graphics.php \
  41.     Cache/Output.php \
  42.     Cache/Container/db.php \
  43.     Cache/Container/file.php \
  44.     Cache/Container/phplib.php \
  45.     Cache/Container/shm.php \
  46.     Console/Getopt.php \
  47.     Crypt/CBC.php \
  48.     Crypt/HCEMD5.php \
  49.     Date/Calc.php \
  50.     Date/Human.php \
  51.     DB.php \
  52.     DB/common.php \
  53.     DB/ibase.php \
  54.     DB/msql.php \
  55.     DB/mssql.php \
  56.     DB/mysql.php \
  57.     DB/oci8.php \
  58.     DB/odbc.php \
  59.     DB/pgsql.php \
  60.     DB/storage.php \
  61.     DB/sybase.php \
  62.     File/Find.php \
  63.     File/Passwd.php \
  64.     File/SearchReplace.php \
  65.     HTML/Form.php \
  66.     HTML/IT.php \
  67.     HTML/ITX.php \
  68.     HTML/Processor.php \
  69.     HTTP.php \
  70.     HTTP/Compress.php \
  71.     Image/Remote.php \
  72.     Log.php \
  73.     Log/composite.php \
  74.     Log/file.php \
  75.     Log/mcal.php \
  76.     Log/observer.php \
  77.     Log/sql.php \
  78.     Log/syslog.php \
  79.     Mail.php \
  80.     Mail/RFC822.php \
  81.     Mail/sendmail.php \
  82.     Mail/smtp.php \
  83.     Math/Fraction.php \
  84.     Math/Util.php \
  85.     Net/Curl.php \
  86.     Net/Dig.php \
  87.     Net/SMTP.php \
  88.     Net/Socket.php \
  89.     Numbers/Roman.php \
  90.     PEAR/Installer.php \
  91.     Payment/Verisign.php \
  92.     Schedule/At.php \
  93.     XML/Parser.php \
  94.     XML/RPC.php
  95.  
  96. install-data-local: PEAR.php
  97.     @if $(mkinstalldirs) $(peardir); then \
  98.         for i in $(PEAR_SUBDIRS); do \
  99.             (set -x;$(mkinstalldirs) $(peardir)/$$i); \
  100.         done; \
  101.         for i in $(PEAR_FILES); do \
  102.             dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
  103.             (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir); \
  104.         done; \
  105.         for i in PEAR.php; do \
  106.             (set -x;$(INSTALL_DATA) $$i $(peardir)); \
  107.         done; \
  108.     else \
  109.         cat $(srcdir)/install-pear.txt; \
  110.         exit 5; \
  111.     fi
  112.  
  113. phpincludedir = $(includedir)/php
  114. phpbuilddir = $(prefix)/lib/php/build
  115.  
  116. BUILD_FILES = \
  117.     pear/pear.m4 \
  118.     build/fastgen.sh \
  119.     build/library.mk \
  120.     build/ltlib.mk \
  121.     build/mkdep.awk \
  122.     build/program.mk \
  123.     build/rules.mk \
  124.     build/rules_common.mk \
  125.     build/rules_pear.mk \
  126.     build/dynlib.mk \
  127.     build/shtool \
  128.     dynlib.m4 \
  129.     acinclude.m4
  130.  
  131. bin_SCRIPTS = phpize php-config pear
  132.  
  133. install-build:
  134.     $(mkinstalldirs) $(phpbuilddir) $(bindir) && \
  135.     (cd $(top_srcdir) && cp $(BUILD_FILES) $(phpbuilddir))
  136.  
  137. install-programs:
  138.     for prog in $(bin_SCRIPTS); do \
  139.         $(INSTALL) -m 755 scripts/$$prog $(bindir)/$$prog; \
  140.     done; \
  141.     for prog in phpextdist; do \
  142.         $(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(bindir)/$$prog; \
  143.     done
  144.  
  145. HEADER_DIRS = \
  146.     / \
  147.     Zend \
  148.     TSRM \
  149.     ext/standard \
  150.     ext/xml \
  151.     ext/xml/expat/xmlparse \
  152.     ext/xml/expat/xmltok \
  153.     main \
  154.     regex
  155.  
  156. install-headers:
  157.     -@for i in $(HEADER_DIRS); do \
  158.         paths="$$paths $(phpincludedir)/$$i"; \
  159.     done; \
  160.     $(mkinstalldirs) $$paths && \
  161.     echo "creating header file hierarchy" && \
  162.     for i in $(HEADER_DIRS); do \
  163.         (cd $(top_srcdir)/$$i && cp -p *.h $(phpincludedir)/$$i; \
  164.         cd $(top_builddir)/$$i && cp -p *.h $(phpincludedir)/$$i) 2>/dev/null || true; \
  165.     done
  166.  
  167. Makefile: Makefile.in $(top_builddir)/config.status
  168.     (cd ..;CONFIG_FILES=pear/Makefile CONFIG_HEADERS= $(top_builddir)/config.status)
  169.  
  170. scripts/pear: scripts/pear.in $(top_builddir)/config.status
  171.     (cd ..;CONFIG_FILES=pear/scripts/pear CONFIG_HEADERS= $(top_builddir)/config.status)
  172.  
  173. scripts/phpize: scripts/phpize.in $(top_builddir)/config.status
  174.     (cd ..;CONFIG_FILES=pear/scripts/phpize CONFIG_HEADERS= $(top_builddir)/config.status)
  175.  
  176. scripts/php-config: scripts/php-config.in $(top_builddir)/config.status
  177.     (cd ..;CONFIG_FILES=pear/scripts/php-config CONFIG_HEADERS= $(top_builddir)/config.status)
  178.  
  179. PEAR.php: PEAR.php.in $(top_builddir)/config.status
  180.     (cd ..;CONFIG_FILES=pear/PEAR.php CONFIG_HEADERS= $(top_builddir)/config.status)
  181.