summaryrefslogtreecommitdiff
path: root/cpp/examples/pub-sub/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-20 21:23:23 +0000
committerAlan Conway <aconway@apache.org>2008-06-20 21:23:23 +0000
commit11ccae93c7550828f7083a74f90a691769271b66 (patch)
tree3d4ef5541f1261daca012ab926ba3fdffcee7315 /cpp/examples/pub-sub/Makefile.am
parent7566d73d9c3e1226728ac3699d85ae0ad9715cee (diff)
downloadqpid-python-11ccae93c7550828f7083a74f90a691769271b66.tar.gz
Patch from Manuel Teira: https://issues.apache.org/jira/secure/CommentAssignIssue!default.jspa?action=5&id=12398038
- Use standard automake makefiles to build cpp/examples. - Rationalize examples directory structure. Additions to patch: - Fix for VPATH builds. - Fix make distcheck (finally!) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670066 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/pub-sub/Makefile.am')
-rw-r--r--cpp/examples/pub-sub/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/cpp/examples/pub-sub/Makefile.am b/cpp/examples/pub-sub/Makefile.am
new file mode 100644
index 0000000000..8446a1c40c
--- /dev/null
+++ b/cpp/examples/pub-sub/Makefile.am
@@ -0,0 +1,30 @@
+examplesdir=$(pkgdatadir)/examples/pub-sub
+
+include $(top_srcdir)/examples/makedist.mk
+
+noinst_PROGRAMS=topic_listener topic_publisher
+
+topic_listener_SOURCES=topic_listener.cpp
+topic_listener_LDADD=$(CLIENT_LIB)
+
+topic_publisher_SOURCES=topic_publisher.cpp
+topic_publisher_LDADD=$(CLIENT_LIB)
+
+examples_DATA= \
+ topic_listener.cpp \
+ topic_publisher.cpp \
+ $(MAKEDIST)
+
+EXTRA_DIST= \
+ $(examples_DATA) \
+ verify \
+ verify.in \
+ verify_cpp_python \
+ verify_cpp_python.in \
+ verify_python_cpp \
+ verify_python_cpp.in
+
+
+
+
+