[cogl/cogl.msvc.new: 3/19] cogl-pango: Split out source listings



commit 9b3433ab09502ed3bbe76f6537dd307375b2f2af
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 11 16:47:07 2019 +0800

    cogl-pango: Split out source listings
    
    Like what is done in Cogl and Cogl-Path, split out the source listings
    so that we can share it with other Makefile build systems.

 cogl-pango/Makefile.am         | 23 +++++++----------------
 cogl-pango/cogl-pango-srcs.mak | 18 ++++++++++++++++++
 2 files changed, 25 insertions(+), 16 deletions(-)
---
diff --git a/cogl-pango/Makefile.am b/cogl-pango/Makefile.am
index 64d97711..4fb25161 100644
--- a/cogl-pango/Makefile.am
+++ b/cogl-pango/Makefile.am
@@ -7,22 +7,13 @@ DISTCLEANFILES =
 
 EXTRA_DIST =
 
-source_c = \
-       cogl-pango-display-list.c   \
-       cogl-pango-fontmap.c        \
-       cogl-pango-render.c         \
-       cogl-pango-glyph-cache.c    \
-       cogl-pango-pipeline-cache.c \
-       $(NULL)
-
-source_h = cogl-pango.h
-
-source_h_priv = \
-       cogl-pango-display-list.h   \
-       cogl-pango-private.h        \
-       cogl-pango-glyph-cache.h    \
-       cogl-pango-pipeline-cache.h \
-       $(NULL)
+include cogl-pango-srcs.mak
+
+source_c = $(COGL_PANGO_SRCS)
+
+source_h = $(COGL_PANGO_PUB_HDRS)
+
+source_h_priv = $(COGL_PANGO_PRIV_HDRS)
 
 lib_LTLIBRARIES = libcogl-pango.la
 
diff --git a/cogl-pango/cogl-pango-srcs.mak b/cogl-pango/cogl-pango-srcs.mak
new file mode 100644
index 00000000..e606f23a
--- /dev/null
+++ b/cogl-pango/cogl-pango-srcs.mak
@@ -0,0 +1,18 @@
+# Source listings for cogl-pango
+
+COGL_PANGO_SRCS =      \
+       cogl-pango-display-list.c   \
+       cogl-pango-fontmap.c        \
+       cogl-pango-render.c         \
+       cogl-pango-glyph-cache.c    \
+       cogl-pango-pipeline-cache.c \
+       $(NULL)
+
+COGL_PANGO_PUB_HDRS = cogl-pango.h
+
+COGL_PANGO_PRIV_HDRS = \
+       cogl-pango-display-list.h   \
+       cogl-pango-private.h        \
+       cogl-pango-glyph-cache.h    \
+       cogl-pango-pipeline-cache.h \
+       $(NULL)


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