radeonsi: convert the framebuffer state to atom-based
[mesa.git] / src / gallium / drivers / radeonsi / Makefile.am
index 595cf86274460a47076039ea07507991ee45d23b..84c99f82f25f5b7e237114821c4e276f5666023b 100644 (file)
 include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
-noinst_LTLIBRARIES = libradeonsi.la
-
-AM_CPPFLAGS = \
+AM_CFLAGS = \
        -I$(top_srcdir)/src/gallium/drivers/radeon \
-       -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/include \
-       $(GALLIUM_CFLAGS)
-AM_CFLAGS = $(LLVM_CFLAGS)
+       $(GALLIUM_DRIVER_CFLAGS) \
+       $(RADEON_CFLAGS) \
+       $(LLVM_CFLAGS)
 
-libradeonsi_la_SOURCES = $(C_SOURCES)
-libradeonsi_la_LIBADD = ../radeon/libllvmradeon@VERSION@.la
+noinst_LTLIBRARIES = libradeonsi.la
 
-#XXX: Delete this when all radeonsi targets are converted to automake.
-all-local: libradeonsi.la
-       ln -f $(builddir)/.libs/libradeonsi.a $(builddir)/libradeonsi.a
+libradeonsi_la_SOURCES = $(C_SOURCES)
+libradeonsi_la_LIBADD = \
+       ../radeon/libradeon.la \
+       ../radeon/libllvmradeon.la