author | Craig Mohrman <craig.mohrman@oracle.com> |
Fri, 28 Feb 2014 10:20:07 -0800 | |
changeset 1732 | 8156945eb4a9 |
parent 846 | fe258446a1ae |
child 2211 | a99bbd5139c0 |
permissions | -rw-r--r-- |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
1 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
3 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
7 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
12 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
18 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
20 |
# |
1732
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
21 |
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
22 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
23 |
include ../../../make-rules/shared-macros.mk |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
24 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
25 |
COMPONENT_NAME= php |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
26 |
COMPONENT_VERSION= 5.2.17 |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
461
diff
changeset
|
29 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
461
diff
changeset
|
30 |
sha256:1abe07c1fdd64184708a3ba179abcfcca5662a4e0d2037eb2748b75abc42e767 |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_URL= http://us.php.net/get/$(COMPONENT_ARCHIVE)/from/this/mirror |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://www.php.net/ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
33 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
34 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
35 |
# php documentation |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_NAME_1= php_manual_en_20090130 |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
37 |
#COMPONENT_VERSION_1= NONE |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_SRC_1= $(COMPONENT_NAME_1) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
39 |
COMPONENT_ARCHIVE_1= $(COMPONENT_NAME_1).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
461
diff
changeset
|
40 |
COMPONENT_ARCHIVE_HASH_1= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
461
diff
changeset
|
41 |
sha256:73059b7ddb40dbda427008ab2872fcf26923747097d043c6045db7986754f07e |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
42 |
# |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
43 |
# This older version is no longer available so it is cached on |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
44 |
# internal servers. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
46 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
47 |
include $(WS_TOP)/make-rules/prep.mk |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
48 |
include $(WS_TOP)/make-rules/configure.mk |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
49 |
include $(WS_TOP)/make-rules/ips.mk |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
50 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
51 |
include ../common.mk |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
52 |
include ./php.mk |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
53 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
54 |
CONFIGURE_OPTIONS += \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
55 |
$(COMMON_CONFIG_OPTIONS) \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
56 |
--disable-cgi \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
57 |
--disable-fastcgi \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
58 |
--enable-discard-path \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
59 |
--enable-ftp=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
60 |
--enable-pdo=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
61 |
--with-apxs2=$(APACHE_USR_PREFIX)/bin/apxs \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
62 |
--with-bz2=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
63 |
--with-config-file-path=$(CONF_DIR) \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
64 |
--with-config-file-scan-dir=$(MODULES_CONF_DIR) \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
65 |
--with-curl=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
66 |
--with-curlwrappers \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
67 |
--with-gd=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
68 |
--with-gettext=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
69 |
--with-iconv=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
70 |
--with-imap=shared,$(IMAP_DIR) \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
71 |
--with-imap-ssl=shared,/usr \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
72 |
--with-ldap=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
73 |
--with-mysql=shared,$(MYSQL_DIR) \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
74 |
--with-mysql-sock=/tmp/mysql.sock \ |
1732
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
75 |
--with-mysqli=shared,$(MYSQL_DIR)/bin/$(MACH32)/mysql_config \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
76 |
--with-openssl=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
77 |
--with-pear=$(PEAR_DIR) \ |
1732
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
78 |
--with-pdo-mysql=shared,$(MYSQL_DIR)/bin/$(MACH32)/mysql_config \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
79 |
--with-pdo-sqlite=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
80 |
--with-snmp=shared,/usr \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
81 |
--with-sqlite=shared \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
82 |
--with-tidy=shared,/usr \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
83 |
--without-tsrm-pthreads |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
84 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
85 |
CONFIGURE_ENV += $(CONF_ENVLINE) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
86 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
87 |
COMPONENT_POST_BUILD_ACTION = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
88 |
cat $(BUILD_DIR_32)/scripts/phpize | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
89 |
sed -e "s,^\#!/bin/sh,\#!$(CONFIG_SHELL)," | \ |
1732
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
90 |
sed -e "s%^prefix=.*%prefix=$(BUILD_DIR_32)%" | \ |
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
91 |
sed -e "s%^includedir=.*%includedir=$(BUILD_DIR_32)%" | \ |
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
92 |
sed -e "s%^phpdir=.*%phpdir=$(BUILD_DIR_32)%" | \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
93 |
sed -e "s%phpdir/phpize.m4%phpdir/scripts/phpize.m4%" | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
94 |
sed -e "s%$PHP_AUTOCONF || exit 1%$PHP_AUTOCONF -f || exit 1%" | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
95 |
sed -e "s%$PHP_AUTOHEADER || exit 1%$PHP_AUTOHEADER -f || exit 1%" | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
96 |
sed -e 's%(cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build)%(cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build)%' | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
97 |
sed -e "s%^builddir=.*%builddir=$(BUILD_DIR_32)%" \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
98 |
> phpize-proto ; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
99 |
chmod 755 phpize-proto ) ; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
100 |
( cat $(BUILD_DIR_32)/scripts/php-config | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
101 |
sed -e "s,^\#! /bin/sh,\#!$(CONFIG_SHELL)," | \ |
1732
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
102 |
sed -e "s%^prefix=.*%prefix=$(BUILD_DIR_32)%" | \ |
8156945eb4a9
18172936 php requires changes due to EOF for MySQL 5.1 in S12
Craig Mohrman <craig.mohrman@oracle.com>
parents:
846
diff
changeset
|
103 |
sed -e "s%^include_dir=.*%include_dir=$(BUILD_DIR_32)%" \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
104 |
> php-config-proto ; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
105 |
chmod 755 php-config-proto ) ; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
106 |
( cat $(BUILD_DIR_32)/scripts/php-config | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
107 |
sed -e "s,^\#! /bin/sh,\#!$(CONFIG_SHELL)," | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
108 |
sed -e "s%^prefix=.*%prefix=$(COMPONENT_DIR)/../php-nsapi/$(COMPONENT_SRC)%" | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
109 |
sed -e "s%^include_dir=.*%include_dir=$(COMPONENT_DIR)/../php-nsapi/$(COMPONENT_SRC)%" | \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
110 |
sed -e "s%^extension_dir=.*%extension_dir=$(ZTS_MODULES_DIR)%" \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
111 |
> php-config-proto.zts ; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
112 |
chmod 755 php-config-proto.zts ) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
113 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
114 |
ADD_APACHE2_MODULE_SUPPORT = ( \ |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
115 |
$(MKDIR) $(PROTO_DIR)/$(APACHE2_PHP); \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
116 |
$(CP) $(COMPONENT_DIR)/../Solaris/php$(PHP_REL).conf \ |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
117 |
$(PROTO_DIR)/$(APACHE2_PHP)/php$(PHP_REL).conf; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
118 |
$(CHMOD) 644 $(PROTO_DIR)/$(APACHE2_PHP)/php$(PHP_REL).conf; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
119 |
$(SYMLINK) php$(PHP_REL).conf \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
120 |
$(PROTO_DIR)/$(APACHE2_PHP)/php.conf; \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
121 |
$(CP) $(PROTO_DIR)/$(APACHE2_EXTDIR)/libphp5.so \ |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
122 |
$(PROTO_DIR)/$(APACHE2_EXTDIR)/mod_php$(PHP_REL).so; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
123 |
$(SYMLINK) $(PROTO_DIR)/$(APACHE2_EXTDIR)/mod_php$(PHP_REL).so \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
124 |
$(PROTO_DIR)/$(APACHE2_EXTDIR)/mod_php5.so; \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
125 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
126 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
127 |
# Ship a default php.ini to simplify ease of use. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
128 |
FIX_CONFIG_FILES = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
129 |
cd $(SOURCE_DIR); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
130 |
$(GPATCH) -p1 -o php.ini-patched -i ../patches-other/php_ini.patch; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
131 |
$(GSED) -e "s@<<VERSION>>@$(PHP_REL)@g" < php.ini-patched > php.ini; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
132 |
$(INSTALL) -m 644 php.ini $(PROTO_DIR)/$(CONF_DIR)/php.ini; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
133 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
134 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
135 |
INSTALL_DOCS = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
136 |
$(MKDIR) $(PROTO_DIR)/$(DOCDIR); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
137 |
$(UNPACK) -r $(PROTO_DIR)/$(DOCDIR) $(COMPONENT_ARCHIVE_1); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
138 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
139 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
140 |
INSTALL_SAMPLES = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
141 |
$(MKDIR) $(PROTO_DIR)/$(SCRIPTS_DIR); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
142 |
$(MKDIR) $(COMPONENT_DIR)/tmp; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
143 |
cd $(COMPONENT_DIR); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
144 |
$(GSED) -e "s,\<\<INSTALL_DIR\>\>,$(PHP_ROOT)," \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
145 |
-e "s,\<\<CONF_DIR\>\>,$(CONFDIR)," \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
146 |
-e "s,\<\<NSAPI_CONF_DIR\>\>,$(NSAPI_CONFDIR)," \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
147 |
-e "s,\<\<MODULES_CONF_DIR\>\>,$(MODULES_CONFDIR)," \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
148 |
-e "s,\<\<ZTS_MODULES_CONF_DIR\>\>,$(ZTS_MODULES_CONFDIR)," \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
149 |
< $(COMPONENT_DIR)/../Solaris/configure-sun-webserver \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
150 |
> tmp/tmp; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
151 |
$(INSTALL) -m 555 tmp/tmp \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
152 |
$(PROTO_DIR)/$(SCRIPTS_DIR)/configure-sun-webserver; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
153 |
cd $(PROTO_DIR)/$(PHP_BIN); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
154 |
$(RM) configure-webserver7; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
155 |
$(SYMLINK) ../samples/scripts/configure-sun-webserver \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
156 |
configure-webserver7; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
157 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
158 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
159 |
# patch installation to support pear installation. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
160 |
PATCH_PEAR = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
161 |
cd $(PROTO_DIR)/$(PHP_BIN); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
162 |
$(GPATCH) -N -i $(COMPONENT_DIR)/patches-other/pear_pecl.patch; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
163 |
$(GPATCH) -N -i $(COMPONENT_DIR)/patches-other/pear_php_config.patch; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
164 |
cd $(PROTO_DIR)/$(PHP_LIB)/build; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
165 |
$(GPATCH) -N -i $(COMPONENT_DIR)/patches-other/pear_Makefile_global.patch; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
166 |
cd $(PROTO_DIR)/$(PEAR_DIR); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
167 |
$(GPATCH) -N -p0 -i $(COMPONENT_DIR)/patches-other/pear_Builder_php.patch; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
168 |
$(CP) $(COMPONENT_DIR)/config/pear/*.reg \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
169 |
$(PROTO_DIR)/$(PEAR_DIR)/.channels/; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
170 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
171 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
172 |
# Create symbolic links |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
173 |
# Not strictly necessary but makes the proto area more correct. |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
174 |
CREATE_SYMLINKS = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
175 |
cd $(PROTO_DIR)/usr/php; \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
176 |
$(RM) bin lib include modules doc man; \ |
846
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
177 |
$(SYMLINK) $(PHP_REL)/bin . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
178 |
$(SYMLINK) $(PHP_REL)/lib . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
179 |
$(SYMLINK) $(PHP_REL)/include . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
180 |
$(SYMLINK) $(PHP_REL)/modules . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
181 |
$(SYMLINK) $(PHP_REL)/doc . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
182 |
$(SYMLINK) $(PHP_REL)/man . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
183 |
$(MKDIR) $(PROTO_DIR)/usr/bin; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
184 |
cd $(PROTO_DIR)/usr/bin; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
185 |
$(RM) php php-config phpize; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
186 |
$(SYMLINK) ../php/$(PHP_REL)/bin/php . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
187 |
$(SYMLINK) ../php/$(PHP_REL)/bin/php-config . ; \ |
fe258446a1ae
6714149 integrate PHP 5.3 within OpenSolaris
Craig Mohrman <craig.mohrman@oracle.com>
parents:
800
diff
changeset
|
188 |
$(SYMLINK) ../php/$(PHP_REL)/bin/phpize . ; \ |
461
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
189 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
190 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
191 |
COMPONENT_POST_INSTALL_ACTION = ( \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
192 |
$(ADD_APACHE2_MODULE_SUPPORT); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
193 |
$(FIX_CONFIG_FILES); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
194 |
$(FIX_CONFIG_FILES_2); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
195 |
$(INSTALL_DOCS); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
196 |
$(INSTALL_SAMPLES); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
197 |
$(PATCH_PEAR); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
198 |
$(CREATE_SYMLINKS); \ |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
199 |
) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
200 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
201 |
# This package contains all 3 versions of php: |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
202 |
# sapi, cgi, nsapi |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
203 |
PKG_PROTO_DIRS += $(COMPONENT_DIR)/../php-nsapi/build/prototype/$(MACH) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
204 |
PKG_PROTO_DIRS += $(COMPONENT_DIR)/../php-cgi/build/prototype/$(MACH) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
205 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
206 |
CLEAN_PATHS += phpize-proto php-config-proto php-config-proto.zts tmp |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
207 |
CLEAN_PATHS += php.ini-patched |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
208 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
209 |
# common targets |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
210 |
build: $(BUILD_32) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
211 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
212 |
install: $(INSTALL_32) PHP-NSAPI_INSTALL PHP-CGI_INSTALL |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
213 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
214 |
test: $(TEST_32) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
215 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
216 |
../imap/build/$(MACH32)/.built: |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
217 |
(cd ../imap ; $(MAKE) build) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
218 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
219 |
../php-nsapi/build/$(MACH32)/.installed: |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
220 |
(cd ../php-nsapi ; $(MAKE) install) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
221 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
222 |
../php-cgi/build/$(MACH32)/.installed: |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
223 |
(cd ../php-cgi ; $(MAKE) install) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
224 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
225 |
$(BUILD_DIR_32)/.configured: ../imap/build/$(MACH32)/.built |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
226 |
PHP-NSAPI_INSTALL: ../php-nsapi/build/$(MACH32)/.installed |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
227 |
PHP-CGI_INSTALL: ../php-cgi/build/$(MACH32)/.installed |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
228 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
229 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
230 |
|
edabdd6aff23
7072982 move php from sfw to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
231 |
include $(WS_TOP)/make-rules/depend.mk |