From 8cd3c2e8d906ebc34e2297b7f1bd3752448031c0 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Thu, 4 Jun 2009 13:31:01 +0000 Subject: Made the test_store lib installable to be used with installable tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781732 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/Makefile.am | 2 ++ cpp/src/tests/Makefile.am | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'cpp') diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index bba0b83509..d9b8b54222 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -116,6 +116,8 @@ qpidexec_SCRIPTS = qpidtestdir = $(qpidexecdir)/test qpidtest_PROGRAMS = qpidtest_SCRIPTS = +tmoduledir = $(libdir)/qpid/test +tmodule_LTLIBRARIES= ## Automake macros to build libraries and executables. qpidd_CXXFLAGS = $(AM_CXXFLAGS) -DQPIDD_MODULE_DIR=\"$(dmoduledir)\" -DQPIDD_CONF_FILE=\"$(sysconfdir)/qpidd.conf\" diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am index 3563faf56a..51922ee3bd 100644 --- a/cpp/src/tests/Makefile.am +++ b/cpp/src/tests/Makefile.am @@ -47,6 +47,8 @@ qpidexec_SCRIPTS = qpidtestdir = $(qpidexecdir)/test qpidtest_PROGRAMS = qpidtest_SCRIPTS = +tmoduledir = $(libdir)/qpid/test +tmodule_LTLIBRARIES= # # Unit test program @@ -128,10 +130,10 @@ check_LTLIBRARIES += libshlibtest.la libshlibtest_la_LDFLAGS = $(TESTLIBFLAGS) libshlibtest_la_SOURCES = shlibtest.cpp -check_LTLIBRARIES += test_store.la +tmodule_LTLIBRARIES += test_store.la test_store_la_SOURCES = test_store.cpp test_store_la_LIBADD = $(lib_broker) # FIXME aconway 2009-04-03: required? -test_store_la_LDFLAGS = $(TESTLIBFLAGS) +test_store_la_LDFLAGS = -module include cluster.mk if SSL -- cgit v1.2.1