1if HAVE_SHARED_GLAPI
2AM_CFLAGS = $(PTHREAD_CFLAGS)
3AM_CPPFLAGS = \
4	-I$(top_srcdir)/src/gtest/include \
5	-I$(top_srcdir)/src/mapi \
6	-I$(top_srcdir)/src/mesa \
7	-I$(top_srcdir)/src/glx \
8	-I$(top_srcdir)/include \
9	$(X11_CFLAGS)
10
11TESTS = glx-test
12check_PROGRAMS = glx-test
13
14glx_test_SOURCES =			\
15	clientinfo_unittest.cpp		\
16	create_context_unittest.cpp	\
17	enum_sizes.cpp			\
18	fake_glx_screen.cpp		\
19	indirect_api.cpp
20
21glx_test_LDADD = \
22	$(top_builddir)/src/glx/libglx.la \
23	$(top_builddir)/src/gtest/libgtest.la \
24	$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
25	$(PTHREAD_LIBS)
26endif
27