com php-src: Sync makefile options for phpize: win32/build/Makefile.phpize

From: Date: Tue, 08 Aug 2017 15:58:10 +0000
Subject: com php-src: Sync makefile options for phpize: win32/build/Makefile.phpize
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98976@lists.php.net to get a copy of this message
Commit: 075986f214957864c09559dda5a8cad89abcec88 Author: Anatol Belski <ab@php.net> Tue, 8 Aug 2017 17:58:10 +0200 Parents: 618dcd6520560ad69fc57c46c73528c1755151e6 Branches: PHP-7.0 PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=075986f214957864c09559dda5a8cad89abcec88 Log: Sync makefile options for phpize - run target - debugger mode Changed paths: M win32/build/Makefile.phpize Diff: diff --git a/win32/build/Makefile.phpize b/win32/build/Makefile.phpize index 6b2da35..acb609c 100644 --- a/win32/build/Makefile.phpize +++ b/win32/build/Makefile.phpize @@ -8,6 +8,15 @@ PHPLIB=$(PHPSDK_DIR)\lib\$(PHPLIB) LDFLAGS=$(LDFLAGS) /libpath:"$(PHPSDK_DIR)\lib\;$(PHPSDK_DIR)" BUILD_DIR_DEV=$(PHPSDK_DIR) +!if "$(DEBUGGER)" == "1" +DEBUGGER_CMD=devenv +DEBUGGER_ARGS=/debugexe +!else +DEBUGGER_CMD= +DEBUGGER_ARGS= +!endif + +all: generated_files $(EXT_TARGETS) $(PECL_TARGETS) $(SAPI_TARGETS) all: $(EXT_TARGETS) $(PECL_TARGETS) build_dirs: $(BUILD_DIR) $(BUILD_DIRS_SUB) @@ -35,7 +44,10 @@ _EXTENSION_DLL=$(EXT_TARGETS) !endif test: set-tmp-env - "$(PHP_PREFIX)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(PHP_PREFIX)\php.exe" -d extension=$(BUILD_DIR)\$(_EXTENSION_DLL) + $(DEBUGGER_CMD) $(DEBUGGER_ARGS) "$(PHP_PREFIX)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(PHP_PREFIX)\php.exe" -d extension=$(BUILD_DIR)\$(_EXTENSION_DLL) + +run: set-tmp-env + $(DEBUGGER_CMD) $(DEBUGGER_ARGS) "$(PHP_PREFIX)\php.exe" -n -d extension=$(BUILD_DIR)\\$(_EXTENSION_DLL) $(ARGS) !if $(MT) == "" _VC_MANIFEST_EMBED_EXE=

« previous php.cvs (#98976) next »