#include <linux/sockios.h>
#include <linux/dvb/dmx.h>
-#include "Scheduler/Scheduler.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
-#include "Packets/MPEGDVBBundle/DatagramSection.hh"
-#include "Utils/membind.hh"
-#include "Utils/hexdump.hh"
-#include "Socket/Protocols/DVB/DVBDemuxHandles.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/Packet.hh"
-#include "Packets/PacketData.hh"
+#include "../../Scheduler/Scheduler.hh"
+#include "../../Packets/DefaultBundle/EthernetPacket.hh"
+#include "../../Packets/MPEGDVBBundle/DatagramSection.hh"
+#include "../../Utils/membind.hh"
+#include "../../Utils/hexdump.hh"
+#include "../../Socket/Protocols/DVB/DVBDemuxHandles.hh"
+#include "../../Packets/ParseInt.hh"
+#include "../../Packets/Packet.hh"
+#include "../../Packets/PacketData.hh"
#define PID 500
#include <linux/dvb/dmx.h>
#include <boost/format.hpp>
-#include "Packets/PacketData.hh"
-#include "Utils/hexdump.hh"
-#include "Utils/membind.hh"
+#include "../../Packets/PacketData.hh"
+#include "../../Utils/hexdump.hh"
+#include "../../Utils/membind.hh"
#define PID 271
#define TRANSPORT_PACKET_SIZE 188
// Definition of non-inline non-template functions
-#include "Scheduler/Scheduler.hh"
-#include "Packets/MPEGDVBBundle/TransportPacket.hh"
-#include "Packets/MPEGDVBBundle/SNDUPacket.hh"
-#include "Socket/Protocols/DVB/DVBDemuxHandles.hh"
+#include "../../Scheduler/Scheduler.hh"
+#include "../../Packets/MPEGDVBBundle/TransportPacket.hh"
+#include "../../Packets/MPEGDVBBundle/SNDUPacket.hh"
+#include "../../Socket/Protocols/DVB/DVBDemuxHandles.hh"
class ULEdec
#include <string>
#include <iostream>
-#include "Socket/Protocols/DVB/DVBFrontendHandle.hh"
+#include "../../Socket/Protocols/DVB/DVBFrontendHandle.hh"
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
#include <fstream>
#include <string>
#include <iomanip>
-#include "Socket/Protocols/INet/UDPSocketHandle.hh"
-#include "Scheduler/Scheduler.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
-#include "Utils/membind.hh"
-#include "Utils/hexdump.hh"
+#include "../../Socket/Protocols/INet/UDPSocketHandle.hh"
+#include "../../Scheduler/Scheduler.hh"
+#include "../../Packets/DefaultBundle/EthernetPacket.hh"
+#include "../../Utils/membind.hh"
+#include "../../Utils/hexdump.hh"
//#include "MCSniffer.mpp"
//#include "ppitest.ih"
// Custom includes
-#include "Socket/Protocols/INet/UDPSocketHandle.hh"
-#include "Socket/Protocols/INet/ConnectedUDPSocketHandle.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
-#include "PPI/SocketReader.hh"
-#include "PPI/SocketWriter.hh"
-#include "PPI/Module.hh"
-#include "PPI/IntervalTimer.hh"
-#include "PPI/Joins.hh"
-#include "PPI/ThrottleBarrier.hh"
-#include "PPI/PassiveQueue.hh"
-#include "PPI/Queueing.hh"
-#include "PPI/CloneSource.hh"
-#include "PPI/Setup.hh"
+#include "../../Socket/Protocols/INet/UDPSocketHandle.hh"
+#include "../../Socket/Protocols/INet/ConnectedUDPSocketHandle.hh"
+#include "../../Socket/Protocols/INet/INetAddressing.hh"
+#include "../../PPI/SocketReader.hh"
+#include "../../PPI/SocketWriter.hh"
+#include "../../PPI/Module.hh"
+#include "../../PPI/IntervalTimer.hh"
+#include "../../PPI/Joins.hh"
+#include "../../PPI/ThrottleBarrier.hh"
+#include "../../PPI/PassiveQueue.hh"
+#include "../../PPI/Queueing.hh"
+#include "../../PPI/CloneSource.hh"
+#include "../../PPI/Setup.hh"
//#include "ppitest.mpp"
#define prefix_
#include <string>
#include <iostream>
#include <iomanip>
-#include "Socket/Protocols/Raw/PacketSocketHandle.hh"
-#include "Scheduler/Scheduler.hh"
-#include "Utils/membind.hh"
-#include "Utils/hexdump.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
+#include "../../Socket/Protocols/Raw/PacketSocketHandle.hh"
+#include "../../Scheduler/Scheduler.hh"
+#include "../../Utils/membind.hh"
+#include "../../Utils/hexdump.hh"
+#include "../../Packets/DefaultBundle/EthernetPacket.hh"
//#include "Sniffer.mpp"
#define prefix_
// Custom includes
#include <iostream>
#include <sstream>
-#include "Socket/Protocols/INet/TCPSocketHandle.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
+#include "../../Socket/Protocols/INet/TCPSocketHandle.hh"
+#include "../../Socket/Protocols/INet/INetAddressing.hh"
int main(int argc, char const * argv[])
{
// Custom includes
#include <string>
#include <iostream>
-#include "Scheduler/Scheduler.hh"
-#include "Utils/membind.hh"
-#include "Socket/Protocols/INet/TCPSocketHandle.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
+#include "../../Scheduler/Scheduler.hh"
+#include "../../Utils/membind.hh"
+#include "../../Socket/Protocols/INet/TCPSocketHandle.hh"
+#include "../../Socket/Protocols/INet/INetAddressing.hh"
class Server
#define HH_CloneSource_ 1
// Custom includes
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include "Module.hh"
#include "Connectors.hh"
#include "CloneSource.hh"
#include "DebugModules.hh"
#include "Setup.hh"
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include <deque>
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
-#include "Utils/SafeBool.hh"
-#include "Packets/Packets.hh"
+#include "../Utils/SafeBool.hh"
+#include "../Packets/Packets.hh"
#include "predecl.hh"
#include "detail/Callback.hh"
#include "Queueing.hh"
//#include "DebugModules.ih"
// Custom includes
-#include "Utils/hexdump.hh"
+#include "../Utils/hexdump.hh"
#define prefix_ inline
///////////////////////////////cti.p///////////////////////////////////////
// Custom includes
#include <deque>
-#include "Utils/SafeBool.hh"
-#include "Packets/Packets.hh"
+#include "../Utils/SafeBool.hh"
+#include "../Packets/Packets.hh"
#include "Module.hh"
#include "ActiveFeeder.hh"
-#include "Utils/Logger.hh"
+#include "../Utils/Logger.hh"
//#include "DebugModules.mpp"
///////////////////////////////hh.p////////////////////////////////////////
std::stringstream logstream;
}
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include "DebugModules.hh"
#include "Setup.hh"
//#include "EventManager.ih"
// Custom includes
-#include "Scheduler/Scheduler.hh"
+#include "../Scheduler/Scheduler.hh"
#define prefix_ inline
///////////////////////////////cci.p///////////////////////////////////////
// Custom includes
#include <boost/ptr_container/ptr_vector.hpp>
-#include "Scheduler/ClockService.hh"
+#include "../Scheduler/ClockService.hh"
#include "predecl.hh"
#include "detail/Callback.hh"
#include "detail/EventBinding.hh"
// Custom includes
#include <vector>
-#include "Scheduler/ClockService.hh"
+#include "../Scheduler/ClockService.hh"
#include "predecl.hh"
//#include "Events.mpp"
#define HH_IOEvent_ 1
// Custom includes
-#include "Scheduler/Scheduler.hh"
+#include "../Scheduler/Scheduler.hh"
#include "Events.hh"
//#include "IOEvent.mpp"
//#include "IdleEvent.ih"
// Custom includes
-#include "Scheduler/Scheduler.hh"
+#include "../Scheduler/Scheduler.hh"
//#include "IdleEvent.mpp"
#define prefix_
//#include "IntervalTimer.ih"
// Custom includes
-#include "Scheduler/Scheduler.hh"
+#include "../Scheduler/Scheduler.hh"
#include "EventManager.hh"
//#include "IntervalTimer.mpp"
#define HH_IntervalTimer_ 1
// Custom includes
-#include "Scheduler/ClockService.hh"
+#include "../Scheduler/ClockService.hh"
#include "Events.hh"
//#include "IntervalTimer.mpp"
#include "Joins.hh"
#include "DebugModules.hh"
#include "Setup.hh"
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include <vector>
#include <boost/utility.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
-#include "Scheduler/ClockService.hh"
+#include "../Scheduler/ClockService.hh"
#include "predecl.hh"
//#include "Module.mpp"
//#include "ModuleManager.ih"
// Custom includes
-#include "Scheduler/Scheduler.hh"
+#include "../Scheduler/Scheduler.hh"
#include "Module.hh"
//#include "ModuleManager.mpp"
--- /dev/null
+// $Id$
+//
+// Copyright (C) 2007
+// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Stefan Bund <g0dil@berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+/** \file
+ \brief PPI public header */
+
+#ifndef HH_PPI_
+#define HH_PPI_ 1
+
+#include "all_includes.hh"
+
+#endif
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End:
#include "PassiveQueue.hh"
#include "DebugModules.hh"
#include "Setup.hh"
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include "Module.hh"
#include "Connectors.hh"
#include "DebugModules.hh"
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include "Setup.hh"
#include <boost/test/auto_unit_test.hpp>
###########################################################################
+SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
+ if f not in ('all_includes.hh','PPI.hh') and not f.endswith('.test.hh') ])
+
SConscript(glob.glob("*/SConscript"))
sources = SENFSCons.GlobSources(subdirs=[ 'detail' ])
env.Dia2Png('classes.dia'),
env.Dia2Png('ratestuffer.dia'),
])
+
+SENFSCons.InstallIncludeFiles(env, [ 'PPI.hh', 'all_includes.hh' ])
#define HH_SocketReader_ 1
// Custom includes
-#include "Packets/Packets.hh"
-#include "Socket/ClientSocketHandle.hh"
-#include "Socket/SocketPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/FramingPolicy.hh"
+#include "../Packets/Packets.hh"
+#include "../Socket/ClientSocketHandle.hh"
+#include "../Socket/SocketPolicy.hh"
+#include "../Socket/ReadWritePolicy.hh"
+#include "../Socket/FramingPolicy.hh"
#include "Module.hh"
#include "Connectors.hh"
#include "IOEvent.hh"
// Custom includes
#include <algorithm>
-#include "Socket/Protocols/INet/UDPSocketHandle.hh"
-#include "Scheduler/Scheduler.hh"
+#include "../Socket/Protocols/INet/UDPSocketHandle.hh"
+#include "../Scheduler/Scheduler.hh"
#include "SocketReader.hh"
#include "DebugModules.hh"
#include "Setup.hh"
#define HH_SocketWriter_ 1
// Custom includes
-#include "Packets/Packets.hh"
-#include "Socket/ClientSocketHandle.hh"
-#include "Socket/SocketPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
+#include "../Packets/Packets.hh"
+#include "../Socket/ClientSocketHandle.hh"
+#include "../Socket/SocketPolicy.hh"
+#include "../Socket/ReadWritePolicy.hh"
+#include "../Socket/FramingPolicy.hh"
+#include "../Socket/CommunicationPolicy.hh"
#include "Module.hh"
#include "Connectors.hh"
//#include "SocketWriter.test.ih"
// Custom includes
-#include "Socket/Protocols/INet/UDPSocketHandle.hh"
-#include "Socket/Protocols/INet/ConnectedUDPSocketHandle.hh"
+#include "../Socket/Protocols/INet/UDPSocketHandle.hh"
+#include "../Socket/Protocols/INet/ConnectedUDPSocketHandle.hh"
#include "SocketReader.hh"
#include "DebugModules.hh"
#include "SocketWriter.hh"
// Custom includes
#include "ThrottleBarrier.hh"
#include "DebugModules.hh"
-#include "Packets/Packets.hh"
+#include "../Packets/Packets.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#define HH_EventBinding_ 1
// Custom includes
-#include "Scheduler/ClockService.hh"
+#include "../../Scheduler/ClockService.hh"
#include "../predecl.hh"
#include "Callback.hh"
// Custom includes
#include <algorithm>
-#include "Socket/Protocols/Raw/MACAddress.hh"
-#include "Packets/Packets.hh"
+#include "../../Socket/Protocols/Raw/MACAddress.hh"
+#include "../../Packets/Packets.hh"
//#include "EthernetPacket.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#define HH_IpV4Packet_ 1
// Custom includes
-#include "Socket/Protocols/INet/INet4Address.hh"
-#include "Packets/Packets.hh"
+#include "../../Socket/Protocols/INet/INet4Address.hh"
+#include "../../Packets/Packets.hh"
//#include "IpV4Packet.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include "IpV6Extensions.hh"
#include "IpV6Packet.hh"
#include "UDPPacket.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
+#include "../../Socket/Protocols/INet/INetAddressing.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
// Custom includes
#include <boost/io/ios_state.hpp>
#include "EthernetPacket.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
+#include "../../Socket/Protocols/INet/INetAddressing.hh"
//#include "IpV6Packet.mpp"
#define prefix_
#define HH_IpV6Packet_ 1
// Custom includes
-#include "Socket/Protocols/INet/INet6Address.hh"
-#include "Packets/Packets.hh"
+#include "../../Socket/Protocols/INet/INet6Address.hh"
+#include "../../Packets/Packets.hh"
#include "IpV4Packet.hh"
//#include "IpV6Packet.mpp"
// Custom includes
#include "IpV6Packet.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
-#include "Packets/DataPacket.hh"
+#include "../../Socket/Protocols/INet/INetAddressing.hh"
+#include "../../Packets/DataPacket.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include "IpV4Packet.hh"
// Custom includes
-#include "Packets/Packets.hh"
+#include "../../Packets/Packets.hh"
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
#define HH_UDPPacket_ 1
// Custom includes
-#include "Packets/Packets.hh"
+#include "../../Packets/Packets.hh"
//#include "UDPPacket.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <algorithm>
-#include "Packets/PacketType.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/PacketParser.hh"
+#include "../../Packets/PacketType.hh"
+#include "../../Packets/ParseInt.hh"
+#include "../../Packets/PacketParser.hh"
//#include "DSMCCSection.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <algorithm>
-#include "Packets/PacketType.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/PacketRegistry.hh"
-#include "Packets/PacketParser.hh"
-#include "Packets/MPEGDVBBundle/DSMCCSection.hh"
+#include "../../Packets/PacketType.hh"
+#include "../../Packets/ParseInt.hh"
+#include "../../Packets/PacketRegistry.hh"
+#include "../../Packets/PacketParser.hh"
+#include "../../Packets/MPEGDVBBundle/DSMCCSection.hh"
//#include "DatagramSection.mpp"
// Custom includes
#include <iomanip>
-#include "Utils/hexdump.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
+#include "../../Utils/hexdump.hh"
+#include "../../Packets/DefaultBundle/EthernetPacket.hh"
#define prefix_
// Custom includes
#include <algorithm>
#include <boost/crc.hpp>
-#include "Packets/PacketType.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/PacketRegistry.hh"
-#include "Packets/PacketParser.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
+#include "../../Packets/PacketType.hh"
+#include "../../Packets/ParseInt.hh"
+#include "../../Packets/PacketRegistry.hh"
+#include "../../Packets/PacketParser.hh"
+#include "../../Packets/DefaultBundle/EthernetPacket.hh"
//#include "SNDUPacket.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <algorithm>
-#include "Packets/PacketType.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/PacketRegistry.hh"
-#include "Packets/PacketParser.hh"
+#include "../../Packets/PacketType.hh"
+#include "../../Packets/ParseInt.hh"
+#include "../../Packets/PacketRegistry.hh"
+#include "../../Packets/PacketParser.hh"
//#include "TransportPacket.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <boost/operators.hpp>
-#include "Utils/Exception.hh"
-#include "Utils/SafeBool.hh"
+#include "../Utils/Exception.hh"
+#include "../Utils/SafeBool.hh"
#include "PacketInterpreter.hh"
//#include "Packet.mpp"
#include <boost/utility.hpp>
#include <boost/type_traits.hpp>
#include <boost/iterator/iterator_facade.hpp>
-#include "Utils/SafeBool.hh"
+#include "../Utils/SafeBool.hh"
#include "PacketTypes.hh"
//#include "PacketData.mpp"
// Custom includes
#include <memory>
#include <boost/utility.hpp>
-#include "Utils/pool_alloc_mixin.hh"
+#include "../Utils/pool_alloc_mixin.hh"
#include "PacketTypes.hh"
//#include "PacketImpl.mpp"
#define HH_PacketInterpreter_ 1
// Custom includes
-#include <boost/intrusive/ilist.hpp>
+#include "../boost/intrusive/ilist.hpp"
#include <boost/optional.hpp>
#include <boost/range.hpp>
#include <boost/type_traits/aligned_storage.hpp>
#include <boost/type_traits/alignment_of.hpp>
-#include "Utils/intrusive_refcount.hh"
-#include "Utils/pool_alloc_mixin.hh"
+#include "../Utils/intrusive_refcount.hh"
+#include "../Utils/pool_alloc_mixin.hh"
#include "PacketData.hh"
-#include "Utils/TypeIdValue.hh"
+#include "../Utils/TypeIdValue.hh"
//#include "PacketInterpreter.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits.hpp>
#include <boost/optional.hpp>
-#include "Utils/SafeBool.hh"
+#include "../Utils/SafeBool.hh"
#include "PacketTypes.hh"
#include "PacketData.hh"
#define IH_PacketParser_ 1
// Custom includes
-#include "Utils/mpl.hh"
+#include "../Utils/mpl.hh"
///////////////////////////////ih.p////////////////////////////////////////
#include <map>
#include <boost/utility.hpp> // for boost::noncopyable
#include <boost/optional.hpp>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#include "Packet.hh"
//#include "PacketRegistry.mpp"
// Custom includes
#include <boost/intrusive_ptr.hpp>
-#include "Utils/TypeIdValue.hh"
+#include "../Utils/TypeIdValue.hh"
///////////////////////////////ih.p////////////////////////////////////////
#include <vector>
#include <boost/intrusive_ptr.hpp>
#include <boost/cstdint.hpp>
-#include <boost/intrusive/ilist.hpp>
-#include <boost/intrusive/ilist_hook.hpp>
+#include "../boost/intrusive/ilist.hpp"
+#include "../boost/intrusive/ilist_hook.hpp"
//#include "PacketTypes.mpp"
///////////////////////////////hh.p////////////////////////////////////////
###########################################################################
-def makeAllIncludesHH(target, headers):
- file(env.File(target).abspath,"w").write("".join([ '#include "%s"\n' % f
- for f in headers ]))
-
-###########################################################################
-
-source_headers = [ f for f in glob.glob("*.hh")
- if 'defined(SENF_PACKETS_DECL_ONLY)' in file(f).read() ]
-source_headers.sort()
-makeAllIncludesHH('all_includes.hh', source_headers)
-env.Clean('all','all_includes.hh')
+SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
+ if 'defined(SENF_PACKETS_DECL_ONLY)' in file(f).read() ])
SENFSCons.StandardTargets(env)
SENFSCons.Lib(env,
logname = pwd.getpwuid(os.getuid()).pw_name
env.Append(
- CPPPATH = [ '#' ],
+ CPPPATH = [ ],
LIBS = [ 'iberty', '$BOOSTREGEXLIB' ],
DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ],
DOXY_HTML_XSL = '#/doclib/html-munge.xsl',
if not env.GetOption('clean') and not os.path.exists("Doxyfile.local"):
Execute(Touch("Doxyfile.local"))
+# Create config.h
+file("config.h","w").write(
+"""#ifndef H_config_
+#define H_config_ 1
+// This looks stupid. However, we need this since the debian packaged Version
+// of SENF is installed in a 'senf' subdirectory which the source Version is not
+#define SENF_ABSOLUTE_INCLUDE_PATH(senf_relative_include_file_path) <%s/senf_relative_include_file_path>
+#endif
+""" % env.Dir('#').abspath)
+
###########################################################################
# Define build targets
for path, subdirs, files in os.walk('.')
for pattern in env['CLEAN_PATTERNS']
for f in fnmatch.filter(files,pattern) ])
+
+env.Clean('all', 'config.h')
#include <signal.h>
#include <sys/time.h>
#include <pthread.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
//#include "ClockService.mpp"
#define prefix_
\brief ClockService inline non-template implementation */
// Custom includes
-#include "boost/date_time/posix_time/posix_time_types.hpp"
+#include <boost/date_time/posix_time/posix_time_types.hpp>
#define prefix_ inline
///////////////////////////////cci.p///////////////////////////////////////
#include <boost/utility.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/scoped_ptr.hpp>
-#include "Utils/singleton.hh"
+#include "../Utils/singleton.hh"
//#include "ClockService.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <errno.h>
-#include "Utils/membind.hh"
-#include "Utils/Exception.hh"
+#include "../Utils/membind.hh"
+#include "../Utils/Exception.hh"
#include "Scheduler.hh"
#define prefix_
#include "ReadHelper.ih"
// Custom includes
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#define prefix_ inline
///////////////////////////////cti.p///////////////////////////////////////
#include <boost/intrusive_ptr.hpp>
#include <boost/scoped_ptr.hpp>
-#include "Utils/intrusive_refcount.hh"
+#include "../Utils/intrusive_refcount.hh"
#include "Scheduler.hh"
//#include "ReadHelper.mpp"
// Custom includes
#include <errno.h>
#include <sys/epoll.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
static const int EPollInitialSize = 16;
// Custom includes
#include <errno.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#include "Scheduler.hh"
#define prefix_
//#include "WriteHelper.ih"
// Custom includes
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#define prefix_ inline
///////////////////////////////cti.p///////////////////////////////////////
#include <string>
#include <boost/intrusive_ptr.hpp>
#include <boost/function.hpp>
-#include "Utils/intrusive_refcount.hh"
+#include "../Utils/intrusive_refcount.hh"
#include "Scheduler.hh"
//#include "WriteHelper.mpp"
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
//#include "BufferingPolicy.mpp"
#define prefix_
// Custom includes
#include <algorithm>
-#include "Utils/Buffer.hh"
+#include "../Utils/Buffer.hh"
#define prefix_
///////////////////////////////ct.p////////////////////////////////////////
#define IH_ClientSocketHandle_ 1
// Custom includes
-#include "Utils/IteratorTraits.hh"
+#include "../Utils/IteratorTraits.hh"
///////////////////////////////ih.p////////////////////////////////////////
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#include "ServerSocketHandle.hh"
//#include "CommunicationPolicy.mpp"
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
// Custom includes
#include <errno.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#define prefix_ inline
///////////////////////////////cci.p///////////////////////////////////////
// Custom includes
#include <memory> // std::auto_ptr
-#include "Utils/SafeBool.hh"
+#include "../Utils/SafeBool.hh"
//#include "FileHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <boost/intrusive_ptr.hpp>
-#include "Utils/intrusive_refcount.hh"
-#include "Utils/pool_alloc_mixin.hh"
+#include "../Utils/intrusive_refcount.hh"
+#include "../Utils/pool_alloc_mixin.hh"
///////////////////////////////ih.p////////////////////////////////////////
this->protocol().init_client();
}
-#define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, "Socket/ProtocolClientSocketHandle.mpp", 2))
+#define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolClientSocketHandle.mpp), 2))
#include BOOST_PP_ITERATE()
template <class SocketProtocol>
// Custom includes
#include "ClientSocketHandle.hh"
+#include "../config.h"
#include "ProtocolClientSocketHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
*/
ProtocolClientSocketHandle();
-# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, "Socket/ProtocolClientSocketHandle.mpp", 1))
+# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolClientSocketHandle.mpp), 1))
# include BOOST_PP_ITERATE()
/** \brief Create uninitialized socket variable
std::auto_ptr<senf::SocketProtocol>(new SocketProtocol()))
{}
-#define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, "Socket/ProtocolServerSocketHandle.mpp", 2))
+#define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolServerSocketHandle.mpp), 2))
#include BOOST_PP_ITERATE()
template <class SocketProtocol>
ProtocolServerSocketHandle();
-# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, "Socket/ProtocolServerSocketHandle.mpp", 1))
+# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolServerSocketHandle.mpp), 1))
# include BOOST_PP_ITERATE()
/** \brief Create uninitialized socket variable
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include "Socket/SocketHandle.hh"
+#include "../../Socket/SocketHandle.hh"
//#include "BSDSocketProtocol.mpp"
#define prefix_
// Custom includes
#include <sys/time.h>
-#include "Socket/SocketProtocol.hh"
+#include "../../Socket/SocketProtocol.hh"
//#include "BSDSocketProtocol.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "DVBDemuxHandles.mpp"
#define prefix_
#define HH_DVBDemuxHandles_ 1
// Custom includes
-#include "Socket/BufferingPolicy.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/ProtocolClientSocketHandle.hh"
+#include "../../../Socket/BufferingPolicy.hh"
+#include "../../../Socket/FramingPolicy.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ReadWritePolicy.hh"
+#include "../../../Socket/ProtocolClientSocketHandle.hh"
#include "DVBDemuxProtocol.hh"
//#include "DVBDemuxHandles.mpp"
#include <string>
#include <sys/ioctl.h>
#include <linux/sockios.h>
-#include "Socket/SocketHandle.hh"
+#include "../../../Socket/SocketHandle.hh"
//#include "DVBDemuxProtocol.mpp"
#define prefix_
#include <linux/dvb/dmx.h>
// Custom includes
-#include "Socket/SocketProtocol.hh"
+#include "../../../Socket/SocketProtocol.hh"
//#include "DVBProtocol.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "DVBFrontendHandle.mpp"
#define prefix_
// Custom includes
#include <boost/cstdint.hpp>
#include <linux/dvb/frontend.h>
-#include "Socket/BufferingPolicy.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/ProtocolClientSocketHandle.hh"
-#include "Socket/SocketProtocol.hh"
+#include "../../../Socket/BufferingPolicy.hh"
+#include "../../../Socket/FramingPolicy.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ReadWritePolicy.hh"
+#include "../../../Socket/ProtocolClientSocketHandle.hh"
+#include "../../../Socket/SocketProtocol.hh"
//#include "DVBFrontendHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
// Custom includes
#include <sys/socket.h>
#include <sys/types.h>
-#include "Utils/Exception.hh"
+#include "../../Utils/Exception.hh"
//#include "GenericAddressingPolicy.mpp"
#define prefix_
#define HH_GenericAddressingPolicy_ 1
// Custom includes
-#include "Socket/SocketHandle.hh"
-#include "Socket/FileHandle.hh"
-#include "Socket/SocketPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
+#include "../../Socket/SocketHandle.hh"
+#include "../../Socket/FileHandle.hh"
+#include "../../Socket/SocketPolicy.hh"
+#include "../../Socket/CommunicationPolicy.hh"
//#include "GenericAddressingPolicy.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "ConnectedUDPSocketHandle.mpp"
#define prefix_
// Custom includes
#include "INetProtocol.hh"
#include "UDPProtocol.hh"
-#include "Socket/Protocols/BSDSocketProtocol.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/BufferingPolicy.hh"
-#include "Socket/ProtocolClientSocketHandle.hh"
+#include "../../../Socket/Protocols/BSDSocketProtocol.hh"
+#include "../../../Socket/FramingPolicy.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ReadWritePolicy.hh"
+#include "../../../Socket/BufferingPolicy.hh"
+#include "../../../Socket/ProtocolClientSocketHandle.hh"
//#include "ConnectedUDPSocketHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <boost/cstdint.hpp>
#include <boost/array.hpp>
#include <boost/operators.hpp>
-#include "Utils/SafeBool.hh"
+#include "../../../Utils/SafeBool.hh"
//#include "INet4Address.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <boost/cstdint.hpp>
#include <boost/array.hpp>
#include <boost/operators.hpp>
-#include "Utils/SafeBool.hh"
+#include "../../../Utils/SafeBool.hh"
#include "INet4Address.hh"
//#include "INet6Address.mpp"
#include <exception>
#include <netinet/in.h>
#include <boost/operators.hpp>
-#include "Socket/SocketPolicy.hh"
-#include "Socket/ClientSocketHandle.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/Protocols/GenericAddressingPolicy.hh"
+#include "../../../Socket/SocketPolicy.hh"
+#include "../../../Socket/ClientSocketHandle.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/Protocols/GenericAddressingPolicy.hh"
#include "INet4Address.hh"
#include "INet6Address.hh"
// Custom includes
#include <sys/socket.h>
#include <netinet/in.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "INetProtocol.mpp"
#define prefix_
#define HH_INetProtocol_ 1
// Custom includes
-#include "Socket/SocketProtocol.hh"
+#include "../../../Socket/SocketProtocol.hh"
#include "INetAddressing.hh"
-#include "Socket/ClientSocketHandle.hh"
-#include "Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ClientSocketHandle.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
//#include "INetProtocol.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <netinet/tcp.h>
#include <sys/ioctl.h>
#include <linux/sockios.h> // for SIOCINQ / SIOCOUTQ
-#include "Socket/SocketHandle.hh"
+#include "../../../Socket/SocketHandle.hh"
//#include "TCPProtocol.mpp"
#define prefix_
#define HH_TCPProtocol_ 1
// Custom includes
-#include "Socket/SocketProtocol.hh"
+#include "../../../Socket/SocketProtocol.hh"
//#include "TCPProtocol.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "TCPSocketHandle.mpp"
#define prefix_
#define HH_TCPSocketHandle_ 1
// Custom includes
-#include "Utils/pool_alloc_mixin.hh"
+#include "../../../Utils/pool_alloc_mixin.hh"
#include "INetProtocol.hh"
#include "TCPProtocol.hh"
-#include "Socket/Protocols/BSDSocketProtocol.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/BufferingPolicy.hh"
-#include "Socket/ProtocolClientSocketHandle.hh"
-#include "Socket/ProtocolServerSocketHandle.hh"
+#include "../../../Socket/Protocols/BSDSocketProtocol.hh"
+#include "../../../Socket/FramingPolicy.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ReadWritePolicy.hh"
+#include "../../../Socket/BufferingPolicy.hh"
+#include "../../../Socket/ProtocolClientSocketHandle.hh"
+#include "../../../Socket/ProtocolServerSocketHandle.hh"
//#include "TCPSocketHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <sys/ioctl.h>
#include <linux/sockios.h> // for SIOCINQ / SIOCOUTQ
#include <net/if.h> // for if_nametoindex
-#include "Socket/SocketHandle.hh"
+#include "../../../Socket/SocketHandle.hh"
//#include "UDPProtocol.mpp"
#define prefix_
#define HH_UDPProtocol_ 1
// Custom includes
-#include "Socket/SocketProtocol.hh"
+#include "../../../Socket/SocketProtocol.hh"
#include "INetAddressing.hh"
//#include "UDPProtocol.mpp"
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "UDPSocketHandle.mpp"
#define prefix_
// Custom includes
#include "INetProtocol.hh"
#include "UDPProtocol.hh"
-#include "Socket/Protocols/BSDSocketProtocol.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/BufferingPolicy.hh"
-#include "Socket/ProtocolClientSocketHandle.hh"
+#include "../../../Socket/Protocols/BSDSocketProtocol.hh"
+#include "../../../Socket/FramingPolicy.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ReadWritePolicy.hh"
+#include "../../../Socket/BufferingPolicy.hh"
+#include "../../../Socket/ProtocolClientSocketHandle.hh"
//#include "UDPSocketHandle.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/finder.hpp>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "LLAddressing.mpp"
#define prefix_
// Custom includes
#include <sys/socket.h>
#include <netpacket/packet.h>
-#include "Socket/SocketPolicy.hh"
-#include "Socket/FileHandle.hh"
-#include "Socket/Protocols/GenericAddressingPolicy.hh"
+#include "../../../Socket/SocketPolicy.hh"
+#include "../../../Socket/FileHandle.hh"
+#include "../../../Socket/Protocols/GenericAddressingPolicy.hh"
#include "MACAddress.hh"
//#include "LLAddressing.mpp"
#include <boost/array.hpp>
#include <boost/utility.hpp>
#include <boost/type_traits.hpp>
-#include "Utils/SafeBool.hh"
+#include "../../../Utils/SafeBool.hh"
//#include "MACAddress.mpp"
///////////////////////////////hh.p////////////////////////////////////////
#define HH_PacketSocketHandle_ 1
// Custom includes
-#include "Socket/SocketPolicy.hh"
-#include "Socket/SocketProtocol.hh"
-#include "Socket/ProtocolClientSocketHandle.hh"
-#include "Socket/FramingPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
-#include "Socket/ReadWritePolicy.hh"
-#include "Socket/BufferingPolicy.hh"
-#include "Socket/Protocols/BSDSocketProtocol.hh"
+#include "../../../Socket/SocketPolicy.hh"
+#include "../../../Socket/SocketProtocol.hh"
+#include "../../../Socket/ProtocolClientSocketHandle.hh"
+#include "../../../Socket/FramingPolicy.hh"
+#include "../../../Socket/CommunicationPolicy.hh"
+#include "../../../Socket/ReadWritePolicy.hh"
+#include "../../../Socket/BufferingPolicy.hh"
+#include "../../../Socket/Protocols/BSDSocketProtocol.hh"
#include "LLAddressing.hh"
//#include "PacketSocketHandle.mpp"
# -*- python -*-
Import('env')
-import SENFSCons
-import glob
+import SENFSCons, glob
###########################################################################
+SENFSCons.AllIncludesHH(env, [ f for f in glob.glob("*.hh")
+ if f not in ('all_includes.hh','Socket.hh') and not f.endswith('.test.hh') ])
+
sources, testSources = SENFSCons.GlobSources()
SENFSCons.StandardTargets(env)
env.Dia2Png('Handle.dia'),
])
+SENFSCons.InstallIncludeFiles(env, [ 'Socket.hh', 'all_includes.hh' ])
--- /dev/null
+// $Id$
+//
+// Copyright (C) 2007
+// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Stefan Bund <g0dil@berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+/** \file
+ \brief Socket public header */
+
+#ifndef HH_Socket_
+#define HH_Socket_ 1
+
+#include "all_includes.hh"
+
+#endif
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End:
// Custom includes
#include <sstream>
#include <sys/socket.h>
-#include "Utils/TypeInfo.hh"
+#include "../Utils/TypeInfo.hh"
//#include "SocketHandle.mpp"
#define prefix_
#include "SocketHandle.ih"
// Custom includes
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#include "SocketProtocol.hh"
#define prefix_ inline
// Custom includes
#include <typeinfo>
#include <boost/lexical_cast.hpp>
-#include "Utils/TypeInfo.hh"
+#include "../Utils/TypeInfo.hh"
#define prefix_ inline
///////////////////////////////cti.p///////////////////////////////////////
#include <boost/mpl/and.hpp>
#include <boost/utility.hpp> // for enable_if
-#include "Utils/mpl.hh"
-#include "Utils/pool_alloc_mixin.hh"
+#include "../Utils/mpl.hh"
+#include "../Utils/pool_alloc_mixin.hh"
///////////////////////////////ih.p////////////////////////////////////////
either pointer to \a type or array of \a type:
\code
- #include "Utils/Buffer.hh"
+ #include "../Utils/Buffer.hh"
void foo(std::string const & str)
{
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/repetition/enum_shifted.hpp>
#include <boost/preprocessor/iteration/iterate.hpp>
+#include "../../config.h"
template <typename R, typename T>
boost::function<R()> membind(R (T::* fn)(),scOBTYPE ob)
}
// for BOOST_PP_ITERATION() in 2..9 do
-#define BOOST_PP_ITERATION_PARAMS_1 (4, (2, 9, "Utils/impl/membind.hh", 1))
+#define BOOST_PP_ITERATION_PARAMS_1 (4, (2, 9, SENF_ABSOLUTE_INCLUDE_PATH(Utils/impl/membind.hh), 1))
#include BOOST_PP_ITERATE()
#elif BOOST_PP_ITERATION_DEPTH()==1 && BOOST_PP_ITERATION_FLAGS()==1
// {{
namespace senf {
#define scOBTYPE T *
-#include "Utils/impl/membind.hh"
+#include "../Utils/impl/membind.hh"
#undef scOBTYPE
#define scOBTYPE T &
-#include "Utils/impl/membind.hh"
+#include "../Utils/impl/membind.hh"
#undef scOBTYPE
#ifdef DOXYGEN
// Custom includes
#include <sstream>
#include <string>
-#include "Utils/membind.hh"
+#include "../Utils/membind.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#ifndef BOOST_INTRUSIVE_IHASHTABLE_HPP\r
#define BOOST_INTRUSIVE_IHASHTABLE_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
//std C++\r
#include <functional>\r
#include <iterator>\r
#include <boost/static_assert.hpp>\r
#include <boost/functional/hash.hpp>\r
//General intrusive utilities\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "pointer_type.hpp"\r
+#include "pointer_to_other.hpp"\r
+#include "../linking_policy.hpp"\r
//Implementation utilities\r
-#include <boost/intrusive/iunordered_set_hook.hpp>\r
-#include <boost/intrusive/islist.hpp>\r
+#include "../iunordered_set_hook.hpp"\r
+#include "../islist.hpp"\r
#include <cstddef>\r
#include <iterator>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_IHASHTABLE_HPP\r
#ifndef BOOST_INTRUSIVE_IRBTREE_HPP\r
#define BOOST_INTRUSIVE_IRBTREE_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
#include <functional>\r
#include <iterator>\r
#include <boost/utility.hpp>\r
#include <utility>\r
#include <boost/assert.hpp>\r
#include <boost/static_assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/iset_hook.hpp>\r
-#include <boost/intrusive/detail/rbtree_node.hpp>\r
-#include <boost/intrusive/detail/ebo_holder.hpp>\r
-#include <boost/intrusive/rbtree_algorithms.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "pointer_type.hpp"\r
+#include "pointer_to_other.hpp"\r
+#include "../iset_hook.hpp"\r
+#include "rbtree_node.hpp"\r
+#include "ebo_holder.hpp"\r
+#include "../rbtree_algorithms.hpp"\r
+#include "../linking_policy.hpp"\r
#include <cstddef>\r
#include <iterator>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_IRBTREE_HPP\r
#ifndef BOOST_INTRUSIVE_LIST_NODE_HPP\r
#define BOOST_INTRUSIVE_LIST_NODE_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
#include <iterator>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/list_algorithms.hpp>\r
+#include "pointer_type.hpp"\r
+#include "pointer_to_other.hpp"\r
+#include "../list_algorithms.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <cstddef>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_LIST_NODE_HPP\r
#ifndef BOOST_INTRUSIVE_POINTER_TO_OTHER_HPP\r
#define BOOST_INTRUSIVE_POINTER_TO_OTHER_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
#include <boost/version.hpp>\r
\r
#if (BOOST_VERSION < 103400)
\r
#endif //#ifndef BOOST_POINTER_TO_OTHER_HPP_INCLUDED\r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //#ifndef BOOST_INTRUSIVE_POINTER_TO_OTHER_HPP\r
#ifndef BOOST_INTRUSIVE_POINTER_TYPE_HPP\r
#define BOOST_INTRUSIVE_POINTER_TYPE_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
\r
namespace boost {\r
namespace intrusive {\r
} //namespace intrusive\r
} // namespace boost\r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //#ifndef BOOST_INTRUSIVE_POINTER_TYPE_HPP\r
#ifndef BOOST_INTRUSIVE_RBTREE_NODE_HPP\r
#define BOOST_INTRUSIVE_RBTREE_NODE_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
#include <iterator>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/rbtree_algorithms.hpp>\r
+#include "pointer_type.hpp"\r
+#include "pointer_to_other.hpp"\r
+#include "../rbtree_algorithms.hpp"\r
#include <boost/get_pointer.hpp>\r
//#include <boost/interprocess/offset_ptr.hpp>\r
#include <boost/type_traits/alignment_of.hpp>\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_RBTREE_NODE_HPP\r
#ifndef BOOST_INTRUSIVE_SLIST_NODE_HPP\r
#define BOOST_INTRUSIVE_SLIST_NODE_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "config_begin.hpp"\r
#include <iterator>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/slist_algorithms.hpp>\r
+#include "pointer_type.hpp"\r
+#include "pointer_to_other.hpp"\r
+#include "../slist_algorithms.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <cstddef>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_SLIST_NODE_HPP\r
#ifndef BOOST_INTRUSIVE_DETAIL_UTILITIES_HPP\r
#define BOOST_INTRUSIVE_DETAIL_UTILITIES_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
+#include "config_begin.hpp"\r
+#include "pointer_type.hpp"\r
+#include "pointer_to_other.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <cstddef>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_DETAIL_UTILITIES_HPP\r
#ifndef BOOST_INTRUSIVE_ILIST_HPP\r
#define BOOST_INTRUSIVE_ILIST_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "detail/config_begin.hpp"\r
#include <boost/utility.hpp>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/ilist_hook.hpp>\r
-#include <boost/intrusive/list_algorithms.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "ilist_hook.hpp"\r
+#include "list_algorithms.hpp"\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
+#include "linking_policy.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <boost/static_assert.hpp>\r
#include <iterator>\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_ILIST_HPP\r
#ifndef BOOST_INTRUSIVE_ILIST_HOOK_HPP\r
#define BOOST_INTRUSIVE_ILIST_HOOK_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/utilities.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/detail/list_node.hpp>\r
-#include <boost/intrusive/list_algorithms.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "detail/config_begin.hpp"\r
+#include "detail/utilities.hpp"\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
+#include "detail/list_node.hpp"\r
+#include "list_algorithms.hpp"\r
+#include "linking_policy.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <stdexcept>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_ILIST_HOOK_HPP\r
#ifndef BOOST_INTRUSIVE_ISET_HPP\r
#define BOOST_INTRUSIVE_ISET_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/irbtree.hpp>\r
+#include "detail/config_begin.hpp"\r
+#include "detail/irbtree.hpp"\r
#include <iterator>\r
\r
namespace boost {\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_ISET_HPP\r
#ifndef BOOST_INTRUSIVE_ISET_HOOK_HPP\r
#define BOOST_INTRUSIVE_ISET_HOOK_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/utilities.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/detail/rbtree_node.hpp>\r
-#include <boost/intrusive/rbtree_algorithms.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "detail/config_begin.hpp"\r
+#include "detail/utilities.hpp"\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
+#include "detail/rbtree_node.hpp"\r
+#include "rbtree_algorithms.hpp"\r
+#include "linking_policy.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <stdexcept>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_ISET_HOOK_HPP\r
#ifndef BOOST_INTRUSIVE_ISLIST_HPP\r
#define BOOST_INTRUSIVE_ISLIST_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "detail/config_begin.hpp"\r
#include <boost/utility.hpp>\r
#include <boost/static_assert.hpp>\r
#include <boost/assert.hpp>\r
#include <boost/type_traits/is_convertible.hpp>\r
-#include <boost/intrusive/islist_hook.hpp>\r
-#include <boost/intrusive/slist_algorithms.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "islist_hook.hpp"\r
+#include "slist_algorithms.hpp"\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
+#include "linking_policy.hpp"\r
#include <iterator>\r
#include <cstddef>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_ISLIST_HPP\r
#ifndef BOOST_INTRUSIVE_ISLIST_HOOK_HPP\r
#define BOOST_INTRUSIVE_ISLIST_HOOK_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/utilities.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/detail/slist_node.hpp>\r
-#include <boost/intrusive/slist_algorithms.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "detail/config_begin.hpp"\r
+#include "detail/utilities.hpp"\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
+#include "detail/slist_node.hpp"\r
+#include "slist_algorithms.hpp"\r
+#include "linking_policy.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <stdexcept>\r
\r
#ifndef BOOST_INTRUSIVE_IHASHSET_HPP\r
#define BOOST_INTRUSIVE_IHASHSET_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/ihashtable.hpp>\r
+#include "detail/config_begin.hpp"\r
+#include "detail/ihashtable.hpp"\r
#include <iterator>\r
\r
namespace boost {\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_IHASHSET_HPP\r
#ifndef BOOST_INTRUSIVE_IHASHSET_HOOK_HPP\r
#define BOOST_INTRUSIVE_IHASHSET_HOOK_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
-#include <boost/intrusive/detail/utilities.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
-#include <boost/intrusive/islist_hook.hpp>\r
-#include <boost/intrusive/linking_policy.hpp>\r
+#include "detail/config_begin.hpp"\r
+#include "detail/utilities.hpp"\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
+#include "islist_hook.hpp"\r
+#include "linking_policy.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <stdexcept>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_IHASHSET_HOOK_HPP\r
#ifndef BOOST_INTRUSIVE_LIST_ALGORITHMS_HPP\r
#define BOOST_INTRUSIVE_LIST_ALGORITHMS_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "detail/config_begin.hpp"\r
#include <iterator>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <cstddef>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_LIST_ALGORITHMS_HPP\r
#ifndef BOOST_INTRUSIVE_RBTREE_ALGORITHMS_HPP\r
#define BOOST_INTRUSIVE_RBTREE_ALGORITHMS_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "detail/config_begin.hpp"\r
#include <iterator>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <boost/type_traits/alignment_of.hpp>\r
#include <cstddef>\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_RBTREE_ALGORITHMS_HPP\r
#ifndef BOOST_INTRUSIVE_SLIST_ALGORITHMS_HPP\r
#define BOOST_INTRUSIVE_SLIST_ALGORITHMS_HPP\r
\r
-#include <boost/intrusive/detail/config_begin.hpp>\r
+#include "detail/config_begin.hpp"\r
#include <iterator>\r
#include <boost/assert.hpp>\r
-#include <boost/intrusive/detail/pointer_type.hpp>\r
-#include <boost/intrusive/detail/pointer_to_other.hpp>\r
+#include "detail/pointer_type.hpp"\r
+#include "detail/pointer_to_other.hpp"\r
#include <boost/get_pointer.hpp>\r
#include <cstddef>\r
\r
} //namespace intrusive \r
} //namespace boost \r
\r
-#include <boost/intrusive/detail/config_end.hpp>\r
+#include "detail/config_end.hpp"\r
\r
#endif //BOOST_INTRUSIVE_SLIST_ALGORITHMS_HPP\r
--- /dev/null
+// $Id$
+//
+// Copyright (C) 2007
+// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Stefan Bund <g0dil@berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+#include "PPI/PPI.hh"
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End:
--- /dev/null
+// $Id$
+//
+// Copyright (C) 2007
+// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Stefan Bund <g0dil@berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+#include "Packets/Packets.hh"
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End:
--- /dev/null
+// $Id$
+//
+// Copyright (C) 2007
+// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Stefan Bund <g0dil@berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+/** \file
+ \brief Socket public header */
+
+#include "Socket/Socket.hh"
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End:
--- /dev/null
+// $Id$
+//
+// Copyright (C) 2007
+// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Stefan Bund <g0dil@berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+/** \file
+ \brief config public header */
+
+#ifndef H_config_
+#define H_config_ 1
+
+// Custom includes
+
+//#include "config.mpp"
+///////////////////////////////hh.p////////////////////////////////////////
+
+#define SENF_ABSOLUTE_INCLUDE_PATH(senf_relative_include_file_path) <senf/senf_relative_include_file_path>
+
+///////////////////////////////hh.e////////////////////////////////////////
+//#include "config.cci"
+//#include "config.ct"
+//#include "config.cti"
+#endif
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End:
debian/tmp/usr/lib/libsenf.a
debian/tmp/usr/lib/*.o usr/lib/senf-packets
-debian/tmp/usr/include
+debian/tmp/usr/include/Packets usr/include/senf
+debian/tmp/usr/include/PPI usr/include/senf
+debian/tmp/usr/include/Scheduler usr/include/senf
+debian/tmp/usr/include/Socket usr/include/senf
+debian/tmp/usr/include/Utils usr/include/senf
+boost usr/include/senf
+debian/config.h usr/include/senf
+debian/Socket.hh usr/include/senf
+debian/Packets.hh usr/include/senf
+debian/PPI.hh usr/include/senf
README usr/share/doc/libsenf-dev
dh_clean -k
dh_installdirs
# # Add here commands to install the package into debian/tmp
- scons -j $(CONCURRENCY_LEVEL) install_all final=1\
+ scons install_all final=1\
PREFIX='$(destdir)/usr' \
DOCINSTALLDIR='$$PREFIX/share/doc/libsenf-doc'
# We need to install the example sourcecode
return objects
+def InstallIncludeFiles(env, files):
+ target = env.Dir(env['INCLUDEINSTALLDIR'])
+ base = env.Dir(env['INSTALL_BASE'])
+ for f in files:
+ src = env.File(f)
+ env.Alias('install_all', env.Install(target.Dir(src.dir.get_path(base)), src))
+
def InstallWithSources(env, targets, dir, sources, testSources = [], no_includes = False):
if type(sources) is type(()):
sources, testSources = sources
source = targets
if testSources:
source.append( env.File('.test.bin') )
-
installs.append(env.InstallIncludes(
target = target,
source = targets,
no_includes)
env.Alias('install_all', install)
return program
+
+def AllIncludesHH(env, headers):
+ headers.sort()
+ file(env.File("all_includes.hh").abspath,"w").write("".join([ '#include "%s"\n' % f
+ for f in headers ]))
+ env.Clean('all','all_includes.hh')
+