diff options
| author | Alan Conway <aconway@apache.org> | 2006-10-12 18:52:49 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-10-12 18:52:49 +0000 |
| commit | c256b20602a42a3d33f36bb0e8d9692906d282a6 (patch) | |
| tree | 0fba6619fbb98c3511785143ca30647c5e6a4469 /cpp/broker/Makefile | |
| parent | 1e6a034ccd8e260e615195bf193aed7d37b928a8 (diff) | |
| download | qpid-python-c256b20602a42a3d33f36bb0e8d9692906d282a6.tar.gz | |
Converted broker to a class for use in tests, plugins etc.
qpid::Exception base class for all exceptions, inherits std::exception.
Require boost on all platforms: http://www.boost.org, 'yum boost' on fedora.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463376 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/broker/Makefile')
| -rw-r--r-- | cpp/broker/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cpp/broker/Makefile b/cpp/broker/Makefile index afe93c455a..5c96589d95 100644 --- a/cpp/broker/Makefile +++ b/cpp/broker/Makefile @@ -15,31 +15,25 @@ # # -# Build broker library and executable. +# Build broker library. # QPID_HOME = ../.. include ${QPID_HOME}/cpp/options.mk - +TARGET=$(BROKER_LIB) SOURCES= $(wildcard src/*.cpp) OBJECTS= $(subst .cpp,.o,$(SOURCES)) -LIB_OBJECTS= $(subst src/Broker.o,,$(OBJECTS)) -EXE_OBJECTS= src/Broker.o - .PHONY: all clean -all: $(BROKER) +all: $(TARGET) @$(MAKE) -C test all clean: - -@rm -f ${OBJECTS} src/*.d ${BROKER} $(BROKER_LIB) + -@rm -f $(TARGET) ${OBJECTS} src/*.d @$(MAKE) -C test clean -$(BROKER): $(BROKER_LIB) $(EXE_OBJECTS) - ${CXX} -o $@ $(EXE_OBJECTS) $(LDFLAGS) -lapr-1 $(COMMON_LIB) $(BROKER_LIB) - -$(BROKER_LIB): $(LIB_OBJECTS) - $(CXX) -shared -o $@ $(LDFLAGS) $(LIB_OBJECTS) -lapr-1 $(COMMON_LIB) $(LIBDIR) +$(TARGET): $(OBJECTS) + $(CXX) -shared -o $@ $(LDFLAGS) $(OBJECTS) -lapr-1 $(COMMON_LIB) $(LIBDIR) -include $(SOURCES:.cpp=.d) |
