From 73308ca802e8d5343ca7a32bd6a9a552f3b45456 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 26 Oct 2015 11:36:50 +0000 Subject: [PATCH] virgl: move sources list to Makefile.sources ... and add the missing files while we're at it. Signed-off-by: Emil Velikov Reviewed-by: Dave Airlie --- src/gallium/drivers/virgl/Makefile.am | 12 ++---------- src/gallium/drivers/virgl/Makefile.sources | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 src/gallium/drivers/virgl/Makefile.sources diff --git a/src/gallium/drivers/virgl/Makefile.am b/src/gallium/drivers/virgl/Makefile.am index 90a18ec3ffe..c22cdb7379f 100644 --- a/src/gallium/drivers/virgl/Makefile.am +++ b/src/gallium/drivers/virgl/Makefile.am @@ -20,6 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. +include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc AM_CPPFLAGS = \ @@ -31,13 +32,4 @@ AM_CPPFLAGS = \ noinst_LTLIBRARIES = libvirgl.la -libvirgl_la_SOURCES = \ - virgl_screen.c \ - virgl_resource.c \ - virgl_buffer.c \ - virgl_texture.c \ - virgl_context.c \ - virgl_encode.c \ - virgl_query.c \ - virgl_streamout.c \ - virgl_tgsi.c +libvirgl_la_SOURCES = $(C_SOURCES) diff --git a/src/gallium/drivers/virgl/Makefile.sources b/src/gallium/drivers/virgl/Makefile.sources new file mode 100644 index 00000000000..df010c026cf --- /dev/null +++ b/src/gallium/drivers/virgl/Makefile.sources @@ -0,0 +1,17 @@ +C_SOURCES := \ + virgl_buffer.c \ + virgl_context.c \ + virgl_context.h \ + virgl_encode.c \ + virgl_encode.h \ + virgl.h \ + virgl_protocol.h \ + virgl_public.h \ + virgl_query.c \ + virgl_resource.c \ + virgl_resource.h \ + virgl_screen.c \ + virgl_streamout.c \ + virgl_texture.c \ + virgl_tgsi.c \ + virgl_winsys.h -- 2.30.2