Merge remote-tracking branch 'mesa-public/master' into vulkan
[mesa.git] / src / gallium / drivers / r600 / Makefile.am
1 include Makefile.sources
2 include $(top_srcdir)/src/gallium/Automake.inc
3
4 AM_CFLAGS = \
5 $(GALLIUM_DRIVER_CFLAGS) \
6 $(RADEON_CFLAGS)
7
8 AM_CXXFLAGS = \
9 $(GALLIUM_DRIVER_CXXFLAGS) \
10 $(RADEON_CFLAGS)
11
12 noinst_LTLIBRARIES = libr600.la
13
14 libr600_la_SOURCES = \
15 $(C_SOURCES) \
16 $(CXX_SOURCES)
17
18 if NEED_RADEON_LLVM
19
20 AM_CFLAGS += \
21 $(LLVM_CFLAGS) \
22 -I$(top_srcdir)/src/gallium/drivers/radeon/
23
24 libr600_la_SOURCES += \
25 $(LLVM_C_SOURCES)
26
27 endif
28
29 if USE_R600_LLVM_COMPILER
30 AM_CFLAGS += \
31 -DR600_USE_LLVM
32 endif
33
34 if HAVE_GALLIUM_COMPUTE
35 AM_CFLAGS += \
36 -DHAVE_OPENCL
37 endif
38
39 EXTRA_DIST = \
40 sb/notes.markdown \
41 sb/sb_bc_fmt_def.inc