summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/Makefile.am
blob: 091adc4016d947da8d8f4587fabac08859a331e6 (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
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc

if HAVE_GALLIUM_R600
if HAVE_GALLIUM_RADEONSI
lib_LTLIBRARIES = libllvmradeon@VERSION@.la
libllvmradeon@VERSION@_la_LDFLAGS = -Wl,--no-undefined -shared -avoid-version \
	$(LLVM_LDFLAGS)
else
noinst_LTLIBRARIES = libllvmradeon@VERSION@.la
endif
else
noinst_LTLIBRARIES = libllvmradeon@VERSION@.la
endif

AM_CXXFLAGS = \
	$(filter-out -DDEBUG, $(LLVM_CXXFLAGS)) \
	$(DEFINES)

AM_CFLAGS = \
	$(GALLIUM_CFLAGS) \
	$(LLVM_CFLAGS)

libllvmradeon@VERSION@_la_SOURCES = \
	$(CPP_FILES) \
	$(C_FILES)

libllvmradeon@VERSION@_la_LIBADD = \
	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
	$(CLOCK_LIB) \
	$(LLVM_LIBS)