components/php-5_2/extensions-zts.mk
changeset 2211 a99bbd5139c0
parent 846 fe258446a1ae
child 3817 30b42c38bbc4
child 3996 20c0f21bbe1e
equal deleted inserted replaced
2210:96a1346fe8ad 2211:a99bbd5139c0
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 include $(WS_TOP)/make-rules/prep.mk
    24 include $(WS_TOP)/make-rules/prep.mk
    25 include $(WS_TOP)/make-rules/configure.mk
    25 include $(WS_TOP)/make-rules/configure.mk
    26 include $(WS_TOP)/make-rules/ips.mk
    26 include $(WS_TOP)/make-rules/ips.mk
    33 # phpize-proto.zts runs autoconf
    33 # phpize-proto.zts runs autoconf
    34 #
    34 #
    35 # Patching PHP_EXECUTABLE will enable extensions to run the test target
    35 # Patching PHP_EXECUTABLE will enable extensions to run the test target
    36 #
    36 #
    37 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    37 COMPONENT_PRE_CONFIGURE_ACTION = ( \
       
    38 	set -e; \
    38 	($(CLONEY) $(SOURCE_DIR) $(@D)); \
    39 	($(CLONEY) $(SOURCE_DIR) $(@D)); \
    39 	$(GSED) -e "s@^builddir=.*@builddir=$(BUILD_DIR_32)@" \
    40 	$(GSED) -e "s@^builddir=.*@builddir=$(BUILD_DIR_32)@" \
    40 		< $(COMPONENT_DIR)/../php-nsapi/phpize-proto.zts \
    41 		< $(COMPONENT_DIR)/../php-nsapi/phpize-proto.zts \
    41 		> $(COMPONENT_DIR)/phpize-proto.zts; \
    42 		> $(COMPONENT_DIR)/phpize-proto.zts; \
    42 	cd $(BUILD_DIR_32); \
    43 	cd $(BUILD_DIR_32); \
    67 publish:	install
    68 publish:	install
    68 
    69 
    69 # Manual dependency - need both php-sapi and php-nsapi installed
    70 # Manual dependency - need both php-sapi and php-nsapi installed
    70 # before building a -zts extension.
    71 # before building a -zts extension.
    71 ../php-sapi/build/$(MACH32)/.installed:
    72 ../php-sapi/build/$(MACH32)/.installed:
    72 	(cd ../php-sapi ; $(MAKE) install)
    73 	( set -e; \
       
    74 	cd ../php-sapi; \
       
    75 	$(MAKE) install )
    73 
    76 
    74 ../php-nsapi/build/$(MACH32)/.installed:
    77 ../php-nsapi/build/$(MACH32)/.installed:
    75 	(cd ../php-nsapi ; $(MAKE) install)
    78 	( set -e; \
       
    79 	cd ../php-nsapi; \
       
    80 	$(MAKE) install )
    76 
    81 
    77 $(BUILD_DIR_32)/.configured:    ../php-sapi/build/$(MACH32)/.installed
    82 $(BUILD_DIR_32)/.configured:    ../php-sapi/build/$(MACH32)/.installed
    78 $(BUILD_DIR_32)/.configured:    ../php-nsapi/build/$(MACH32)/.installed
    83 $(BUILD_DIR_32)/.configured:    ../php-nsapi/build/$(MACH32)/.installed
    79 
    84 
    80 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    85 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)