mirror of git://sourceware.org/git/glibc.git
2009-02-27 Roland McGrath <roland@redhat.com>
* Makeconfig (%.v.i): Depend on Makeconfig. Exclude % lines from initial #-comment removal.
This commit is contained in:
parent
56a9651fe6
commit
8744841f9a
|
@ -793,9 +793,9 @@ ifeq (yes, $(build-shared))
|
||||||
# `FOO.v', and along with that `FOO.v.i' should be given dependencies
|
# `FOO.v', and along with that `FOO.v.i' should be given dependencies
|
||||||
# listing both its input files, and any header files that it may reference
|
# listing both its input files, and any header files that it may reference
|
||||||
# (but no commands).
|
# (but no commands).
|
||||||
%.v.i: $(common-objpfx)config.h
|
%.v.i: $(common-objpfx)config.h $(..)Makeconfig
|
||||||
sed 's/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
|
sed '/^[ ]*%/!s/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
|
||||||
$(filter-out FORCE %.h,$^) \
|
$(filter-out FORCE %.h $(..)Makeconfig,$^) \
|
||||||
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
|
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
|
||||||
> $@T
|
> $@T
|
||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
|
|
Loading…
Reference in New Issue