automake,scons: Put NIR source files in a separate var to fix SCons build.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 1 Apr 2015 18:49:09 +0000 (19:49 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Wed, 1 Apr 2015 18:49:09 +0000 (19:49 +0100)
SCons does not build NIR yet.

Trivial.

src/gallium/auxiliary/Makefile.am
src/gallium/auxiliary/Makefile.sources

index 36b84cfb610437e078cde7536ee7082d32efaed9..89c7a13e9131e4364ea5242437b18c654a1d4436 100644 (file)
@@ -22,6 +22,7 @@ AM_CXXFLAGS = \
 
 libgallium_la_SOURCES = \
        $(C_SOURCES) \
+       $(NIR_SOURCES) \
        $(GENERATED_SOURCES)
 
 if HAVE_MESA_LLVM
index 08e4e4c4f844badd64f032f4beae3fb921333ad2..bd8e949989951c94307008f8c9eb63f0b8986996 100644 (file)
@@ -69,7 +69,6 @@ C_SOURCES := \
        indices/u_indices_priv.h \
        indices/u_primconvert.c \
        indices/u_primconvert.h \
-       nir/tgsi_to_nir.c \
        os/os_memory_aligned.h \
        os/os_memory_debug.h \
        os/os_memory_stdc.h \
@@ -303,6 +302,9 @@ C_SOURCES := \
        util/u_vbuf.h \
        util/u_video.h
 
+NIR_SOURCES := \
+       nir/tgsi_to_nir.c
+
 VL_SOURCES := \
        vl/vl_compositor.c \
        vl/vl_compositor.h \