mesa/src/glx/tests/Makefile.am
Dylan Baker 436ed65d38 autotools: include meson build files in tarball
This adds the meson.build, meson_options.txt, and a few scripts that are
used exclusively by the meson build.

v2: - Remove accidentally included changes needed to test make dist with
      LLVM > 3.9

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Acked-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2018-01-19 16:30:51 -08:00

40 lines
947 B
Makefile

if HAVE_SHARED_GLAPI
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gtest/include \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/mapi \
-I$(top_srcdir)/src/mesa \
-I$(top_builddir)/src/glx \
-I$(top_srcdir)/src/glx \
-I$(top_srcdir)/include \
-I$(top_srcdir)/include/GL/internal \
$(DEFINES) \
$(LIBDRM_CFLAGS) \
$(X11_INCLUDES)
TESTS = glx-test dispatch-index-check
check_PROGRAMS = glx-test
EXTRA_DIST = dispatch-index-check meson.build
glx_test_SOURCES = \
clientinfo_unittest.cpp \
create_context_unittest.cpp \
enum_sizes.cpp \
fake_glx_screen.cpp \
fake_glx_screen.h \
indirect_api.cpp \
mock_xdisplay.h \
query_renderer_unittest.cpp
if HAVE_DRI2
glx_test_SOURCES += \
query_renderer_implementation_unittest.cpp
endif
glx_test_LDADD = \
$(top_builddir)/src/glx/libglx.la \
$(top_builddir)/src/gtest/libgtest.la \
$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
$(PTHREAD_LIBS)
endif