summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/Makefile.am
blob: 8ec47d77ec15632afdf3d4287ec08eae65ca78de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
include Makefile.sources

noinst_LIBRARIES = libr300.a
check_PROGRAMS = r300_compiler_tests
testdir = compiler/tests
TESTS = r300_compiler_tests

AM_CFLAGS = \
	-I$(top_srcdir)/src/gallium/include \
	-I$(top_srcdir)/src/gallium/auxiliary \
	-I$(top_srcdir)/src/gallium/drivers \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/src/mesa \
	-I$(top_srcdir)/src/glsl \
	-I$(top_srcdir)/src/mapi \
	$(LLVM_CFLAGS) \
	$(RADEON_CFLAGS) \
	$(DEFINES) \
	$(ASM_FLAGS) \
	$(PIC_FLAGS)

libr300_a_SOURCES = \
	$(C_SOURCES) \
	$(top_srcdir)/src/glsl/ralloc.c \
	$(top_srcdir)/src/mesa/program/register_allocate.c

r300_compiler_tests_LDADD = libr300.a
r300_compiler_tests_CPPFLAGS = \
	-I$(top_srcdir)/src/gallium/drivers/r300/compiler
r300_compiler_tests_SOURCES = \
	$(testdir)/r300_compiler_tests.c \
	$(testdir)/radeon_compiler_util_tests.c \
	$(testdir)/rc_test_helpers.c \
	$(testdir)/unit_test.c

# FIXME: remove this when the rest of the gallium
# build system is converted to automake.
default: libr300.a