summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-26 11:36:50 +0000
committerEmil Velikov <[email protected]>2015-10-30 17:33:11 +0000
commit73308ca802e8d5343ca7a32bd6a9a552f3b45456 (patch)
treeb8bdae4f7a673537f96f2776c9a36b958f384759 /src/gallium
parentc1bf71f77c9d4bc83fa7dc987b56f98350430d7c (diff)
virgl: move sources list to Makefile.sources
... and add the missing files while we're at it. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/virgl/Makefile.am12
-rw-r--r--src/gallium/drivers/virgl/Makefile.sources17
2 files changed, 19 insertions, 10 deletions
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