virgl: move sources list to Makefile.sources
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 26 Oct 2015 11:36:50 +0000 (11:36 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 30 Oct 2015 17:33:11 +0000 (17:33 +0000)
... and add the missing files while we're at it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/Makefile.am
src/gallium/drivers/virgl/Makefile.sources [new file with mode: 0644]

index 90a18ec3ffe14bf965739071b8e35617aa862885..c22cdb7379fa9f716482e4a3e832ecd75b03ebd4 100644 (file)
@@ -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 (file)
index 0000000..df010c0
--- /dev/null
@@ -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