summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/tests/Makefile.am
blob: 0350c64bf3de80c70355dca90ed8a1cab8e738b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include $(top_srcdir)/src/gallium/Automake.inc

AM_CFLAGS = \
	$(PTHREAD_CFLAGS)

AM_CXXFLAGS = \
	$(GALLIUM_DRIVER_CXXFLAGS) \
	$(CXX11_CXXFLAGS)

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/gtest/include \
	-I$(top_srcdir)/src/mapi \
	-I$(top_builddir)/src/mesa \
	-I$(top_srcdir)/src/mesa \
	-I$(top_builddir)/src/compiler/glsl \
	$(DEFINES)

if HAVE_STD_CXX11
TESTS = st-renumerate-test
check_PROGRAMS = st-renumerate-test

noinst_LIBRARIES = libmesa-st-tests-common.a
endif

libmesa_st_tests_common_a_SOURCES = \
	st_tests_common.cpp

st_renumerate_test_SOURCES =			\
	test_glsl_to_tgsi_lifetime.cpp

st_renumerate_test_LDFLAGS = \
	$(LLVM_LDFLAGS)

st_renumerate_test_LDADD = \
	libmesa-st-tests-common.a \
	$(top_builddir)/src/mesa/libmesagallium.la \
	$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
	$(top_builddir)/src/util/libmesautil.la \
	$(top_builddir)/src/gtest/libgtest.la \
	$(GALLIUM_COMMON_LIB_DEPS) \
	$(LLVM_LIBS)