2 # included from Top Level Makefile.am
3 # All paths should be given relative to the root
5 libmemcached_libmemcached_la_SOURCES =
7 include libmemcached/csl/include.am
10 libmemcached/libmemcached_probes.d \
11 libmemcached/memcached/README.txt
13 nobase_include_HEADERS+= \
14 libmemcached/memcached.h \
15 libmemcached/memcached.hpp \
19 libmemcached/array.h \
20 libmemcached/assert.hpp \
21 libmemcached/backtrace.hpp \
22 libmemcached/byteorder.h \
23 libmemcached/common.h \
24 libmemcached/connect.hpp \
25 libmemcached/continuum.hpp \
27 libmemcached/error.hpp \
28 libmemcached/initialize_query.h \
29 libmemcached/internal.h \
33 libmemcached/key.hpp \
34 libmemcached/libmemcached_probes.h \
35 libmemcached/memcached/protocol_binary.h \
36 libmemcached/memcached/vbucket.h \
37 libmemcached/memory.h \
38 libmemcached/namespace.h \
39 libmemcached/options.hpp \
40 libmemcached/response.h \
41 libmemcached/sasl.hpp \
42 libmemcached/server.hpp \
43 libmemcached/server_instance.h \
44 libmemcached/socket.hpp \
45 libmemcached/string.hpp \
46 libmemcached/udp.hpp \
47 libmemcached/virtual_bucket.h \
48 libmemcached/watchpoint.h
50 lib_LTLIBRARIES+= libmemcached/libmemcached.la
51 libmemcached_libmemcached_la_CFLAGS= -DBUILDING_LIBMEMCACHED
53 libmemcached_libmemcached_la_CXXFLAGS= -DBUILDING_LIBMEMCACHED
55 libmemcached_libmemcached_la_SOURCES+= \
56 ${libhashkit_libhashkit_la_SOURCES} \
57 libmemcached/allocators.cc \
58 libmemcached/allocators.hpp \
59 libmemcached/analyze.cc \
60 libmemcached/array.c \
61 libmemcached/auto.cc \
62 libmemcached/backtrace.cc \
63 libmemcached/behavior.cc \
64 libmemcached/behavior.hpp \
65 libmemcached/byteorder.cc \
66 libmemcached/callback.cc \
67 libmemcached/connect.cc \
68 libmemcached/delete.cc \
70 libmemcached/dump.cc \
71 libmemcached/error.cc \
72 libmemcached/exist.cc \
73 libmemcached/fetch.cc \
74 libmemcached/flush.cc \
75 libmemcached/flush_buffers.cc \
77 libmemcached/hash.cc \
78 libmemcached/hash.hpp \
79 libmemcached/hosts.cc \
80 libmemcached/initialize_query.cc \
83 libmemcached/memcached.cc \
84 libmemcached/namespace.cc \
85 libmemcached/options.cc \
86 libmemcached/parse.cc \
87 libmemcached/purge.cc \
88 libmemcached/quit.cc \
89 libmemcached/quit.hpp \
90 libmemcached/response.cc \
91 libmemcached/result.cc \
92 libmemcached/sasl.cc \
93 libmemcached/server.cc \
94 libmemcached/server_list.cc \
95 libmemcached/server_list.hpp \
96 libmemcached/stats.cc \
97 libmemcached/storage.cc \
98 libmemcached/strerror.cc \
99 libmemcached/string.cc \
100 libmemcached/touch.cc \
101 libmemcached/verbosity.cc \
102 libmemcached/version.cc \
103 libmemcached/udp.cc \
104 libmemcached/virtual_bucket.c
106 libmemcached/options.cc: libmemcached/csl/parser.h
109 libmemcached_libmemcached_la_DEPENDENCIES=
110 libmemcached_libmemcached_la_LIBADD=
111 libmemcached_libmemcached_la_LDFLAGS=
112 libmemcached_libmemcached_la_LDFLAGS+= -version-info ${MEMCACHED_LIBRARY_VERSION}
115 libmemcached_libmemcached_la_CXXFLAGS+= $(LIBSASL_CPPFLAGS)
116 libmemcached_libmemcached_la_CXXFLAGS+= $(PTHREAD_CFLAGS)
117 libmemcached_libmemcached_la_LIBADD+= $(PTHREAD_LIBS)
118 libmemcached_libmemcached_la_LIBADD+= $(LIBSASL_LDFLAGS)
122 BUILT_SOURCES+= libmemcached/dtrace_probes.h
123 CLEANFILES+= libmemcached/dtrace_probes.h
124 CLEANFILES+= libmemcached/libmemcached_probes.o
126 libmemcached_libmemcached_la_DEPENDENCIES += libmemcached/libmemcached_probes.o
127 libmemcached_libmemcached_la_LIBADD += libmemcached/libmemcached_probes.o
128 libmemcached_libmemcached_la_SOURCES += libmemcached/libmemcached_probes.d
133 libmemcached/dtrace_probes.h: libmemcached/libmemcached_probes.d
134 $(DTRACE) $(DTRACEFLAGS) -h -o ${top_srcdir}/libmemcached/dtrace_probes.h -s ${top_srcdir}/libmemcached/libmemcached_probes.d
136 libmemcached/libmemcached_probes.o: libmemcached/libmemcached_probes.d ${libmemcached_libmemcached_la_OBJECTS}
139 $(DTRACE) $(DTRACEFLAGS) -o $@ -G -s libmemcached/libmemcached_probes.d