blob: d4fb95f8f139d9c294ebf26db16c4b65bf5e6388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
install_targets = \
install-data-local \
install-headers \
install-build \
install-programs
include $(top_srcdir)/build/rules.mk
peardir=$(PEAR_INSTALLDIR)
PEAR_SUBDIRS = \
Benchmark \
DB \
File \
HTML \
Net \
Payment \
PEAR \
XML
PEAR_FILES = \
Benchmark/Iterate.php \
Benchmark/Timer.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 \
HTML/Form.php \
HTTP.php \
Net/Socket.php \
PEAR/Installer.php \
Payment/Verisign.php \
XML/Parser.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 \
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir); \
done; \
for i in PEAR.php; do \
dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \
(set -x;$(INSTALL_DATA) $(builddir)/$$i $(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_PROGRAMS = phpize php-config pear
install-build:
$(mkinstalldirs) $(phpbuilddir) $(bindir) && \
(cd $(top_srcdir) && cp $(BUILD_FILES) $(phpbuilddir))
install-programs:
$(INSTALL) -m 755 $(srcdir)/phpextdist $(bindir)/phpextdist
for prog in $(bin_PROGRAMS); do \
$(INSTALL) -m 755 $$prog $(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 $(phpincludedir)/$$i"; \
done; \
$(mkinstalldirs) $$paths && \
echo "creating header file hierarchy" && \
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; \
done
Makefile: Makefile.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/Makefile CONFIG_HEADERS= $(top_builddir)/config.status)
pear: pear.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/pear CONFIG_HEADERS= $(top_builddir)/config.status)
phpize: phpize.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/phpize CONFIG_HEADERS= $(top_builddir)/config.status)
php-config: php-config.in $(top_builddir)/config.status
(cd ..;CONFIG_FILES=pear/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)
|