summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-08-08 17:58:10 +0200
committerAnatol Belski <ab@php.net>2017-08-08 17:58:10 +0200
commit075986f214957864c09559dda5a8cad89abcec88 (patch)
tree239f8da1e77000738134056194195311873cd992
parent618dcd6520560ad69fc57c46c73528c1755151e6 (diff)
downloadphp-git-075986f214957864c09559dda5a8cad89abcec88.tar.gz
Sync makefile options for phpize
- run target - debugger mode
-rw-r--r--win32/build/Makefile.phpize14
1 files changed, 13 insertions, 1 deletions
diff --git a/win32/build/Makefile.phpize b/win32/build/Makefile.phpize
index 6b2da358b8..acb609c2bb 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=