diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-02-06 18:28:33 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-02-06 18:28:33 +0000 |
commit | 5cd81881e221d2943ca41b2da7bb87c0ede3386b (patch) | |
tree | bb82b1e984d97751d9f1b66aab832c0778584dd9 /math/libm-test-erfc.inc | |
parent | 7e1e68b45c4f2e048213cffa8ccd42a1e5c4fec6 (diff) | |
download | glibc-5cd81881e221d2943ca41b2da7bb87c0ede3386b.tar.gz glibc-5cd81881e221d2943ca41b2da7bb87c0ede3386b.tar.xz glibc-5cd81881e221d2943ca41b2da7bb87c0ede3386b.zip |
Eliminate libm-test.stmp.
math/Makefile uses libm-test.stmp to handle dependencies involving multiple generated files all generated by a single sequence of commands in a single Makefile rule. Having separated the libm-test-ulps.h and libm-test.c generation into separate runs of gen-libm-test.pl, there is now no need for a single rule to generate multiple target files; each of the three target files involved can be generated by a separate Makefile rule, meaning normal dependencies on the individual files can be used and so libm-test.stmp is not needed at all. This patch does just that, eliminating the .stmp file, in further preparation for when there are many separate libm-test-<func>.c files generated from libm-test-<func>.inc and the dependencies are on just the relevant .c file in each case. Tested for x86_64. * math/Makefile (generated): Do not include libm-test.stmp. ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend on $(objpfx)libm-test.stmp. ($(objpfx)libm-test.stmp): Remove rule. ($(objpfx)libm-test-ulps.h): New rule. ($(objpfx)libm-test.c): Likewise. ($(objpfx)libm-have-vector-test.h): Likewise. ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on individual generated files, not libm-test.stmp.
Diffstat (limited to 'math/libm-test-erfc.inc')
0 files changed, 0 insertions, 0 deletions