cb585141ea6fc0f313058f154000bd67a71576b4
[mesa.git] / src / mesa / state_tracker / tests / Makefile.am
1 include $(top_srcdir)/src/gallium/Automake.inc
2
3 AM_CFLAGS = \
4 $(PTHREAD_CFLAGS)
5
6 AM_CXXFLAGS = \
7 $(GALLIUM_DRIVER_CXXFLAGS) \
8 $(CXX11_CXXFLAGS)
9
10 AM_CPPFLAGS = \
11 -I$(top_srcdir)/src/gtest/include \
12 -I$(top_srcdir)/src/mapi \
13 -I$(top_builddir)/src/mesa \
14 -I$(top_srcdir)/src/mesa \
15 -I$(top_builddir)/src/compiler/glsl \
16 $(DEFINES)
17
18 if HAVE_STD_CXX11
19 if HAVE_SHARED_GLAPI
20 TESTS = st-renumerate-test
21 check_PROGRAMS = st-renumerate-test
22
23 noinst_LIBRARIES = libmesa-st-tests-common.a
24 endif
25 endif
26
27 libmesa_st_tests_common_a_SOURCES = \
28 st_tests_common.cpp \
29 st_tests_common.h
30
31 st_renumerate_test_SOURCES = \
32 test_glsl_to_tgsi_lifetime.cpp
33
34 st_renumerate_test_LDFLAGS = \
35 $(LLVM_LDFLAGS)
36
37 st_renumerate_test_LDADD = \
38 libmesa-st-tests-common.a \
39 $(top_builddir)/src/mesa/libmesagallium.la \
40 $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
41 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
42 $(top_builddir)/src/util/libmesautil.la \
43 $(top_builddir)/src/gtest/libgtest.la \
44 $(GALLIUM_COMMON_LIB_DEPS) \
45 $(LLVM_LIBS)