summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/radeon/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/drivers/radeon/Makefile.am')
-rw-r--r--lib/mesa/src/gallium/drivers/radeon/Makefile.am11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/mesa/src/gallium/drivers/radeon/Makefile.am b/lib/mesa/src/gallium/drivers/radeon/Makefile.am
index a6fc145cb..2be6af4b1 100644
--- a/lib/mesa/src/gallium/drivers/radeon/Makefile.am
+++ b/lib/mesa/src/gallium/drivers/radeon/Makefile.am
@@ -13,19 +13,14 @@ noinst_LTLIBRARIES = libradeon.la
libradeon_la_SOURCES = \
$(C_SOURCES)
-if NEED_RADEON_LLVM
+if HAVE_GALLIUM_LLVM
AM_CFLAGS += \
- $(LLVM_CFLAGS) \
- $(LIBELF_CFLAGS)
-
-libradeon_la_SOURCES += \
- $(LLVM_C_FILES)
+ $(LLVM_CFLAGS)
libradeon_la_LIBADD = \
$(CLOCK_LIB) \
- $(LLVM_LIBS) \
- $(LIBELF_LIBS)
+ $(LLVM_LIBS)
libradeon_la_LDFLAGS = \
$(LLVM_LDFLAGS)