ilo: add support for indirect access of CONST in FS
[mesa.git] / src / gallium / drivers / radeonsi / Makefile.am
index 7906fb6aa5ff4c2d72b81fe963393c440d32f93f..46aa998d51283a7cff18cc7d07ca971d762586a6 100644 (file)
@@ -23,7 +23,7 @@
 include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
-noinst_LIBRARIES = libradeonsi.a
+noinst_LTLIBRARIES = libradeonsi.la
 
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gallium/drivers/radeon \
@@ -32,10 +32,7 @@ AM_CPPFLAGS = \
        $(GALLIUM_CFLAGS)
 AM_CFLAGS = $(LLVM_CFLAGS)
 
-# This is a hack until we can move the backend into the LLVM project.
-# We need to use mklib, because it splits up libradeon.a into object files
-# so that we can link it with the radeonsi objects.
-libradeonsi_a_AR = $(top_srcdir)/bin/mklib -o radeonsi -static
-
-libradeonsi_a_SOURCES = $(C_SOURCES)
-libradeonsi_a_LIBADD = ../radeon/libradeon.a
+libradeonsi_la_SOURCES = $(C_SOURCES)
+libradeonsi_la_LIBADD = \
+       ../radeon/libradeon.la \
+       ../radeon/libllvmradeon.la