1 EXTRA_DIST = libmemcached.ver \
2 libmemcached_probes.d \
4 memcached_configure.h.in \
5 protocol/libmemcachedprotocol.ver \
6 util/libmemcachedutil.ver
12 noinst_HEADERS = libmemcached_probes.h \
14 memcached_internal.h \
16 memcached/protocol_binary.h \
18 protocol/ascii_handler.h \
19 protocol/binary_handler.h
21 pkginclude_HEADERS= memcached.h \
24 memcached_configure.h \
25 memcached_constants.h \
32 memcached_watchpoint.h \
36 nobase_pkginclude_HEADERS=protocol/cache.h \
40 libmemcachedprotocol_la_SOURCES= protocol/ascii_handler.c \
41 protocol/binary_handler.c \
44 protocol/protocol_handler.c
46 libmemcachedprotocol_la_LDFLAGS= -version-info $(MEMCACHEDPROTOCOL_LIBRARY_VERSION) $(LD_PROTOCOL_VERSION_SCRIPT)
48 lib_LTLIBRARIES = libmemcached.la libmemcachedprotocol.la
49 noinst_LTLIBRARIES = libmemcachedcallbacks.la
50 libmemcachedcallbacks_la_CFLAGS = ${AM_CFLAGS} ${NO_STRICT_ALIASING}
51 libmemcachedcallbacks_la_SOURCES = memcached_callback.c
53 libmemcached_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION}
54 libmemcached_la_SOURCES = crc.c \
58 memcached_behavior.c \
70 memcached_flush_buffers.c \
75 memcached_response.c \
81 memcached_strerror.c \
82 memcached_verbosity.c \
86 memcached_allocators.c
90 libmemcached_la_SOURCES += hsieh_hash.c
93 libmemcached_la_DEPENDENCIES= libmemcachedcallbacks.la
94 libmemcached_la_LIBADD= $(LIBM) libmemcachedcallbacks.la
95 libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) $(LD_VERSION_SCRIPT) $(LIBM)
97 if BUILD_LIBMEMCACHEDUTIL
98 pkginclude_HEADERS+= memcached_util.h memcached_pool.h
99 lib_LTLIBRARIES+= libmemcachedutil.la
102 libmemcachedutil_la_SOURCES= util/memcached_pool.c
103 libmemcachedutil_la_LDFLAGS= -version-info $(MEMCACHEDUTIL_LIBRARY_VERSION) $(LD_UTIL_VERSION_SCRIPT)
104 libmemcachedutil_la_LIBADD= libmemcached.la
105 libmemcachedutil_la_DEPENDENCIES=libmemcached.la
108 noinst_LTLIBRARIES += libbyteorder.la
109 libbyteorder_la_SOURCES= byteorder.c byteorder.h
110 libmemcached_la_LIBADD += libbyteorder.la
111 libmemcached_la_DEPENDENCIES+= libbyteorder.la
112 libmemcachedprotocol_la_LIBADD=libbyteorder.la
113 libmemcachedprotocol_la_DEPENDENCIES=libbyteorder.la
117 BUILT_SOURCES+= dtrace_probes.h
118 libmemcached_la_SOURCES += libmemcached_probes.d
121 if DTRACE_NEEDS_OBJECTS
122 libmemcached_la_DEPENDENCIES += libmemcached_probes.o
127 dtrace_probes.h: libmemcached_probes.d
128 $(DTRACE) $(DTRACEFLAGS) -h -o dtrace_probes.h -s libmemcached_probes.d
130 libmemcached_probes.o: libmemcached_probes.d $(libmemcached_la_OBJECTS)
131 $(DTRACE) $(DTRACEFLAGS) -o .libs/libmemcached_probes.o -G -s libmemcached_probes.d `grep '^pic_object' *.lo | cut -f 2 -d\'`
132 $(DTRACE) $(DTRACEFLAGS) -o libmemcached_probes.o -G -s libmemcached_probes.d `grep non_pic_object *.lo | cut -f 2 -d\' `