[asycxx-devel] SF.net SVN: asycxx:[15] trunk
Status: Alpha
Brought to you by:
joe_steeve
|
From: <joe...@us...> - 2009-03-12 15:12:38
|
Revision: 15
http://asycxx.svn.sourceforge.net/asycxx/?rev=15&view=rev
Author: joe_steeve
Date: 2009-03-12 15:12:33 +0000 (Thu, 12 Mar 2009)
Log Message:
-----------
[ticket:3] headers should not be linked into src/ (fixed)
The configure script was creating to all the asycxx headers in the src/
folder. This means, we need to remember to modify the configure.ac
everytime we add a new header. This commit removes that dependancy.
From: Joe Steeve <js...@hi...>
Modified Paths:
--------------
trunk/configure.ac
trunk/src/DataBuffer.cxx
trunk/src/Deferred.cxx
trunk/src/Error.cxx
trunk/src/Factory.cxx
trunk/src/GimpleMsgBus.cxx
trunk/src/Listener.cxx
trunk/src/Logger.cxx
trunk/src/Makefile.am
trunk/src/MsgBus.cxx
trunk/src/MsgHandler.cxx
trunk/src/Protocol.cxx
trunk/src/Reactor.cxx
trunk/src/RefCounter.cxx
trunk/src/SelectReactor.cxx
trunk/src/TCPLLTransport.cxx
trunk/src/TCPListener.cxx
trunk/src/TCPTransport.cxx
trunk/src/Timer.cxx
trunk/src/Transport.cxx
trunk/src/asycxx-common.h
trunk/src/core.cxx
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/configure.ac 2009-03-12 15:12:33 UTC (rev 15)
@@ -72,23 +72,4 @@
examples/echoserver/Makefile
asycxx-0.1.pc
])
-AC_CONFIG_LINKS(src/Logger.h:include/asycxx/Logger.h
- src/Error.h:include/asycxx/Error.h
- src/Deferred.h:include/asycxx/Deferred.h
- src/RefCounter.h:include/asycxx/RefCounter.h
- src/DataBuffer.h:include/asycxx/DataBuffer.h
- src/Reactor.h:include/asycxx/Reactor.h
- src/SelectReactor.h:include/asycxx/SelectReactor.h
- src/Timer.h:include/asycxx/Timer.h
- src/Transport.h:include/asycxx/Transport.h
- src/Listener.h:include/asycxx/Listener.h
- src/TCPTransport.h:include/asycxx/TCPTransport.h
- src/TCPListener.h:include/asycxx/TCPListener.h
- src/TCPLLTransport.h:include/asycxx/TCPLLTransport.h
- src/Protocol.h:include/asycxx/Protocol.h
- src/Factory.h:include/asycxx/Factory.h
- src/MsgBus.h:include/asycxx/MsgBus.h
- src/MsgHandler.h:include/asycxx/MsgHandler.h
- src/GimpleMsgBus.h:include/asycxx/GimpleMsgBus.h
- src/_asycxx.h:include/asycxx/_asycxx.h)
AC_OUTPUT
Modified: trunk/src/DataBuffer.cxx
===================================================================
--- trunk/src/DataBuffer.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/DataBuffer.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -18,7 +18,7 @@
#include <cstdlib>
#include "asycxx-common.h"
-#include "DataBuffer.h"
+#include <asycxx/DataBuffer.h>
void
Modified: trunk/src/Deferred.cxx
===================================================================
--- trunk/src/Deferred.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Deferred.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -20,8 +20,8 @@
#include <string.h>
#include "asycxx-common.h"
-#include "Error.h"
-#include "Deferred.h"
+#include <asycxx/Error.h>
+#include <asycxx/Deferred.h>
/**
Modified: trunk/src/Error.cxx
===================================================================
--- trunk/src/Error.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Error.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -20,7 +20,7 @@
#include <execinfo.h>
#include "asycxx-common.h"
-#include "Error.h"
+#include <asycxx/Error.h>
void
Error::doError (const char *fmt, va_list vargs)
Modified: trunk/src/Factory.cxx
===================================================================
--- trunk/src/Factory.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Factory.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -17,9 +17,9 @@
#include "asycxx-common.h"
-#include "Error.h"
-#include "Reactor.h"
-#include "Factory.h"
+#include <asycxx/Error.h>
+#include <asycxx/Reactor.h>
+#include <asycxx/Factory.h>
/**
Modified: trunk/src/GimpleMsgBus.cxx
===================================================================
--- trunk/src/GimpleMsgBus.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/GimpleMsgBus.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -19,14 +19,13 @@
#include <arpa/inet.h>
#include "asycxx-common.h"
-#include "Error.h"
+#include <asycxx/Error.h>
+#include <asycxx/Transport.h>
+#include <asycxx/Factory.h>
+#include <asycxx/MsgHandler.h>
+#include <asycxx/GimpleMsgBus.h>
-#include "Transport.h"
-#include "Factory.h"
-#include "MsgHandler.h"
-#include "GimpleMsgBus.h"
-
GimpleMsgBus::GimpleMsgBus (Reactor *reactor, Factory *factory,
Transport *transport, MsgHandler *handler) :
Protocol (reactor, factory, transport),
Modified: trunk/src/Listener.cxx
===================================================================
--- trunk/src/Listener.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Listener.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -17,8 +17,8 @@
#include "asycxx-common.h"
-#include "Error.h"
-#include "Listener.h"
+#include <asycxx/Error.h>
+#include <asycxx/Listener.h>
Listener::Listener ()
Modified: trunk/src/Logger.cxx
===================================================================
--- trunk/src/Logger.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Logger.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdarg.h>
-#include "Logger.h"
+#include <asycxx/Logger.h>
Logger::Logger ()
Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Makefile.am 2009-03-12 15:12:33 UTC (rev 15)
@@ -23,5 +23,6 @@
GimpleMsgBus.cxx \
core.cxx
+libasycxx_0_1_la_CPPFLAGS = -I$(top_srcdir)/include
libasycxx_0_1_la_CXXFLAGS = -O2
libasycxx_0_1_la_LDFLAGS = -version-info 0:1:0
Modified: trunk/src/MsgBus.cxx
===================================================================
--- trunk/src/MsgBus.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/MsgBus.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -15,9 +15,9 @@
#endif
#include "asycxx-common.h"
-#include "Error.h"
-#include "MsgBus.h"
-#include "MsgHandler.h"
+#include <asycxx/Error.h>
+#include <asycxx/MsgBus.h>
+#include <asycxx/MsgHandler.h>
MsgBus::MsgBus (MsgHandler *handler)
{
Modified: trunk/src/MsgHandler.cxx
===================================================================
--- trunk/src/MsgHandler.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/MsgHandler.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -16,8 +16,8 @@
#endif
#include "asycxx-common.h"
-#include "Error.h"
-#include "MsgHandler.h"
+#include <asycxx/Error.h>
+#include <asycxx/MsgHandler.h>
MsgHandler::MsgHandler ()
{
Modified: trunk/src/Protocol.cxx
===================================================================
--- trunk/src/Protocol.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Protocol.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -17,8 +17,8 @@
#include "asycxx-common.h"
-#include "Error.h"
-#include "Protocol.h"
+#include <asycxx/Error.h>
+#include <asycxx/Protocol.h>
Protocol::Protocol (Reactor *reactor, Factory *factory, Transport *transport)
Modified: trunk/src/Reactor.cxx
===================================================================
--- trunk/src/Reactor.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Reactor.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -27,8 +27,8 @@
#include <exception>
#include "asycxx-common.h"
-#include "Reactor.h"
-#include "Deferred.h"
+#include <asycxx/Reactor.h>
+#include <asycxx/Deferred.h>
//////////////////////////////////////////////////////////////////////////////
Modified: trunk/src/RefCounter.cxx
===================================================================
--- trunk/src/RefCounter.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/RefCounter.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -16,8 +16,8 @@
#endif
#include "asycxx-common.h"
-#include "Error.h"
-#include "RefCounter.h"
+#include <asycxx/Error.h>
+#include <asycxx/RefCounter.h>
/**
Modified: trunk/src/SelectReactor.cxx
===================================================================
--- trunk/src/SelectReactor.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/SelectReactor.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -20,8 +20,8 @@
#include <string.h>
#include "asycxx-common.h"
-#include "Error.h"
-#include "SelectReactor.h"
+#include <asycxx/Error.h>
+#include <asycxx/SelectReactor.h>
/**
Modified: trunk/src/TCPLLTransport.cxx
===================================================================
--- trunk/src/TCPLLTransport.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/TCPLLTransport.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -23,9 +23,9 @@
#include <netinet/tcp.h>
#include "asycxx-common.h"
-#include "Error.h"
-#include "Protocol.h"
-#include "TCPLLTransport.h"
+#include <asycxx/Error.h>
+#include <asycxx/Protocol.h>
+#include <asycxx/TCPLLTransport.h>
TCPLLTransport::TCPLLTransport (Reactor *reactor, int fd)
Modified: trunk/src/TCPListener.cxx
===================================================================
--- trunk/src/TCPListener.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/TCPListener.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -26,11 +26,11 @@
#include <unistd.h>
#include "asycxx-common.h"
-#include "Error.h"
-#include "Factory.h"
-#include "Protocol.h"
-#include "TCPTransport.h"
-#include "TCPListener.h"
+#include <asycxx/Error.h>
+#include <asycxx/Factory.h>
+#include <asycxx/Protocol.h>
+#include <asycxx/TCPTransport.h>
+#include <asycxx/TCPListener.h>
/**
Modified: trunk/src/TCPTransport.cxx
===================================================================
--- trunk/src/TCPTransport.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/TCPTransport.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -24,9 +24,9 @@
#include <errno.h>
#include "asycxx-common.h"
-#include "Error.h"
-#include "Protocol.h"
-#include "TCPTransport.h"
+#include <asycxx/Error.h>
+#include <asycxx/Protocol.h>
+#include <asycxx/TCPTransport.h>
TCPTransport::TCPTransport (Reactor *reactor, int fd)
Modified: trunk/src/Timer.cxx
===================================================================
--- trunk/src/Timer.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Timer.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -44,8 +44,8 @@
#include <vector>
#include "asycxx-common.h"
-#include "Error.h"
-#include "Timer.h"
+#include <asycxx/Error.h>
+#include <asycxx/Timer.h>
/*****************************************************************************/
Reactor * Timer::m_Reactor = NULL;
Modified: trunk/src/Transport.cxx
===================================================================
--- trunk/src/Transport.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/Transport.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -18,9 +18,9 @@
#include <unistd.h>
#include "asycxx-common.h"
-#include "Error.h"
-#include "Transport.h"
-#include "Protocol.h"
+#include <asycxx/Error.h>
+#include <asycxx/Transport.h>
+#include <asycxx/Protocol.h>
/**
* \brief ctor
Modified: trunk/src/asycxx-common.h
===================================================================
--- trunk/src/asycxx-common.h 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/asycxx-common.h 2009-03-12 15:12:33 UTC (rev 15)
@@ -17,8 +17,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "_asycxx.h"
-#include "Logger.h"
+#include <asycxx/_asycxx.h>
+#include <asycxx/Logger.h>
extern Logger *Log;
Modified: trunk/src/core.cxx
===================================================================
--- trunk/src/core.cxx 2009-03-12 12:57:59 UTC (rev 14)
+++ trunk/src/core.cxx 2009-03-12 15:12:33 UTC (rev 15)
@@ -22,7 +22,7 @@
#include <fcntl.h>
#include "asycxx-common.h"
-#include "Error.h"
+#include <asycxx/Error.h>
h_msecs_t
GetCurrentTimeStamp (void)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|