Install bits/stdio_lim.h in install-headers.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 9 Mar 2012 22:05:49 +0000 (22:05 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 9 Mar 2012 22:05:49 +0000 (22:05 +0000)
ChangeLog
Makerules
stdio-common/Makefile

index 3cc0d2dab687bc9ac3cf6da7cabc3ff4bbf8a1e6..79d9dc266558c641e565e6cae8917ab5d9ae279f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-03-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makerules ($(inst_includedir)/%.h): New rule.
+       * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
+       (install-others): Remove variable setting.
+       ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
+
 2012-03-08  Richard Henderson  <rth@twiddle.net>
 
        * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
index 7d18f890fdb7deb8c1c305d6ec953d841e68a763..f1807c2ee8c73d287e649760d15cf49fe27de011 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1991-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -1068,6 +1068,8 @@ ifdef headers
 # headers in the sysdeps tree.
 $(inst_includedir)/%.h: $(objpfx)%.h $(+force)
        $(do-install)
+$(inst_includedir)/%.h: $(common-objpfx)%.h $(+force)
+       $(do-install)
 $(inst_includedir)/%.h: %.h $(+force)
        $(do-install)
 $(inst_includedir)/%.h: $(..)include/%.h $(+force)
index 266147e713ca6bfcf18285235f07607b182916c4..8cf6335bb573758ad0ae30239543e46ad334cce8 100644 (file)
@@ -20,7 +20,7 @@
 #
 subdir := stdio-common
 
-headers        := stdio_ext.h printf.h bits/printf-ldbl.h
+headers        := stdio_ext.h printf.h bits/printf-ldbl.h bits/stdio_lim.h
 
 routines       :=                                                            \
        ctermid cuserid                                                       \
@@ -39,8 +39,6 @@ routines      :=                                                            \
        isoc99_vsscanf                                                        \
        psiginfo
 
-install-others = $(inst_includedir)/bits/stdio_lim.h
-
 include ../Makeconfig
 
 aux    := errlist siglist printf-parsemb printf-parsewc fxprintf
@@ -64,9 +62,6 @@ test-srcs = tst-unbputc tst-printf
 
 include ../Rules
 
-$(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h $(+force)
-       $(do-install)
-
 ifeq ($(cross-compiling),no)
 .PHONY: do-tst-unbputc do-tst-printf
 tests: do-tst-unbputc do-tst-printf