Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4358 | Serge | 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 libr300-helper.la \ |
||
21 | $(top_builddir)/src/gallium/auxiliary/libgallium.la \ |
||
22 | $(GALLIUM_DRI_LIB_DEPS) |
||
23 | r300_compiler_tests_CPPFLAGS = \ |
||
24 | -I$(top_srcdir)/src/gallium/drivers/r300/compiler |
||
25 | r300_compiler_tests_SOURCES = \ |
||
26 | $(testdir)/r300_compiler_tests.c \ |
||
27 | $(testdir)/radeon_compiler_optimize_tests.c \ |
||
28 | $(testdir)/radeon_compiler_regalloc_tests.c \ |
||
29 | $(testdir)/radeon_compiler_util_tests.c \ |
||
30 | $(testdir)/rc_test_helpers.c \ |
||
31 | $(testdir)/unit_test.c |
||
32 | |||
33 | libr300_la_SOURCES = $(C_SOURCES) |
||
34 | |||
35 | # These two files are included in libmesagallium, which is included in the dri |
||
36 | # targets. So, they were added directly to r300g the dri-r300 target would have |
||
37 | # duplicated symbols, and if they weren't the other *-r300 targets would fail |
||
38 | # with undefined symbols. |
||
39 | # |
||
40 | # Solve this by building them into a separate helper library that can be linked |
||
41 | # in place of libmesagallium. |
||
42 | libr300_helper_la_SOURCES = \ |
||
43 | $(top_srcdir)/src/glsl/ralloc.c \ |
||
44 | $(top_srcdir)/src/mesa/program/register_allocate.c |