build: Replace NEED_RADEON_LLVM with HAVE_GALLIUM_LLVM.
[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 -I$(top_srcdir)/src/amd/common
8
9 AM_CXXFLAGS = \
10 $(GALLIUM_DRIVER_CXXFLAGS) \
11 $(RADEON_CFLAGS) \
12 -I$(top_srcdir)/src/amd/common
13
14 noinst_LTLIBRARIES = libr600.la
15
16 libr600_la_SOURCES = \
17 $(C_SOURCES) \
18 $(CXX_SOURCES)
19
20 if HAVE_GALLIUM_LLVM
21
22 AM_CFLAGS += \
23 $(LLVM_CFLAGS) \
24 -I$(top_srcdir)/src/gallium/drivers/radeon/
25
26 endif
27
28 if HAVE_GALLIUM_COMPUTE
29 AM_CFLAGS += \
30 -DHAVE_OPENCL
31 endif
32
33 EXTRA_DIST = \
34 sb/notes.markdown \
35 sb/sb_bc_fmt_def.inc