1999-12-30 02:59:53 +00:00
|
|
|
|
2000-07-24 23:55:34 +00:00
|
|
|
install_targets = \
|
|
|
|
install-data-local \
|
|
|
|
install-headers \
|
|
|
|
install-build \
|
|
|
|
install-programs
|
1999-12-30 02:59:53 +00:00
|
|
|
|
2000-04-30 03:20:09 +00:00
|
|
|
include $(top_srcdir)/build/rules.mk
|
1999-12-30 02:59:53 +00:00
|
|
|
|
2000-07-17 22:52:08 +00:00
|
|
|
peardir=$(PEAR_INSTALLDIR)
|
2000-05-02 22:28:12 +00:00
|
|
|
|
|
|
|
PEAR_SUBDIRS = \
|
2000-09-28 14:59:41 +00:00
|
|
|
Benchmark \
|
2000-12-10 18:40:23 +00:00
|
|
|
Cache \
|
2001-03-01 16:33:34 +00:00
|
|
|
Cache/Container \
|
2001-01-11 18:38:26 +00:00
|
|
|
Console \
|
2000-11-06 22:33:09 +00:00
|
|
|
Crypt \
|
2000-10-17 20:41:28 +00:00
|
|
|
Date \
|
2000-05-02 22:28:12 +00:00
|
|
|
DB \
|
2000-07-24 23:55:34 +00:00
|
|
|
File \
|
2000-08-27 19:46:06 +00:00
|
|
|
HTML \
|
2001-01-12 15:24:21 +00:00
|
|
|
HTTP \
|
2001-01-12 09:13:55 +00:00
|
|
|
Image \
|
2000-12-07 01:06:58 +00:00
|
|
|
Log \
|
2000-10-25 17:23:34 +00:00
|
|
|
Mail \
|
2000-12-20 19:08:29 +00:00
|
|
|
Math \
|
2000-07-28 15:27:18 +00:00
|
|
|
Net \
|
2001-01-03 15:13:29 +00:00
|
|
|
Numbers \
|
2000-08-27 19:46:06 +00:00
|
|
|
Payment \
|
|
|
|
PEAR \
|
2001-01-23 21:09:55 +00:00
|
|
|
Schedule \
|
2001-08-17 08:47:43 +00:00
|
|
|
XML
|
2000-05-02 22:28:12 +00:00
|
|
|
|
|
|
|
PEAR_FILES = \
|
2000-09-30 04:03:46 +00:00
|
|
|
Benchmark/Iterate.php \
|
2000-09-28 14:59:41 +00:00
|
|
|
Benchmark/Timer.php \
|
2001-03-01 17:02:05 +00:00
|
|
|
Cache.php \
|
2001-05-15 10:29:07 +00:00
|
|
|
Cache/Error.php \
|
2001-08-17 08:51:09 +00:00
|
|
|
Cache/Container.php \
|
2001-03-01 17:02:05 +00:00
|
|
|
Cache/Container/db.php \
|
2001-03-24 21:40:25 +00:00
|
|
|
Cache/Container/dbx.php \
|
2001-03-01 16:33:34 +00:00
|
|
|
Cache/Container/file.php \
|
|
|
|
Cache/Container/phplib.php \
|
|
|
|
Cache/Container/shm.php \
|
2001-08-17 08:51:09 +00:00
|
|
|
Cache/DB.php \
|
|
|
|
Cache/Function.php \
|
|
|
|
Cache/Graphics.php \
|
|
|
|
Cache/Output.php \
|
|
|
|
Cache/OutputCompression.php \
|
2001-01-11 18:38:26 +00:00
|
|
|
Console/Getopt.php \
|
2001-01-23 21:08:13 +00:00
|
|
|
Crypt/CBC.php \
|
2000-11-06 22:33:09 +00:00
|
|
|
Crypt/HCEMD5.php \
|
2000-10-17 20:41:28 +00:00
|
|
|
Date/Calc.php \
|
2001-01-03 05:14:39 +00:00
|
|
|
Date/Human.php \
|
2000-05-02 22:28:12 +00:00
|
|
|
DB.php \
|
|
|
|
DB/common.php \
|
2001-10-29 19:28:22 +00:00
|
|
|
DB/fbsql.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
DB/ibase.php \
|
2001-03-24 21:48:41 +00:00
|
|
|
DB/ifx.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
DB/msql.php \
|
2000-05-02 22:28:12 +00:00
|
|
|
DB/mssql.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
DB/mysql.php \
|
|
|
|
DB/oci8.php \
|
|
|
|
DB/odbc.php \
|
2000-05-02 22:28:12 +00:00
|
|
|
DB/pgsql.php \
|
|
|
|
DB/storage.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
DB/sybase.php \
|
2000-07-21 06:47:18 +00:00
|
|
|
File/Find.php \
|
2001-01-05 20:05:27 +00:00
|
|
|
File/Passwd.php \
|
2000-10-08 14:55:13 +00:00
|
|
|
File/SearchReplace.php \
|
2001-03-24 21:40:25 +00:00
|
|
|
HTML/Common.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
HTML/Form.php \
|
2001-01-20 05:39:26 +00:00
|
|
|
HTML/IT.php \
|
|
|
|
HTML/ITX.php \
|
2001-07-01 14:15:49 +00:00
|
|
|
HTML/IT_Error.php \
|
2001-03-24 21:40:25 +00:00
|
|
|
HTML/Page.php \
|
2001-01-20 05:39:26 +00:00
|
|
|
HTML/Processor.php \
|
2001-03-24 21:40:25 +00:00
|
|
|
HTML/Select.php \
|
|
|
|
HTML/Table.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
HTTP.php \
|
2001-01-12 15:24:21 +00:00
|
|
|
HTTP/Compress.php \
|
2001-01-12 09:13:55 +00:00
|
|
|
Image/Remote.php \
|
2000-12-07 11:27:35 +00:00
|
|
|
Log.php \
|
2000-12-07 01:06:58 +00:00
|
|
|
Log/composite.php \
|
|
|
|
Log/file.php \
|
|
|
|
Log/mcal.php \
|
2001-08-28 12:11:32 +00:00
|
|
|
Log/Observer.php \
|
2000-12-07 01:06:58 +00:00
|
|
|
Log/sql.php \
|
|
|
|
Log/syslog.php \
|
2000-10-25 17:23:34 +00:00
|
|
|
Mail.php \
|
2001-02-07 20:22:59 +00:00
|
|
|
Mail/RFC822.php \
|
2001-02-22 16:01:14 +00:00
|
|
|
Mail/sendmail.php \
|
|
|
|
Mail/smtp.php \
|
2001-08-28 13:39:50 +00:00
|
|
|
Mail/mime.php \
|
2000-12-20 19:08:29 +00:00
|
|
|
Math/Fraction.php \
|
|
|
|
Math/Util.php \
|
2001-01-03 15:13:29 +00:00
|
|
|
Net/Curl.php \
|
2001-03-12 19:35:28 +00:00
|
|
|
Net/Dig.php \
|
2000-10-25 17:23:34 +00:00
|
|
|
Net/SMTP.php \
|
2000-07-28 15:27:18 +00:00
|
|
|
Net/Socket.php \
|
2001-01-03 15:13:29 +00:00
|
|
|
Numbers/Roman.php \
|
2001-04-22 01:09:14 +00:00
|
|
|
PEAR.php \
|
2001-12-12 01:32:01 +00:00
|
|
|
PEAR/Autoloader.php \
|
2001-04-22 01:09:14 +00:00
|
|
|
PEAR/Common.php \
|
2001-10-26 10:07:43 +00:00
|
|
|
PEAR/Config.php \
|
2001-12-29 02:12:02 +00:00
|
|
|
PEAR/Dependency.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
PEAR/Installer.php \
|
2001-04-22 01:09:14 +00:00
|
|
|
PEAR/Packager.php \
|
2001-11-14 09:55:38 +00:00
|
|
|
PEAR/Registry.php \
|
2001-10-26 11:45:21 +00:00
|
|
|
PEAR/Remote.php \
|
2001-04-23 00:16:56 +00:00
|
|
|
PEAR/Uploader.php \
|
2000-08-27 19:46:06 +00:00
|
|
|
Payment/Verisign.php \
|
2001-01-23 21:09:55 +00:00
|
|
|
Schedule/At.php \
|
2001-10-29 12:15:53 +00:00
|
|
|
System.php \
|
2001-08-17 08:47:43 +00:00
|
|
|
XML/Parser.php
|
1999-12-30 02:59:53 +00:00
|
|
|
|
2001-04-22 01:09:14 +00:00
|
|
|
install-data-local:
|
2001-04-03 20:59:50 +00:00
|
|
|
@if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
|
2000-05-02 22:28:12 +00:00
|
|
|
for i in $(PEAR_SUBDIRS); do \
|
2001-08-28 13:07:33 +00:00
|
|
|
$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/$$i; \
|
2000-05-02 22:28:12 +00:00
|
|
|
done; \
|
|
|
|
for i in $(PEAR_FILES); do \
|
2001-08-28 13:07:33 +00:00
|
|
|
echo "Installing $$i"; \
|
2000-05-06 01:41:14 +00:00
|
|
|
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
|
2001-08-28 13:07:33 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(peardir)/$$dir; \
|
2000-05-02 22:28:12 +00:00
|
|
|
done; \
|
|
|
|
else \
|
|
|
|
cat $(srcdir)/install-pear.txt; \
|
|
|
|
exit 5; \
|
|
|
|
fi
|
1999-12-30 02:59:53 +00:00
|
|
|
|
|
|
|
phpincludedir = $(includedir)/php
|
2000-08-24 12:02:05 +00:00
|
|
|
phpbuilddir = $(prefix)/lib/php/build
|
1999-12-30 02:59:53 +00:00
|
|
|
|
|
|
|
BUILD_FILES = \
|
|
|
|
pear/pear.m4 \
|
|
|
|
build/fastgen.sh \
|
|
|
|
build/library.mk \
|
|
|
|
build/ltlib.mk \
|
2000-08-25 07:22:05 +00:00
|
|
|
build/mkdep.awk \
|
1999-12-30 02:59:53 +00:00
|
|
|
build/program.mk \
|
|
|
|
build/rules.mk \
|
2000-08-20 05:36:07 +00:00
|
|
|
build/rules_common.mk \
|
1999-12-30 02:59:53 +00:00
|
|
|
build/rules_pear.mk \
|
2000-05-01 02:57:50 +00:00
|
|
|
build/dynlib.mk \
|
1999-12-30 02:59:53 +00:00
|
|
|
build/shtool \
|
2000-05-02 20:10:46 +00:00
|
|
|
dynlib.m4 \
|
1999-12-30 02:59:53 +00:00
|
|
|
acinclude.m4
|
|
|
|
|
2002-01-02 17:11:34 +00:00
|
|
|
bin_SCRIPTS = phpize php-config pear pear-get pearize phptar
|
2000-07-24 23:55:34 +00:00
|
|
|
|
1999-12-30 02:59:53 +00:00
|
|
|
install-build:
|
2001-08-28 13:07:33 +00:00
|
|
|
@echo "Installing build environment"
|
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
|
2001-04-03 20:59:50 +00:00
|
|
|
(cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
|
2000-07-24 23:55:34 +00:00
|
|
|
|
|
|
|
install-programs:
|
2001-08-28 13:07:33 +00:00
|
|
|
@for prog in $(bin_SCRIPTS); do \
|
|
|
|
echo "Installing program: $$prog"; \
|
2001-04-03 20:59:50 +00:00
|
|
|
$(INSTALL) -m 755 scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
|
2001-01-13 10:02:08 +00:00
|
|
|
done; \
|
|
|
|
for prog in phpextdist; do \
|
2001-08-28 13:07:33 +00:00
|
|
|
echo "Installing program: $$prog"; \
|
2001-04-03 20:59:50 +00:00
|
|
|
$(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
|
2000-07-24 23:55:34 +00:00
|
|
|
done
|
1999-12-30 02:59:53 +00:00
|
|
|
|
|
|
|
HEADER_DIRS = \
|
2000-05-02 20:10:46 +00:00
|
|
|
/ \
|
1999-12-30 02:59:53 +00:00
|
|
|
Zend \
|
|
|
|
TSRM \
|
|
|
|
ext/standard \
|
2001-12-21 22:50:47 +00:00
|
|
|
ext/session \
|
2000-06-24 15:45:24 +00:00
|
|
|
ext/xml \
|
|
|
|
ext/xml/expat/xmlparse \
|
|
|
|
ext/xml/expat/xmltok \
|
2000-06-14 08:30:37 +00:00
|
|
|
main \
|
1999-12-30 02:59:53 +00:00
|
|
|
regex
|
|
|
|
|
|
|
|
install-headers:
|
|
|
|
-@for i in $(HEADER_DIRS); do \
|
2001-04-03 20:59:50 +00:00
|
|
|
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
|
1999-12-30 02:59:53 +00:00
|
|
|
done; \
|
|
|
|
$(mkinstalldirs) $$paths && \
|
2001-08-28 13:07:33 +00:00
|
|
|
echo "Installing header files" && \
|
2000-05-02 20:10:46 +00:00
|
|
|
for i in $(HEADER_DIRS); do \
|
2001-04-03 20:59:50 +00:00
|
|
|
(cd $(top_srcdir)/$$i && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \
|
|
|
|
cd $(top_builddir)/$$i && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
|
2000-05-02 20:10:46 +00:00
|
|
|
done
|
2000-07-24 23:55:34 +00:00
|
|
|
|
2000-07-30 17:41:31 +00:00
|
|
|
Makefile: Makefile.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/Makefile CONFIG_HEADERS= $(top_builddir)/config.status)
|
|
|
|
|
2001-01-10 01:01:59 +00:00
|
|
|
scripts/pear: scripts/pear.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/pear CONFIG_HEADERS= $(top_builddir)/config.status)
|
2000-07-24 23:55:34 +00:00
|
|
|
|
2002-01-02 17:11:34 +00:00
|
|
|
scripts/pear-get: scripts/pear-get.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/pear-get CONFIG_HEADERS= $(top_builddir)/config.status)
|
|
|
|
|
2001-01-10 01:01:59 +00:00
|
|
|
scripts/phpize: scripts/phpize.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/phpize CONFIG_HEADERS= $(top_builddir)/config.status)
|
2000-07-24 23:55:34 +00:00
|
|
|
|
2001-08-19 00:34:08 +00:00
|
|
|
scripts/phptar: scripts/phptar.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/phptar CONFIG_HEADERS= $(top_builddir)/config.status)
|
|
|
|
|
2001-05-28 11:15:19 +00:00
|
|
|
scripts/pearize: scripts/pearize.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/pearize CONFIG_HEADERS= $(top_builddir)/config.status)
|
|
|
|
|
2001-01-10 01:01:59 +00:00
|
|
|
scripts/php-config: scripts/php-config.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/php-config CONFIG_HEADERS= $(top_builddir)/config.status)
|