diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-08-15 07:42:36 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-08-15 07:42:36 +0000 |
commit | 2f1cb8c208b11653a7996f6326e088c77ad79e11 (patch) | |
tree | 6b0628e6d8eaff5c9931e7932b53004c4e8ee747 /libstdc++-v3/src | |
parent | ed78c86208bc61f7b9d20eb02a5e8beddc83aed5 (diff) | |
download | gcc-2f1cb8c208b11653a7996f6326e088c77ad79e11.zip gcc-2f1cb8c208b11653a7996f6326e088c77ad79e11.tar.gz gcc-2f1cb8c208b11653a7996f6326e088c77ad79e11.tar.bz2 |
Makefile.am (INCLUDES): New target file, with all -I flags.
* src/Makefile.am (INCLUDES): New target file, with all -I flags.
* src/Makefile.in: Regenerate.
From-SVN: r35700
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/Makefile.am | 13 | ||||
-rw-r--r-- | libstdc++-v3/src/Makefile.in | 12 |
2 files changed, 24 insertions, 1 deletions
diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am index 067cfec..468d642 100644 --- a/libstdc++-v3/src/Makefile.am +++ b/libstdc++-v3/src/Makefile.am @@ -21,7 +21,7 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, ## USA. -## $Id$ +## $Id: Makefile.am,v 1.25 2000/07/26 21:30:45 pme Exp $ AUTOMAKE_OPTIONS = 1.3 gnits MAINT_CHARSET = latin1 @@ -314,3 +314,14 @@ wstring-inst.o: string-inst.cc wstring-inst.lo: string-inst.cc $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@ +all: INCLUDES +INCLUDES: Makefile + $(MAKE) \ + top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \ + top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \ + tmp-INCLUDES + -rm -f INCLUDES + mv tmp-INCLUDES INCLUDES + +tmp-INCLUDES: Makefile + echo -I$(top_builddir) $(INCLUDES) > $@ diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index b70705e..4f01210 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -517,6 +517,18 @@ wstring-inst.o: string-inst.cc wstring-inst.lo: string-inst.cc $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@ +all: INCLUDES +INCLUDES: Makefile + $(MAKE) \ + top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \ + top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \ + tmp-INCLUDES + -rm -f INCLUDES + mv tmp-INCLUDES INCLUDES + +tmp-INCLUDES: Makefile + echo -I$(top_builddir) $(INCLUDES) > $@ + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |