mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
2003-05-04 Roland McGrath <roland@redhat.com>
* Makerules (+make-deps): Fix target matching. Use $(sed-remove-dotdot).
This commit is contained in:
parent
a12ce44f69
commit
b710b53daf
@ -379,9 +379,9 @@ S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS)
|
||||
define +make-deps
|
||||
$(make-target-directory)
|
||||
$(+mkdep) $< $(if $(filter %.c,$<),$(CFLAGS)) \
|
||||
$(CPPFLAGS) $($(patsubst .%,%,$(suffix $(<F)))-CPPFLAGS) | sed \
|
||||
-e 's,$(subst .,\.,$*)\.o,$(foreach o,$(all-object-suffixes),$(@:.d=$o)) $@,' \
|
||||
$(sed-remove-objpfx) > $(@:.d=.T)
|
||||
$(CPPFLAGS) $($(patsubst .%,%,$(suffix $(<F)))-CPPFLAGS) | sed -e\
|
||||
's,$(subst .,\.,$(@F:.d=.o)),$(foreach o,$(all-object-suffixes),$(@:.d=$o)) $@,' \
|
||||
$(sed-remove-objpfx) $(sed-remove-dotdot) > $(@:.d=.T)
|
||||
mv -f $(@:.d=.T) $@ $(generate-md5)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user