gnome-games r8249 - trunk/tests/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8249 - trunk/tests/libgames-support
- Date: Tue,  4 Nov 2008 14:25:42 +0000 (UTC)
Author: chpe
Date: Tue Nov  4 14:25:41 2008
New Revision: 8249
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8249&view=rev
Log:
Fix the out-of-srcdir build.
Modified:
   trunk/tests/libgames-support/Makefile.am
   trunk/tests/libgames-support/test-libgames-support.c
Modified: trunk/tests/libgames-support/Makefile.am
==============================================================================
--- trunk/tests/libgames-support/Makefile.am	(original)
+++ trunk/tests/libgames-support/Makefile.am	Tue Nov  4 14:25:41 2008
@@ -1,18 +1,14 @@
-
 TESTS = test_libgames_support
+
 check_PROGRAMS = test_libgames_support
 
 test_libgames_support_SOURCES = test-libgames-support.c 
 
-INCLUDES =		 			\
-	$(GNOME_GAMES_CFLAGS)			\
-	-I$(top_srcdir)/libgames-support	
-
-test_libgames_support_CFLAGS = @CHECK_CFLAGS@ 
+test_libgames_support_CPPFLAGS = -I$(top_srcdir)
+test_libgames_support_CFLAGS = $(CHECK_CFLAGS) $(GNOME_GAMES_CFLAGS)
 
 test_libgames_support_LDADD = \
-	../../libgames-support/libgames-support.la \
+	$(top_builddir)/libgames-support/libgames-support.la \
 	$(GNOME_GAMES_LIBS) \
 	$(INTLLIBS) \
-	@CHECK_LIBS@
-
+	$(CHECK_LIBS)
Modified: trunk/tests/libgames-support/test-libgames-support.c
==============================================================================
--- trunk/tests/libgames-support/test-libgames-support.c	(original)
+++ trunk/tests/libgames-support/test-libgames-support.c	Tue Nov  4 14:25:41 2008
@@ -3,7 +3,7 @@
 
 #include <gtk/gtk.h>
 
-#include <games-clock.h>
+#include <libgames-support/games-clock.h>
 
 /*  Fixtures used to prepare and cleanup for testing. */
 static void
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]