radeon/uvd: add UVD implementation v5
[mesa.git] / src / gallium / drivers / r600 / Makefile.am
1 include Makefile.sources
2 include $(top_srcdir)/src/gallium/Automake.inc
3
4 noinst_LTLIBRARIES = libr600.la
5
6 AM_CFLAGS = \
7 -I$(top_srcdir)/src/gallium/drivers \
8 -I$(top_srcdir)/include \
9 $(GALLIUM_CFLAGS) \
10 $(RADEON_CFLAGS) \
11 $(VISIBILITY_CFLAGS)
12
13 libr600_la_SOURCES = \
14 $(C_SOURCES)
15
16 libr600_la_LIBADD = ../radeon/libradeon.la
17
18 if R600_NEED_RADEON_GALLIUM
19
20 libr600_la_SOURCES += \
21 $(LLVM_C_SOURCES)
22
23 libr600_la_LIBADD += ../radeon/libllvmradeon@VERSION@.la
24
25 AM_CFLAGS += \
26 $(LLVM_CFLAGS) \
27 -I$(top_srcdir)/src/gallium/drivers/radeon/
28
29 endif
30
31 if USE_R600_LLVM_COMPILER
32 AM_CFLAGS += \
33 -DR600_USE_LLVM
34 endif
35
36 if HAVE_GALLIUM_COMPUTE
37 AM_CFLAGS += \
38 -DHAVE_OPENCL
39 endif