php-src/pear/Makefile.in

171 lines
3.6 KiB
Makefile
Raw Normal View History

install_targets = \
install-data-local \
install-headers \
install-build \
install-programs
include $(top_srcdir)/build/rules.mk
peardir=$(PEAR_INSTALLDIR)
PEAR_SUBDIRS = \
Benchmark \
2000-12-11 02:40:23 +08:00
Cache \
Console \
Crypt \
2000-10-18 04:41:28 +08:00
Date \
DB \
File \
HTML \
HTTP \
Image \
Log \
2000-10-26 01:23:34 +08:00
Mail \
2000-12-21 03:08:29 +08:00
Math \
Net \
Numbers \
Payment \
PEAR \
2001-01-24 05:09:55 +08:00
Schedule \
XML
PEAR_FILES = \
2000-09-30 12:03:46 +08:00
Benchmark/Iterate.php \
Benchmark/Timer.php \
2000-12-11 02:40:23 +08:00
Cache/Function_Cache.php \
Console/Getopt.php \
2001-01-24 05:08:13 +08:00
Crypt/CBC.php \
Crypt/HCEMD5.php \
2000-10-18 04:41:28 +08:00
Date/Calc.php \
Date/Human.php \
DB.php \
DB/common.php \
DB/ibase.php \
DB/msql.php \
DB/mssql.php \
DB/mysql.php \
DB/oci8.php \
DB/odbc.php \
DB/pgsql.php \
DB/storage.php \
DB/sybase.php \
File/Find.php \
File/Passwd.php \
File/SearchReplace.php \
HTML/Form.php \
2001-01-20 13:39:26 +08:00
HTML/IT.php \
HTML/ITX.php \
HTML/Processor.php \
HTTP.php \
HTTP/Compress.php \
Image/Remote.php \
2000-12-07 19:27:35 +08:00
Log.php \
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 \
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 \
Net/Curl.php \
2000-10-26 01:23:34 +08:00
Net/SMTP.php \
Net/Socket.php \
Numbers/Roman.php \
PEAR/Installer.php \
Payment/Verisign.php \
2001-01-24 05:09:55 +08:00
Schedule/At.php \
XML/Parser.php \
XML/RPC.php
install-data-local: PEAR.php
@if $(mkinstalldirs) $(peardir); then \
for i in $(PEAR_SUBDIRS); do \
(set -x;$(mkinstalldirs) $(peardir)/$$i); \
done; \
for i in $(PEAR_FILES); do \
2000-05-06 09:41:14 +08:00
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir); \
done; \
for i in PEAR.php; do \
2000-10-12 22:02:26 +08:00
(set -x;$(INSTALL_DATA) $$i $(peardir)); \
done; \
else \
cat $(srcdir)/install-pear.txt; \
exit 5; \
fi
phpincludedir = $(includedir)/php
phpbuilddir = $(prefix)/lib/php/build
BUILD_FILES = \
pear/pear.m4 \
build/fastgen.sh \
build/library.mk \
build/ltlib.mk \
build/mkdep.awk \
build/program.mk \
build/rules.mk \
build/rules_common.mk \
build/rules_pear.mk \
2000-05-01 10:57:50 +08:00
build/dynlib.mk \
build/shtool \
2000-05-03 04:10:46 +08:00
dynlib.m4 \
acinclude.m4
2001-01-13 18:02:08 +08:00
bin_SCRIPTS = phpize php-config pear
install-build:
$(mkinstalldirs) $(phpbuilddir) $(bindir) && \
(cd $(top_srcdir) && cp $(BUILD_FILES) $(phpbuilddir))
install-programs:
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; \
done
HEADER_DIRS = \
2000-05-03 04:10:46 +08:00
/ \
Zend \
TSRM \
ext/standard \
2000-06-24 23:45:24 +08:00
ext/xml \
ext/xml/expat/xmlparse \
ext/xml/expat/xmltok \
main \
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 \
(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
Makefile: Makefile.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/Makefile CONFIG_HEADERS= $(top_builddir)/config.status)
scripts/pear: scripts/pear.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/scripts/pear CONFIG_HEADERS= $(top_builddir)/config.status)
scripts/phpize: scripts/phpize.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/scripts/phpize CONFIG_HEADERS= $(top_builddir)/config.status)
scripts/php-config: scripts/php-config.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/scripts/php-config CONFIG_HEADERS= $(top_builddir)/config.status)
PEAR.php: PEAR.php.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/PEAR.php CONFIG_HEADERS= $(top_builddir)/config.status)