diff options
author | Roland McGrath <roland@redhat.com> | 2010-04-09 15:31:45 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-04-09 15:31:45 -0700 |
commit | 17ad3877276b37af45c380b07b975406cf2e95de (patch) | |
tree | 2cf5fc901bf394917ea683475f526bb35f7af1c1 /Makerules | |
parent | 4ae73ca00adbf6bf54bafe93d1318e3446af5919 (diff) | |
download | glibc-17ad3877276b37af45c380b07b975406cf2e95de.zip glibc-17ad3877276b37af45c380b07b975406cf2e95de.tar.gz glibc-17ad3877276b37af45c380b07b975406cf2e95de.tar.bz2 |
Use a stamp file for libc-abis.h rule.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -111,14 +111,16 @@ endif # $(versioning) = yes ifndef avoid-generated before-compile := $(common-objpfx)libc-abis.h $(before-compile) -$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis \ +$(common-objpfx)libc-abis.h: $(common-objpfx)libc-abis.stamp; @: +$(common-objpfx)libc-abis.stamp: $(..)scripts/gen-libc-abis \ $(firstword $(wildcard $(sysdirs:=/libc-abis)) \ $(..)libc-abis) \ $(..)Makerules $(SHELL) $< \ $(base-machine)-$(config-vendor)-$(config-os) \ - < $(word 2,$^) > $@T - $(move-if-change) $@T $@ + < $(word 2,$^) > $(@:.stamp=.h)T + $(move-if-change) $(@:.stamp=.h)T $(@:.stamp=.h) + touch $@ common-generated += $(common-objpfx)libc-abis.h endif # avoid-generated |