php-src/pear/Makefile.frag

173 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-17 20:41:28 +00:00
Date \
DB \
File \
HTML \
HTTP \
Image \
2000-10-25 17:23:34 +00:00
Mail \
Net \
PEAR \
PEAR/Command \
PEAR/Frontend \
2001-01-23 21:09:55 +00:00
Schedule \
2001-08-17 08:47:43 +00:00
XML
PEAR_FILES = \
Archive/Tar.php \
Console/Getopt.php \
2001-01-23 21:08:13 +00:00
Crypt/CBC.php \
Crypt/HCEMD5.php \
2000-10-17 20:41:28 +00:00
Date/Calc.php \
Date/Human.php \
DB.php \
DB/common.php \
2001-10-29 19:28:22 +00: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-24 21:40:25 +00:00
HTML/Common.php \
HTML/Form.php \
2001-01-20 05:39:26 +00:00
HTML/IT.php \
HTML/ITX.php \
2001-07-01 14:15:49 +00:00
HTML/IT_Error.php \
2001-03-24 21:40:25 +00:00
HTML/Page.php \
2001-01-20 05:39:26 +00:00
HTML/Processor.php \
2001-03-24 21:40:25 +00:00
HTML/Select.php \
HTML/Table.php \
HTTP.php \
HTTP/Compress.php \
2000-10-25 17:23:34 +00:00
Mail.php \
Mail/RFC822.php \
Mail/sendmail.php \
Mail/smtp.php \
Net/Curl.php \
2001-03-12 19:35:28 +00:00
Net/Dig.php \
2000-10-25 17:23:34 +00:00
Net/SMTP.php \
Net/Socket.php \
PEAR.php \
2001-12-12 01:32:01 +00:00
PEAR/Autoloader.php \
PEAR/Command.php \
PEAR/Command/Auth.php \
PEAR/Command/Common.php \
PEAR/Command/Config.php \
PEAR/Command/Install.php \
2002-03-19 19:59:05 +00:00
PEAR/Command/Package.php \
PEAR/Command/Registry.php \
PEAR/CommandResponse.php \
PEAR/Frontend/CLI.php \
PEAR/Common.php \
PEAR/Config.php \
2001-12-29 02:12:02 +00:00
PEAR/Dependency.php \
PEAR/Installer.php \
PEAR/Packager.php \
2001-11-14 09:55:38 +00:00
PEAR/Registry.php \
PEAR/Remote.php \
2001-04-23 00:16:56 +00:00
PEAR/Uploader.php \
2001-01-23 21:09:55 +00:00
Schedule/At.php \
System.php \
2001-08-17 08:47:43 +00:00
XML/Parser.php
install-pear:
@if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
for i in $(PEAR_SUBDIRS); do \
2001-08-28 13:07:33 +00:00
$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/$$i; \
done; \
for i in $(PEAR_FILES); do \
2001-08-28 13:07:33 +00:00
echo "Installing $$i"; \
2000-05-06 01:41:14 +00:00
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
2001-08-28 13:07:33 +00: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 01:13:20 +00:00
bin_SCRIPTS = phpize php-config pear pearize phptar
install-build:
2001-08-28 13:07:33 +00: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 13:07:33 +00:00
@for prog in $(bin_SCRIPTS); do \
echo "Installing program: $$prog"; \
$(INSTALL) -m 755 $(builddir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
2001-01-13 10:02:08 +00:00
done; \
for prog in phpextdist; do \
2001-08-28 13:07:33 +00:00
echo "Installing program: $$prog"; \
$(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \
done
HEADER_DIRS = \
2000-05-02 20:10:46 +00:00
/ \
Zend \
TSRM \
ext/standard \
2001-12-21 22:50:47 +00:00
ext/session \
2000-06-24 15:45:24 +00: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 13:07:33 +00:00
echo "Installing header files" && \
2000-05-02 20:10:46 +00: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-02 20:10:46 +00: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)