Makefile.am (INCLUDES): New target file, with all -I flags.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 15 Aug 2000 07:42:36 +0000 (07:42 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 15 Aug 2000 07:42:36 +0000 (07:42 +0000)
* src/Makefile.am (INCLUDES): New target file, with all -I flags.
* src/Makefile.in: Regenerate.

From-SVN: r35700

libstdc++-v3/ChangeLog
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in

index 53e6937..e2fdf41 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       * src/Makefile.am (INCLUDES): New target file, with all -I flags.
+       * src/Makefile.in: Regenerate.
+
 2000-08-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
 
        C/C++ io merge/sync.
index 067cfec..468d642 100644 (file)
@@ -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) > $@
index b70705e..4f01210 100644 (file)
@@ -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: