1if HAVE_SHARED_GLAPI 2AM_CFLAGS = $(PTHREAD_CFLAGS) 3AM_CPPFLAGS = \ 4 -I$(top_srcdir)/src/gtest/include \ 5 -I$(top_srcdir)/src \ 6 -I$(top_srcdir)/src/mapi \ 7 -I$(top_srcdir)/src/mesa \ 8 -I$(top_builddir)/src/glx \ 9 -I$(top_srcdir)/src/glx \ 10 -I$(top_srcdir)/include \ 11 -I$(top_srcdir)/include/GL/internal \ 12 $(DEFINES) \ 13 $(LIBDRM_CFLAGS) \ 14 $(X11_INCLUDES) 15 16TESTS = glx-test dispatch-index-check 17check_PROGRAMS = glx-test 18EXTRA_DIST = dispatch-index-check meson.build 19 20glx_test_SOURCES = \ 21 clientinfo_unittest.cpp \ 22 create_context_unittest.cpp \ 23 enum_sizes.cpp \ 24 fake_glx_screen.cpp \ 25 fake_glx_screen.h \ 26 indirect_api.cpp \ 27 mock_xdisplay.h \ 28 query_renderer_unittest.cpp 29 30if HAVE_DRI2 31glx_test_SOURCES += \ 32 query_renderer_implementation_unittest.cpp 33endif 34 35glx_test_LDADD = \ 36 $(top_builddir)/src/glx/libglx.la \ 37 $(top_builddir)/src/gtest/libgtest.la \ 38 $(top_builddir)/src/mapi/shared-glapi/libglapi.la \ 39 $(PTHREAD_LIBS) 40endif 41