[Mesa-dev] [PATCH 01/10] glx: Use AM_CPPFLAGS to pass -I and -D to both C and C++ compiles.

Adam Jackson ajax at redhat.com
Tue Apr 17 06:36:15 PDT 2012


On Mon, 2012-04-16 at 16:59 -0700, Eric Anholt wrote:
> ---
>  tests/glx/Makefile.am |    8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/glx/Makefile.am b/tests/glx/Makefile.am
> index f5581d6..7f93fd7 100644
> --- a/tests/glx/Makefile.am
> +++ b/tests/glx/Makefile.am
> @@ -1,10 +1,8 @@
> -INC = \
> +AM_CPPFLAGS = \
>  	-I$(top_builddir)/src/gtest/include \
>  	-I$(top_builddir)/src/mapi \
> -	-I$(top_builddir)/src/glx
> -
> -AM_CFLAGS = $(INC) $(X11_CFLAGS)
> -AM_CXXFLAGS = $(INC) $(X11_CFLAGS)
> +	-I$(top_builddir)/src/glx \
> +	$(X11_CFLAGS)
>  
>  if HAVE_XCB_GLX_CREATE_CONTEXT
>  TESTS = glx_unittest

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120417/627e2a62/attachment.pgp>


More information about the mesa-dev mailing list