1999-12-30 10:59:53 +08:00
|
|
|
|
2000-07-25 07:55:34 +08:00
|
|
|
install_targets = \
|
|
|
|
install-data-local \
|
|
|
|
install-headers \
|
|
|
|
install-build \
|
|
|
|
install-programs
|
1999-12-30 10:59:53 +08:00
|
|
|
|
2000-04-30 11:20:09 +08:00
|
|
|
include $(top_srcdir)/build/rules.mk
|
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 = \
|
2000-09-28 22:59:41 +08:00
|
|
|
Benchmark \
|
2000-12-11 02:40:23 +08:00
|
|
|
Cache \
|
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-12-07 09:06:58 +08:00
|
|
|
Log \
|
2000-10-26 01:23:34 +08:00
|
|
|
Mail \
|
2000-12-21 03:08:29 +08:00
|
|
|
Math \
|
2000-07-28 23:27:18 +08:00
|
|
|
Net \
|
2001-01-03 23:13:29 +08:00
|
|
|
Numbers \
|
2000-08-28 03:46:06 +08:00
|
|
|
Payment \
|
|
|
|
PEAR \
|
2001-01-24 05:09:55 +08:00
|
|
|
Schedule \
|
2000-08-28 03:46:06 +08:00
|
|
|
XML
|
2000-05-03 06:28:12 +08:00
|
|
|
|
|
|
|
PEAR_FILES = \
|
2000-09-30 12:03:46 +08:00
|
|
|
Benchmark/Iterate.php \
|
2000-09-28 22:59:41 +08:00
|
|
|
Benchmark/Timer.php \
|
2000-12-11 02:40:23 +08:00
|
|
|
Cache/Function_Cache.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 \
|
2000-08-28 03:46:06 +08:00
|
|
|
DB/ibase.php \
|
|
|
|
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 \
|
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 \
|
|
|
|
HTML/Processor.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
HTTP.php \
|
2001-01-12 23:24:21 +08:00
|
|
|
HTTP/Compress.php \
|
2001-01-12 17:13:55 +08:00
|
|
|
Image/Remote.php \
|
2000-12-07 19:27:35 +08:00
|
|
|
Log.php \
|
2000-12-07 09:06:58 +08:00
|
|
|
Log/composite.php \
|
|
|
|
Log/file.php \
|
|
|
|
Log/mcal.php \
|
|
|
|
Log/observer.php \
|
|
|
|
Log/sql.php \
|
|
|
|
Log/syslog.php \
|
2000-10-26 01:23:34 +08:00
|
|
|
Mail.php \
|
2001-01-03 13:10:42 +08:00
|
|
|
Mail/rfc822.php \
|
2000-10-26 01:23:34 +08:00
|
|
|
Mail/sendmail.php \
|
|
|
|
Mail/smtp.php \
|
2000-12-21 03:08:29 +08:00
|
|
|
Math/Fraction.php \
|
|
|
|
Math/Util.php \
|
2001-01-03 23:13:29 +08:00
|
|
|
Net/Curl.php \
|
2000-10-26 01:23:34 +08:00
|
|
|
Net/SMTP.php \
|
2000-07-28 23:27:18 +08:00
|
|
|
Net/Socket.php \
|
2001-01-03 23:13:29 +08:00
|
|
|
Numbers/Roman.php \
|
2000-08-28 03:46:06 +08:00
|
|
|
PEAR/Installer.php \
|
|
|
|
Payment/Verisign.php \
|
2001-01-24 05:09:55 +08:00
|
|
|
Schedule/At.php \
|
2001-01-03 23:13:29 +08:00
|
|
|
XML/Parser.php \
|
|
|
|
XML/RPC.php
|
1999-12-30 10:59:53 +08:00
|
|
|
|
2000-08-17 19:02:10 +08:00
|
|
|
install-data-local: PEAR.php
|
2000-05-03 06:28:12 +08:00
|
|
|
@if $(mkinstalldirs) $(peardir); then \
|
|
|
|
for i in $(PEAR_SUBDIRS); do \
|
2000-09-13 15:39:54 +08:00
|
|
|
(set -x;$(mkinstalldirs) $(peardir)/$$i); \
|
2000-05-03 06:28:12 +08:00
|
|
|
done; \
|
|
|
|
for i in $(PEAR_FILES); do \
|
2000-05-06 09:41:14 +08:00
|
|
|
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
|
2000-09-13 15:39:54 +08:00
|
|
|
(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir); \
|
2000-05-03 06:28:12 +08:00
|
|
|
done; \
|
2000-08-27 19:10:38 +08:00
|
|
|
for i in PEAR.php; do \
|
2000-10-12 22:02:26 +08:00
|
|
|
(set -x;$(INSTALL_DATA) $$i $(peardir)); \
|
2000-08-27 19:10:38 +08:00
|
|
|
done; \
|
2000-05-03 06:28:12 +08:00
|
|
|
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 \
|
|
|
|
build/fastgen.sh \
|
|
|
|
build/library.mk \
|
|
|
|
build/ltlib.mk \
|
2000-08-25 15:22:05 +08:00
|
|
|
build/mkdep.awk \
|
1999-12-30 10:59:53 +08:00
|
|
|
build/program.mk \
|
|
|
|
build/rules.mk \
|
2000-08-20 13:36:07 +08:00
|
|
|
build/rules_common.mk \
|
1999-12-30 10:59:53 +08:00
|
|
|
build/rules_pear.mk \
|
2000-05-01 10:57:50 +08:00
|
|
|
build/dynlib.mk \
|
1999-12-30 10:59:53 +08:00
|
|
|
build/shtool \
|
2000-05-03 04:10:46 +08:00
|
|
|
dynlib.m4 \
|
1999-12-30 10:59:53 +08:00
|
|
|
acinclude.m4
|
|
|
|
|
2001-01-13 18:02:08 +08:00
|
|
|
bin_SCRIPTS = phpize php-config pear
|
2000-07-25 07:55:34 +08:00
|
|
|
|
1999-12-30 10:59:53 +08:00
|
|
|
install-build:
|
2000-08-24 20:02:05 +08:00
|
|
|
$(mkinstalldirs) $(phpbuilddir) $(bindir) && \
|
|
|
|
(cd $(top_srcdir) && cp $(BUILD_FILES) $(phpbuilddir))
|
2000-07-25 07:55:34 +08:00
|
|
|
|
|
|
|
install-programs:
|
2001-01-10 09:01:59 +08:00
|
|
|
for prog in $(bin_SCRIPTS); do \
|
|
|
|
$(INSTALL) -m 755 scripts/$$prog $(bindir)/$$prog; \
|
2001-01-13 18:02:08 +08:00
|
|
|
done; \
|
|
|
|
for prog in phpextdist; do \
|
|
|
|
$(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(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 \
|
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 \
|
|
|
|
paths="$$paths $(phpincludedir)/$$i"; \
|
|
|
|
done; \
|
|
|
|
$(mkinstalldirs) $$paths && \
|
|
|
|
echo "creating header file hierarchy" && \
|
2000-05-03 04:10:46 +08:00
|
|
|
for i in $(HEADER_DIRS); do \
|
2000-05-03 04:56:03 +08:00
|
|
|
(cd $(top_srcdir)/$$i && cp -p *.h $(phpincludedir)/$$i; \
|
|
|
|
cd $(top_builddir)/$$i && cp -p *.h $(phpincludedir)/$$i) 2>/dev/null || true; \
|
2000-05-03 04:10:46 +08:00
|
|
|
done
|
2000-07-25 07:55:34 +08:00
|
|
|
|
2000-07-31 01:41:31 +08:00
|
|
|
Makefile: Makefile.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/Makefile CONFIG_HEADERS= $(top_builddir)/config.status)
|
|
|
|
|
2001-01-10 09:01:59 +08:00
|
|
|
scripts/pear: scripts/pear.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/pear CONFIG_HEADERS= $(top_builddir)/config.status)
|
2000-07-25 07:55:34 +08:00
|
|
|
|
2001-01-10 09:01:59 +08:00
|
|
|
scripts/phpize: scripts/phpize.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/scripts/phpize CONFIG_HEADERS= $(top_builddir)/config.status)
|
2000-07-25 07:55:34 +08:00
|
|
|
|
2001-01-10 09:01:59 +08: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)
|
2000-07-25 07:55:34 +08:00
|
|
|
|
|
|
|
PEAR.php: PEAR.php.in $(top_builddir)/config.status
|
|
|
|
(cd ..;CONFIG_FILES=pear/PEAR.php CONFIG_HEADERS= $(top_builddir)/config.status)
|