With follow up commit we'll split vl static lib from the auxiliary one,
and choose the appropriate vl (galliumvl or galliumvl_stub) for the
respective targets to link against.
v2: Rebase.
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := $(C_SOURCES)
+LOCAL_SRC_FILES := \
+ $(C_SOURCES) \
+ $(VL_SOURCES)
LOCAL_C_INCLUDES := \
$(GALLIUM_TOP)/auxiliary/util \
libgallium_la_SOURCES = \
$(C_SOURCES) \
+ $(VL_SOURCES) \
$(GENERATED_SOURCES)
if HAVE_MESA_LLVM
util/u_upload_mgr.h \
util/u_vbuf.c \
util/u_vbuf.h \
- util/u_video.h \
+ util/u_video.h
+
+VL_SOURCES := \
vl/vl_compositor.c \
vl/vl_compositor.h \
vl/vl_csc.c \
source = env.ParseSourceList('Makefile.sources', [
'C_SOURCES',
+ 'VL_SOURCES',
'GENERATED_SOURCES'
])