dd1a5ede19b30a19743b887ecbbbde671ebaeb7f
[mesa.git] / src / gallium / drivers / r300 / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 include Makefile.sources
4 include $(top_srcdir)/src/gallium/Automake.inc
5
6 AM_CFLAGS = \
7 -I$(top_srcdir)/src \
8 -I$(top_srcdir)/src/mesa/program \
9 -I$(top_srcdir)/src/mesa \
10 -I$(top_srcdir)/src/glsl \
11 -I$(top_srcdir)/src/mapi \
12 $(GALLIUM_DRIVER_CFLAGS) \
13 $(LLVM_CFLAGS) \
14 $(RADEON_CFLAGS)
15
16 noinst_LTLIBRARIES = libr300.la
17 check_PROGRAMS = r300_compiler_tests
18 TESTS = r300_compiler_tests
19
20 r300_compiler_tests_LDADD = libr300.la \
21 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
22 $(top_builddir)/src/util/libmesautil.la \
23 $(GALLIUM_COMMON_LIB_DEPS)
24 r300_compiler_tests_CPPFLAGS = \
25 -DTEST_PATH=\"$(top_srcdir)/src/gallium/drivers/r300/compiler/tests\" \
26 -I$(top_srcdir)/src/gallium/drivers/r300/compiler
27 r300_compiler_tests_SOURCES = $(COMPILER_TESTS_SOURCES)
28
29 libr300_la_SOURCES = $(C_SOURCES)
30
31 EXTRA_DIST = \
32 compiler/tests/omod_two_writers.test \
33 compiler/tests/regalloc_tex_1d_swizzle.test