summaryrefslogtreecommitdiffstats
path: root/tests/glx/Makefile.am
blob: f5581d638cc88e1c179b93fbfb36e4a6423efb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
INC = \
	-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)

if HAVE_XCB_GLX_CREATE_CONTEXT
TESTS = glx_unittest
check_PROGRAMS = glx_unittest

glx_unittest_SOURCES =			\
	clientinfo_unittest.cpp		\
        create_context_unittest.cpp	\
        fake_glx_screen.cpp

glx_unittest_LDADD = \
	$(top_builddir)/src/glx/libglx.la \
	$(top_builddir)/src/gtest/libgtest.la \
	-lpthread

endif