Commit 06fb7c67 authored by Denis Krjuchkov's avatar Denis Krjuchkov

Makefile.am: introduce libfs

parent ef93cdf4
...@@ -13,6 +13,7 @@ noinst_LIBRARIES = \ ...@@ -13,6 +13,7 @@ noinst_LIBRARIES = \
libpcm.a \ libpcm.a \
libtag.a \ libtag.a \
libinput.a \ libinput.a \
libfs.a \
libdb_plugins.a \ libdb_plugins.a \
libplaylist_plugins.a \ libplaylist_plugins.a \
libdecoder_plugins.a \ libdecoder_plugins.a \
...@@ -41,6 +42,7 @@ src_mpd_LDADD = \ ...@@ -41,6 +42,7 @@ src_mpd_LDADD = \
$(MIXER_LIBS) \ $(MIXER_LIBS) \
libevent.a \ libevent.a \
libutil.a \ libutil.a \
libfs.a \
$(SYSTEMD_DAEMON_LIBS) \ $(SYSTEMD_DAEMON_LIBS) \
$(GLIB_LIBS) $(GLIB_LIBS)
...@@ -151,9 +153,6 @@ src_mpd_SOURCES = \ ...@@ -151,9 +153,6 @@ src_mpd_SOURCES = \
src/thread/PosixCond.hxx \ src/thread/PosixCond.hxx \
src/thread/WindowsCond.hxx \ src/thread/WindowsCond.hxx \
src/thread/GLibCond.hxx \ src/thread/GLibCond.hxx \
src/fs/Path.cxx src/fs/Path.hxx \
src/fs/FileSystem.cxx src/fs/FileSystem.hxx \
src/fs/DirectoryReader.hxx \
src/glib_socket.h \ src/glib_socket.h \
src/clock.c src/clock.h \ src/clock.c src/clock.h \
src/notify.cxx src/notify.hxx \ src/notify.cxx src/notify.hxx \
...@@ -382,6 +381,13 @@ if HAVE_LIBSAMPLERATE ...@@ -382,6 +381,13 @@ if HAVE_LIBSAMPLERATE
libpcm_a_SOURCES += src/pcm_resample_libsamplerate.c libpcm_a_SOURCES += src/pcm_resample_libsamplerate.c
endif endif
# File system library
libfs_a_SOURCES = \
src/fs/Path.cxx src/fs/Path.hxx \
src/fs/FileSystem.cxx src/fs/FileSystem.hxx \
src/fs/DirectoryReader.hxx
# database plugins # database plugins
libdb_plugins_a_SOURCES = \ libdb_plugins_a_SOURCES = \
...@@ -1051,6 +1057,7 @@ test_run_resolver_SOURCES = test/run_resolver.c \ ...@@ -1051,6 +1057,7 @@ test_run_resolver_SOURCES = test/run_resolver.c \
test_DumpDatabase_LDADD = \ test_DumpDatabase_LDADD = \
$(DB_LIBS) \ $(DB_LIBS) \
libutil.a \ libutil.a \
libfs.a \
$(GLIB_LIBS) $(GLIB_LIBS)
test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
src/DatabaseRegistry.cxx \ src/DatabaseRegistry.cxx \
...@@ -1060,7 +1067,6 @@ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \ ...@@ -1060,7 +1067,6 @@ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
src/DatabaseLock.cxx src/DatabaseSave.cxx \ src/DatabaseLock.cxx src/DatabaseSave.cxx \
src/Song.cxx src/song_sort.c src/SongSave.cxx \ src/Song.cxx src/song_sort.c src/SongSave.cxx \
src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx \ src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx \
src/fs/Path.cxx \
src/SongFilter.cxx \ src/SongFilter.cxx \
src/TextFile.cxx \ src/TextFile.cxx \
src/ConfigFile.cxx src/tokenizer.c src/utils.c src/string_util.c src/ConfigFile.cxx src/tokenizer.c src/utils.c src/string_util.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment