3d08611752a4a233297d19c5cedce6646760a26d
[mesa.git] / src / gallium / drivers / r300 / Makefile.am
1 include Makefile.sources
2
3 noinst_LIBRARIES = libr300.a
4 check_PROGRAMS = r300_compiler_tests
5 testdir = compiler/tests
6 TESTS = r300_compiler_tests
7
8 AM_CFLAGS = \
9 -I$(top_srcdir)/src/gallium/include \
10 -I$(top_srcdir)/src/gallium/auxiliary \
11 -I$(top_srcdir)/src/gallium/drivers \
12 -I$(top_srcdir)/include \
13 -I$(top_srcdir)/src/mesa \
14 -I$(top_srcdir)/src/glsl \
15 -I$(top_srcdir)/src/mapi \
16 $(LLVM_CFLAGS) \
17 $(RADEON_CFLAGS) \
18 $(DEFINES) \
19 $(ARCH_FLAGS) \
20 $(OPT_FLAGS) \
21 $(PIC_FLAGS)
22
23 libr300_a_SOURCES = \
24 $(C_SOURCES) \
25 $(top_srcdir)/src/glsl/ralloc.c \
26 $(top_srcdir)/src/mesa/program/register_allocate.c
27
28 r300_compiler_tests_LDADD = libr300.a
29 r300_compiler_tests_CPPFLAGS = \
30 -I$(top_srcdir)/src/gallium/drivers/r300/compiler
31 r300_compiler_tests_SOURCES = \
32 $(testdir)/r300_compiler_tests.c \
33 $(testdir)/radeon_compiler_util_tests.c \
34 $(testdir)/rc_test_helpers.c \
35 $(testdir)/unit_test.c