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