summaryrefslogtreecommitdiff
path: root/qpid/cpp/Makefile
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-18 22:48:55 +0000
committerAlan Conway <aconway@apache.org>2006-10-18 22:48:55 +0000
commit25acaed2551df8dbf304caf7e2c9a1eaac5bf143 (patch)
tree72e480597eea167846492d54dcc7b8d02a8fce1d /qpid/cpp/Makefile
parent8b445c94a9be057d1a45668a1bf0a282fafab954 (diff)
downloadqpid-python-25acaed2551df8dbf304caf7e2c9a1eaac5bf143.tar.gz
Fix build problems in makefile & client tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@465407 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/Makefile')
-rw-r--r--qpid/cpp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/Makefile b/qpid/cpp/Makefile
index ca774563c2..33a020780d 100644
--- a/qpid/cpp/Makefile
+++ b/qpid/cpp/Makefile
@@ -99,10 +99,10 @@ UNITTESTS := $(UNITTESTS) $(wildcard test/unit/qpid/broker/*Test.cpp)
$(CXX) -shared -o $@ $< $($(LIB)_FLAGS) -Itest/include $(CXXFLAGS) $(LDFLAGS) -lapr-1 -lcppunit $(CURDIR)/$(COMMON_LIB) $(CURDIR)/$(BROKER_LIB)
## Client tests
-
-all-nogen: $(wildcard test/client/*.cpp:.cpp=)
+CLIENT_TEST_SRC := $(wildcard test/client/*.cpp)
+all-nogen: $(CLIENT_TEST_SRC:.cpp=)
test/client/%: test/client/%.cpp
- $(CXX) -o $@ $< $($(LIB)_FLAGS) -Itest/include $(CXXFLAGS) $(LDFLAGS) -lapr-1 $(LINK_WITH_$(LIB)) $(LINK_WITH_$(LIB)_DEPS)
+ $(CXX) -o $@ $< $($(LIB)_FLAGS) -Itest/include $(CXXFLAGS) $(LDFLAGS) -lapr-1 $(CURDIR)/$(COMMON_LIB) $(CURDIR)/$(CLIENT_LIB)
## Daemon executable