081f332683eb0c67f58af2aa8a97ee7139d2b20d
[mesa.git] / src / gallium / drivers / r300 / Makefile.am
1 include Makefile.sources
2 include $(top_srcdir)/src/gallium/Automake.inc
3
4 AM_CFLAGS = \
5 -I$(top_srcdir)/src \
6 -I$(top_srcdir)/src/mesa/program \
7 -I$(top_srcdir)/src/mesa \
8 -I$(top_srcdir)/src/glsl \
9 -I$(top_srcdir)/src/mapi \
10 $(GALLIUM_DRIVER_CFLAGS) \
11 $(LLVM_CFLAGS) \
12 $(RADEON_CFLAGS)
13
14 noinst_LTLIBRARIES = libr300.la
15 check_PROGRAMS = r300_compiler_tests
16 TESTS = r300_compiler_tests
17
18 r300_compiler_tests_LDADD = libr300.la \
19 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
20 $(top_builddir)/src/util/libmesautil.la \
21 $(GALLIUM_COMMON_LIB_DEPS)
22 r300_compiler_tests_CPPFLAGS = \
23 -DTEST_PATH=\"$(top_srcdir)/src/gallium/drivers/r300/compiler/tests\" \
24 -I$(top_srcdir)/src/gallium/drivers/r300/compiler
25 r300_compiler_tests_SOURCES = $(COMPILER_TESTS_SOURCES)
26
27 libr300_la_SOURCES = $(C_SOURCES)
28
29 EXTRA_DIST = \
30 compiler/tests/omod_two_writers.test \
31 compiler/tests/regalloc_tex_1d_swizzle.test