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>tags/10.5-branchpoint
@@ -28,7 +28,9 @@ include $(LOCAL_PATH)/Makefile.sources | |||
include $(CLEAR_VARS) | |||
LOCAL_SRC_FILES := $(C_SOURCES) | |||
LOCAL_SRC_FILES := \ | |||
$(C_SOURCES) \ | |||
$(VL_SOURCES) | |||
LOCAL_C_INCLUDES := \ | |||
$(GALLIUM_TOP)/auxiliary/util \ |
@@ -18,6 +18,7 @@ AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS) | |||
libgallium_la_SOURCES = \ | |||
$(C_SOURCES) \ | |||
$(VL_SOURCES) \ | |||
$(GENERATED_SOURCES) | |||
if HAVE_MESA_LLVM |
@@ -303,7 +303,9 @@ C_SOURCES := \ | |||
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 \ |
@@ -36,6 +36,7 @@ env.Depends('util/u_format_table.c', [ | |||
source = env.ParseSourceList('Makefile.sources', [ | |||
'C_SOURCES', | |||
'VL_SOURCES', | |||
'GENERATED_SOURCES' | |||
]) | |||