activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r470350 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp: ./ solaris/ unix/ win32-gcc/ win32-msvc/
Date Thu, 02 Nov 2006 12:31:33 GMT
Author: tabish
Date: Thu Nov  2 04:31:32 2006
New Revision: 470350

URL: http://svn.apache.org/viewvc?view=rev&rev=470350
Log: (empty)

Added:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-debug.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-release.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-debug.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-release.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-debug.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-release.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile.cfg
Removed:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile-linux-debug.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile-linux-release.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile-solaris-debug.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile-solaris-release.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile-windows-debug.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile-windows-release.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/makefile.cfg
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/unix/
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/win32-gcc/
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/win32-msvc/

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile Thu Nov  2 04:31:32
2006
@@ -0,0 +1,154 @@
+SRCDIR = src
+OUTDIR = out
+MAKESUPPORT_HOME = $(PWD)
+
+OFILES = \
+	$(OUTDIR)/main/activemq/exceptions/ActiveMQException.o \
+	\
+	$(OUTDIR)/main/activemq/support/InitDirector.o \
+	\
+	$(OUTDIR)/main/activemq/transport/IOTransport.o \
+	$(OUTDIR)/main/activemq/transport/TcpTransport.o \
+	$(OUTDIR)/main/activemq/transport/ResponseCorrelator.o \
+	$(OUTDIR)/main/activemq/transport/TransportFactoryMap.o \
+	$(OUTDIR)/main/activemq/transport/IOTransportFactory.o \
+	$(OUTDIR)/main/activemq/transport/TcpTransportFactory.o \
+	\
+	$(OUTDIR)/main/activemq/connector/ConnectorFactoryMap.o \
+	\
+	$(OUTDIR)/main/activemq/connector/stomp/StompConnector.o \
+	$(OUTDIR)/main/activemq/connector/stomp/StompConnectorFactory.o \
+	$(OUTDIR)/main/activemq/connector/stomp/StompCommandReader.o \
+	$(OUTDIR)/main/activemq/connector/stomp/StompCommandWriter.o \
+	$(OUTDIR)/main/activemq/connector/stomp/StompSessionManager.o \
+    \
+	$(OUTDIR)/main/activemq/connector/stomp/commands/CommandConstants.o \
+    \
+	$(OUTDIR)/main/activemq/connector/stomp/marshal/Marshaler.o \
+    \
+	$(OUTDIR)/main/activemq/core/ActiveMQConnectionFactory.o \
+	$(OUTDIR)/main/activemq/core/ActiveMQConnection.o \
+	$(OUTDIR)/main/activemq/core/ActiveMQSession.o \
+	$(OUTDIR)/main/activemq/core/ActiveMQProducer.o \
+	$(OUTDIR)/main/activemq/core/ActiveMQConsumer.o \
+	$(OUTDIR)/main/activemq/core/ActiveMQTransaction.o \
+	$(OUTDIR)/main/activemq/core/ActiveMQConstants.o \
+	\
+	$(OUTDIR)/main/activemq/io/DataInputStream.o \
+	$(OUTDIR)/main/activemq/io/DataOutputStream.o \
+	$(OUTDIR)/main/activemq/io/BufferedInputStream.o \
+	$(OUTDIR)/main/activemq/io/BufferedOutputStream.o \
+	$(OUTDIR)/main/activemq/io/ByteArrayInputStream.o \
+	$(OUTDIR)/main/activemq/io/ByteArrayOutputStream.o \
+    \
+	$(OUTDIR)/main/activemq/logger/SimpleLogger.o \
+	$(OUTDIR)/main/activemq/logger/LogWriter.o \
+	$(OUTDIR)/main/activemq/logger/LogManager.o \
+	$(OUTDIR)/main/activemq/logger/LoggerHierarchy.o \
+    \
+    $(OUTDIR)/main/activemq/network/ServerSocket.o \
+    $(OUTDIR)/main/activemq/network/TcpSocket.o \
+    $(OUTDIR)/main/activemq/network/BufferedSocket.o \
+    $(OUTDIR)/main/activemq/network/SocketFactory.o \
+    $(OUTDIR)/main/activemq/network/SocketInputStream.o \
+    $(OUTDIR)/main/activemq/network/SocketOutputStream.o\
+    \
+    $(OUTDIR)/main/activemq/util/Math.o \
+    $(OUTDIR)/main/activemq/util/Guid.o \
+    $(OUTDIR)/main/activemq/util/StringTokenizer.o \
+    \
+    $(OUTDIR)/main/activemq/concurrent/Thread.o \
+    $(OUTDIR)/main/activemq/concurrent/Mutex.o \
+    $(OUTDIR)/main/activemq/concurrent/ThreadPool.o \
+    $(OUTDIR)/main/activemq/concurrent/PooledThread.o
+
+OTESTFILES = \
+    $(OUTDIR)/test/main.o \
+    \
+    $(OUTDIR)/test/activemq/core/ActiveMQDestinationTest.o \
+    $(OUTDIR)/test/activemq/core/ActiveMQConnectionFactoryTest.o \
+    $(OUTDIR)/test/activemq/core/ActiveMQConnectionTest.o \
+    $(OUTDIR)/test/activemq/core/ActiveMQSessionTest.o \
+    \
+    $(OUTDIR)/test/activemq/concurrent/MutexTest.o \
+    $(OUTDIR)/test/activemq/concurrent/ThreadPoolTest.o \
+    $(OUTDIR)/test/activemq/concurrent/ThreadTest.o \
+    \
+    $(OUTDIR)/test/activemq/connector/stomp/StompConnectorTest.o \
+    $(OUTDIR)/test/activemq/connector/stomp/StompFrameTest.o \
+    $(OUTDIR)/test/activemq/connector/stomp/StompCommandReaderTest.o \
+    $(OUTDIR)/test/activemq/connector/stomp/StompCommandWriterTest.o \
+    $(OUTDIR)/test/activemq/connector/stomp/StompSessionManagerTest.o \
+    \
+    $(OUTDIR)/test/activemq/connector/stomp/commands/CommandConstantsTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/AbortCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/AckCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/BeginCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/CommitCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/ConnectCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/ConnectedCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/DisconnectCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/ErrorCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/ReceiptCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/SubscribeCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/UnsubscribeCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/MessageCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/BytesMessageCommandTest.o \
+	$(OUTDIR)/test/activemq/connector/stomp/commands/TextMessageCommandTest.o \
+    \
+	$(OUTDIR)/test/activemq/connector/stomp/marshal/MarshalerTest.o \
+    \
+    $(OUTDIR)/test/activemq/connector/ConnectorFactoryMapRegistrarTest.o \
+    $(OUTDIR)/test/activemq/connector/ConnectorFactoryMapTest.o \
+    \
+    $(OUTDIR)/test/activemq/connector/openwire/utils/BooleanStreamTest.o \
+    \
+    $(OUTDIR)/test/activemq/exceptions/ActiveMQExceptionTest.o \
+    \
+    $(OUTDIR)/test/activemq/io/BufferedInputStreamTest.o \
+	$(OUTDIR)/test/activemq/io/BufferedOutputStreamTest.o \
+	$(OUTDIR)/test/activemq/io/ByteArrayInputStreamTest.o \
+	$(OUTDIR)/test/activemq/io/ByteArrayOutputStreamTest.o \
+	$(OUTDIR)/test/activemq/io/DataInputStreamTest.o \
+	$(OUTDIR)/test/activemq/io/DataOutputStreamTest.o \
+	\
+	$(OUTDIR)/test/activemq/logger/LoggerTest.o \
+	\
+	$(OUTDIR)/test/activemq/network/SocketFactoryTest.o \
+	$(OUTDIR)/test/activemq/network/SocketTest.o \
+	\
+	$(OUTDIR)/test/activemq/transport/DummyTransportFactory.o \
+	$(OUTDIR)/test/activemq/transport/IOTransportTest.o \
+	$(OUTDIR)/test/activemq/transport/ResponseCorrelatorTest.o \
+	$(OUTDIR)/test/activemq/transport/TransportFactoryMapTest.o \
+	$(OUTDIR)/test/activemq/transport/TransportFactoryMapRegistrarTest.o \
+	\
+	$(OUTDIR)/test/activemq/util/GuidTest.o \
+	$(OUTDIR)/test/activemq/util/IntegerTest.o \
+	$(OUTDIR)/test/activemq/util/LongTest.o \
+	$(OUTDIR)/test/activemq/util/BooleanTest.o \
+	$(OUTDIR)/test/activemq/util/QueueTest.o \
+	$(OUTDIR)/test/activemq/util/StringTokenizerTest.o
+
+OINTEGRATIONFILES = \
+	$(OUTDIR)/test-integration/main.o \
+	\
+	$(OUTDIR)/test-integration/integration/simple/SimpleTester.o \
+	$(OUTDIR)/test-integration/integration/transactional/TransactionTester.o \
+	$(OUTDIR)/test-integration/integration/common/AbstractTester.o \
+	$(OUTDIR)/test-integration/integration/common/IntegrationCommon.o \
+	$(OUTDIR)/test-integration/integration/various/SimpleRollbackTest.o
+	
+
+# Increment this to get a build specific library.
+VERSION = 0_0_2
+
+LIBRARY_NAME   = activemq-cpp-$(VERSION)
+LIBFILE        = $(OUTDIR)/lib$(LIBRARY_NAME).a
+TESTEXE        = $(OUTDIR)/activemqTest
+INTEGRATIONEXE = $(OUTDIR)/activemqIntegrationTests
+
+DEFINES          =
+
+include $(MAKESUPPORT_HOME)/makefile.cfg
+

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-debug.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-debug.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-debug.cfg (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-debug.cfg Thu
Nov  2 04:31:32 2006
@@ -0,0 +1,31 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+#
+# Compiler specific configuration
+#
+
+#
+# GCC/G++ debug for Linux
+#
+CC      = g++ -frtti -g -pthread -DDEBUG -D_DEBUG -D_REENTRANT
+LD      = g++ -g -frtti -pthread
+CCFLAGS = -Wall
+LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -ldl -luuid
+ARFLAGS = 
+
+

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-release.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-release.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-release.cfg
(added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-linux-release.cfg
Thu Nov  2 04:31:32 2006
@@ -0,0 +1,31 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+#
+# Compiler specific configuration
+#
+
+#
+# GCC/G++ release for Linux
+#
+CC      = g++ -frtti -pthread -O3 -DNDEBUG -D_REENTRANT
+LD      = g++ -frtti -pthread 
+CCFLAGS = -Wall
+LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -ldl -luuid
+ARFLAGS = 
+
+

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-debug.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-debug.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-debug.cfg
(added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-debug.cfg
Thu Nov  2 04:31:32 2006
@@ -0,0 +1,30 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+#
+# Compiler specific configuration
+#
+
+#
+# Studio release for Solaris
+#
+CC      = CC -g -O3 -library=stlport4 -DNDEBUG -D_REENTRANT
+LD      = CC -g -O3 -library=stlport4 
+CCFLAGS = 
+LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lsocket -ldl -lrt -luuid
+AR      = CC -O3 -library=stlport4
+ARFLAGS = -xar -o

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-release.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-release.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-release.cfg
(added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-solaris-release.cfg
Thu Nov  2 04:31:32 2006
@@ -0,0 +1,30 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+#
+# Compiler specific configuration
+#
+
+#
+# Studio release for Solaris
+#
+CC      = CC -O3 -library=stlport4 -DNDEBUG -D_REENTRANT
+LD      = CC -O3 -library=stlport4 
+CCFLAGS = 
+LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lsocket -ldl -lrt -luuid
+AR      = CC -O3 -library=stlport4
+ARFLAGS = -xar -o

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-debug.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-debug.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-debug.cfg
(added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-debug.cfg
Thu Nov  2 04:31:32 2006
@@ -0,0 +1,30 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+#
+# Compiler specific configuration
+#
+
+#
+# GCC/G++ debug for Linux
+#
+CC      = g++ -fexceptions -frtti -O0 -g3 -DDEBUG -D_DEBUG -D_REENTRANT -D_WIN32 -DWINVER=0x0502
-DWIN32_LEAN_AND_MEAN
+LD      = g++ -g3 -frtti
+CCFLAGS = -Wall
+LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4
+ARFLAGS = 
+

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-release.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-release.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-release.cfg
(added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile-windows-release.cfg
Thu Nov  2 04:31:32 2006
@@ -0,0 +1,31 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+#
+# Compiler specific configuration
+#
+
+#
+# GCC/G++ release for Linux
+#
+CC      = g++ -fexceptions -frtti -O3 -DNDEBUG -D_REENTRANT -D__WIN32 -DWIN32_LEAN_AND_MEAN
+LD      = g++ -frtti 
+CCFLAGS = -Wall
+LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4
+ARFLAGS = 
+
+

Added: incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile.cfg
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile.cfg?view=auto&rev=470350
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile.cfg (added)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/solaris/makefile.cfg Thu Nov  2 04:31:32
2006
@@ -0,0 +1,212 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+CURRENT = $(PWD)
+
+# --- set generic commmands
+# ----------------------------------------------------------
+
+MV       = mv
+RM       = rm -f
+RMR      = rm -rf
+CP       = cp -p
+LN       = ln -s
+LS       = ls
+CAT      = cat
+MD       = mkdir
+AR       = ar -r
+PURIFY   = purify
+ECHO     = echo
+TOUCH    = touch
+CD       = cd
+STRIP    = strip
+
+# --- select compiler for structure
+# ----------------------------------------------------------
+
+include $(MAKESUPPORT_HOME)/makefile-$(OSTYPE)-$(CONFIG).cfg
+
+# --- set default targets and their handling procedures
+# ----------------------------------------------------------
+
+.SILENT:
+.KEEP_STATE:
+
+.SUFFIXES:
+.SUFFIXES: .cpp .CC
+
+.INIT:
+	$(ECHO) " -<>- Compiling "$(CURRENT)
+
+.DONE:
+	$(ECHO) " -<>- Done"
+
+.FAILED:
+	$(ECHO) " *** Compilation of $(CURRENT) Failed"
+
+$(OUTDIR)/main/%.o: $(SRCDIR)/main/%.cpp
+	$(ECHO) "    - "$(CC) "'"$<"'"
+	$(CC) -o $@ $(DEFINES) $(CCFLAGS) -I$(SRCDIR)/main \
+	$(LOCAL_INCLUDE) -c $<
+	
+$(OUTDIR)/test/%.o: $(SRCDIR)/test/%.cpp
+	$(ECHO) "    - "$(CC) "'"$<"'"
+	$(CC) -o $@ $(DEFINES) $(CCFLAGS) -I$(SRCDIR)/main -I$(SRCDIR)/test \
+	$(LOCAL_INCLUDE) -c $<
+	
+$(OUTDIR)/test-integration/%.o: $(SRCDIR)/test-integration/%.cpp
+	$(ECHO) "    - "$(CC) "'"$<"'"
+	$(CC) -o $@ $(DEFINES) $(CCFLAGS) -I$(SRCDIR)/main -I$(SRCDIR)/test-integration \
+	$(LOCAL_INCLUDE) -c $<
+
+# --- set generic targets and their handling procedures
+# ----------------------------------------------------------
+
+lib:	\
+	prepare \
+	$(OFILES) \
+	$(LIBFILE) \
+	done
+	
+test:	\
+	prepare_test \
+	$(OTESTFILES) \
+	$(TESTEXE) \
+	done
+	
+integration:	\
+	prepare_integration \
+	$(OINTEGRATIONFILES) \
+	$(INTEGRATIONEXE) \
+	done
+
+all:	lib test integration
+
+default:	all
+
+
+$(LIBFILE): $(OFILES) $(DEPLIBS)
+	$(ECHO) "    - Creating static library file "$@
+	$(AR) $(ARFLAGS) $@ $(OFILES)
+	
+$(TESTEXE):	$(OTESTFILES)
+	$(ECHO) "    - Creating test "$@
+	$(ECHO) "$(LD) -o $@ ($OTESTFILES) $(LDFLAGS)"
+	$(LD) -o $@ $(OTESTFILES) $(LDFLAGS)
+	$(ECHO) 'Finished building target: $@'
+	
+$(INTEGRATIONEXE):	$(OINTEGRATIONFILES)
+	$(ECHO) "    - Creating integration test"$@
+	$(LD) -o $@ $(OINTEGRATIONFILES) $(LDFLAGS)
+	$(ECHO) 'Finished building target: $@'
+
+clean:
+	$(ECHO) "    - Cleaning up local directory "$(CURRENT)
+	$(ECHO) "    - Removing object files"
+	$(RM) $(OFILES)
+	$(ECHO) "    - Removing file "$(LIBFILE)
+	$(RM) -rf $(OUTDIR)
+	$(RM) $(LIBFILE)
+	$(RM) *~ *%
+	$(RM) #*
+	$(RM) core
+	$(RM) a.out
+
+prepare:
+	if test ! -d $(OUTDIR) ; \
+	    then \
+	     $(MD) $(OUTDIR); \
+	     $(MD) $(OUTDIR)/main; \
+	     $(MD) $(OUTDIR)/main/activemq; \
+	     $(MD) $(OUTDIR)/main/activemq/exceptions; \
+	     $(MD) $(OUTDIR)/main/activemq/commands; \
+	     $(MD) $(OUTDIR)/main/activemq/connector; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/stomp; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/stomp/commands; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/stomp/marshal; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/openwire; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/openwire/commands; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/openwire/marshal; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/openwire/marshal/v1; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/openwire/marshal/v2; \
+	     $(MD) $(OUTDIR)/main/activemq/connector/openwire/utils; \
+	     $(MD) $(OUTDIR)/main/activemq/core; \
+	     $(MD) $(OUTDIR)/main/activemq/io; \
+	     $(MD) $(OUTDIR)/main/activemq/logger; \
+	     $(MD) $(OUTDIR)/main/activemq/network; \
+	     $(MD) $(OUTDIR)/main/activemq/util; \
+	     $(MD) $(OUTDIR)/main/activemq/support; \
+	     $(MD) $(OUTDIR)/main/activemq/concurrent; \
+	     $(MD) $(OUTDIR)/main/activemq/transport; \
+	     fi
+
+prepare_test:
+	if test ! -d $(OUTDIR) ; \
+		then \
+		 $(MD) $(OUTDIR); \
+		 fi
+	if test ! -d $(OUTDIR)/test ; \
+	    then \
+	     $(MD) $(OUTDIR)/test; \
+	     $(MD) $(OUTDIR)/test/activemq; \
+	     $(MD) $(OUTDIR)/test/activemq/exceptions; \
+	     $(MD) $(OUTDIR)/test/activemq/commands; \
+	     $(MD) $(OUTDIR)/test/activemq/connector; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/stomp; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/stomp/commands; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/stomp/marshal; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/openwire; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/openwire/commands; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/openwire/marshal; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/openwire/marshal/V1; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/openwire/marshal/V2; \
+	     $(MD) $(OUTDIR)/test/activemq/connector/openwire/utils; \
+	     $(MD) $(OUTDIR)/test/activemq/core; \
+	     $(MD) $(OUTDIR)/test/activemq/io; \
+	     $(MD) $(OUTDIR)/test/activemq/logger; \
+	     $(MD) $(OUTDIR)/test/activemq/network; \
+	     $(MD) $(OUTDIR)/test/activemq/util; \
+	     $(MD) $(OUTDIR)/test/activemq/concurrent; \
+	     $(MD) $(OUTDIR)/test/activemq/transport; \
+	     fi
+
+prepare_integration:
+	if test ! -d $(OUTDIR) ; \
+		then \
+		 $(MD) $(OUTDIR); \
+		 fi
+	if test ! -d $(OUTDIR)/test-integration ; \
+	    then \
+	     $(MD) $(OUTDIR)/test-integration; \
+	     $(MD) $(OUTDIR)/test-integration/integration; \
+	     $(MD) $(OUTDIR)/test-integration/integration/common; \
+	     $(MD) $(OUTDIR)/test-integration/integration/simple; \
+	     $(MD) $(OUTDIR)/test-integration/integration/transactional; \
+	     $(MD) $(OUTDIR)/test-integration/integration/durable; \
+	     $(MD) $(OUTDIR)/test-integration/integration/various; \
+	     fi
+
+done:
+	$(ECHO) "Done."
+
+
+
+
+
+
+
+



Mime
View raw message