diff options
author | Edin Kadribasic <edink@php.net> | 2005-02-25 00:20:19 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2005-02-25 00:20:19 +0000 |
commit | dec1c86ab6e9290094f741f41283113bfe54e756 (patch) | |
tree | 3e9ec6ebc994b364e140974694b21ca29d614433 /win32/build/Makefile | |
parent | a3085602d0a430b285c2e3a03d85765139ba7d14 (diff) | |
download | php-git-dec1c86ab6e9290094f741f41283113bfe54e756.tar.gz |
Added --enable-debug-pack which will create a zip file with *.pdb debug
symbol files. Could be used to allow windows users to use free Microsoft
debugging tools to generate useful backtraces.
Debug tools can be found at:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
CLAGS used described in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;291585
Only tested on VC 6.0.
Diffstat (limited to 'win32/build/Makefile')
-rw-r--r-- | win32/build/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/build/Makefile b/win32/build/Makefile index 2ce5499292..77ea3c3a02 100644 --- a/win32/build/Makefile +++ b/win32/build/Makefile @@ -107,6 +107,7 @@ build-dist: $(BUILD_DIR)\deplister.exe -rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING) -rmdir /s /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING) -del /f /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-Win32.zip + -del /f /q $(BUILD_DIR)\php-debug-pack-$(PHP_VERSION_STRING)-Win32.zip -del /f /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)-Win32.zip $(BUILD_DIR)\php.exe -n win32/build/mkdist.php "$(BUILD_DIR)" "$(PHPDLL)" "$(SAPI_TARGETS)" "$(EXT_TARGETS)" "$(PECL_TARGETS)" "$(SNAPSHOT_TEMPLATE)" cd $(BUILD_DIR)\php-$(PHP_VERSION_STRING) @@ -115,6 +116,9 @@ build-dist: $(BUILD_DIR)\deplister.exe cd $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING) -$(ZIP) -9 -r ..\pecl-$(PHP_VERSION_STRING)-Win32.zip . cd ..\.. + cd $(BUILD_DIR) + -$(ZIP) -9 php-debug-pack-$(PHP_VERSION_STRING)-Win32.zip *.pdb + cd ..\.. dist: all build-dist snap: build-snap build-dist |