summaryrefslogtreecommitdiffstats
path: root/src/compressor/zlib/Makefile.am
blob: 250f396220158645ea904dcafe55c522fa864c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# zlib plugin
noinst_HEADERS += \
  compressor/zlib/CompressionZlib.h

zlib_sources = \
  compressor/Compressor.cc \
  compressor/zlib/CompressionPluginZlib.cc \
  compressor/zlib/CompressionZlib.cc

compressor/zlib/CompressionPluginZlib.cc: ./ceph_ver.h

libceph_zlib_la_SOURCES = ${zlib_sources}
libceph_zlib_la_CFLAGS = ${AM_CFLAGS}  
libceph_zlib_la_CXXFLAGS= ${AM_CXXFLAGS} 
libceph_zlib_la_LIBADD = $(LIBCRUSH) $(PTHREAD_LIBS) $(EXTRALIBS)
libceph_zlib_la_LDFLAGS = ${AM_LDFLAGS} -lz -version-info 2:0:0
if LINUX
libceph_zlib_la_LDFLAGS += -export-symbols-regex '.*__compressor_.*'
endif

compressorlib_LTLIBRARIES += libceph_zlib.la