]> sourceware.org Git - glibc.git/commit
Eliminate libm-test.stmp.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 6 Feb 2017 18:28:33 +0000 (18:28 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 6 Feb 2017 18:28:33 +0000 (18:28 +0000)
commit5cd81881e221d2943ca41b2da7bb87c0ede3386b
treebb82b1e984d97751d9f1b66aab832c0778584dd9
parent7e1e68b45c4f2e048213cffa8ccd42a1e5c4fec6
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.
ChangeLog
math/Makefile
This page took 0.040033 seconds and 5 git commands to generate.