r600g/llvm: Move llvm wrapper functions into the radeon directory
[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 if R600_NEED_RADEON_GALLIUM
17
18 libr600_la_SOURCES += \
19 $(LLVM_C_SOURCES)
20
21 libr600_la_LIBADD = ../radeon/libllvmradeon@VERSION@.la
22
23 AM_CFLAGS += \
24 $(LLVM_CFLAGS) \
25 -I$(top_srcdir)/src/gallium/drivers/radeon/
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