11f0d18b91f3e944d992f6f0150febb67b5ea0a1
[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 $(ASM_FLAGS) \
21 $(OPT_FLAGS) \
22 $(PIC_FLAGS)
23
24 libr300_a_SOURCES = \
25 $(C_SOURCES) \
26 $(top_srcdir)/src/glsl/ralloc.c \
27 $(top_srcdir)/src/mesa/program/register_allocate.c
28
29 r300_compiler_tests_LDADD = libr300.a
30 r300_compiler_tests_CPPFLAGS = \
31 -I$(top_srcdir)/src/gallium/drivers/r300/compiler
32 r300_compiler_tests_SOURCES = \
33 $(testdir)/r300_compiler_tests.c \
34 $(testdir)/radeon_compiler_util_tests.c \
35 $(testdir)/rc_test_helpers.c \
36 $(testdir)/unit_test.c