Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
1999-10-20  Andreas Schwab  <schwab@suse.de>

	* math/Makefile (libm-tests-generated): Remove libm-test.stmp.
	(generated): Add it here.
	(before-compile): Add libm-test.c.
	($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
	libm-test.stmp.
	($(objpfx)libm-test.stmp): Use $(objpfx) instead of
	$(objdir)/math/.
  • Loading branch information
Ulrich Drepper committed Nov 1, 1999
1 parent 1830a0d commit 882ed1b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
1999-10-20 Andreas Schwab <schwab@suse.de>

* math/Makefile (libm-tests-generated): Remove libm-test.stmp.
(generated): Add it here.
(before-compile): Add libm-test.c.
($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
libm-test.stmp.
($(objpfx)libm-test.stmp): Use $(objpfx) instead of
$(objdir)/math/.

1999-10-31 Ulrich Drepper <drepper@cygnus.com>

* Makefile (pdf): New goal.
Expand Down
2 changes: 1 addition & 1 deletion manual/.cvsignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
TODO COPYING* AUTHORS copyr-* copying.*
glibc-*

*.dvi* *.info* *.c.texi *.ps
*.dvi* *.info* *.c.texi *.ps *.pdf
*.toc *.aux *.log *.tmp
*.cp *.cps *.fn *.fns *.vr *.vrs *.tp *.tps *.ky *.kys *.pg *.pgs

Expand Down
13 changes: 9 additions & 4 deletions math/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,19 @@ libm-tests = test-float test-double $(test-longdouble-$(long-double-fcts)) \
libm-tests.o = $(addsuffix .o,$(libm-tests))

tests += $(libm-tests)
libm-tests-generated = libm-test-ulps.h libm-test.c libm-test.stmp
generated += $(libm-tests-generated)
libm-tests-generated = libm-test-ulps.h libm-test.c
generated += $(libm-tests-generated) libm-test.stmp

# This is needed for dependencies
before-compile += $(objpfx)libm-test.c

ulps-file= $(firstword $(wildcard $(config-sysdirs:%=$(..)%/libm-test-ulps)))
ulps-file = $(firstword $(wildcard $(config-sysdirs:%=$(..)%/libm-test-ulps)))

$(addprefix $(objpfx), $(libm-tests-generated)): $(objpfx)libm-test.stmp

$(objpfx)libm-test.stmp: $(ulps-file) libm-test.inc gen-libm-test.pl
$(PERL) gen-libm-test.pl -u $< -o $(objdir)/math/
$(make-target-directory)
$(PERL) gen-libm-test.pl -u $< -o "$(objpfx)"
@echo > $@

$(objpfx)test-float.o: $(objpfx)libm-test.stmp
Expand Down

0 comments on commit 882ed1b

Please sign in to comment.