Fix IO call to use bool.
[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 EXTRA_DIST+= \
6 libmemcached/configure.h.in \
7 libmemcached/libmemcached_probes.d \
8 libmemcached/memcached/README.txt
9
10 noinst_HEADERS+= \
11 libmemcached/byteorder.h \
12 libmemcached/common.h \
13 libmemcached/internal.h \
14 libmemcached/io.h \
15 libmemcached/libmemcached_probes.h \
16 libmemcached/protocol/ascii_handler.h \
17 libmemcached/protocol/binary_handler.h \
18 libmemcached/protocol/common.h \
19 libmemcached/response.h
20
21 nobase_include_HEADERS+= \
22 libmemcached/allocators.h \
23 libmemcached/analyze.h \
24 libmemcached/auto.h \
25 libmemcached/behavior.h \
26 libmemcached/callback.h \
27 libmemcached/configure.h \
28 libmemcached/constants.h \
29 libmemcached/delete.h \
30 libmemcached/dump.h \
31 libmemcached/exception.hpp \
32 libmemcached/fetch.h \
33 libmemcached/flush.h \
34 libmemcached/flush_buffers.h \
35 libmemcached/get.h \
36 libmemcached/hash.h \
37 libmemcached/memcached.h \
38 libmemcached/memcached.hpp \
39 libmemcached/memcached/protocol_binary.h \
40 libmemcached/parse.h \
41 libmemcached/protocol/cache.h \
42 libmemcached/protocol/callback.h \
43 libmemcached/protocol_handler.h \
44 libmemcached/quit.h \
45 libmemcached/result.h \
46 libmemcached/server.h \
47 libmemcached/stats.h \
48 libmemcached/storage.h \
49 libmemcached/strerror.h \
50 libmemcached/string.h \
51 libmemcached/types.h \
52 libmemcached/verbosity.h \
53 libmemcached/version.h \
54 libmemcached/visibility.h \
55 libmemcached/watchpoint.h
56
57 lib_LTLIBRARIES+= libmemcached/libmemcachedprotocol.la
58 libmemcached_libmemcachedprotocol_la_SOURCES = \
59 libmemcached/protocol/ascii_handler.c \
60 libmemcached/protocol/binary_handler.c \
61 libmemcached/protocol/cache.c \
62 libmemcached/protocol/pedantic.c \
63 libmemcached/protocol/protocol_handler.c
64
65 libmemcached_libmemcachedprotocol_la_LDFLAGS= ${AM_LDFLAGS} -version-info 0:0:0
66
67 noinst_LTLIBRARIES+= \
68 libmemcached/libmemcachedcallbacks.la
69
70 libmemcached_libmemcachedcallbacks_la_CFLAGS = ${AM_CFLAGS} ${NO_STRICT_ALIASING}
71 libmemcached_libmemcachedcallbacks_la_SOURCES = libmemcached/callback.c
72
73 # This noinst lib contains things we want to be ABI private but still want to
74 # either use in client programs or be able to test in test cases
75 # These symbols will not be exposed in the shipped .so
76 noinst_LTLIBRARIES+= \
77 libmemcached/libmemcachedinternal.la
78 libmemcached_libmemcachedinternal_la_SOURCES = libmemcached/string.c
79
80 lib_LTLIBRARIES+= libmemcached/libmemcached.la
81 libmemcached_libmemcached_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION}
82 libmemcached_libmemcached_la_SOURCES = \
83 libmemcached/allocators.c \
84 libmemcached/analyze.c \
85 libmemcached/auto.c \
86 libmemcached/behavior.c \
87 libmemcached/connect.c \
88 libmemcached/delete.c \
89 libmemcached/do.c \
90 libmemcached/dump.c \
91 libmemcached/fetch.c \
92 libmemcached/flush.c \
93 libmemcached/flush_buffers.c \
94 libmemcached/get.c \
95 libmemcached/hash.c \
96 libmemcached/hosts.c \
97 libmemcached/io.c \
98 libmemcached/key.c \
99 libmemcached/memcached.c \
100 libmemcached/parse.c \
101 libmemcached/purge.c \
102 libmemcached/quit.c \
103 libmemcached/response.c \
104 libmemcached/result.c \
105 libmemcached/server.c \
106 libmemcached/stats.c \
107 libmemcached/storage.c \
108 libmemcached/strerror.c \
109 libmemcached/verbosity.c \
110 libmemcached/version.c
111
112
113 libmemcached_libmemcached_la_DEPENDENCIES= libmemcached/libmemcachedcallbacks.la libmemcached/libmemcachedinternal.la libhashkit/libhashkitinc.la
114 libmemcached_libmemcached_la_LIBADD= $(LIBM) libmemcached/libmemcachedcallbacks.la libmemcached/libmemcachedinternal.la libhashkit/libhashkitinc.la
115 libmemcached_libmemcached_la_LDFLAGS= ${AM_LDFLAGS} -version-info ${MEMCACHED_LIBRARY_VERSION}
116
117 if BUILD_LIBMEMCACHEDUTIL
118 nobase_include_HEADERS+= \
119 libmemcached/memcached_util.h \
120 libmemcached/util/pool.h
121 lib_LTLIBRARIES+= libmemcached/libmemcachedutil.la
122 endif
123
124 libmemcached_libmemcachedutil_la_SOURCES= libmemcached/util/pool.c
125 libmemcached_libmemcachedutil_la_LIBADD= libmemcached/libmemcached.la
126 libmemcached_libmemcachedutil_la_LDFLAGS= ${AM_LDFLAGS} -version-info 0:0:0
127 libmemcached_libmemcachedutil_la_DEPENDENCIES= libmemcached/libmemcached.la
128
129 if BUILD_BYTEORDER
130 noinst_LTLIBRARIES += libmemcached/libbyteorder.la
131 libmemcached_libbyteorder_la_SOURCES= libmemcached/byteorder.c
132 libmemcached_libmemcached_la_LIBADD += libmemcached/libbyteorder.la
133 libmemcached_libmemcached_la_DEPENDENCIES+= libmemcached/libbyteorder.la
134 libmemcached_libmemcachedprotocol_la_LIBADD=libmemcached/libbyteorder.la
135 libmemcached_libmemcachedprotocol_la_DEPENDENCIES=libmemcached/libbyteorder.la
136 endif
137
138 if HAVE_DTRACE
139 BUILT_SOURCES+= libmemcached/dtrace_probes.h
140 libmemcached_libmemcached_la_SOURCES += libmemcached/libmemcached_probes.d
141 endif
142
143 if DTRACE_NEEDS_OBJECTS
144 libmemcached_libmemcached_la_DEPENDENCIES += libmemcached/libmemcached_probes.o
145 endif
146
147 SUFFIXES+= .d
148
149 libmemcached/dtrace_probes.h: libmemcached/libmemcached_probes.d
150 $(DTRACE) $(DTRACEFLAGS) -h -o libmemcached/dtrace_probes.h -s libmemcached/libmemcached_probes.d
151
152 libmemcached/libmemcached_probes.o: libmemcached/libmemcached_probes.d $(libmemcached_libmemcached_la_OBJECTS)
153 $(DTRACE) $(DTRACEFLAGS) -o libmemcached/.libs/libmemcached_probes.o -G -s libmemcached/libmemcached_probes.d `grep '^pic_object' *.lo | cut -f 2 -d\'`
154 $(DTRACE) $(DTRACEFLAGS) -o libmemcached/libmemcached_probes.o -G -s libmemcached/libmemcached_probes.d `grep non_pic_object *.lo | cut -f 2 -d\' `
155