php-src/pear/Makefile.in
Sebastian Bergmann 512f6af726 Fix for #11821.
2001-07-01 14:15:49 +00:00

193 lines
4.2 KiB
Makefile

install_targets = \
install-data-local \
install-headers \
install-build \
install-programs
include $(top_srcdir)/build/rules.mk
peardir=$(PEAR_INSTALLDIR)
PEAR_SUBDIRS = \
Benchmark \
Cache \
Cache/Container \
Console \
Crypt \
Date \
DB \
File \
HTML \
HTTP \
Image \
Log \
Mail \
Math \
Net \
Numbers \
Payment \
PEAR \
Schedule \
XML \
XML/RPC
PEAR_FILES = \
Benchmark/Iterate.php \
Benchmark/Timer.php \
Cache.php \
Cache/Container.php \
Cache/Function.php \
Cache/Graphics.php \
Cache/Output.php \
Cache/Error.php \
Cache/OutputCompression.php \
Cache/Container/db.php \
Cache/Container/dbx.php \
Cache/Container/file.php \
Cache/Container/phplib.php \
Cache/Container/shm.php \
Console/Getopt.php \
Crypt/CBC.php \
Crypt/HCEMD5.php \
Date/Calc.php \
Date/Human.php \
DB.php \
DB/common.php \
DB/ibase.php \
DB/ifx.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/Common.php \
HTML/Form.php \
HTML/IT.php \
HTML/ITX.php \
HTML/IT_Error.php \
HTML/Page.php \
HTML/Processor.php \
HTML/Select.php \
HTML/Table.php \
HTTP.php \
HTTP/Compress.php \
Image/Remote.php \
Log.php \
Log/composite.php \
Log/file.php \
Log/mcal.php \
Log/observer.php \
Log/sql.php \
Log/syslog.php \
Mail.php \
Mail/RFC822.php \
Mail/sendmail.php \
Mail/smtp.php \
Math/Fraction.php \
Math/Util.php \
Net/Curl.php \
Net/Dig.php \
Net/SMTP.php \
Net/Socket.php \
Numbers/Roman.php \
PEAR.php \
PEAR/Common.php \
PEAR/Installer.php \
PEAR/Packager.php \
PEAR/Uploader.php \
Payment/Verisign.php \
Schedule/At.php \
XML/Parser.php \
XML/RPC.php \
XML/RPC/Server.php
install-data-local:
@if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
for i in $(PEAR_SUBDIRS); do \
(set -x;$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/$$i); \
done; \
for i in $(PEAR_FILES); do \
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(peardir)/$$dir); \
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 \
build/dynlib.mk \
build/shtool \
dynlib.m4 \
acinclude.m4
bin_SCRIPTS = phpize php-config pear pearize
install-build:
$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
(cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
install-programs:
for prog in $(bin_SCRIPTS); do \
$(INSTALL) -m 755 scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
done; \
for prog in phpextdist; do \
$(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
done
HEADER_DIRS = \
/ \
Zend \
TSRM \
ext/standard \
ext/xml \
ext/xml/expat/xmlparse \
ext/xml/expat/xmltok \
main \
regex
install-headers:
-@for i in $(HEADER_DIRS); do \
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
done; \
$(mkinstalldirs) $$paths && \
echo "creating header file hierarchy" && \
for i in $(HEADER_DIRS); do \
(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; \
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/pearize: scripts/pearize.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/scripts/pearize 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)