glx: Use AM_CPPFLAGS to pass -I and -D to both C and C++ compiles.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Eric Anholt 2012-04-16 14:33:34 -07:00
parent bf3304a84b
commit 40da3b0320

View file

@ -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