aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-01 02:28:55 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-01 02:28:55 +0000
commit882ed1bed6873b21dd5bfe74bb3d05fa8cc2435d (patch)
treeda2d1021a2f0c7dc34455950aed9288cd91f75a5
parent1830a0d541a97bb3ad59d06c233fc67fb2e05898 (diff)
downloadglibc-882ed1bed6873b21dd5bfe74bb3d05fa8cc2435d.zip
glibc-882ed1bed6873b21dd5bfe74bb3d05fa8cc2435d.tar.gz
glibc-882ed1bed6873b21dd5bfe74bb3d05fa8cc2435d.tar.bz2
Update.
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/.
-rw-r--r--ChangeLog10
-rw-r--r--manual/.cvsignore2
-rw-r--r--math/Makefile13
3 files changed, 20 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index ce55801..71dc3e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/manual/.cvsignore b/manual/.cvsignore
index 268ddb6..f1254e9 100644
--- a/manual/.cvsignore
+++ b/manual/.cvsignore
@@ -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
diff --git a/math/Makefile b/math/Makefile
index 8c326f2..bc2e7b9 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -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