($(inst_includedir)/bits/stdio_lim.h): Use $(do-install).
[kopensolaris-gnu/glibc.git] / stdio-common / Makefile
index 183f140..49f9ddb 100644 (file)
@@ -21,7 +21,7 @@
 #
 subdir := stdio-common
 
-headers        := bits/stdio_lim.h printf.h
+headers        := printf.h
 
 routines       :=                                                            \
        ctermid cuserid                                                       \
@@ -36,6 +36,10 @@ routines     :=                                                            \
        remove rename                                                         \
        lockfile
 
+include ../Makeconfig
+
+install-others := $(inst_includedir)/bits/stdio_lim.h
+
 aux    := errlist siglist
 distribute := _itoa.h printf-parse.h stdio_lim.h.in
 
@@ -56,6 +60,9 @@ CFLAGS-scanf4.c = -Wno-format
 CFLAGS-scanf7.c = -Wno-format
 CFLAGS-tst-printfsz.c = -Wno-format
 
+$(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h
+       $(do-install)
+
 ifeq ($(stdio),libio)
 ifneq (,$(filter %REENTRANT, $(defines)))
 CPPFLAGS += -D_IO_MTSAFE_IO