components/php-5_3/php-sapi/Makefile
branchs11-update
changeset 4173 8d9bea4f92c7
parent 3996 20c0f21bbe1e
equal deleted inserted replaced
4172:a6d468ddeb77 4173:8d9bea4f92c7
   233 PKG_PROTO_DIRS += $(COMPONENT_DIR)/../php-cgi/build/prototype/$(MACH)
   233 PKG_PROTO_DIRS += $(COMPONENT_DIR)/../php-cgi/build/prototype/$(MACH)
   234 
   234 
   235 CLEAN_PATHS += phpize-proto php-config-proto php-config-proto.zts tmp
   235 CLEAN_PATHS += phpize-proto php-config-proto php-config-proto.zts tmp
   236 CLEAN_PATHS += php.ini-patched
   236 CLEAN_PATHS += php.ini-patched
   237 
   237 
   238 # common targets
   238 # Test results not quite stable but good enough for human eyes
       
   239 $(SKIP_TEST_AT_TOP_LEVEL)
       
   240 
   239 configure:	$(CONFIGURE_32)
   241 configure:	$(CONFIGURE_32)
   240 
   242 
   241 build:		$(BUILD_32)
   243 build:		$(BUILD_32)
   242 
   244 
   243 install:	$(INSTALL_32) PHP-NSAPI_INSTALL PHP-CGI_INSTALL
   245 install:	$(INSTALL_32) PHP-NSAPI_INSTALL PHP-CGI_INSTALL
   244 
   246 
   245 # Besides running this test target it is also strong advised to download
   247 # Besides running this test target it is also strongly advised to download
   246 # and test with:
   248 # and test with:
   247 # Joomla!	http://www.joomla.org/
   249 # Joomla!	http://www.joomla.org/
   248 # WordPress	http://wordpress.org/
   250 # WordPress	http://wordpress.org/
       
   251 
       
   252 # These test and compare results are not quite stable enough
       
   253 # to use in automated testing but good enough to eye 
       
   254 # ball and get a sense that php is working correctly.
       
   255 # Individual tests can be run afterwards.
       
   256 # Several random tests may PASS/FAIL on each run thus invalidating
       
   257 # test and compare results.
       
   258 # To use the master test result file do:
       
   259 # $ gmake build
       
   260 # $ gmake -i -k test
       
   261 # because very likely the comparison phase will fail.
       
   262 
       
   263 # test failures; keep going
       
   264 COMPONENT_TEST_ARGS += -k -i
       
   265 
       
   266 # different results for different architectures
       
   267 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH$(BITS)).master
       
   268 
   249 test:		$(TEST_32)
   269 test:		$(TEST_32)
   250 
   270 
   251 ../imap/build/$(MACH32)/.built:
   271 ../imap/build/$(MACH32)/.built:
   252 	(cd ../imap ; $(MAKE) build)
   272 	(cd ../imap ; $(MAKE) build)
   253 
   273 
   258 	(cd ../php-cgi ; $(MAKE) install)
   278 	(cd ../php-cgi ; $(MAKE) install)
   259 
   279 
   260 $(BUILD_DIR_32)/.configured:	../imap/build/$(MACH32)/.built
   280 $(BUILD_DIR_32)/.configured:	../imap/build/$(MACH32)/.built
   261 PHP-NSAPI_INSTALL:		../php-nsapi/build/$(MACH32)/.installed
   281 PHP-NSAPI_INSTALL:		../php-nsapi/build/$(MACH32)/.installed
   262 PHP-CGI_INSTALL:		../php-cgi/build/$(MACH32)/.installed
   282 PHP-CGI_INSTALL:		../php-cgi/build/$(MACH32)/.installed
   263 
       
   264