1 EXTRA_DIST = libmemcached_probes.d memcached/README.txt libmemcached.ver \
2 memcached_configure.h.in protocol/libmemcachedprotocol.ver
8 noinst_HEADERS = libmemcached_probes.h \
10 memcached_internal.h \
12 memcached/protocol_binary.h \
14 protocol/ascii_handler.h \
15 protocol/binary_handler.h
17 pkginclude_HEADERS= memcached.h \
20 memcached_configure.h \
21 memcached_constants.h \
28 memcached_watchpoint.h \
32 nobase_pkginclude_HEADERS=protocol/cache.h \
36 if BUILD_LIBMEMCACHEDUTIL
37 pkginclude_HEADERS+= memcached_util.h memcached_pool.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)
98 noinst_LTLIBRARIES += libbyteorder.la
99 libbyteorder_la_SOURCES= byteorder.c byteorder.h
100 libmemcached_la_LIBADD += libbyteorder.la
101 libmemcached_la_DEPENDENCIES+= libbyteorder.la
102 libmemcachedprotocol_la_LIBADD=libbyteorder.la
103 libmemcachedprotocol_la_DEPENDENCIES=libbyteorder.la
107 BUILT_SOURCES+= dtrace_probes.h
108 libmemcached_la_SOURCES += libmemcached_probes.d
111 if DTRACE_NEEDS_OBJECTS
112 libmemcached_la_DEPENDENCIES += libmemcached_probes.o
117 dtrace_probes.h: libmemcached_probes.d
118 $(DTRACE) $(DTRACEFLAGS) -h -o dtrace_probes.h -s libmemcached_probes.d
120 libmemcached_probes.o: libmemcached_probes.d $(libmemcached_la_OBJECTS)
121 $(DTRACE) $(DTRACEFLAGS) -o .libs/libmemcached_probes.o -G -s libmemcached_probes.d `grep '^pic_object' *.lo | cut -f 2 -d\'`
122 $(DTRACE) $(DTRACEFLAGS) -o libmemcached_probes.o -G -s libmemcached_probes.d `grep non_pic_object *.lo | cut -f 2 -d\' `