From 9ae7f186bc43749383594807b1d751b5389161e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 29 Jan 2014 18:14:57 +0100 Subject: 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. --- Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Makefile.am') 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 -- cgit v1.2.3