summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-04-14 17:08:46 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-04-14 17:08:46 +0000
commit7c35b9f270aa4b80da75364732e4e52c7d6668d5 (patch)
tree3cc24f5a91c1f559501a1c030a2f3a32f15493dc /examples
parentc232c4bd5228fd13ce68ff4f854a9b702ee2eb1a (diff)
Libraryize "echo" example CM
Diffstat (limited to 'examples')
-rw-r--r--examples/cm/echo/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/examples/cm/echo/Makefile.am b/examples/cm/echo/Makefile.am
index 373605c07..fc8367480 100644
--- a/examples/cm/echo/Makefile.am
+++ b/examples/cm/echo/Makefile.am
@@ -1,19 +1,25 @@
noinst_PROGRAMS = telepathy-example-cm-echo
+noinst_LTLIBRARIES = libexample-cm-echo.la
-telepathy_example_cm_echo_SOURCES = \
+libexample_cm_echo_la_SOURCES = \
chan.c \
chan.h \
conn.c \
conn.h \
factory.c \
factory.h \
- main.c \
manager.c \
manager.h
-telepathy_example_cm_echo_LDADD = \
+libexample_cm_echo_la_LIBADD = \
$(TP_GLIB_LIBS)
+telepathy_example_cm_echo_SOURCES = \
+ main.c
+
+telepathy_example_cm_echo_LDADD = \
+ $(noinst_LTLIBRARIES)
+
AM_CFLAGS = \
$(ERROR_CFLAGS) \
$(DBUS_CFLAGS) \