summaryrefslogtreecommitdiff
path: root/qpid/cpp/Makefile
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-17 19:07:18 +0000
committerAlan Conway <aconway@apache.org>2006-10-17 19:07:18 +0000
commit42aaf846c329fdbd934ee2d732534c334586c148 (patch)
treee272141a8bb37639289c6d4be34bee29ebcb579d /qpid/cpp/Makefile
parent34aabfd2f63984c4e364ddf70b3de1c3f307ff52 (diff)
downloadqpid-python-42aaf846c329fdbd934ee2d732534c334586c148.tar.gz
Removed dependencies on linked libraries to avoid needless relinking.
Header dependencies will cause libraries to relink when necessary. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@465005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/Makefile')
-rw-r--r--qpid/cpp/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/qpid/cpp/Makefile b/qpid/cpp/Makefile
index ed1699f026..ce65a150b2 100644
--- a/qpid/cpp/Makefile
+++ b/qpid/cpp/Makefile
@@ -81,16 +81,16 @@ UNITTESTS := $(UNITTESTS) $(wildcard $(COMMON_DIRS:%=test/unit/%/*Test.cpp))
# Client library.
CLIENT_LIB := lib/libqpid_client.so.1.0
CLIENT_SRC := $(wildcard src/qpid/client/*.cpp)
-$(CLIENT_LIB): $(CLIENT_SRC:.cpp=.o) $(CURDIR)/$(COMMON_LIB)
- $(LIB_CMD) $^
+$(CLIENT_LIB): $(CLIENT_SRC:.cpp=.o)
+ $(LIB_CMD) $^ $(CURDIR)/$(COMMON_LIB)
all-nogen: $(CLIENT_LIB)
UNITTESTS := $(UNITTESTS) $(wildcard $(COMMON_DIRS:%=test/unit/%/*Test.cpp))
# Broker library.
BROKER_LIB := lib/libqpid_broker.so.1.0
BROKER_SRC := $(wildcard src/qpid/broker/*.cpp)
-$(BROKER_LIB): $(BROKER_SRC:.cpp=.o) $(CURDIR)/$(COMMON_LIB)
- $(LIB_CMD) $^
+$(BROKER_LIB): $(BROKER_SRC:.cpp=.o)
+ $(LIB_CMD) $^ $(CURDIR)/$(COMMON_LIB)
all-nogen: $(BROKER_LIB)
UNITTESTS := $(UNITTESTS) $(wildcard test/unit/qpid/broker/*Test.cpp)
@@ -106,8 +106,8 @@ test/client/%: test/client/%.cpp
## Daemon executable
-bin/qpidd: src/qpidd.o $(CURDIR)/$(COMMON_LIB) $(CURDIR)/$(BROKER_LIB)
- $(CXX) -o $@ $(LDFLAGS) -lapr-1 $^
+bin/qpidd: src/qpidd.o $(CURDIR)/$(COMMON_LIB)
+ $(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) -lapr-1 $^ $(CURDIR)/$(BROKER_LIB)
all-nogen: bin/qpidd
## Run unit tests.