[cogl/cogl-latest-win: 16/21] cogl-path: Split out source listings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-latest-win: 16/21] cogl-path: Split out source listings
- Date: Tue, 19 Oct 2021 07:35:05 +0000 (UTC)
commit 51799c472e0c21a95ade28a0989d3a9f939b980c
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Oct 18 17:19:16 2021 +0800
cogl-path: Split out source listings
This is done so that we can share the source listings with other
non-autotools build systems, such as NMake.
cogl-path/Makefile.am | 53 ++++----------------------------------------
cogl-path/cogl-path-srcs.mak | 46 ++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 49 deletions(-)
---
diff --git a/cogl-path/Makefile.am b/cogl-path/Makefile.am
index cbb9eaf6..57d5e233 100644
--- a/cogl-path/Makefile.am
+++ b/cogl-path/Makefile.am
@@ -9,58 +9,13 @@ 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)
-
-source_c = \
- $(cogl_tesselator_sources) \
- cogl-path-private.h \
- cogl1-path.c \
- cogl-path.c \
- $(NULL)
+include cogl-path-srcs.mak
EXTRA_DIST += \
tesselator/README \
tesselator/priorityq-heap.c \
$(NULL)
-source_1_x_h = \
- cogl-path-types.h \
- cogl1-path-functions.h \
- $(NULL)
-
-source_h = \
- cogl-path.h \
- $(source_1_x_h) \
- cogl2-path-functions.h \
- $(NULL)
-
if USE_GLIB
# glib-mkenums rules
glib_enum_h = cogl-path-enum-types.h
@@ -71,7 +26,7 @@ endif
lib_LTLIBRARIES = libcogl-path.la
-libcogl_path_la_SOURCES = $(source_c) $(source_h)
+libcogl_path_la_SOURCES = $(source_path_c) $(source_path_h)
nodist_libcogl_path_la_SOURCES = $(BUILT_SOURCES)
libcogl_path_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
libcogl_path_la_LIBADD = $(top_builddir)/cogl/libcogl.la
@@ -94,7 +49,7 @@ AM_CPPFLAGS = \
-I$(top_builddir)
cogl_pathheadersdir = $(includedir)/cogl/cogl-path
-cogl_pathheaders_HEADERS = $(source_h)
+cogl_pathheaders_HEADERS = $(source_path_h)
if USE_GLIB
nodist_cogl_pathheaders_HEADERS = cogl-path-enum-types.h
endif
@@ -115,7 +70,7 @@ dist-hook: \
MSVC_PROJECT = cogl-path
MSVC_PROJECT_SRCDIR = cogl-path
-MSVC_PROJECT_SRCS = $(source_c)
+MSVC_PROJECT_SRCS = $(source_path_c)
MSVC_PROJECT_EXCLUDES = dummy
include $(top_srcdir)/build/Makefile-msvcproj.mak
diff --git a/cogl-path/cogl-path-srcs.mak b/cogl-path/cogl-path-srcs.mak
new file mode 100644
index 00000000..8c7a8fae
--- /dev/null
+++ b/cogl-path/cogl-path-srcs.mak
@@ -0,0 +1,46 @@
+# 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)
+
+source_path_c = \
+ $(cogl_tesselator_sources) \
+ cogl-path-private.h \
+ cogl1-path.c \
+ cogl-path.c \
+ $(NULL)
+
+source_1_x_h = \
+ cogl-path-types.h \
+ cogl1-path-functions.h \
+ $(NULL)
+
+source_path_h = \
+ cogl-path.h \
+ $(source_1_x_h) \
+ cogl2-path-functions.h \
+ $(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]