1 if HAVE_SHARED_GLAPI 2 AM_CFLAGS = $(PTHREAD_CFLAGS) 3 AM_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 11 TESTS = glx-test 12 check_PROGRAMS = glx-test 13 14 glx_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 21 glx_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) 26 endif 27