1999-12-30 10:59:53 +08:00
|
|
|
|
2002-03-07 22:20:02 +08:00
|
|
|
pear_install_targets = \
|
2000-07-25 07:55:34 +08:00
|
|
|
install-data-local \
|
|
|
|
install-headers \
|
|
|
|
install-build \
|
|
|
|
install-programs
|
1999-12-30 10:59:53 +08:00
|
|
|
|
2000-07-18 06:52:08 +08:00
|
|
|
peardir=$(PEAR_INSTALLDIR)
|
2000-05-03 06:28:12 +08:00
|
|
|
|
|
|
|
PEAR_SUBDIRS = \
|
2002-01-22 02:25:04 +08:00
|
|
|
Archive \
|
2001-01-12 02:38:26 +08:00
|
|
|
Console \
|
2000-11-07 06:33:09 +08:00
|
|
|
Crypt \
|
2000-10-18 04:41:28 +08:00
|
|
|
Date \
|
2000-05-03 06:28:12 +08:00
|
|
|
DB \
|
2000-07-25 07:55:34 +08:00
|
|
|
File \
|
2000-08-28 03:46:06 +08:00
|
|
|
HTML \
|
2001-01-12 23:24:21 +08:00
|
|
|
HTTP \
|
2001-01-12 17:13:55 +08:00
|
|
|
Image \
|
2000-10-26 01:23:34 +08:00
|
|
|
Mail \
|
2000-07-28 23:27:18 +08:00
|
|
|
Net \
|
2000-08-28 03:46:06 +08:00
|
|
|
PEAR \
|
2002-03-19 01:39:52 +08:00
|
|
|
PEAR/Command \
|
|
|
|
PEAR/CommandUI \
|
2001-01-24 05:09:55 +08:00
|
|
|
Schedule \
|
2001-08-17 16:47:43 +08:00
|
|
|
XML
|
2000-05-03 06:28:12 +08:00
|
|
|
|
|
|
|
PEAR_FILES = \
|
2002-01-22 02:25:04 +08:00
|
|
|
Archive/Tar.php \
|
2001-01-12 02:38:26 +08:00
|
|
|
Console/Getopt.php \
|
2001-01-24 05:08:13 +08:00
|
|
|
Crypt/CBC.php \
|
2000-11-07 06:33:09 +08:00
|
|
|
Crypt/HCEMD5.php \
|
2000-10-18 04:41:28 +08:00
|
|
|
Date/Calc.php \
|
2001-01-03 13:14:39 +08:00
|
|
|
Date/Human.php \
|
2000-05-03 06:28:12 +08:00
|
|
|
DB.php \
|
|
|
|
DB/common.php \
|
2001-10-30 03:28:22 +08:00
|
|
|
DB/fbsql.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
DB/ibase.php \
|
2001-03-25 05:48:41 +08:00
|
|
|
DB/ifx.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
DB/msql.php \
|
2000-05-03 06:28:12 +08:00
|
|
|
DB/mssql.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
DB/mysql.php \
|
|
|
|
DB/oci8.php \
|
|
|
|
DB/odbc.php \
|
2000-05-03 06:28:12 +08:00
|
|
|
DB/pgsql.php \
|
|
|
|
DB/storage.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
DB/sybase.php \
|
2000-07-21 14:47:18 +08:00
|
|
|
File/Find.php \
|
2001-01-06 04:05:27 +08:00
|
|
|
File/Passwd.php \
|
2000-10-08 22:55:13 +08:00
|
|
|
File/SearchReplace.php \
|
2001-03-25 05:40:25 +08:00
|
|
|
HTML/Common.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
HTML/Form.php \
|
2001-01-20 13:39:26 +08:00
|
|
|
HTML/IT.php \
|
|
|
|
HTML/ITX.php \
|
2001-07-01 22:15:49 +08:00
|
|
|
HTML/IT_Error.php \
|
2001-03-25 05:40:25 +08:00
|
|
|
HTML/Page.php \
|
2001-01-20 13:39:26 +08:00
|
|
|
HTML/Processor.php \
|
2001-03-25 05:40:25 +08:00
|
|
|
HTML/Select.php \
|
|
|
|
HTML/Table.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
HTTP.php \
|
2001-01-12 23:24:21 +08:00
|
|
|
HTTP/Compress.php \
|
2000-10-26 01:23:34 +08:00
|
|
|
Mail.php \
|
2001-02-08 04:22:59 +08:00
|
|
|
Mail/RFC822.php \
|
2001-02-23 00:01:14 +08:00
|
|
|
Mail/sendmail.php \
|
|
|
|
Mail/smtp.php \
|
2001-01-03 23:13:29 +08:00
|
|
|
Net/Curl.php \
|
2001-03-13 03:35:28 +08:00
|
|
|
Net/Dig.php \
|
2000-10-26 01:23:34 +08:00
|
|
|
Net/SMTP.php \
|
2000-07-28 23:27:18 +08:00
|
|
|
Net/Socket.php \
|
2001-04-22 09:09:14 +08:00
|
|
|
PEAR.php \
|
2001-12-12 09:32:01 +08:00
|
|
|
PEAR/Autoloader.php \
|
2002-03-19 01:39:52 +08:00
|
|
|
PEAR/Command.php \
|
|
|
|
PEAR/Command/Common.php \
|
|
|
|
PEAR/Command/Config.php \
|
|
|
|
PEAR/Command/Install.php \
|
|
|
|
PEAR/Command/Login.php \
|
2002-03-20 03:59:05 +08:00
|
|
|
PEAR/Command/Package.php \
|
2002-03-19 01:39:52 +08:00
|
|
|
PEAR/CommandResponse.php \
|
|
|
|
PEAR/CommandUI/CLI.php \
|
2001-04-22 09:09:14 +08:00
|
|
|
PEAR/Common.php \
|
2001-10-26 18:07:43 +08:00
|
|
|
PEAR/Config.php \
|
2001-12-29 10:12:02 +08:00
|
|
|
PEAR/Dependency.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
PEAR/Installer.php \
|
2001-04-22 09:09:14 +08:00
|
|
|
PEAR/Packager.php \
|
2001-11-14 17:55:38 +08:00
|
|
|
PEAR/Registry.php \
|
2001-10-26 19:45:21 +08:00
|
|
|
PEAR/Remote.php \
|
2001-04-23 08:16:56 +08:00
|
|
|
PEAR/Uploader.php \
|
2001-01-24 05:09:55 +08:00
|
|
|
Schedule/At.php \
|
2001-10-29 20:15:53 +08:00
|
|
|
System.php \
|
2001-08-17 16:47:43 +08:00
|
|
|
XML/Parser.php
|
1999-12-30 10:59:53 +08:00
|
|
|
|
2002-03-11 21:17:44 +08:00
|
|
|
install-pear:
|
2001-04-04 04:59:50 +08:00
|
|
|
@if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
|
2000-05-03 06:28:12 +08:00
|
|
|
for i in $(PEAR_SUBDIRS); do \
|
2001-08-28 21:07:33 +08:00
|
|
|
$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/$$i; \
|
2000-05-03 06:28:12 +08:00
|
|
|
done; \
|
|
|
|
for i in $(PEAR_FILES); do \
|
2001-08-28 21:07:33 +08:00
|
|
|
echo "Installing $$i"; \
|
2000-05-06 09:41:14 +08:00
|
|
|
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
|
2001-08-28 21:07:33 +08:00
|
|
|
$(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(peardir)/$$dir; \
|
2000-05-03 06:28:12 +08:00
|
|
|
done; \
|
|
|
|
else \
|
|
|
|
cat $(srcdir)/install-pear.txt; \
|
|
|
|
exit 5; \
|
|
|
|
fi
|
1999-12-30 10:59:53 +08:00
|
|
|
|
|
|
|
phpincludedir = $(includedir)/php
|
2000-08-24 20:02:05 +08:00
|
|
|
phpbuilddir = $(prefix)/lib/php/build
|
1999-12-30 10:59:53 +08:00
|
|
|
|
|
|
|
BUILD_FILES = \
|
|
|
|
pear/pear.m4 \
|
2000-08-25 15:22:05 +08:00
|
|
|
build/mkdep.awk \
|
1999-12-30 10:59:53 +08:00
|
|
|
build/shtool \
|
2002-03-07 22:20:02 +08:00
|
|
|
Makefile.global \
|
|
|
|
scan_makefile_in.awk \
|
1999-12-30 10:59:53 +08:00
|
|
|
acinclude.m4
|
|
|
|
|
2002-03-19 09:13:20 +08:00
|
|
|
bin_SCRIPTS = phpize php-config pear pearize phptar
|
2000-07-25 07:55:34 +08:00
|
|
|
|
1999-12-30 10:59:53 +08:00
|
|
|
install-build:
|
2001-08-28 21:07:33 +08:00
|
|
|
@echo "Installing build environment"
|
|
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
|
2001-04-04 04:59:50 +08:00
|
|
|
(cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
|
2000-07-25 07:55:34 +08:00
|
|
|
|
|
|
|
install-programs:
|
2001-08-28 21:07:33 +08:00
|
|
|
@for prog in $(bin_SCRIPTS); do \
|
|
|
|
echo "Installing program: $$prog"; \
|
2002-03-07 22:20:02 +08:00
|
|
|
$(INSTALL) -m 755 $(builddir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
|
2001-01-13 18:02:08 +08:00
|
|
|
done; \
|
|
|
|
for prog in phpextdist; do \
|
2001-08-28 21:07:33 +08:00
|
|
|
echo "Installing program: $$prog"; \
|
2001-04-04 04:59:50 +08:00
|
|
|
$(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
|
2000-07-25 07:55:34 +08:00
|
|
|
done
|
1999-12-30 10:59:53 +08:00
|
|
|
|
|
|
|
HEADER_DIRS = \
|
2000-05-03 04:10:46 +08:00
|
|
|
/ \
|
1999-12-30 10:59:53 +08:00
|
|
|
Zend \
|
|
|
|
TSRM \
|
|
|
|
ext/standard \
|
2001-12-22 06:50:47 +08:00
|
|
|
ext/session \
|
2000-06-24 23:45:24 +08:00
|
|
|
ext/xml \
|
|
|
|
ext/xml/expat/xmlparse \
|
|
|
|
ext/xml/expat/xmltok \
|
2000-06-14 16:30:37 +08:00
|
|
|
main \
|
1999-12-30 10:59:53 +08:00
|
|
|
regex
|
|
|
|
|
|
|
|
install-headers:
|
|
|
|
-@for i in $(HEADER_DIRS); do \
|
2001-04-04 04:59:50 +08:00
|
|
|
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
|
1999-12-30 10:59:53 +08:00
|
|
|
done; \
|
|
|
|
$(mkinstalldirs) $$paths && \
|
2001-08-28 21:07:33 +08:00
|
|
|
echo "Installing header files" && \
|
2000-05-03 04:10:46 +08:00
|
|
|
for i in $(HEADER_DIRS); do \
|
2001-04-04 04:59:50 +08: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-03 04:10:46 +08:00
|
|
|
done
|
2000-07-25 07:55:34 +08:00
|
|
|
|
2002-03-07 22:20:02 +08:00
|
|
|
$(builddir)/scripts/pear: $(srcdir)/scripts/pear.in $(top_builddir)/config.status
|
|
|
|
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
|
2000-07-25 07:55:34 +08:00
|
|
|
|
2002-03-07 22:20:02 +08:00
|
|
|
$(builddir)/scripts/phpize: $(srcdir)/scripts/phpize.in $(top_builddir)/config.status
|
|
|
|
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
|
2000-07-25 07:55:34 +08:00
|
|
|
|
2002-03-07 22:20:02 +08:00
|
|
|
$(builddir)/scripts/phptar: $(srcdir)/scripts/phptar.in $(top_builddir)/config.status
|
|
|
|
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
|
2001-08-19 08:34:08 +08:00
|
|
|
|
2002-03-07 22:20:02 +08:00
|
|
|
$(builddir)/scripts/pearize: $(srcdir)/scripts/pearize.in $(top_builddir)/config.status
|
|
|
|
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
|
2001-05-28 19:15:19 +08:00
|
|
|
|
2002-03-07 22:20:02 +08:00
|
|
|
$(builddir)/scripts/php-config: $(srcdir)/scripts/php-config.in $(top_builddir)/config.status
|
|
|
|
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
|