Sort an option to the correct location.
[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/continuum.hpp \
20 libmemcached/do.hpp \
21 libmemcached/error.hpp \
22 libmemcached/initialize_query.h \
23 libmemcached/internal.h \
24 libmemcached/io.h \
25 libmemcached/io.hpp \
26 libmemcached/is.h \
27 libmemcached/libmemcached_probes.h \
28 libmemcached/memory.h \
29 libmemcached/options.hpp \
30 libmemcached/protocol/ascii_handler.h \
31 libmemcached/protocol/binary_handler.h \
32 libmemcached/protocol/common.h \
33 libmemcached/response.h \
34 libmemcached/server_instance.h \
35 libmemcached/string.hpp \
36 libmemcached/virtual_bucket.h
37
38 nobase_include_HEADERS+= \
39 libmemcached/allocators.h \
40 libmemcached/analyze.h \
41 libmemcached/array.h \
42 libmemcached/auto.h \
43 libmemcached/basic_string.h \
44 libmemcached/behavior.h \
45 libmemcached/callback.h \
46 libmemcached/configure.h \
47 libmemcached/constants.h \
48 libmemcached/delete.h \
49 libmemcached/dump.h \
50 libmemcached/error.h \
51 libmemcached/exception.hpp \
52 libmemcached/fetch.h \
53 libmemcached/flush.h \
54 libmemcached/flush_buffers.h \
55 libmemcached/get.h \
56 libmemcached/hash.h \
57 libmemcached/memcached.h \
58 libmemcached/memcached.hpp \
59 libmemcached/memcached/protocol_binary.h \
60 libmemcached/memcached/vbucket.h \
61 libmemcached/options.h \
62 libmemcached/parse.h \
63 libmemcached/namespace.h \
64 libmemcached/protocol/cache.h \
65 libmemcached/protocol/callback.h \
66 libmemcached/protocol_handler.h \
67 libmemcached/quit.h \
68 libmemcached/return.h \
69 libmemcached/platform.h \
70 libmemcached/result.h \
71 libmemcached/sasl.h \
72 libmemcached/server.h \
73 libmemcached/server_list.h \
74 libmemcached/stats.h \
75 libmemcached/storage.h \
76 libmemcached/strerror.h \
77 libmemcached/string.h \
78 libmemcached/types.h \
79 libmemcached/verbosity.h \
80 libmemcached/version.h \
81 libmemcached/visibility.h \
82 libmemcached/watchpoint.h
83
84 lib_LTLIBRARIES+= libmemcached/libmemcached.la
85 libmemcached_libmemcached_la_CFLAGS= \
86 ${AM_CFLAGS} \
87 ${NO_CONVERSION} \
88 -DBUILDING_LIBMEMCACHED
89
90 libmemcached_libmemcached_la_CXXFLAGS= \
91 ${AM_CXXFLAGS} \
92 ${NO_CONVERSION} \
93 -DBUILDING_LIBMEMCACHED
94
95 libmemcached_libmemcached_la_SOURCES+= \
96 ${libhashkit_libhashkit_la_SOURCES} \
97 libmemcached/allocators.cc \
98 libmemcached/analyze.cc \
99 libmemcached/array.c \
100 libmemcached/auto.cc \
101 libmemcached/backtrace.cc \
102 libmemcached/behavior.cc \
103 libmemcached/byteorder.cc \
104 libmemcached/callback.cc \
105 libmemcached/connect.cc \
106 libmemcached/delete.cc \
107 libmemcached/do.cc \
108 libmemcached/dump.cc \
109 libmemcached/error.cc \
110 libmemcached/fetch.cc \
111 libmemcached/flush.cc \
112 libmemcached/flush_buffers.cc \
113 libmemcached/get.cc \
114 libmemcached/hash.cc \
115 libmemcached/hosts.cc \
116 libmemcached/initialize_query.cc \
117 libmemcached/io.cc \
118 libmemcached/key.cc \
119 libmemcached/memcached.cc \
120 libmemcached/options.cc \
121 libmemcached/parse.cc \
122 libmemcached/namespace.cc \
123 libmemcached/purge.cc \
124 libmemcached/quit.cc \
125 libmemcached/response.cc \
126 libmemcached/result.cc \
127 libmemcached/server.cc \
128 libmemcached/server_list.cc \
129 libmemcached/stats.cc \
130 libmemcached/storage.cc \
131 libmemcached/strerror.cc \
132 libmemcached/string.cc \
133 libmemcached/verbosity.cc \
134 libmemcached/version.cc \
135 libmemcached/virtual_bucket.c
136
137 libmemcached/options.cc: libmemcached/csl/parser.h
138
139
140 libmemcached_libmemcached_la_DEPENDENCIES=
141 libmemcached_libmemcached_la_LIBADD= $(LIBM)
142 libmemcached_libmemcached_la_LDFLAGS+= ${AM_LDFLAGS} -version-info ${MEMCACHED_LIBRARY_VERSION}
143
144 if HAVE_SASL
145 libmemcached_libmemcached_la_LDFLAGS+= $(LTLIBSASL) $(LTLIBSASL2)
146 libmemcached_libmemcached_la_SOURCES += libmemcached/sasl.c
147 endif
148
149 if HAVE_DTRACE
150 BUILT_SOURCES+= libmemcached/dtrace_probes.h
151 CLEANFILES+= libmemcached/dtrace_probes.h
152 CLEANFILES+= libmemcached/libmemcached_probes.o
153
154 libmemcached_libmemcached_la_DEPENDENCIES += libmemcached/libmemcached_probes.o
155 libmemcached_libmemcached_la_LIBADD += libmemcached/libmemcached_probes.o
156 libmemcached_libmemcached_la_SOURCES += libmemcached/libmemcached_probes.d
157 endif
158
159 SUFFIXES+= .d
160
161 libmemcached/dtrace_probes.h: libmemcached/libmemcached_probes.d
162 $(DTRACE) $(DTRACEFLAGS) -h -o ${top_srcdir}/libmemcached/dtrace_probes.h -s ${top_srcdir}/libmemcached/libmemcached_probes.d
163
164 libmemcached/libmemcached_probes.o: libmemcached/libmemcached_probes.d ${libmemcached_libmemcached_la_OBJECTS} config.h
165
166 .d.o:
167 $(DTRACE) $(DTRACEFLAGS) -o $@ -G -s libmemcached/libmemcached_probes.d