19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
21 # Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
22 # Use is subject to license terms. |
22 # Use is subject to license terms. |
23 # |
23 # |
24 #pragma ident "@(#)Makefile.sfw 1.38 10/01/08 SMI" |
24 #pragma ident "@(#)Makefile.sfw 1.39 10/01/22 SMI" |
25 |
25 |
26 PHP_REL=5.2 |
26 PHP_REL=5.2 |
27 # |
27 # |
28 # This value is generated based on the NAME and VERSION values in the METADATA |
28 # This value is generated based on the NAME and VERSION values in the METADATA |
29 # file in this directory. You should not update it directly, instead update |
29 # file in this directory. You should not update it directly, instead update |
30 # the METADATA file values that it is derived from. |
30 # the METADATA file values that it is derived from. |
31 # |
31 # |
32 PHP_VER=$(COMPONENT_VERSION:sh) |
32 PHP_VER=$(COMPONENT_VERSION:sh) |
33 PHP_DIR=php-$(PHP_VER) |
33 PHP_DIR=php-$(PHP_VER) |
34 PHP_CGI=$(PHP_DIR)-cgi |
34 PHP_CGI=$(PHP_DIR)-cgi |
35 PHP_CGI_BIN=$(PWD)/$(PHP_DIR)-cgi/sapi/cgi/php-cgi |
35 PHP_LOC=$(SRC)/cmd/php5 |
|
36 PHP_CGI_BIN=$(PHP_LOC)/$(PHP_DIR)-cgi/sapi/cgi/php-cgi |
36 PHP_NSAPI=$(PHP_DIR)-nsapi |
37 PHP_NSAPI=$(PHP_DIR)-nsapi |
37 |
38 |
38 TOP_DIR=/usr/php/$(PHP_REL) |
39 TOP_DIR=/usr/php/$(PHP_REL) |
39 MODULES_DIR=$(TOP_DIR)/modules |
40 MODULES_DIR=$(TOP_DIR)/modules |
40 CONF_DIR=/etc/php/$(PHP_REL) |
41 CONF_DIR=/etc/php/$(PHP_REL) |
73 MEMCACHE_VERSION=2.2.5 |
74 MEMCACHE_VERSION=2.2.5 |
74 MEMCACHE_DIR=memcache-$(MEMCACHE_VERSION) |
75 MEMCACHE_DIR=memcache-$(MEMCACHE_VERSION) |
75 MEMCACHE_ZTS=$(MEMCACHE_DIR)-zts |
76 MEMCACHE_ZTS=$(MEMCACHE_DIR)-zts |
76 |
77 |
77 IMAP_CLIENT_VERSION=-2007e |
78 IMAP_CLIENT_VERSION=-2007e |
78 IMAP_CLIENT_DIR=$(PWD)/imap$(IMAP_CLIENT_VERSION)/c-client |
79 IMAP_CLIENT_DIR=$(PHP_LOC)/imap$(IMAP_CLIENT_VERSION)/c-client |
79 IMAP_DIR=$(PWD)/imap$(IMAP_CLIENT_VERSION) |
80 IMAP_DIR=$(PHP_LOC)/imap$(IMAP_CLIENT_VERSION) |
80 |
81 |
81 PHP_LFS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
82 PHP_LFS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
82 |
83 |
83 PHP_ZTS_CFLAGS=-mt -D_REENTRANT |
84 PHP_ZTS_CFLAGS=-mt -D_REENTRANT |
84 |
85 |
313 --with-mcrypt=shared,$(ROOT)/usr \ |
314 --with-mcrypt=shared,$(ROOT)/usr \ |
314 --with-pcre-dir=$(ROOT)/usr \ |
315 --with-pcre-dir=$(ROOT)/usr \ |
315 --with-pcre-regex \ |
316 --with-pcre-regex \ |
316 --with-png-dir=/usr \ |
317 --with-png-dir=/usr \ |
317 --with-xmlrpc \ |
318 --with-xmlrpc \ |
318 --with-xpm-dir=/usr/openwin \ |
319 --with-xpm-dir=/usr/X11 \ |
319 --with-xsl \ |
320 --with-xsl \ |
320 --with-zlib \ |
321 --with-zlib \ |
321 --with-zend-vm=CALL \ |
322 --with-zend-vm=CALL \ |
322 --without-dbm \ |
323 --without-dbm \ |
323 --without-t1lib |
324 --without-t1lib |
398 --with-imap-ssl=shared,$(ROOT)/usr \ |
399 --with-imap-ssl=shared,$(ROOT)/usr \ |
399 --with-ldap=shared \ |
400 --with-ldap=shared \ |
400 --with-mysql=shared,$(ROOT)$(MYSQL_DIR) \ |
401 --with-mysql=shared,$(ROOT)$(MYSQL_DIR) \ |
401 --with-mysql-sock=/tmp/mysql.sock \ |
402 --with-mysql-sock=/tmp/mysql.sock \ |
402 --with-mysqli=shared,$(ROOT)$(MYSQL_DIR)/bin/mysql_config \ |
403 --with-mysqli=shared,$(ROOT)$(MYSQL_DIR)/bin/mysql_config \ |
403 --with-nsapi=$(PWD)/webserver7-spi \ |
404 --with-nsapi=$(PHP_LOC)/webserver7-spi \ |
404 --with-openssl=shared \ |
405 --with-openssl=shared \ |
405 --with-pear=$(PEAR_DIR) \ |
406 --with-pear=$(PEAR_DIR) \ |
406 --with-pdo-mysql=shared,$(ROOT)$(MYSQL_DIR) \ |
407 --with-pdo-mysql=shared,$(ROOT)$(MYSQL_DIR) \ |
407 --with-pdo-pgsql=shared,$(ROOT)/usr/postgres/8.3 \ |
408 --with-pdo-pgsql=shared,$(ROOT)/usr/postgres/8.3 \ |
408 --with-pdo-sqlite=shared \ |
409 --with-pdo-sqlite=shared \ |