mirror of
https://github.com/ceph/ceph
synced 2025-04-08 18:57:39 +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 = \
|
libos_la_SOURCES = \
|
||||||
os/chain_xattr.cc \
|
os/chain_xattr.cc \
|
||||||
os/BtrfsFileStoreBackend.cc \
|
|
||||||
os/DBObjectMap.cc \
|
os/DBObjectMap.cc \
|
||||||
os/FileJournal.cc \
|
os/FileJournal.cc \
|
||||||
os/FileStore.cc \
|
os/FileStore.cc \
|
||||||
@ -14,8 +13,16 @@ libos_la_SOURCES = \
|
|||||||
os/MemStore.cc \
|
os/MemStore.cc \
|
||||||
os/ObjectStore.cc \
|
os/ObjectStore.cc \
|
||||||
os/WBThrottle.cc \
|
os/WBThrottle.cc \
|
||||||
os/ZFSFileStoreBackend.cc \
|
|
||||||
common/TrackedOp.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_LTLIBRARIES += libos.la
|
||||||
|
|
||||||
noinst_HEADERS += \
|
noinst_HEADERS += \
|
||||||
|
Loading…
Reference in New Issue
Block a user