[Spice-devel] [spice-gtk PATCH v1 2/2] tests: build sources to each test
Victor Toso
victortoso at redhat.com
Wed Oct 14 03:15:16 PDT 2015
---
tests/Makefile.am | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 19c02b6..e28f880 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -25,10 +25,31 @@ LDADD = \
$(top_builddir)/src/libspice-client-glib-2.0.la \
$(NULL)
-util_SOURCES = util.c
+util_SOURCES = \
+ util.c \
+ ../src/spice-util.c
+
coroutine_SOURCES = coroutine.c
+
+if WITH_UCONTEXT
+coroutine_SOURCES += \
+ ../src/continuation.c \
+ ../src/coroutine_ucontext.c
+endif
+
+if WITH_WINFIBER
+coroutine_SOURCES += coroutine_winfibers.c
+endif
+
+if WITH_GTHREAD
+coroutine_SOURCES += coroutine_gthread.c
+endif
+
session_SOURCES = session.c
-pipe_SOURCES = pipe.c
+
+pipe_SOURCES = \
+ pipe.c \
+ ../src/giopipe.c
-include $(top_srcdir)/git.mk
--
2.5.0
More information about the Spice-devel
mailing list