From aad0ea6e23d285f9471bddfa5fb919bb984be993 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 18:57:22 +0200 Subject: Makefile.am: move sources to libthread.a --- Makefile.am | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index 569f66d18..140514a9b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,6 +9,7 @@ bin_PROGRAMS = src/mpd noinst_LIBRARIES = \ libutil.a \ + libthread.a \ libsystem.a \ libevent.a \ libpcm.a \ @@ -44,6 +45,7 @@ src_mpd_LDADD = \ $(MIXER_LIBS) \ libconf.a \ libevent.a \ + libthread.a \ libsystem.a \ libutil.a \ libfs.a \ @@ -69,15 +71,6 @@ src_mpd_SOURCES = \ $(OUTPUT_API_SRC) \ $(MIXER_API_SRC) \ src/Compiler.h \ - src/thread/Id.hxx \ - src/thread/Mutex.hxx \ - src/thread/PosixMutex.hxx \ - src/thread/CriticalSection.hxx \ - src/thread/GLibMutex.hxx \ - src/thread/Cond.hxx \ - src/thread/PosixCond.hxx \ - src/thread/WindowsCond.hxx \ - src/thread/GLibCond.hxx \ src/notify.cxx src/notify.hxx \ src/AudioConfig.cxx src/AudioConfig.hxx \ src/CheckAudioFormat.cxx src/CheckAudioFormat.hxx \ @@ -270,6 +263,19 @@ libutil_a_SOURCES = \ src/util/ByteReverse.cxx src/util/ByteReverse.hxx \ src/util/bit_reverse.c src/util/bit_reverse.h +# Multi-threading library + +libthread_a_SOURCES = \ + src/thread/Mutex.hxx \ + src/thread/PosixMutex.hxx \ + src/thread/CriticalSection.hxx \ + src/thread/GLibMutex.hxx \ + src/thread/Cond.hxx \ + src/thread/PosixCond.hxx \ + src/thread/WindowsCond.hxx \ + src/thread/GLibCond.hxx \ + src/thread/Id.hxx + # System library libsystem_a_SOURCES = \ -- cgit v1.2.3