summaryrefslogtreecommitdiff
path: root/src/glx/tests/Makefile.am
blob: 4dc358c3261ba1e924249f15e2abef5d366b21bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
if HAVE_SHARED_GLAPI
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/gtest/include \
	-I$(top_srcdir)/src/mapi \
	-I$(top_srcdir)/src/mesa \
	-I$(top_srcdir)/src/glx \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/include/GL/internal \
	$(DEFINES) \
	$(LIBDRM_CFLAGS) \
	$(X11_CFLAGS)

TESTS = glx-test
check_PROGRAMS = glx-test

glx_test_SOURCES =			\
	clientinfo_unittest.cpp		\
	create_context_unittest.cpp	\
	enum_sizes.cpp			\
	fake_glx_screen.cpp		\
	indirect_api.cpp		\
	query_renderer_implementation_unittest.cpp	\
	query_renderer_unittest.cpp

glx_test_LDADD = \
	$(top_builddir)/src/glx/libglx.la \
	$(top_builddir)/src/gtest/libgtest.la \
	$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
	$(PTHREAD_LIBS)
endif