[Mesa-dev] [PATCH 0/4] Convert Nouveau gallium drivers to automake

Tom Stellard tstellar at gmail.com
Thu Aug 2 17:40:07 PDT 2012


On Fri, Aug 03, 2012 at 01:53:06AM +0200, Lucas Stach wrote:
> Trivial series to convert Nouveau gallium drivers to automake
> in order to generate Makefiles.
> 
> This is just the general direction in which the MESA buildsystem
> is moving. Aside from this it makes the "make" output a lot more
> readable and therefore helps to spot compiler warnings more easily.
> 
> Lucas Stach (4):
>   nouveau: use automake to generate Makefile
>   nv30: use automake to generate Makefile
>   nv50: use automake to generate Makefile
>   nvc0: use automake to generate Makefile
>

Hi Lucas,

I haven't had time to clean up these patches[1] yet, but there are
examples in that series of how to build both .a and .la libraries at
the same time (see [PATCH 3/6] r300g: Build a libtool archive), which
will make it easier to transition the gallium targets to automake.
You may want to do the same with the nouveau builds.

-Tom

[1]
http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg23538.html


>  configure.ac                            |  4 ++++
>  src/gallium/drivers/nouveau/Makefile    | 16 ----------------
>  src/gallium/drivers/nouveau/Makefile.am | 16 ++++++++++++++++
>  src/gallium/drivers/nv30/Makefile       | 12 ------------
>  src/gallium/drivers/nv30/Makefile.am    | 16 ++++++++++++++++
>  src/gallium/drivers/nv50/Makefile       | 12 ------------
>  src/gallium/drivers/nv50/Makefile.am    | 25 +++++++++++++++++++++++++
>  src/gallium/drivers/nvc0/Makefile       | 12 ------------
>  src/gallium/drivers/nvc0/Makefile.am    | 25 +++++++++++++++++++++++++
>  9 Dateien geändert, 86 Zeilen hinzugefügt(+), 52 Zeilen entfernt(-)
>  delete mode 100644 src/gallium/drivers/nouveau/Makefile
>  create mode 100644 src/gallium/drivers/nouveau/Makefile.am
>  delete mode 100644 src/gallium/drivers/nv30/Makefile
>  create mode 100644 src/gallium/drivers/nv30/Makefile.am
>  delete mode 100644 src/gallium/drivers/nv50/Makefile
>  create mode 100644 src/gallium/drivers/nv50/Makefile.am
>  delete mode 100644 src/gallium/drivers/nvc0/Makefile
>  create mode 100644 src/gallium/drivers/nvc0/Makefile.am
> 
> -- 
> 1.7.11.2
> 

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list