Makefile.am (std_headers_rename): New variable.

2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am (std_headers_rename): New variable.
	(install-data-local): Use it.
	* include/Makefile.in: Regenerate.

From-SVN: r48811
This commit is contained in:
Benjamin Kosnik 2002-01-13 05:15:24 +00:00 committed by Benjamin Kosnik
parent bc06712daa
commit 047398eb61
3 changed files with 85 additions and 18 deletions

View File

@ -1,3 +1,9 @@
2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers_rename): New variable.
(install-data-local): Use it.
* include/Makefile.in: Regenerate.
2002-01-12 Benjamin Kosnik <bkoz@redhat.com> 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (money_put::do_put(string): * include/bits/locale_facets.tcc (money_put::do_put(string):

View File

@ -214,6 +214,37 @@ std_headers = \
${std_srcdir}/std_utility.h \ ${std_srcdir}/std_utility.h \
${std_srcdir}/std_valarray.h \ ${std_srcdir}/std_valarray.h \
${std_srcdir}/std_vector.h ${std_srcdir}/std_vector.h
# Renamed at build time.
std_headers_rename = \
${std_builddir}/algorithm \
${std_builddir}/bitset \
${std_builddir}/complex \
${std_builddir}/deque \
${std_builddir}/fstream \
${std_builddir}/functional \
${std_builddir}/iomanip \
${std_builddir}/ios \
${std_builddir}/iosfwd \
${std_builddir}/iostream \
${std_builddir}/istream \
${std_builddir}/iterator \
${std_builddir}/limits \
${std_builddir}/list \
${std_builddir}/locale \
${std_builddir}/map \
${std_builddir}/memory \
${std_builddir}/numeric \
${std_builddir}/ostream \
${std_builddir}/queue \
${std_builddir}/set \
${std_builddir}/sstream \
${std_builddir}/stack \
${std_builddir}/stdexcept \
${std_builddir}/streambuf \
${std_builddir}/string \
${std_builddir}/utility \
${std_builddir}/valarray \
${std_builddir}/vector
target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@ target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
target_builddir = ./${target_alias}/bits target_builddir = ./${target_alias}/bits
@ -372,7 +403,7 @@ install-data-local:
for file in ${c_base_headers}; do \ for file in ${c_base_headers}; do \
$(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
$(INSTALL) -d ${gxx_include_dir}/${std_builddir} $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
for file in ${std_headers}; do \ for file in ${std_headers_rename}; do \
$(INSTALL_DATA) $${file} ${gxx_include_dir}/${std_builddir}; done $(INSTALL_DATA) $${file} ${gxx_include_dir}/${std_builddir}; done
$(INSTALL) -d ${gxx_include_dir}/${target_builddir} $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
for file in ${target_headers} ${extra_target_headers}; do \ for file in ${target_headers} ${extra_target_headers}; do \

View File

@ -1,6 +1,6 @@
# Makefile.in generated automatically by automake 1.4 from Makefile.am # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -344,6 +344,38 @@ std_headers = \
${std_srcdir}/std_valarray.h \ ${std_srcdir}/std_valarray.h \
${std_srcdir}/std_vector.h ${std_srcdir}/std_vector.h
# Renamed at build time.
std_headers_rename = \
${std_builddir}/algorithm \
${std_builddir}/bitset \
${std_builddir}/complex \
${std_builddir}/deque \
${std_builddir}/fstream \
${std_builddir}/functional \
${std_builddir}/iomanip \
${std_builddir}/ios \
${std_builddir}/iosfwd \
${std_builddir}/iostream \
${std_builddir}/istream \
${std_builddir}/iterator \
${std_builddir}/limits \
${std_builddir}/list \
${std_builddir}/locale \
${std_builddir}/map \
${std_builddir}/memory \
${std_builddir}/numeric \
${std_builddir}/ostream \
${std_builddir}/queue \
${std_builddir}/set \
${std_builddir}/sstream \
${std_builddir}/stack \
${std_builddir}/stdexcept \
${std_builddir}/streambuf \
${std_builddir}/string \
${std_builddir}/utility \
${std_builddir}/valarray \
${std_builddir}/vector
target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@ target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
target_builddir = ./${target_alias}/bits target_builddir = ./${target_alias}/bits
@ -403,9 +435,9 @@ GZIP_ENV = --best
all: all-redirect all: all-redirect
.SUFFIXES: .SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits include/Makefile cd $(top_srcdir) && $(AUTOMAKE) --cygnus include/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \ cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@ -418,13 +450,8 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = include subdir = include
distdir: $(DISTFILES) distdir: $(DISTFILES)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits include/Makefile
@for file in $(DISTFILES); do \ @for file in $(DISTFILES); do \
d=$(srcdir); \ if test -f $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \ if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \ cp -pr $$d/$$file $(distdir)/$$file; \
else \ else \
@ -437,10 +464,12 @@ info-am:
info: info-am info: info-am
dvi-am: dvi-am:
dvi: dvi-am dvi: dvi-am
check-am: all-am check-am:
check: check-am check: check-am
installcheck-am: installcheck-am:
installcheck: installcheck-am installcheck: installcheck-am
install-info-am:
install-info: install-info-am
install-exec-am: install-exec-am:
install-exec: install-exec-am install-exec: install-exec-am
@ -488,11 +517,12 @@ maintainer-clean-am: maintainer-clean-generic distclean-am
maintainer-clean: maintainer-clean-am maintainer-clean: maintainer-clean-am
.PHONY: tags distdir info-am info dvi-am dvi check check-am \ .PHONY: tags distdir info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-am install-exec \ installcheck-am installcheck install-info-am install-info \
install-data-local install-data-am install-data install-am install \ install-exec-am install-exec install-data-local install-data-am \
uninstall-am uninstall all-local all-redirect all-am all installdirs \ install-data install-am install uninstall-am uninstall all-local \
mostlyclean-generic distclean-generic clean-generic \ all-redirect all-am all installdirs mostlyclean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
# Here are the rules for building the headers # Here are the rules for building the headers
@ -607,7 +637,7 @@ install-data-local:
for file in ${c_base_headers}; do \ for file in ${c_base_headers}; do \
$(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done $(INSTALL_DATA) $${file} ${gxx_include_dir}/${c_base_builddir}; done
$(INSTALL) -d ${gxx_include_dir}/${std_builddir} $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
for file in ${std_headers}; do \ for file in ${std_headers_rename}; do \
$(INSTALL_DATA) $${file} ${gxx_include_dir}/${std_builddir}; done $(INSTALL_DATA) $${file} ${gxx_include_dir}/${std_builddir}; done
$(INSTALL) -d ${gxx_include_dir}/${target_builddir} $(INSTALL) -d ${gxx_include_dir}/${target_builddir}
for file in ${target_headers} ${extra_target_headers}; do \ for file in ${target_headers} ${extra_target_headers}; do \