+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
-# 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
# 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)
#
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 \
isoc99_vsscanf \
psiginfo
-install-others = $(inst_includedir)/bits/stdio_lim.h
-
include ../Makeconfig
aux := errlist siglist printf-parsemb printf-parsewc fxprintf
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