summary refs log tree commit diff
path: root/stdlib/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-11 11:59:55 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-11 11:59:55 +0000
commit1eb687d0b865ea0d97bb774b23a764f1c4369475 (patch)
tree87aaeeb9bcc74de26af7fda8762c2ff717414f73 /stdlib/Makefile
parent3ec27a876c591a89998aeb89e7ccd1db45b7fb39 (diff)
downloadglibc-1eb687d0b865ea0d97bb774b23a764f1c4369475.tar.gz
glibc-1eb687d0b865ea0d97bb774b23a764f1c4369475.tar.xz
glibc-1eb687d0b865ea0d97bb774b23a764f1c4369475.zip
Update.
1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>

	* stdlib/strtod.c (STRTOF): Don't call lshift with zero count.

	* isomac.c: Move to...
	* stdlib/isomac.c: ...here.
	* Makefile: Move rules for handling isomac...
	* stdlib/Makefile: ...to here.
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r--stdlib/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 3de9ff9891..cd33f1f90f 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -49,7 +49,7 @@ routines	:=							      \
 	strtoimax strtoumax wcstoimax wcstoumax				      \
 	getcontext setcontext makecontext swapcontext
 
-distribute	:= exit.h grouping.h abort-instr.h
+distribute	:= exit.h grouping.h abort-instr.h isomac.c
 tests		:= tst-strtol tst-strtod testmb testrand testsort testdiv \
 		   test-canon
 
@@ -65,6 +65,7 @@ routines := $(strip $(routines) $(mpn-routines))	\
 aux := mp_clz_tab fpioconst
 distribute := $(distribute) $(mpn-headers) gen-mpn-copy fpioconst.h
 
+generated += isomac isomac.out
 
 include ../Rules
 
@@ -117,3 +118,10 @@ clean-mpn:
 	rm -f $(mpn-stuff)
 
 endif
+
+# Run a test on the header files we use.
+tests: $(objpfx)isomac
+	$(dir $<)$(notdir $<) '$(CC)' '-I../include -I.. $(+sysdep-includes)' > $<.out
+
+$(objpfx)isomac: isomac.c
+	$(native-compile)