glx: Don't rely on struct _glapi_table
[mesa.git] / src / glx / tests / Makefile.am
1 if HAVE_SHARED_GLAPI
2 AM_CPPFLAGS = \
3 -I$(top_builddir)/src/gtest/include \
4 -I$(top_builddir)/src/mapi \
5 -I$(top_builddir)/src/mesa \
6 -I$(top_builddir)/src/glx \
7 -I$(top_builddir)/include \
8 $(X11_CFLAGS)
9
10 TESTS = glx-test
11 check_PROGRAMS = glx-test
12
13 glx_test_SOURCES = \
14 clientinfo_unittest.cpp \
15 create_context_unittest.cpp \
16 enum_sizes.cpp \
17 fake_glx_screen.cpp \
18 indirect_api.cpp
19
20 glx_test_LDADD = \
21 $(top_builddir)/src/glx/libglx.la \
22 $(top_builddir)/src/gtest/libgtest.la \
23 $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
24 -lpthread
25 endif