[gnome-chess/chess-telepathy-networking-support-664946-rebase: 13/64] [Games Contacts] Prepare for lib; depend on libxml-2.0, gee-1.0 and telepathy-glib
- From: Chandni Verma <vchandni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/chess-telepathy-networking-support-664946-rebase: 13/64] [Games Contacts] Prepare for lib; depend on libxml-2.0, gee-1.0 and telepathy-glib
- Date: Sun, 23 Dec 2012 03:39:43 +0000 (UTC)
commit 25ab7408d7d3630ef2017d811a9776f57462f17a
Author: Chandni Verma <chandniverma2112 gmail com>
Date: Mon Jul 9 08:32:46 2012 +0530
[Games Contacts] Prepare for lib; depend on libxml-2.0, gee-1.0 and telepathy-glib
Makefile.am | 2 +-
configure.ac | 15 +++++++++++++-
libgames-contacts/Makefile.am | 42 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 57 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b37898e..c4a6d6f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = data src help po
+SUBDIRS = libgames-contacts data src help po
EXTRA_DIST = autogen.sh NEWS
diff --git a/configure.ac b/configure.ac
index fff683c..06b4d0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,11 @@
AC_INIT(gnome-chess, 3.7.2)
+LT_INIT
+
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE
GNOME_MAINTAINER_MODE_DEFINES
-
+
AM_PROG_VALAC([0.16.0])
AM_PROG_CC_C_O
@@ -56,6 +58,16 @@ if test "x$networking" = "xyes"; then
AC_SUBST([FOLKS_CFLAGS])
AC_SUBST([FOLKS_LIBS])
+ PKG_CHECK_MODULES([GEE], [gee-1.0])
+ AC_SUBST([GEE_CFLAGS])
+ AC_SUBST([GEE_LIBS])
+
+ PKG_CHECK_MODULES([TELEPATHY], [telepathy-glib])
+ AC_SUBST([TELEPATHY_CFLAGS])
+ AC_SUBST([TELEPATHY_LIBS])
+
+ PKG_CHECK_MODULES([XML], [libxml-2.0])
+
AC_DEFINE([ENABLE_NETWORKING],[1],[Defines whether Telepathy networking is enabled])
else
AC_DEFINE([ENABLE_NETWORKING],[0],
@@ -94,6 +106,7 @@ data/gnome-chess.desktop.in
help/Makefile
po/Makefile.in
src/Makefile
+libgames-contacts/Makefile
])
echo "
diff --git a/libgames-contacts/Makefile.am b/libgames-contacts/Makefile.am
new file mode 100644
index 0000000..c4d3364
--- /dev/null
+++ b/libgames-contacts/Makefile.am
@@ -0,0 +1,42 @@
+noinst_LTLIBRARIES =
+
+if ENABLE_NETWORKING
+noinst_LTLIBRARIES += libgames-contacts.la
+endif
+
+libgames_contacts_la_SOURCES =
+
+libgames_contacts_la_CPPFLAGS = \
+ -DPKGDATADIR="\"$(pkgdatadir)\"" \
+ -DPREFIX="\"$(prefix)\"" \
+ -DDATADIR="\"$(datadir)\"" \
+ -DICON_THEME_DIRECTORY="\"$(datadir)/icons\"" \
+ -DLOCALE_DIRECTORY="\"$(datadir)/locale\"" \
+ -DGETTEXT_PACKAGE="\"gnome-chess\"" \
+ $(AM_CPPFLAGS)
+
+libgames_contacts_la_CFLAGS = \
+ $(GNOME_CHESS_CFLAGS) \
+ $(AM_CFLAGS) \
+ $(FOLKS_CFLAGS) \
+ $(GEE_CFLAGS) \
+ $(XML_CFLAGS)
+
+libgames_contacts_la_LIBADD = \
+ $(GNOME_CHESS_LIBS) \
+ $(FOLKS_LIBS) \
+ $(GEE_LIBS) \
+ $(XML_LIBS)
+
+EXTRA_DIST = \
+ GamesContacts-1.0.vapi
+
+CLEANFILES =
+
+DISTCLEANFILES =
+
+ INTLTOOL_XML_NOMERGE_RULE@
+
+ GSETTINGS_RULES@
+
+-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]