Makefile.am 934 Bytes
Newer Older
1
AM_CPPFLAGS = \
2
3
4
5
6
	-I$(top_builddir)/src/gtest/include \
	-I$(top_builddir)/src/mesa \
	-I$(top_builddir)/src/mapi \
	-I$(top_builddir)/src/glsl

7
8
9
10
TESTS_ENVIRONMENT= \
	export PYTHON2=$(PYTHON2); \
	export PYTHON_FLAGS=$(PYTHON_FLAGS);

11
TESTS = \
12
	optimization-test \
13
	ralloc-test \
14
15
16
	uniform-initializer-test

check_PROGRAMS = 				\
17
	ralloc-test				\
18
19
20
21
22
23
	uniform-initializer-test

uniform_initializer_test_SOURCES =		\
	copy_constant_to_storage_tests.cpp	\
	set_uniform_initializer_tests.cpp	\
	uniform_initializer_utils.cpp
24
25
uniform_initializer_test_CFLAGS = 		\
	$(PTHREAD_CFLAGS)
26
27
uniform_initializer_test_LDADD =		\
	$(top_builddir)/src/gtest/libgtest.la	\
Jon Turney's avatar
Jon Turney committed
28
	$(top_builddir)/src/glsl/libglsl.la	\
29
	$(top_builddir)/src/mesa/libmesa.la	\
30
	$(PTHREAD_LIBS)
31
32

ralloc_test_SOURCES = ralloc_test.cpp $(top_builddir)/src/glsl/ralloc.c
33
34
ralloc_test_CFLAGS = $(PTHREAD_CFLAGS)
ralloc_test_LDADD = $(top_builddir)/src/gtest/libgtest.la $(PTHREAD_LIBS)