1 EXTRA_DIST = libmemcached_probes.d memcached/README.txt libmemcached.ver \
2 memcached_configure.h.in
7 noinst_HEADERS = libmemcached_probes.h \
11 memcached/protocol_binary.h
13 pkginclude_HEADERS= memcached.h \
15 memcached_configure.h \
16 memcached_constants.h \
23 memcached_watchpoint.h \
27 if BUILD_LIBMEMCACHEDUTIL
28 pkginclude_HEADERS+= memcached_util.h memcached_pool.h
31 lib_LTLIBRARIES = libmemcached.la
32 noinst_LTLIBRARIES = libmemcachedcallbacks.la
33 libmemcachedcallbacks_la_CFLAGS = ${AM_CFLAGS} ${NO_STRICT_ALIASING}
34 libmemcachedcallbacks_la_SOURCES = memcached_callback.c
36 libmemcached_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION}
37 libmemcached_la_SOURCES = crc.c \
41 memcached_behavior.c \
53 memcached_flush_buffers.c \
58 memcached_response.c \
64 memcached_strerror.c \
65 memcached_verbosity.c \
69 memcached_allocators.c
73 libmemcached_la_SOURCES += hsieh_hash.c
77 libmemcached_la_SOURCES += byteorder.c
80 libmemcached_la_DEPENDENCIES= libmemcachedcallbacks.la
81 libmemcached_la_LIBADD= $(LIBM) libmemcachedcallbacks.la
82 libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) $(LD_VERSION_SCRIPT) $(LIBM)
85 BUILT_SOURCES+= dtrace_probes.h
86 libmemcached_la_SOURCES += libmemcached_probes.d
89 if DTRACE_NEEDS_OBJECTS
90 libmemcached_la_DEPENDENCIES += libmemcached_probes.o
95 dtrace_probes.h: libmemcached_probes.d
96 $(DTRACE) $(DTRACEFLAGS) -h -o dtrace_probes.h -s libmemcached_probes.d
98 libmemcached_probes.o: libmemcached_probes.d $(libmemcached_la_OBJECTS)
99 $(DTRACE) $(DTRACEFLAGS) -o .libs/libmemcached_probes.o -G -s libmemcached_probes.d `grep '^pic_object' *.lo | cut -f 2 -d\'`
100 $(DTRACE) $(DTRACEFLAGS) -o libmemcached_probes.o -G -s libmemcached_probes.d `grep non_pic_object *.lo | cut -f 2 -d\' `