mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
make: conditionally build filestore backends
Each of btrfs and zfs backends are wrapped in if __linux__ and if WITH_ZFS, respectively, resulting in empty object files and the associated warnings. This builds them under the same conditions. Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
9d41fd2c85
commit
b4fc16c70e
@ -1,6 +1,5 @@
|
||||
libos_la_SOURCES = \
|
||||
os/chain_xattr.cc \
|
||||
os/BtrfsFileStoreBackend.cc \
|
||||
os/DBObjectMap.cc \
|
||||
os/FileJournal.cc \
|
||||
os/FileStore.cc \
|
||||
@ -14,8 +13,16 @@ libos_la_SOURCES = \
|
||||
os/MemStore.cc \
|
||||
os/ObjectStore.cc \
|
||||
os/WBThrottle.cc \
|
||||
os/ZFSFileStoreBackend.cc \
|
||||
common/TrackedOp.cc
|
||||
|
||||
if LINUX
|
||||
libos_la_SOURCES += os/BtrfsFileStoreBackend.cc
|
||||
endif
|
||||
|
||||
if WITH_LIBZFS
|
||||
libos_la_SOURCES += os/ZFSFileStoreBackend.cc
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES += libos.la
|
||||
|
||||
noinst_HEADERS += \
|
||||
|
Loading…
Reference in New Issue
Block a user