mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
[BZ #2507]
2006-04-03 Roland McGrath <roland@frob.com> [BZ #2507] * mach/Machrules (.udeps-targets): New variable. ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside quoted string.
This commit is contained in:
parent
e7397b8473
commit
930e5aa1fd
@ -138,10 +138,11 @@ $(patsubst %,$(objpfx)%.udeps,$(user-interfaces)):
|
|||||||
# We must use $(CFLAGS) to get -O flags that affect #if's in header files.
|
# We must use $(CFLAGS) to get -O flags that affect #if's in header files.
|
||||||
$(include-%.defs) | \
|
$(include-%.defs) | \
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -M -x c - | \
|
$(CC) $(CFLAGS) $(CPPFLAGS) -M -x c - | \
|
||||||
sed -e 's,- *:,$@ $(@:.udeps=.ustamp) $(@:.udeps=.uh) $(@:.udeps=.__h)\
|
sed -e 's,- *:,$(.udeps-targets):,' \
|
||||||
$(@:.udeps=_server.c) $(@:.udeps=_server.h):,' \
|
|
||||||
$(sed-remove-objpfx) > $@.new
|
$(sed-remove-objpfx) > $@.new
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
|
.udeps-targets = $@ $(@:.udeps=.ustamp) $(@:.udeps=.uh) $(@:.udeps=.__h) \
|
||||||
|
$(@:.udeps=_server.c) $(@:.udeps=_server.h)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Look for the server stub files where they will be written.
|
# Look for the server stub files where they will be written.
|
||||||
|
Loading…
Reference in New Issue
Block a user