cvs: php-src(PHP_5_3) /win32/build Makefile
| From: | Steph Fox | Date: | Sat, 03 May 2008 21:12:56 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /win32/build Makefile | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-49825@lists.php.net to get a copy of this message | ||
sfox Sat May 3 21:12:56 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/win32/build Makefile
Log:
- Introducing nmake clean-all
- This should probably be merged with nmake clean, but I've no way to test the impact on
distro builds.
http://cvs.php.net/viewvc.cgi/php-src/win32/build/Makefile?r1=1.35.2.1.2.6.2.3&r2=1.35.2.1.2.6.2.4&diff_format=u
Index: php-src/win32/build/Makefile
diff -u php-src/win32/build/Makefile:1.35.2.1.2.6.2.3 php-src/win32/build/Makefile:1.35.2.1.2.6.2.4
--- php-src/win32/build/Makefile:1.35.2.1.2.6.2.3 Tue Mar 18 03:12:42 2008
+++ php-src/win32/build/Makefile Sat May 3 21:12:55 2008
@@ -14,7 +14,7 @@
# | Author: Wez Furlong <wez@thebrainroom.com> |
# +----------------------------------------------------------------------+
#
-# $Id: Makefile,v 1.35.2.1.2.6.2.3 2008/03/18 03:12:42 sfox Exp $
+# $Id: Makefile,v 1.35.2.1.2.6.2.4 2008/05/03 21:12:55 sfox Exp $
# This is the makefile template for the win32 build
CC="$(CL)"
@@ -97,7 +97,7 @@
-@del /F /Q $(BUILD_DIR)\$(PHPDLL)
clean: clean-sapi
- @echo Cleaning build dirs
+ @echo Cleaning distribution build dirs
@for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @del /F /Q %D\*.* > NUL
-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb
$(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-Win32.zip
$(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)-Win32.zip > NUL
-rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
@@ -106,6 +106,11 @@
@echo Cleaning PECL targets only
-rmdir /s /q $(BUILD_DIR)\pecl
+clean-all:
+ @echo Cleaning standard build dirs
+ @for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @rmdir /s /q %D
+ -@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb
$(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin
$(BUILD_DIR)\php*.dll $(BUILD_DIR)\php*.exe > NUL
+
test:
<<test_suite_uses_lame_env_vars.bat
set TEST_PHP_EXECUTABLE=$(BUILD_DIR)\php.exe