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

LIBGALLIUM_LIBS=

noinst_LTLIBRARIES = libradeon.la

AM_CFLAGS = $(GALLIUM_CFLAGS) $(RADEON_CFLAGS)

libradeon_la_SOURCES = \
	$(C_SOURCES)

if NEED_RADEON_LLVM

libllvmradeon_la_LDFLAGS = \
	$(LLVM_LDFLAGS)

noinst_LTLIBRARIES += libllvmradeon.la

libllvmradeon_la_CXXFLAGS = \
	$(GALLIUM_CFLAGS) \
	$(DEFINES)

libllvmradeon_la_CFLAGS = \
	$(GALLIUM_CFLAGS) \
	$(LLVM_CFLAGS)

libllvmradeon_la_SOURCES = \
	$(LLVM_CPP_FILES) \
	$(LLVM_C_FILES)

libllvmradeon_la_LIBADD = \
	$(LIBGALLIUM_LIBS) \
	$(CLOCK_LIB) \
	$(LLVM_LIBS) \
	$(ELF_LIB)

endif