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


AM_CFLAGS = \
	$(GALLIUM_DRIVER_CFLAGS) \
	$(RADEON_CFLAGS)

noinst_LTLIBRARIES = libradeon.la

libradeon_la_SOURCES = \
	$(C_SOURCES)

if NEED_RADEON_LLVM

noinst_LTLIBRARIES += libllvmradeon.la

libllvmradeon_la_CFLAGS = \
	$(GALLIUM_DRIVER_CFLAGS) \
	$(RADEON_CFLAGS) \
	$(LLVM_CFLAGS)

libllvmradeon_la_SOURCES = \
	$(LLVM_C_FILES)

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

libllvmradeon_la_LDFLAGS = \
	$(LLVM_LDFLAGS)

endif