summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/Makefile.am
blob: a067f2c4e720b1b09f6bc51693e821d0020bacf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc

noinst_LTLIBRARIES = libr600.la

AM_CFLAGS = \
	-I$(top_srcdir)/src/gallium/drivers \
	-I$(top_srcdir)/include \
	$(GALLIUM_CFLAGS) \
	$(RADEON_CFLAGS) \
	$(VISIBILITY_CFLAGS)

libr600_la_SOURCES = \
	$(C_SOURCES)

if R600_NEED_RADEON_GALLIUM

libr600_la_SOURCES += \
	$(LLVM_C_SOURCES)

libr600_la_LIBADD = ../radeon/libllvmradeon@VERSION@.la

AM_CFLAGS += \
	$(LLVM_CFLAGS) \
	-I$(top_srcdir)/src/gallium/drivers/radeon/

endif

if USE_R600_LLVM_COMPILER
AM_CFLAGS += \
	-DR600_USE_LLVM
endif

if HAVE_GALLIUM_COMPUTE
AM_CFLAGS += \
	-DHAVE_OPENCL
endif