php-src/pear/Makefile.frag

172 lines
3.9 KiB
GLSL
Raw Normal View History

pear_install_targets = \
install-data-local \
install-headers \
install-build \
install-programs
peardir=$(PEAR_INSTALLDIR)
PEAR_SUBDIRS = \
Archive \
Console \
Crypt \
2000-10-18 04:41:28 +08:00
Date \
DB \
File \
HTML \
HTTP \
Image \
2000-10-26 01:23:34 +08:00
Mail \
Net \
PEAR \
PEAR/Command \
PEAR/CommandUI \
2001-01-24 05:09:55 +08:00
Schedule \
2001-08-17 16:47:43 +08:00
XML
PEAR_FILES = \
Archive/Tar.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 \
2001-10-30 03:28:22 +08:00
DB/fbsql.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 \
2001-03-25 05:40:25 +08:00
HTML/Common.php \
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 \
HTTP.php \
HTTP/Compress.php \
2000-10-26 01:23:34 +08:00
Mail.php \
Mail/RFC822.php \
Mail/sendmail.php \
Mail/smtp.php \
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 \
Net/Socket.php \
PEAR.php \
2001-12-12 09:32:01 +08:00
PEAR/Autoloader.php \
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 \
PEAR/CommandResponse.php \
PEAR/CommandUI/CLI.php \
PEAR/Common.php \
PEAR/Config.php \
2001-12-29 10:12:02 +08:00
PEAR/Dependency.php \
PEAR/Installer.php \
PEAR/Packager.php \
2001-11-14 17:55:38 +08:00
PEAR/Registry.php \
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 \
System.php \
2001-08-17 16:47:43 +08:00
XML/Parser.php
install-pear:
@if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
for i in $(PEAR_SUBDIRS); do \
2001-08-28 21:07:33 +08:00
$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/$$i; \
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; \
done; \
else \
cat $(srcdir)/install-pear.txt; \
exit 5; \
fi
phpincludedir = $(includedir)/php
phpbuilddir = $(prefix)/lib/php/build
BUILD_FILES = \
pear/pear.m4 \
build/mkdep.awk \
build/shtool \
Makefile.global \
scan_makefile_in.awk \
acinclude.m4
2002-03-19 09:13:20 +08:00
bin_SCRIPTS = phpize php-config pear pearize phptar
install-build:
2001-08-28 21:07:33 +08:00
@echo "Installing build environment"
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
(cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
install-programs:
2001-08-28 21:07:33 +08:00
@for prog in $(bin_SCRIPTS); do \
echo "Installing program: $$prog"; \
$(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"; \
$(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
done
HEADER_DIRS = \
2000-05-03 04:10:46 +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 \
main \
regex
install-headers:
-@for i in $(HEADER_DIRS); do \
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
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 \
(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
$(builddir)/scripts/pear: $(srcdir)/scripts/pear.in $(top_builddir)/config.status
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
$(builddir)/scripts/phpize: $(srcdir)/scripts/phpize.in $(top_builddir)/config.status
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
$(builddir)/scripts/phptar: $(srcdir)/scripts/phptar.in $(top_builddir)/config.status
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
$(builddir)/scripts/pearize: $(srcdir)/scripts/pearize.in $(top_builddir)/config.status
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)
$(builddir)/scripts/php-config: $(srcdir)/scripts/php-config.in $(top_builddir)/config.status
(CONFIG_FILES=$@ CONFIG_HEADERS= $(top_builddir)/config.status)