[Mesa-dev] [PATCH 3/4] i965: Convert the build to using automake.

Julien Cristau jcristau at debian.org
Sun Jan 15 09:37:07 PST 2012


On Thu, Jan 12, 2012 at 20:52:33 -0500, Matt Turner wrote:

> On Thu, Jan 12, 2012 at 7:08 PM, Eric Anholt <eric at anholt.net> wrote:
> > This does introduce a warning by the automake build system, that the
> > missing-symbols test build is non-portable.  That's true -- Mac OS X
> > can't take something built as a loadable module and just link it as a
> > library.  Of course, we aren't building this on OS X at all, so it
> > would be nice to be able to suppress it, but I haven't found a way.
> >
> > Still, the build is going to be much quieter than we have ever had
> > before, so I think this is a fair tradeoff until we find a way to shut
> > that warning up.
> > ---
> 
> If you want to still put i965_dri.so into the lib/ directory, here's
> what I've done for libglsl.so:
> 
> all-local: libglsl.la
>         if test ! -f "$(top_srcdir)/$(LIB_DIR)/libglsl.so"; then \
>                 $(MKDIR_P) $(top_srcdir)/$(LIB_DIR); \
>                 ln .libs/libglsl.so $(top_srcdir)/$(LIB_DIR)/libglsl.so; \
>         fi
> 
libglsl.so in srcdir?  that sounds like it should be builddir instead.
Not that mesa builds out of tree so far, but maybe automake will let us
fix that.

Cheers,
Julien


More information about the mesa-dev mailing list