glx/tests: Add unit tests for the GLX part of GLX_MESA_query_renderer
[mesa.git] / src / glx / tests / Makefile.am
1 if HAVE_SHARED_GLAPI
2 AM_CFLAGS = $(PTHREAD_CFLAGS)
3 AM_CPPFLAGS = \
4 -I$(top_srcdir)/src/gtest/include \
5 -I$(top_srcdir)/src/mapi \
6 -I$(top_srcdir)/src/mesa \
7 -I$(top_srcdir)/src/glx \
8 -I$(top_srcdir)/include \
9 $(X11_CFLAGS)
10
11 TESTS = glx-test
12 check_PROGRAMS = glx-test
13
14 glx_test_SOURCES = \
15 clientinfo_unittest.cpp \
16 create_context_unittest.cpp \
17 enum_sizes.cpp \
18 fake_glx_screen.cpp \
19 indirect_api.cpp \
20 query_renderer_unittest.cpp
21
22 glx_test_LDADD = \
23 $(top_builddir)/src/glx/libglx.la \
24 $(top_builddir)/src/gtest/libgtest.la \
25 $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
26 $(PTHREAD_LIBS)
27 endif