[Mesa-dev] [PATCH 2/6] virgl: move sources list to Makefile.sources
Emil Velikov
emil.l.velikov at gmail.com
Thu Oct 29 04:04:57 PDT 2015
From: Emil Velikov <emil.velikov at collabora.com>
... and add the missing files while we're at it.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
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 90a18ec..c22cdb7 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 0000000..df010c0
--- /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.6.1
More information about the mesa-dev
mailing list