From 0f5e7481e8f350bc37cdb982620ea3bfa921ff9a Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 18 Mar 2005 05:21:44 +0000 Subject: [PATCH] ICU-4419 Fix incorrect dependency generation for MinGW and Cygwin. X-SVN-Rev: 17356 --- icu4c/source/config/mh-cygwin | 6 +++--- icu4c/source/config/mh-mingw | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/icu4c/source/config/mh-cygwin b/icu4c/source/config/mh-cygwin index 7779b11c8fc..98e0678d4ee 100644 --- a/icu4c/source/config/mh-cygwin +++ b/icu4c/source/config/mh-cygwin @@ -1,6 +1,6 @@ ## -*-makefile-*- ## Cygwin-specific setup -## Copyright (c) 2001-2004, International Business Machines Corporation and +## Copyright (c) 2001-2005, International Business Machines Corporation and ## others. All Rights Reserved. ## Commands to generate dependency files @@ -67,12 +67,12 @@ I18N_STUBNAME = in %.d: $(srcdir)/%.c @echo "generating dependency information for $<" @echo -n "$@ " > $@ - @$(SHELL) -ec '$(GEN_DEPS.c) $< >> $@; [ -s $@ ] || rm -f $@' + @$(GEN_DEPS.c) $< >> $@ || (rm -f $@ && FALSE) %.d: $(srcdir)/%.cpp @echo "generating dependency information for $<" @echo -n "$@ " > $@ - @$(SHELL) -ec '$(GEN_DEPS.cc) $< >> $@; [ -s $@ ] || rm -f $@' + @$(GEN_DEPS.cc) $< >> $@ || (rm -f $@ && FALSE) ## Versioned target for a shared library. ## Since symbolic links don't work the same way on Windows, diff --git a/icu4c/source/config/mh-mingw b/icu4c/source/config/mh-mingw index 752a64b1405..0a670ec42f0 100644 --- a/icu4c/source/config/mh-mingw +++ b/icu4c/source/config/mh-mingw @@ -90,12 +90,12 @@ CURR_SRCCODE_FULL_DIR=$(subst /,\\\\,$(shell pwd -W))#M# %.d: $(srcdir)/%.c @echo "generating dependency information for $<" @echo -n "$@ " > $@ - @$(SHELL) -ec '$(GEN_DEPS.c) $< >> $@; [ -s $@ ] || rm -f $@' + @$(GEN_DEPS.c) $< >> $@ || (rm -f $@ && FALSE) %.d: $(srcdir)/%.cpp @echo "generating dependency information for $<" @echo -n "$@ " > $@ - @$(SHELL) -ec '$(GEN_DEPS.cc) $< >> $@; [ -s $@ ] || rm -f $@' + @$(GEN_DEPS.cc) $< >> $@ || (rm -f $@ && FALSE) ## Versioned target for a shared library. ## Since symbolic links don't work the same way on Windows,