ICU-4419 Fix incorrect dependency generation for MinGW and Cygwin.

X-SVN-Rev: 17356
This commit is contained in:
George Rhoten 2005-03-18 05:21:44 +00:00
parent b379ce94c7
commit 0f5e7481e8
2 changed files with 5 additions and 5 deletions

View file

@ -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,

View file

@ -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,