radeonsi: enable GL_EXT_shader_image_load_formatted
[mesa.git] / src / mesa / main / tests / Makefile.am
1 AM_CFLAGS = \
2 $(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_builddir)/src/mapi/glapi \
8 -I$(top_srcdir)/src/mapi/glapi \
9 -I$(top_builddir)/src/mesa \
10 -I$(top_srcdir)/src/mesa \
11 -I$(top_srcdir)/include \
12 $(DEFINES) $(INCLUDE_DIRS)
13
14 TESTS = main-test
15 check_PROGRAMS = main-test
16
17 main_test_SOURCES = \
18 enum_strings.cpp
19
20 main_test_LDADD = \
21 $(top_builddir)/src/mesa/libmesa.la \
22 $(top_builddir)/src/gtest/libgtest.la \
23 $(PTHREAD_LIBS) \
24 $(DLOPEN_LIBS) \
25 $(CLOCK_LIB)
26
27 if HAVE_SHARED_GLAPI
28 main_test_SOURCES += \
29 dispatch_sanity.cpp \
30 mesa_formats.cpp \
31 mesa_extensions.cpp \
32 program_state_string.cpp
33
34 main_test_LDADD += \
35 $(top_builddir)/src/mapi/shared-glapi/libglapi.la
36 else
37 main_test_SOURCES += \
38 stubs.cpp
39 endif
40
41 EXTRA_DIST = meson.build