nvc0: do not set tiled mode on gart bo when fence debugging is used
[mesa.git] / src / gallium / drivers / r300 / Makefile.am
1 include Makefile.sources
2 include $(top_srcdir)/src/gallium/Automake.inc
3
4 noinst_LTLIBRARIES = libr300.la libr300-helper.la
5 check_PROGRAMS = r300_compiler_tests
6 testdir = compiler/tests
7 TESTS = r300_compiler_tests
8
9 AM_CFLAGS = \
10 -I$(top_srcdir)/src/gallium/drivers \
11 -I$(top_srcdir)/include \
12 -I$(top_srcdir)/src/mesa \
13 -I$(top_srcdir)/src/glsl \
14 -I$(top_srcdir)/src/mapi \
15 $(VISIBILITY_CFLAGS) \
16 $(GALLIUM_CFLAGS) \
17 $(LLVM_CFLAGS) \
18 $(RADEON_CFLAGS)
19
20 r300_compiler_tests_LDADD = libr300.la
21 r300_compiler_tests_CPPFLAGS = \
22 -I$(top_srcdir)/src/gallium/drivers/r300/compiler
23 r300_compiler_tests_SOURCES = \
24 $(testdir)/r300_compiler_tests.c \
25 $(testdir)/radeon_compiler_optimize_tests.c \
26 $(testdir)/radeon_compiler_util_tests.c \
27 $(testdir)/rc_test_helpers.c \
28 $(testdir)/unit_test.c
29
30 libr300_la_SOURCES = $(C_SOURCES)
31
32 # These two files are included in libmesagallium, which is included in the dri
33 # targets. So, they were added directly to r300g the dri-r300 target would have
34 # duplicated symbols, and if they weren't the other *-r300 targets would fail
35 # with undefined symbols.
36 #
37 # Solve this by building them into a separate helper library that can be linked
38 # in place of libmesagallium.
39 libr300_helper_la_SOURCES = \
40 $(top_srcdir)/src/glsl/ralloc.c \
41 $(top_srcdir)/src/mesa/program/register_allocate.c