1AM_CPPFLAGS = \
2	-I$(top_srcdir)/src/gtest/include \
3	-I$(top_srcdir)/src/mesa \
4	-I$(top_srcdir)/src/mapi \
5	-I$(top_srcdir)/src/glsl \
6	-I$(top_srcdir)/include
7
8TESTS_ENVIRONMENT= \
9	export PYTHON2=$(PYTHON2); \
10	export PYTHON_FLAGS=$(PYTHON_FLAGS);
11
12TESTS = \
13	optimization-test \
14	ralloc-test \
15	uniform-initializer-test
16
17check_PROGRAMS = 				\
18	ralloc-test				\
19	uniform-initializer-test
20
21uniform_initializer_test_SOURCES =		\
22	copy_constant_to_storage_tests.cpp	\
23	set_uniform_initializer_tests.cpp	\
24	uniform_initializer_utils.cpp
25uniform_initializer_test_CFLAGS = 		\
26	$(PTHREAD_CFLAGS)
27uniform_initializer_test_LDADD =		\
28	$(top_builddir)/src/gtest/libgtest.la	\
29	$(top_builddir)/src/glsl/libglsl.la	\
30	$(top_builddir)/src/mesa/libmesa.la	\
31	$(PTHREAD_LIBS)
32
33ralloc_test_SOURCES = ralloc_test.cpp $(top_builddir)/src/glsl/ralloc.c
34ralloc_test_CFLAGS = $(PTHREAD_CFLAGS)
35ralloc_test_LDADD = $(top_builddir)/src/gtest/libgtest.la $(PTHREAD_LIBS)
36