glx: Move tests from tests/glx to src/glx/tests
[mesa.git] / src / glx / tests / Makefile.am
1 AM_CPPFLAGS = \
2 -I$(top_builddir)/src/gtest/include \
3 -I$(top_builddir)/src/mapi \
4 -I$(top_builddir)/src/glx \
5 -I$(top_builddir)/include \
6 $(X11_CFLAGS)
7
8 if HAVE_XCB_GLX_CREATE_CONTEXT
9 TESTS = glx_unittest
10 check_PROGRAMS = glx_unittest
11
12 glx_unittest_SOURCES = \
13 clientinfo_unittest.cpp \
14 create_context_unittest.cpp \
15 fake_glx_screen.cpp
16
17 glx_unittest_LDADD = \
18 $(top_builddir)/src/glx/libglx.la \
19 $(top_builddir)/src/gtest/libgtest.la \
20 -lpthread
21
22 endif