diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-07-25 20:25:14 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-07-25 20:25:14 +0000 |
| commit | 25f9ff86c702792a492697b03fa3c4190fa12903 (patch) | |
| tree | f0f4edbe4a5dd29a6e191713872b6a8bd3e28dd4 /qpid/cpp/examples | |
| parent | d73ba2c389413b64aba0ef6893c98c89120622ce (diff) | |
| download | qpid-python-25f9ff86c702792a492697b03fa3c4190fa12903.tar.gz | |
QPID-4640: QPID-3633: Remove autotools build from qpid C++ source tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507112 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
| -rw-r--r-- | qpid/cpp/examples/Makefile.am | 37 | ||||
| -rw-r--r-- | qpid/cpp/examples/makedist.mk | 42 | ||||
| -rw-r--r-- | qpid/cpp/examples/messaging/Makefile.am | 75 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/Makefile.am | 48 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/direct/Makefile.am | 47 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/failover/Makefile.am | 47 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/fanout/Makefile.am | 42 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/pub-sub/Makefile.am | 43 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/request-response/Makefile.am | 43 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/tradedemo/Makefile.am | 46 | ||||
| -rw-r--r-- | qpid/cpp/examples/old_api/xml-exchange/Makefile.am | 49 | ||||
| -rw-r--r-- | qpid/cpp/examples/qmf-agent/Makefile | 85 | ||||
| -rw-r--r-- | qpid/cpp/examples/qmf-console/Makefile.am | 56 |
13 files changed, 0 insertions, 660 deletions
diff --git a/qpid/cpp/examples/Makefile.am b/qpid/cpp/examples/Makefile.am deleted file mode 100644 index 6b2bb73587..0000000000 --- a/qpid/cpp/examples/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -SUBDIRS = qmf-console messaging old_api - -MAKEDIST=.libs/Makefile - -$(MAKEDIST): Makefile - mkdir -p .libs - @(echo 'all clean:' ; \ - echo ' for d in $(SUBDIRS) ; do $$(MAKE) -C $$$$d $$@ ; done' ; \ - ) > $(MAKEDIST) - -examplesdir=$(pkgdatadir)/examples -dist_examples_DATA = README.txt $(MAKEDIST) - -EXTRA_DIST = examples.sln CMakeLists.txt - -# For older versions of automake -abs_top_srcdir = @abs_top_srcdir@ -abs_top_builddir = @abs_top_builddir@ - diff --git a/qpid/cpp/examples/makedist.mk b/qpid/cpp/examples/makedist.mk deleted file mode 100644 index 9a1568d427..0000000000 --- a/qpid/cpp/examples/makedist.mk +++ /dev/null @@ -1,42 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# Settings to build the examples in automake -AM_CXXFLAGS = $(WARNING_CFLAGS) -INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -CLIENT_LIB=$(top_builddir)/src/libqpidclient.la -COMMON_LIB=$(top_builddir)/src/libqpidcommon.la -CONSOLE_LIB=$(top_builddir)/src/libqmfconsole.la -CLIENTFLAGS=-lqpidclient -CONSOLEFLAGS=-lqmfconsole - -# Generate a simple non-automake Makefile for distribution. -MAKEDIST=.libs/Makefile - -$(MAKEDIST): Makefile - mkdir -p .libs - @(echo CXX=$(CXX) ; \ - echo CXXFLAGS=$(CXXFLAGS) ; \ - echo LDFLAGS=$(MAKELDFLAGS) ; \ - echo ; \ - echo all: $(noinst_PROGRAMS) ; \ - echo ; \ - echo clean: ; \ - echo " rm -f $(noinst_PROGRAMS)" ; \ - ) > $(MAKEDIST) - diff --git a/qpid/cpp/examples/messaging/Makefile.am b/qpid/cpp/examples/messaging/Makefile.am deleted file mode 100644 index 5fefb37f8a..0000000000 --- a/qpid/cpp/examples/messaging/Makefile.am +++ /dev/null @@ -1,75 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/messaging - -# Settings to build the examples in automake -AM_CXXFLAGS = $(WARNING_CFLAGS) -INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -CLIENT_LIB=$(top_builddir)/src/libqpidmessaging.la -TYPES_LIB=$(top_builddir)/src/libqpidtypes.la -CLIENTFLAGS=-lqpidmessaging - -noinst_PROGRAMS=drain spout client server map_sender map_receiver hello_world hello_xml - -hello_world_SOURCES=hello_world.cpp -hello_world_LDADD=$(CLIENT_LIB) - -hello_xml_SOURCES=hello_xml.cpp -hello_xml_LDADD=$(CLIENT_LIB) - -drain_SOURCES=drain.cpp OptionParser.h OptionParser.cpp -drain_LDADD=$(CLIENT_LIB) $(TYPES_LIB) - -spout_SOURCES=spout.cpp OptionParser.h OptionParser.cpp -spout_LDADD=$(CLIENT_LIB) $(TYPES_LIB) - -client_SOURCES=client.cpp -client_LDADD=$(CLIENT_LIB) - -server_SOURCES=server.cpp -server_LDADD=$(CLIENT_LIB) - -map_sender_SOURCES=map_sender.cpp -map_sender_LDADD=$(CLIENT_LIB) $(TYPES_LIB) - -map_receiver_SOURCES=map_receiver.cpp -map_receiver_LDADD=$(CLIENT_LIB) $(TYPES_LIB) - -examples_DATA= \ - hello_world.cpp \ - hello_xml.cpp \ - drain.cpp \ - spout.cpp \ - OptionParser.cpp \ - OptionParser.h \ - client.cpp \ - server.cpp \ - map_sender.cpp \ - map_receiver.cpp \ - extra_dist/CMakeLists.txt - -EXTRA_DIST= \ - $(examples_DATA) \ - CMakeLists.txt \ - messaging_client.vcproj \ - messaging_drain.vcproj \ - messaging_map_receiver.vcproj \ - messaging_map_sender.vcproj \ - messaging_server.vcproj \ - messaging_spout.vcproj diff --git a/qpid/cpp/examples/old_api/Makefile.am b/qpid/cpp/examples/old_api/Makefile.am deleted file mode 100644 index 04216ffa97..0000000000 --- a/qpid/cpp/examples/old_api/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -SUBDIRS = direct pub-sub fanout request-response failover tradedemo -if HAVE_XML - SUBDIRS += xml-exchange - broker_args = "--no-module-dir --data-dir \"\" --auth no --load-module $(top_builddir)/src/.libs/xml.so" -endif -if !HAVE_XML - exclude_examples_regexp="xml" # Exclude XML examples. - broker_args = "--no-module-dir --data-dir \"\" --auth no" -endif - -MAKEDIST=.libs/Makefile - -$(MAKEDIST): Makefile - mkdir -p .libs - @(echo 'all clean:' ; \ - echo ' for d in $(SUBDIRS) ; do $$(MAKE) -C $$$$d $$@ ; done' ; \ - ) > $(MAKEDIST) - -examplesdir=$(pkgdatadir)/examples/old_api -dist_examples_DATA = $(MAKEDIST) -EXTRA_DIST = README.verify verify verify_all CMakeLists.txt - -# For older versions of automake -abs_top_srcdir = @abs_top_srcdir@ -abs_top_builddir = @abs_top_builddir@ - -# Verify the examples in the buid tree. -check-local: - $(srcdir)/verify_all $(abs_top_srcdir)/.. $(abs_top_builddir) $(broker_args) $(exclude_examples_regexp) - diff --git a/qpid/cpp/examples/old_api/direct/Makefile.am b/qpid/cpp/examples/old_api/direct/Makefile.am deleted file mode 100644 index 18957c84f4..0000000000 --- a/qpid/cpp/examples/old_api/direct/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/direct - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=direct_producer listener declare_queues -direct_producer_SOURCES=direct_producer.cpp -direct_producer_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -listener_SOURCES=listener.cpp -listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -examples_DATA= \ - direct_producer.cpp \ - listener.cpp \ - declare_queues.cpp \ - $(MAKEDIST) - -EXTRA_DIST= \ - $(examples_DATA) \ - CMakeLists.txt \ - verify \ - verify.in \ - direct_declare_queues.vcproj \ - direct_direct_producer.vcproj \ - direct_listener.vcproj diff --git a/qpid/cpp/examples/old_api/failover/Makefile.am b/qpid/cpp/examples/old_api/failover/Makefile.am deleted file mode 100644 index 60e99b9ed6..0000000000 --- a/qpid/cpp/examples/old_api/failover/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/failover - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=declare_queues resuming_receiver replaying_sender - -declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -resuming_receiver_SOURCES=resuming_receiver.cpp -resuming_receiver_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -replaying_sender_SOURCES=replaying_sender.cpp -replaying_sender_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -examples_DATA= \ - declare_queues.cpp \ - resuming_receiver.cpp \ - replaying_sender.cpp \ - $(MAKEDIST) - -# FIXME aconway 2008-10-10: add verify scripts. - -EXTRA_DIST= \ - CMakeLists.txt \ - failover_declare_queues.vcproj \ - failover_replaying_sender.vcproj \ - failover_resuming_receiver.vcproj diff --git a/qpid/cpp/examples/old_api/fanout/Makefile.am b/qpid/cpp/examples/old_api/fanout/Makefile.am deleted file mode 100644 index 06e84b47b6..0000000000 --- a/qpid/cpp/examples/old_api/fanout/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/fanout - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=fanout_producer listener -fanout_producer_SOURCES=fanout_producer.cpp -fanout_producer_LDADD=$(CLIENT_LIB) - -listener_SOURCES=listener.cpp -listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -examples_DATA= \ - fanout_producer.cpp \ - listener.cpp \ - $(MAKEDIST) - -EXTRA_DIST= \ - $(examples_DATA) \ - CMakeLists.txt \ - verify \ - verify.in \ - fanout_fanout_producer.vcproj \ - fanout_listener.vcproj diff --git a/qpid/cpp/examples/old_api/pub-sub/Makefile.am b/qpid/cpp/examples/old_api/pub-sub/Makefile.am deleted file mode 100644 index e8e19e4c32..0000000000 --- a/qpid/cpp/examples/old_api/pub-sub/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/pub-sub - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=topic_listener topic_publisher - -topic_listener_SOURCES=topic_listener.cpp -topic_listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -topic_publisher_SOURCES=topic_publisher.cpp -topic_publisher_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -examples_DATA= \ - topic_listener.cpp \ - topic_publisher.cpp \ - $(MAKEDIST) - -EXTRA_DIST= \ - $(examples_DATA) \ - CMakeLists.txt \ - verify \ - verify.in \ - pub-sub_topic_listener.vcproj \ - pub-sub_topic_publisher.vcproj diff --git a/qpid/cpp/examples/old_api/request-response/Makefile.am b/qpid/cpp/examples/old_api/request-response/Makefile.am deleted file mode 100644 index cf10ae81db..0000000000 --- a/qpid/cpp/examples/old_api/request-response/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/request-response - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=client server - -client_SOURCES=client.cpp -client_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -server_SOURCES=server.cpp -server_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -examples_DATA= \ - server.cpp \ - client.cpp \ - $(MAKEDIST) - -EXTRA_DIST= \ - $(examples_DATA) \ - CMakeLists.txt \ - verify \ - verify.in \ - request-response_client.vcproj \ - request-response_server.vcproj diff --git a/qpid/cpp/examples/old_api/tradedemo/Makefile.am b/qpid/cpp/examples/old_api/tradedemo/Makefile.am deleted file mode 100644 index 9932d87a6b..0000000000 --- a/qpid/cpp/examples/old_api/tradedemo/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/tradedemo - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=topic_listener topic_publisher declare_queues - -topic_listener_SOURCES=topic_listener.cpp -topic_listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -topic_publisher_SOURCES=topic_publisher.cpp -topic_publisher_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - - -examples_DATA= \ - topic_listener.cpp \ - topic_publisher.cpp \ - declare_queues.cpp \ - $(MAKEDIST) - -EXTRA_DIST= \ - CMakeLists.txt \ - tradedemo_declare_queues.vcproj \ - tradedemo_topic_listener.vcproj \ - tradedemo_topic_publisher.vcproj diff --git a/qpid/cpp/examples/old_api/xml-exchange/Makefile.am b/qpid/cpp/examples/old_api/xml-exchange/Makefile.am deleted file mode 100644 index d4bc6ba233..0000000000 --- a/qpid/cpp/examples/old_api/xml-exchange/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -examplesdir=$(pkgdatadir)/examples/old_api/xml-exchange - -MAKELDFLAGS=$(CLIENTFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=declare_queues xml_producer listener - -declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -xml_producer_SOURCES=xml_producer.cpp -xml_producer_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -listener_SOURCES=listener.cpp -listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) - -EXTRA_DIST= \ - README.txt \ - CMakeLists.txt - -examples_DATA= \ - $(EXTRA_DIST) \ - declare_queues.cpp \ - listener.cpp \ - xml_producer.cpp \ - $(MAKEDIST) - - - - - diff --git a/qpid/cpp/examples/qmf-agent/Makefile b/qpid/cpp/examples/qmf-agent/Makefile deleted file mode 100644 index 5b1afc4b01..0000000000 --- a/qpid/cpp/examples/qmf-agent/Makefile +++ /dev/null @@ -1,85 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -SRC_DIR = . -QPID_DIR = ../../.. -SCHEMA_FILE = $(SRC_DIR)/schema.xml -GEN_DIR = $(SRC_DIR)/gen -OUT_FILE = $(SRC_DIR)/qmf-agent - -CC = gcc -LIB_DIR = $(QPID_DIR)/cpp/src/.libs -CC_INCLUDES = -I$(SRC_DIR) -I$(QPID_DIR)/cpp/include -I$(GEN_DIR) -CC_FLAGS = -g -O3 -LD_FLAGS = -lqmf -L$(LIB_DIR) -SPEC_DIR = $(QPID_DIR)/specs -MGEN_DIR = $(QPID_DIR)/cpp/managementgen -MGEN = $(MGEN_DIR)/qmf-gen - -vpath %.cpp $(SRC_DIR):$(GEN_DIR) -vpath %.d $(OBJ_DIR) -vpath %.o $(OBJ_DIR) - -cpps = $(wildcard $(SRC_DIR)/*.cpp) -cpps += $(wildcard $(GEN_DIR)/qmf/org/apache/qpid/agent/example/*.cpp) -deps = $(addsuffix .d, $(basename $(cpps))) -objects = $(addsuffix .o, $(basename $(cpps))) - -.PHONY: all clean gen - -#========================================================== -# Pass 0: generate source files from schema -ifeq ($(MAKELEVEL), 0) - -all: gen - @$(MAKE) - -gen: - $(MGEN) -o $(GEN_DIR)/qmf $(SCHEMA_FILE) - -clean: - rm -rf $(GEN_DIR) $(OUT_FILE) *.d *.o - - -#========================================================== -# Pass 1: generate dependencies -else ifeq ($(MAKELEVEL), 1) - -all: $(deps) - @$(MAKE) - -%.d : %.cpp - $(CC) -M $(CC_FLAGS) $(CC_INCLUDES) $< > $@ - - -#========================================================== -# Pass 2: build project -else ifeq ($(MAKELEVEL), 2) - -$(OUT_FILE) : $(objects) - $(CC) -o $(OUT_FILE) $(CC_FLAGS) $(LD_FLAGS) $(objects) - -include $(deps) - -%.o : %.cpp - $(CC) -c $(CC_FLAGS) $(CC_INCLUDES) -o $@ $< - -endif - - diff --git a/qpid/cpp/examples/qmf-console/Makefile.am b/qpid/cpp/examples/qmf-console/Makefile.am deleted file mode 100644 index 060147e9a4..0000000000 --- a/qpid/cpp/examples/qmf-console/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -examplesdir=$(pkgdatadir)/examples/qmf-console - -MAKELDFLAGS=$(CONSOLEFLAGS) -include $(top_srcdir)/examples/makedist.mk - -noinst_PROGRAMS=console printevents ping queuestats cluster-qmon - -console_SOURCES=console.cpp -console_LDADD=$(CONSOLE_LIB) -lqpidcommon -lqpidclient - -printevents_SOURCES=printevents.cpp -printevents_LDADD=$(CONSOLE_LIB) -lqpidcommon -lqpidclient - -ping_SOURCES=ping.cpp -ping_LDADD=$(CONSOLE_LIB) -lqpidcommon -lqpidclient - -queuestats_SOURCES=queuestats.cpp -queuestats_LDADD=$(CONSOLE_LIB) -lqpidcommon -lqpidclient - -cluster_qmon_SOURCES=cluster-qmon.cpp -cluster_qmon_LDADD=$(CONSOLE_LIB) -lqpidcommon -lqpidclient - -examples_DATA= \ - console.cpp \ - printevents.cpp \ - ping.cpp \ - queuestats.cpp \ - cluster-qmon.cpp \ - $(MAKEDIST) - -EXTRA_DIST= \ - README.txt \ - CMakeLists.txt \ - qmf-console_console.vcproj \ - qmf-console_ping.vcproj \ - qmf-console_printevents.vcproj \ - qmf-console_queuestats.vcproj |
