summaryrefslogtreecommitdiffstats
path: root/tests/glx/Makefile.am
blob: cdebf5d0cb15036f47376b59ddc7c6fca338cebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AM_CFLAGS = -I$(top_builddir)/src/glx -I$(top_builddir)/src/mapi \
	$(X11_CFLAGS) $(GTEST_CFLAGS)
AM_CXXFLAGS = -I$(top_builddir)/src/glx -I$(top_builddir)/src/mapi \
	$(X11_CFLAGS) $(GTEST_CFLAGS)

if HAVE_GTEST
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.a $(GTEST_LIBS) -lgtest_main
endif
endif