Home | History | Annotate | Download | only in tests
      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 \
      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 
     16 TESTS = glx-test dispatch-index-check
     17 check_PROGRAMS = glx-test
     18 EXTRA_DIST = dispatch-index-check meson.build
     19 
     20 glx_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 
     30 if HAVE_DRI2
     31 glx_test_SOURCES += \
     32 	query_renderer_implementation_unittest.cpp
     33 endif
     34 
     35 glx_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)
     40 endif
     41