diff options
| author | Alan Conway <aconway@apache.org> | 2006-11-29 14:36:08 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-11-29 14:36:08 +0000 |
| commit | 3bb9f37e40cb72d88cf6885bc80f93da3c3231ed (patch) | |
| tree | 6d1cc162a39c183ecfea71181a7dbb0449542bff /qpid/cpp/Makefile | |
| parent | 89589a150ca7a9c8166ca86af30bbe1159bc0405 (diff) | |
| download | qpid-python-3bb9f37e40cb72d88cf6885bc80f93da3c3231ed.tar.gz | |
Posix EventChannel implementation using epoll. Placeholder for kevents.
Dynamic thread pool EventChannelThreads to serve EventChannel.
Misc cleanup/enhancements.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@480582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/Makefile')
| -rw-r--r-- | qpid/cpp/Makefile | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/qpid/cpp/Makefile b/qpid/cpp/Makefile index dd7551a648..8f7b6795b2 100644 --- a/qpid/cpp/Makefile +++ b/qpid/cpp/Makefile @@ -72,6 +72,7 @@ $(BUILDDIRS): ## Library rules +## DONT COMMIT LIB_common := $(call LIBFILE,common,1.0) DIRS_common := qpid qpid/framing qpid/sys qpid/$(PLATFORM) $(LIB_common): $(call OBJECTS, $(DIRS_common)) @@ -79,13 +80,13 @@ $(LIB_common): $(call OBJECTS, $(DIRS_common)) LIB_client := $(call LIBFILE,client,1.0) DIRS_client := qpid/client -$(LIB_client): $(call OBJECTS,$(DIRS_client)) $(LIB_common) - $(LIB_COMMAND) +$(LIB_client): $(call OBJECTS,$(DIRS_client)) + $(LIB_COMMAND) $(LIB_common) LIB_broker := $(call LIBFILE,broker,1.0) DIRS_broker := qpid/broker -$(LIB_broker): $(call OBJECTS,$(DIRS_broker)) $(LIB_common) - $(LIB_COMMAND) +$(LIB_broker): $(call OBJECTS,$(DIRS_broker)) + $(LIB_COMMAND) $(LIB_common) ## Daemon executable $(BINDIR)/qpidd: $(OBJDIR)/qpidd.o $(LIB_common) $(LIB_broker) @@ -94,12 +95,20 @@ $(BINDIR)/qpidd: $(OBJDIR)/qpidd.o $(LIB_common) $(LIB_broker) all-nogen: $(BINDIR)/qpidd ## Unit tests. -UNITTEST_SRC:=$(shell find test/unit -name *Test.cpp) -UNITTEST_SRC:=$(filter-out test/unit/qpid/$(IGNORE)/%,$(UNITTEST_SRC)) -UNITTESTS:=$(UNITTEST_SRC:test/unit/%.cpp=$(TESTDIR)/%.so) +define UNITTEST_GROUP +UNITTEST_SRC_$1 := $(wildcard $(DIRS_$1:%=test/unit/%/*Test.cpp)) +UNITTEST_SO_$1 := $$(UNITTEST_SRC_$1:test/unit/%.cpp=$(TESTDIR)/%.so) +$$(UNITTEST_SO_$1): $(LIB_$1) +UNITTESTS := $$(UNITTESTS) $$(UNITTEST_SO_$1) +endef -unittest: all +$(eval $(call UNITTEST_GROUP,common)) +$(eval $(call UNITTEST_GROUP,broker)) +$(eval $(call UNITTEST_GROUP,client)) + +unittest: $(UNITTESTS) DllPlugInTester -c -b $(UNITTESTS:.cpp=.so) + all-nogen: $(UNITTESTS) ## Run python tests @@ -143,7 +152,7 @@ all-nogen: $(CLIENT_TEST_EXE) client: $(CLIENT_TEST_EXE) ## include dependencies -DEPFILES:=$(wildcard $(OBJDIR)/*.d $(OBJDIR)/*/*.d $(OBJDIR)/*/*/*.d) +DEPFILES:=$(shell find $(OBJDIR) $(TESTDIR) -name "*.d") ifdef DEPFILES -include $(DEPFILES) endif |
