(headers): Remove bits/stdio_lim.h. This file isn't distributed.
authordrepper <drepper>
Tue, 27 Aug 2002 11:32:35 +0000 (11:32 +0000)
committerdrepper <drepper>
Tue, 27 Aug 2002 11:32:35 +0000 (11:32 +0000)
Add special rules to install bits/stdio_lim.h.

stdio-common/Makefile

index e391551..437e2b5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1991-1999, 2000, 2001, 2002 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
@@ -21,7 +21,7 @@
 #
 subdir := stdio-common
 
-headers        := printf.h stdio_ext.h bits/stdio_lim.h
+headers        := printf.h stdio_ext.h
 
 routines       :=                                                            \
        ctermid cuserid                                                       \
@@ -36,6 +36,8 @@ routines      :=                                                            \
        remove rename                                                         \
        lockfile
 
+install-others = $(inst_includedir)/bits/stdio_lim.h
+
 include ../Makeconfig
 
 ifeq ($(stdio),libio)
@@ -60,6 +62,9 @@ test-srcs = tst-unbputc tst-printf
 
 include ../Rules
 
+$(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.f $(+force)
+       $(do-install)
+
 ifeq ($(cross-compiling),no)
 .PHONY: do-tst-unbputc do-tst-printf
 tests: do-tst-unbputc do-tst-printf