From 00ea7b7dc2cbf8ed8cec45e6f795b934df72be44 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 19 Dec 2002 17:55:42 +0000 Subject: [PATCH] ICU-2591 fix dependency files for source that #includes .c file (fix to workaround for GCC3 in OSX10.2 bug) X-SVN-Rev: 10766 --- icu4c/source/config/mh-darwin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/config/mh-darwin b/icu4c/source/config/mh-darwin index d917fdeda96..4d72e4c1965 100644 --- a/icu4c/source/config/mh-darwin +++ b/icu4c/source/config/mh-darwin @@ -4,7 +4,7 @@ ## Copyright (c) 1999-2002, International Business Machines Corporation and ## others. All Rights Reserved. ## -## $Id: mh-darwin,v 1.24 2002/12/10 01:43:05 srl Exp $ +## $Id: mh-darwin,v 1.25 2002/12/19 17:55:42 srl Exp $ ## Flags for position independent code SHAREDLIBCFLAGS = -dynamic @@ -66,7 +66,7 @@ MIDDLE_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR).$(SO) @echo "generating dependency information for $<" @$(GEN_DEPS.cc) $< -o $@ @mv $@ $@~ - @( echo '/h$$' ; echo '+,$$d' ; echo "wq" ) | ed $@~ 2>/dev/null >/dev/null || exit 0 + @( echo '/\.[ch]$$' ; echo '+,$$d' ; echo "wq" ) | ed $@~ 2>/dev/null >/dev/null || exit 0 @echo -n "$@ " > $@ @cat < $@~ >> $@ @-rm $@~