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