diff options
| author | Alan Conway <aconway@apache.org> | 2006-10-17 19:07:18 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-10-17 19:07:18 +0000 |
| commit | 13b6e8b7ddbad3b5b8f3103e1e55fa1e61333473 (patch) | |
| tree | 7cc7dfa90151c0f98a96e67d80394b9ac9e02f1b /cpp/Makefile | |
| parent | b8cb6602b076df6f9bacc91cc4396ab90e26b9ca (diff) | |
| download | qpid-python-13b6e8b7ddbad3b5b8f3103e1e55fa1e61333473.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/qpid@465005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/Makefile')
| -rw-r--r-- | cpp/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/Makefile b/cpp/Makefile index ed1699f026..ce65a150b2 100644 --- a/cpp/Makefile +++ b/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. |
