Update libtest/fedora/lion fixes
[m6w6/libmemcached] / libmemcached / include.am
1 # vim:ft=automake
2 # included from Top Level Makefile.am
3 # All paths should be given relative to the root
4
5 libmemcached_libmemcached_la_SOURCES =
6
7 include libmemcached/csl/include.am
8
9 EXTRA_DIST+= \
10 libmemcached/configure.h.in \
11 libmemcached/libmemcached_probes.d \
12 libmemcached/memcached/README.txt
13
14 noinst_HEADERS+= \
15 libmemcached/assert.hpp \
16 libmemcached/backtrace.hpp \
17 libmemcached/byteorder.h \
18 libmemcached/common.h \
19 libmemcached/do.hpp \
20 libmemcached/error.hpp \
21 libmemcached/initialize_query.h \
22 libmemcached/internal.h \
23 libmemcached/io.h \
24 libmemcached/is.h \
25 libmemcached/libmemcached_probes.h \
26 libmemcached/memory.h \
27 libmemcached/options.hpp \
28 libmemcached/protocol/ascii_handler.h \
29 libmemcached/protocol/binary_handler.h \
30 libmemcached/protocol/common.h \
31 libmemcached/response.h \
32 libmemcached/virtual_bucket.h
33
34 nobase_include_HEADERS+= \
35 libmemcached/allocators.h \
36 libmemcached/analyze.h \
37 libmemcached/array.h \
38 libmemcached/auto.h \
39 libmemcached/basic_string.h \
40 libmemcached/behavior.h \
41 libmemcached/callback.h \
42 libmemcached/configure.h \
43 libmemcached/constants.h \
44 libmemcached/delete.h \
45 libmemcached/dump.h \
46 libmemcached/error.h \
47 libmemcached/exception.hpp \
48 libmemcached/fetch.h \
49 libmemcached/flush.h \
50 libmemcached/flush_buffers.h \
51 libmemcached/get.h \
52 libmemcached/hash.h \
53 libmemcached/memcached.h \
54 libmemcached/memcached.hpp \
55 libmemcached/memcached/protocol_binary.h \
56 libmemcached/memcached/vbucket.h \
57 libmemcached/options.h \
58 libmemcached/parse.h \
59 libmemcached/namespace.h \
60 libmemcached/protocol/cache.h \
61 libmemcached/protocol/callback.h \
62 libmemcached/protocol_handler.h \
63 libmemcached/quit.h \
64 libmemcached/return.h \
65 libmemcached/platform.h \
66 libmemcached/result.h \
67 libmemcached/sasl.h \
68 libmemcached/server.h \
69 libmemcached/server_list.h \
70 libmemcached/stats.h \
71 libmemcached/storage.h \
72 libmemcached/strerror.h \
73 libmemcached/string.h \
74 libmemcached/types.h \
75 libmemcached/verbosity.h \
76 libmemcached/version.h \
77 libmemcached/visibility.h \
78 libmemcached/watchpoint.h
79
80 # This noinst lib contains things we want to be ABI private but still want to
81 # either use in client programs or be able to test in test cases
82 # These symbols will not be exposed in the shipped .so
83 noinst_LTLIBRARIES+= libmemcached/libmemcachedinternal.la
84 libmemcached_libmemcachedinternal_la_SOURCES= \
85 libmemcached/array.c \
86 libmemcached/backtrace.cc \
87 libmemcached/error.cc \
88 libmemcached/string.cc
89 libmemcached_libmemcachedinternal_la_CFLAGS= \
90 ${AM_CFLAGS} \
91 ${NO_CONVERSION} \
92 -DBUILDING_LIBMEMCACHED
93
94 libmemcached_libmemcachedinternal_la_CXXFLAGS= \
95 ${AM_CXXFLAGS} \
96 ${NO_CONVERSION} \
97 -DBUILDING_LIBMEMCACHED
98
99 lib_LTLIBRARIES+= libmemcached/libmemcached.la
100 libmemcached_libmemcached_la_CFLAGS= \
101 ${AM_CFLAGS} \
102 ${NO_CONVERSION} \
103 -DBUILDING_LIBMEMCACHED
104
105 libmemcached_libmemcached_la_CXXFLAGS= \
106 ${AM_CXXFLAGS} \
107 ${NO_CONVERSION} \
108 -DBUILDING_LIBMEMCACHED
109
110 libmemcached_libmemcached_la_SOURCES+= \
111 ${libhashkit_libhashkit_la_SOURCES} \
112 libmemcached/allocators.cc \
113 libmemcached/analyze.cc \
114 libmemcached/array.c \
115 libmemcached/auto.cc \
116 libmemcached/backtrace.cc \
117 libmemcached/behavior.cc \
118 libmemcached/byteorder.cc \
119 libmemcached/callback.cc \
120 libmemcached/connect.cc \
121 libmemcached/delete.cc \
122 libmemcached/do.cc \
123 libmemcached/dump.cc \
124 libmemcached/error.cc \
125 libmemcached/fetch.cc \
126 libmemcached/flush.cc \
127 libmemcached/flush_buffers.cc \
128 libmemcached/get.cc \
129 libmemcached/hash.cc \
130 libmemcached/hosts.cc \
131 libmemcached/initialize_query.cc \
132 libmemcached/io.cc \
133 libmemcached/key.cc \
134 libmemcached/memcached.cc \
135 libmemcached/options.cc \
136 libmemcached/parse.cc \
137 libmemcached/namespace.cc \
138 libmemcached/purge.cc \
139 libmemcached/quit.cc \
140 libmemcached/response.cc \
141 libmemcached/result.cc \
142 libmemcached/server.cc \
143 libmemcached/server_list.cc \
144 libmemcached/stats.cc \
145 libmemcached/storage.cc \
146 libmemcached/strerror.cc \
147 libmemcached/string.cc \
148 libmemcached/verbosity.cc \
149 libmemcached/version.cc \
150 libmemcached/virtual_bucket.c
151
152 libmemcached/options.cc: libmemcached/csl/parser.h
153
154
155 libmemcached_libmemcached_la_DEPENDENCIES=
156 libmemcached_libmemcached_la_LIBADD= $(LIBM)
157 libmemcached_libmemcached_la_LDFLAGS= ${AM_LDFLAGS} -version-info ${MEMCACHED_LIBRARY_VERSION}
158
159 if HAVE_SASL
160 libmemcached_libmemcached_la_LDFLAGS+= $(LTLIBSASL) $(LTLIBSASL2)
161 libmemcached_libmemcached_la_SOURCES += libmemcached/sasl.c
162 endif
163
164 if HAVE_DTRACE
165 BUILT_SOURCES+= libmemcached/dtrace_probes.h
166 CLEANFILES+= libmemcached/dtrace_probes.h
167 endif
168
169 if DTRACE_NEEDS_OBJECTS
170 libmemcached_libmemcached_la_SOURCES += libmemcached/libmemcached_probes.d
171 libmemcached_libmemcached_la_DEPENDENCIES += libmemcached/libmemcached_probes.o
172 libmemcached_libmemcached_la_LIBADD += libmemcached/libmemcached_probes.o
173 CLEANFILES+= libmemcached/libmemcached_probes.o
174 endif
175
176 SUFFIXES+= .d
177
178 libmemcached/dtrace_probes.h: libmemcached/libmemcached_probes.d
179 $(DTRACE) $(DTRACEFLAGS) -h -o libmemcached/dtrace_probes.h -s ${top_srcdir}/libmemcached/libmemcached_probes.d
180
181 libmemcached/libmemcached_probes.o: libmemcached/libmemcached_probes.d ${libmemcached_libmemcached_la_OBJECTS} config.h
182
183 .d.o:
184 $(DTRACE) $(DTRACEFLAGS) -o $@ -G -s $< `grep '^pic_object' ${top_builddir}/libmemcached/*.lo | cut -f 2 -d\' | sed "s/^/${top_builddir}\/libmemcached\//"`
185