changeset 625:0ba1f80b73a5

6962540: langtools Makefile sets DEV_NULL incorrectly Reviewed-by: ohair
author jjg
date Fri, 18 Jun 2010 16:45:13 -0700
parents e2b845fdc437
children 4177f5bdd189
files make/Makefile
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Wed Jun 16 17:52:10 2010 -0700
+++ b/make/Makefile	Fri Jun 18 16:45:13 2010 -0700
@@ -40,15 +40,16 @@
 
 SYSTEM_UNAME := $(shell uname)
 
+# Where is unwanted output to be delivered?
+# On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file.
 ifeq ($(SYSTEM_UNAME), Windows_NT)
 DEV_NULL = NUL
 else
+DEV_NULL = /dev/null 
+endif
+
 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
-DEV_NULL = NUL
 USING_CYGWIN = true
-else
-DEV_NULL = /dev/null
-endif 
 endif
 
 ifdef USING_CYGWIN