diff options
author | Max Kellermann <max@duempel.org> | 2014-01-29 18:14:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 10:04:03 +0100 |
commit | 9ae7f186bc43749383594807b1d751b5389161e7 (patch) | |
tree | 0cafbfde8316c4b1a9ded19060d3020977a604dd /Makefile.am | |
parent | f8d114be42663006d162311c1ecaf4306e0b72e4 (diff) | |
download | mpd-9ae7f186bc43749383594807b1d751b5389161e7.tar.gz mpd-9ae7f186bc43749383594807b1d751b5389161e7.tar.xz mpd-9ae7f186bc43749383594807b1d751b5389161e7.zip |
LocalStorage: new API abstracting filesystem walk
Prepare to make this a new plugin API, for example to use a SMB share
for the music_directory.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 5e3f3b260..fe3932975 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,6 +31,7 @@ src_mpd_CPPFLAGS = $(AM_CPPFLAGS) \ src_mpd_LDADD = \ $(NEIGHBOR_LIBS) \ $(DB_LIBS) \ + $(STORAGE_LIBS) \ $(PLAYLIST_LIBS) \ $(AVAHI_LIBS) \ $(LIBWRAP_LDFLAGS) \ @@ -410,6 +411,20 @@ libfs_a_SOURCES = \ src/fs/StandardDirectory.cxx src/fs/StandardDirectory.hxx \ src/fs/DirectoryReader.hxx +# Storage library + +if ENABLE_DATABASE + +noinst_LIBRARIES += libstorage.a + +libstorage_a_SOURCES = \ + src/storage/LocalStorage.cxx src/storage/LocalStorage.hxx \ + src/storage/FileInfo.hxx + +STORAGE_LIBS = libstorage.a + +endif + # neighbor plugins if ENABLE_NEIGHBOR_PLUGINS |