[cogl/cogl.msvc.new: 2/19] cogl-path: Split out the source listings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl.msvc.new: 2/19] cogl-path: Split out the source listings
- Date: Mon, 11 Feb 2019 10:10:56 +0000 (UTC)
commit 59d6184c9785f49d89c7751b91d17ff5b5da997f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Feb 11 16:45:53 2019 +0800
cogl-path: Split out the source listings
Like the previous commit, split out the source listings so that we can
share it with other Makefile-based build systems, such as NMake.
cogl-path/Makefile.am | 51 +++++--------------------------------------
cogl-path/cogl-path-srcs.mak | 52 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 45 deletions(-)
---
diff --git a/cogl-path/Makefile.am b/cogl-path/Makefile.am
index 6c60a284..7fa06e21 100644
--- a/cogl-path/Makefile.am
+++ b/cogl-path/Makefile.am
@@ -9,41 +9,9 @@ DISTCLEANFILES =
EXTRA_DIST =
-# tesselator sources
-cogl_tesselator_sources = \
- tesselator/dict-list.h \
- tesselator/dict.c \
- tesselator/dict.h \
- tesselator/geom.c \
- tesselator/geom.h \
- tesselator/gluos.h \
- tesselator/memalloc.h \
- tesselator/mesh.c \
- tesselator/mesh.h \
- tesselator/normal.c \
- tesselator/normal.h \
- tesselator/priorityq-heap.h \
- tesselator/priorityq-sort.h \
- tesselator/priorityq.c \
- tesselator/priorityq.h \
- tesselator/render.c \
- tesselator/render.h \
- tesselator/sweep.c \
- tesselator/sweep.h \
- tesselator/tess.c \
- tesselator/tess.h \
- tesselator/tesselator.h \
- tesselator/tessmono.c \
- tesselator/tessmono.h \
- tesselator/GL/glu.h \
- $(NULL)
+include cogl-path-srcs.mak
-source_c = \
- $(cogl_tesselator_sources) \
- cogl-path-private.h \
- cogl1-path.c \
- cogl-path.c \
- $(NULL)
+source_c = $(COGL_PATH_SRCS)
EXTRA_DIST += \
tesselator/README \
@@ -51,21 +19,14 @@ EXTRA_DIST += \
cogl-path.symbols \
$(NULL)
-source_1_x_h = \
- cogl-path-types.h \
- cogl1-path-functions.h \
- $(NULL)
+source_1_x_h = $(COGL_PATH_1_x_HDRS)
-source_h = \
- cogl-path.h \
- $(source_1_x_h) \
- cogl2-path-functions.h \
- $(NULL)
+source_h = $(COGL_PATH_HDRS)
if USE_GLIB
# glib-mkenums rules
-glib_enum_h = cogl-path-enum-types.h
-glib_enum_c = cogl-path-enum-types.c
+glib_enum_h = $(COGL_PATH_ENUMS_HDRS)
+glib_enum_c = $(COGL_PATH_ENUMS_SRCS)
glib_enum_headers = $(source_1_x_h)
include $(top_srcdir)/build/autotools/Makefile.am.enums
endif
diff --git a/cogl-path/cogl-path-srcs.mak b/cogl-path/cogl-path-srcs.mak
new file mode 100644
index 00000000..eb351f14
--- /dev/null
+++ b/cogl-path/cogl-path-srcs.mak
@@ -0,0 +1,52 @@
+# Source file lists for cogl-path
+
+# tesselator sources
+COGL_TESSELATOR_SRCS = \
+ tesselator/dict-list.h \
+ tesselator/dict.c \
+ tesselator/dict.h \
+ tesselator/geom.c \
+ tesselator/geom.h \
+ tesselator/gluos.h \
+ tesselator/memalloc.h \
+ tesselator/mesh.c \
+ tesselator/mesh.h \
+ tesselator/normal.c \
+ tesselator/normal.h \
+ tesselator/priorityq-heap.h \
+ tesselator/priorityq-sort.h \
+ tesselator/priorityq.c \
+ tesselator/priorityq.h \
+ tesselator/render.c \
+ tesselator/render.h \
+ tesselator/sweep.c \
+ tesselator/sweep.h \
+ tesselator/tess.c \
+ tesselator/tess.h \
+ tesselator/tesselator.h \
+ tesselator/tessmono.c \
+ tesselator/tessmono.h \
+ tesselator/GL/glu.h \
+ $(NULL)
+
+COGL_PATH_SRCS = \
+ $(COGL_TESSELATOR_SRCS) \
+ cogl-path-private.h \
+ cogl1-path.c \
+ cogl-path.c \
+ $(NULL)
+
+COGL_PATH_1_x_HDRS = \
+ cogl-path-types.h \
+ cogl1-path-functions.h \
+ $(NULL)
+
+COGL_PATH_HDRS = \
+ cogl-path.h \
+ $(COGL_PATH_1_x_HDRS) \
+ cogl2-path-functions.h \
+ $(NULL)
+
+COGL_PATH_ENUMS_HDRS = cogl-path-enum-types.h
+COGL_PATH_ENUMS_SRCS = cogl-path-enum-types.c
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]