summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Mjelva <morten.mjelva@gmail.com>2011-06-25 21:22:41 +0200
committerMorten Mjelva <morten.mjelva@gmail.com>2011-06-26 15:18:15 +0200
commit0040f7991f91ac231e7fe403e0d43c9aac944cd3 (patch)
treeaae8c318a53074f996d4f5783694c59fe9ba6840
parentdaf213dc62ee123ab7010edcb18c368d3969a513 (diff)
Added /examples sectionshell
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac2
-rw-r--r--examples/Makefile.am1
-rw-r--r--examples/client/Makefile.am28
4 files changed, 32 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a0540d4..c4bb772 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
folks \
backends \
+ examples \
tests \
tools \
po \
diff --git a/configure.ac b/configure.ac
index 432f30d..e6cb1ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,6 +411,8 @@ AC_CONFIG_FILES([
backends/telepathy/lib/Makefile
backends/tracker/Makefile
backends/tracker/lib/Makefile
+ examples/Makefile
+ examples/client/Makefile
folks/Makefile
docs/Makefile
po/Makefile.in
diff --git a/examples/Makefile.am b/examples/Makefile.am
new file mode 100644
index 0000000..44ac182
--- /dev/null
+++ b/examples/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = client
diff --git a/examples/client/Makefile.am b/examples/client/Makefile.am
new file mode 100644
index 0000000..d7b0806
--- /dev/null
+++ b/examples/client/Makefile.am
@@ -0,0 +1,28 @@
+AM_CPPFLAGS = \
+ $(GLIB_CFLAGS) \
+ $(GIO_CFLAGS) \
+ $(GEE_CFLAGS) \
+ $(TP_GLIB_CFLAGS) \
+ -I$(top_srcdir)/folks \
+ --include $(CONFIG_HEADER) \
+ $(NULL)
+
+LDADD = \
+ $(top_builddir)/folks/libfolks.la \
+ $(GLIB_LIBS) \
+ $(GIO_LIBS) \
+ $(GEE_LIBS) \
+ $(TP_GLIB_LIBS) \
+ $(SW_CLIENT_LIBS) \
+ $(NULL)
+
+EXAMPLES =
+
+EXAMPLES += individual-aggregator
+individual_aggregator_SOURCES = individual-aggregator.c
+
+noinst_PROGRAMS = $(EXAMPLES)
+
+CLEANFILES = \
+ $(EXAMPLES) \
+ $(NULL)