[cogl/cogl.msvc.new: 4/19] cogl-gst: Split out the source listings



commit 141cad78727daa51b08b14a5352124b7b2d5dba7
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 11 16:49:11 2019 +0800

    cogl-gst: Split out the source listings
    
    This is so that we can it with other Makefile-based build systems.

 cogl-gst/Makefile.am       | 15 +++++----------
 cogl-gst/cogl-gst-srcs.mak |  9 +++++++++
 2 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/cogl-gst/Makefile.am b/cogl-gst/Makefile.am
index 0395e29c..0b2e736d 100644
--- a/cogl-gst/Makefile.am
+++ b/cogl-gst/Makefile.am
@@ -7,14 +7,11 @@ DISTCLEANFILES =
 
 EXTRA_DIST =
 
-source_c = \
-       cogl-gst-video-sink.c \
-       $(NULL)
+include cogl-gst-srcs.mak
 
-source_h = \
-       cogl-gst.h \
-       cogl-gst-video-sink.h \
-       $(NULL)
+source_c = $(COGL_GST_SRCS)
+
+source_h = $(COGL_GST_PUB_HDRS)
 
 lib_LTLIBRARIES = libcogl-gst.la
 
@@ -41,9 +38,7 @@ AM_CPPFLAGS = \
 cogl_gstheadersdir = $(includedir)/cogl/cogl-gst
 cogl_gstheaders_HEADERS = $(source_h)
 
-plugin_source_c = \
-       cogl-gst-plugin.c \
-       $(NULL)
+plugin_source_c = $(COGL_GST_PLUGIN_SRCS)
 
 libgstcogl_la_SOURCES =        \
        $(plugin_source_c)      \
diff --git a/cogl-gst/cogl-gst-srcs.mak b/cogl-gst/cogl-gst-srcs.mak
new file mode 100644
index 00000000..0204b953
--- /dev/null
+++ b/cogl-gst/cogl-gst-srcs.mak
@@ -0,0 +1,9 @@
+# Source listings for cogl-gst
+
+COGL_GST_SRCS = cogl-gst-video-sink.c
+
+COGL_GST_PUB_HDRS =    \
+       cogl-gst.h \
+       cogl-gst-video-sink.h
+
+COGL_GST_PLUGIN_SRCS = cogl-gst-plugin.c
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]