Fwd: Re: makefiles aren't passing variables "correctly"
Steven King
sxking@uswest.net
Wed Oct 11 12:23:00 GMT 2000
On Wed, 11 Oct 2000, Benjamin Kosnik wrote:
> As Steven pointed out, common defines and macros have moved up the
> Makefile.am heirarchy, from src/Makefile.am to ./Makefile.am.
>
> The reason for this is that
>
> src/Makefile.am
> libio/Makefile.am
> libsupc++/Makefile.am
>
> have a lot in common (and thus had a lot of duplication.) I felt like
> it was in the best interest to try and consolidate some of this stuff.
So, does the attached patch work for you? It factors out the common section
into a separate file, and include's it in each of the subdir/Makefile.am. The
Makefile.extra goes in libstdc++-v3 (does anyone know how to get cvs diff to
include new files in a patch?).
2000-10-11 Steven King sxking@uswest.net
* Makefile.extra: New file contains definitions of includes for subdirs
* Makefile.am: Don't pass definitions of includes to subdirs
* libio/Makefile.am: Add include of $(top_srcdir)/Makefile.extra
* libmath/Makefile.am: Add include of $(top_srcdir)/Makefile.extra
* libsupc++/Makefile.am: Add include of $(top_srcdir)/Makefile.extra
* src/Makefile.am: Add include of $(top_srcdir)/makefile.extra
--
Steven King
sxking@uswest.net
More information about the Libstdc++
mailing list