system/{Resolver,Socket{Error,Util}}: move to new library libnet.a

This commit is contained in:
Max Kellermann 2015-02-10 21:46:23 +01:00
parent 33a27379f9
commit 42890b9acf
14 changed files with 21 additions and 14 deletions

View File

@ -15,6 +15,7 @@ noinst_LIBRARIES = \
libmpd.a \ libmpd.a \
libutil.a \ libutil.a \
libthread.a \ libthread.a \
libnet.a \
libsystem.a \ libsystem.a \
libevent.a \ libevent.a \
libicu.a \ libicu.a \
@ -55,6 +56,7 @@ src_mpd_LDADD = \
libconf.a \ libconf.a \
libevent.a \ libevent.a \
libthread.a \ libthread.a \
libnet.a \
libsystem.a \ libsystem.a \
libutil.a \ libutil.a \
$(FS_LIBS) \ $(FS_LIBS) \
@ -415,15 +417,19 @@ libthread_a_SOURCES = \
src/thread/Thread.cxx src/thread/Thread.hxx \ src/thread/Thread.cxx src/thread/Thread.hxx \
src/thread/Id.hxx src/thread/Id.hxx
# Networking library
libnet_a_SOURCES = \
src/net/Resolver.cxx src/net/Resolver.hxx \
src/net/SocketUtil.cxx src/net/SocketUtil.hxx \
src/net/SocketError.cxx src/net/SocketError.hxx
# System library # System library
libsystem_a_SOURCES = \ libsystem_a_SOURCES = \
src/system/ByteOrder.hxx \ src/system/ByteOrder.hxx \
src/system/FatalError.cxx src/system/FatalError.hxx \ src/system/FatalError.cxx src/system/FatalError.hxx \
src/system/fd_util.c src/system/fd_util.h \ src/system/fd_util.c src/system/fd_util.h \
src/system/SocketUtil.cxx src/system/SocketUtil.hxx \
src/system/SocketError.cxx src/system/SocketError.hxx \
src/system/Resolver.cxx src/system/Resolver.hxx \
src/system/EventPipe.cxx src/system/EventPipe.hxx \ src/system/EventPipe.cxx src/system/EventPipe.hxx \
src/system/EventFD.cxx src/system/EventFD.hxx \ src/system/EventFD.cxx src/system/EventFD.hxx \
src/system/SignalFD.cxx src/system/SignalFD.hxx \ src/system/SignalFD.cxx src/system/SignalFD.hxx \
@ -1567,7 +1573,7 @@ test_read_conf_SOURCES = \
test/read_conf.cxx test/read_conf.cxx
test_run_resolver_LDADD = \ test_run_resolver_LDADD = \
libsystem.a \ libnet.a \
libutil.a \ libutil.a \
$(GLIB_LIBS) $(GLIB_LIBS)
test_run_resolver_SOURCES = \ test_run_resolver_SOURCES = \
@ -1948,6 +1954,7 @@ test_run_output_LDADD = $(MPD_LIBS) \
libevent.a \ libevent.a \
$(FS_LIBS) \ $(FS_LIBS) \
$(ICU_LDADD) \ $(ICU_LDADD) \
libnet.a \
libsystem.a \ libsystem.a \
libthread.a \ libthread.a \
libutil.a \ libutil.a \

View File

@ -23,7 +23,7 @@
#include "Partition.hxx" #include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"
#include "system/Resolver.hxx" #include "net/Resolver.hxx"
#include "Permission.hxx" #include "Permission.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "BufferedSocket.hxx" #include "BufferedSocket.hxx"
#include "system/SocketError.hxx" #include "net/SocketError.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Compiler.h" #include "Compiler.h"

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "FullyBufferedSocket.hxx" #include "FullyBufferedSocket.hxx"
#include "system/SocketError.hxx" #include "net/SocketError.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Compiler.h" #include "Compiler.h"

View File

@ -19,10 +19,10 @@
#include "config.h" #include "config.h"
#include "ServerSocket.hxx" #include "ServerSocket.hxx"
#include "system/SocketUtil.hxx" #include "net/SocketUtil.hxx"
#include "system/SocketError.hxx" #include "net/SocketError.hxx"
#include "net/Resolver.hxx"
#include "event/SocketMonitor.hxx" #include "event/SocketMonitor.hxx"
#include "system/Resolver.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"

View File

@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "SocketUtil.hxx" #include "SocketUtil.hxx"
#include "SocketError.hxx" #include "SocketError.hxx"
#include "fd_util.h" #include "system/fd_util.h"
#include <unistd.h> #include <unistd.h>

View File

@ -23,7 +23,7 @@
#include "util/ASCII.hxx" #include "util/ASCII.hxx"
#include "Page.hxx" #include "Page.hxx"
#include "IcyMetaDataServer.hxx" #include "IcyMetaDataServer.hxx"
#include "system/SocketError.hxx" #include "net/SocketError.hxx"
#include "Log.hxx" #include "Log.hxx"
#include <assert.h> #include <assert.h>

View File

@ -25,7 +25,7 @@
#include "encoder/EncoderInterface.hxx" #include "encoder/EncoderInterface.hxx"
#include "encoder/EncoderPlugin.hxx" #include "encoder/EncoderPlugin.hxx"
#include "encoder/EncoderList.hxx" #include "encoder/EncoderList.hxx"
#include "system/Resolver.hxx" #include "net/Resolver.hxx"
#include "Page.hxx" #include "Page.hxx"
#include "IcyMetaDataServer.hxx" #include "IcyMetaDataServer.hxx"
#include "system/fd_util.h" #include "system/fd_util.h"

View File

@ -18,7 +18,7 @@
*/ */
#include "config.h" #include "config.h"
#include "system/Resolver.hxx" #include "net/Resolver.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"