ceph/src/librados/Makefile.am
Jason Dillaman 4a5305e416 lttng: move tracepoint probes to dynamic libraries
LTTng-UST initializes itself at program load, which means it is
currently always enabled.  This can lead to issues with SElinux
and AppArmor which might restrict access to the necessary device
files.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-14 12:06:46 -04:00

46 lines
1.2 KiB
Makefile

if ENABLE_CLIENT
if WITH_RADOS
librados_internal_la_SOURCES = \
librados/RadosClient.cc \
librados/IoCtxImpl.cc \
librados/RadosXattrIter.cc \
librados/snap_set_diff.cc
noinst_LTLIBRARIES += librados_internal.la
librados_api_la_SOURCES = \
common/buffer.cc \
librados/librados.cc
noinst_LTLIBRARIES += librados_api.la
librados_la_SOURCES = \
common/buffer.cc \
librados/librados.cc
# We need this to avoid basename conflicts with the librados build tests in test/Makefile.am
librados_la_CXXFLAGS = ${AM_CXXFLAGS}
LIBRADOS_DEPS += \
librados_internal.la libcls_lock_client.la \
$(LIBOSDC) $(LIBCOMMON_DEPS)
librados_la_LIBADD = $(LIBRADOS_DEPS) $(PTHREAD_LIBS) $(CRYPTO_LIBS) $(EXTRALIBS)
librados_la_LDFLAGS = ${AM_LDFLAGS} -version-info 2:0:0
if LINUX
librados_la_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
librados_la_LDFLAGS += -Xcompiler -Xlinker -Xcompiler '--exclude-libs=ALL'
endif
lib_LTLIBRARIES += librados.la
noinst_HEADERS += \
librados/snap_set_diff.h \
librados/AioCompletionImpl.h \
librados/IoCtxImpl.h \
librados/PoolAsyncCompletionImpl.h \
librados/RadosClient.h \
librados/RadosXattrIter.h \
librados/ListObjectImpl.h
endif # WITH_RADOS
endif # ENABLE_CLIENT