[gitg] Do not link libgitg tests with libgitg-ext



commit 8a77175b9148617c813550a2bc9095ac50d3634c
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jul 6 11:57:30 2013 +0200

    Do not link libgitg tests with libgitg-ext

 libgitg/tests/Makefile.am |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/libgitg/tests/Makefile.am b/libgitg/tests/Makefile.am
index 78e2e56..d4306c2 100644
--- a/libgitg/tests/Makefile.am
+++ b/libgitg/tests/Makefile.am
@@ -2,7 +2,21 @@ AM_CPPFLAGS = -g -I$(top_srcdir) -I$(top_srcdir)/gitg -I$(top_srcdir)/libgitg $(
 
 noinst_PROGRAMS = $(TEST_PROGS)
 
-AM_VALAFLAGS = $(GITG_PLUGIN_VALAFLAGS) --disable-warnings --vapidir $(srcdir) --pkg posix --pkg gitg-assert
+AM_VALAFLAGS = \
+       --pkg posix --pkg gitg-assert           \
+       --pkg Ggit-1.0                          \
+       --pkg libgitg-1.0                       \
+       --pkg gio-2.0                           \
+       --pkg gtk+-3.0                          \
+       --pkg gee-0.8                           \
+       --pkg libsoup-2.4                       \
+       --pkg webkit2gtk-3.0                    \
+       --pkg config                            \
+       $(GITG_VALAFLAGS)                       \
+       --vapidir $(srcdir)                     \
+       --vapidir $(top_srcdir)/vapi            \
+       --vapidir $(top_builddir)/libgitg       \
+       --disable-warnings
 
 TEST_PROGS = test-libgitg
 
@@ -13,8 +27,11 @@ test_libgitg_SOURCES =                               \
        test-stage.vala                         \
        test-date.vala
 
-test_libgitg_LDADD = $(GITG_PLUGIN_LIBS)
-test_libgitg_CFLAGS = $(GITG_PLUGIN_CFLAGS) -w
+test_libgitg_CFLAGS = $(LIBGITG_CFLAGS) -w
+
+test_libgitg_LDADD = \
+       $(top_builddir)/libgitg/libgitg-1.0.la  \
+       $(LIBGITG_LIBS)
 
 TESTS = $(TEST_PROGS)
 
@@ -28,3 +45,5 @@ CLEANFILES =                                  \
 EXTRA_DIST = gitg-assert.h gitg-assert.vapi
 
 -include $(top_srcdir)/git.mk
+
+# vi:ts=8:noet



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