[libpeas/msvc: 2/9] tests/libpeas/introspection: Split out source listing



commit f88c017f25551e8c729aecb52f685f36535e349b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Oct 17 00:34:22 2018 +0800

    tests/libpeas/introspection: Split out source listing
    
    This is so that we can share the source listings between autotools
    Makefiles and NMake Makefiles.

 tests/libpeas/introspection/Makefile.am                 | 16 +++-------------
 tests/libpeas/introspection/test-introspection-srcs.mak | 13 +++++++++++++
 2 files changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/tests/libpeas/introspection/Makefile.am b/tests/libpeas/introspection/Makefile.am
index 3ea3758..3402e6a 100644
--- a/tests/libpeas/introspection/Makefile.am
+++ b/tests/libpeas/introspection/Makefile.am
@@ -12,19 +12,9 @@ libintrospection_1_0_la_LIBADD = \
        $(PEAS_LIBS)                            \
        $(top_builddir)/libpeas/libpeas-1.0.la
 
-libintrospection_1_0_la_SOURCES = \
-       introspection-abstract.c                \
-       introspection-abstract.h                \
-       introspection-base.c                    \
-       introspection-base.h                    \
-       introspection-callable.c                \
-       introspection-callable.h                \
-       introspection-has-prerequisite.c        \
-       introspection-has-prerequisite.h        \
-       introspection-prerequisite.c            \
-       introspection-prerequisite.h            \
-       introspection-unimplemented.c           \
-       introspection-unimplemented.h
+include test-introspection-srcs.mak
+
+libintrospection_1_0_la_SOURCES = $(PEAS_TEST_INTROSPECTION_SRCS)
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS = Introspection-1.0.gir
diff --git a/tests/libpeas/introspection/test-introspection-srcs.mak 
b/tests/libpeas/introspection/test-introspection-srcs.mak
new file mode 100644
index 0000000..3c467e8
--- /dev/null
+++ b/tests/libpeas/introspection/test-introspection-srcs.mak
@@ -0,0 +1,13 @@
+PEAS_TEST_INTROSPECTION_SRCS = \
+       introspection-abstract.c                \
+       introspection-abstract.h                \
+       introspection-base.c                    \
+       introspection-base.h                    \
+       introspection-callable.c                \
+       introspection-callable.h                \
+       introspection-has-prerequisite.c        \
+       introspection-has-prerequisite.h        \
+       introspection-prerequisite.c            \
+       introspection-prerequisite.h            \
+       introspection-unimplemented.c           \
+       introspection-unimplemented.h


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