Updating for 1.0.2 release
[awesomized/libmemcached] / clients / 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 CLIENTS_LDADDS= \
6 clients/libutilities.la \
7 libmemcached/libmemcached.la
8
9 if HAVE_SASL
10 CLIENTS_LDADDS+= $(LIBSASL)
11 endif
12
13 bin_PROGRAMS+= \
14 clients/memcapable \
15 clients/memcat \
16 clients/memcp \
17 clients/memdump \
18 clients/memerror \
19 clients/memexist \
20 clients/memtouch \
21 clients/memflush \
22 clients/memparse \
23 clients/memping \
24 clients/memrm \
25 clients/memslap \
26 clients/memstat
27
28 if BUILD_MEMASLAP
29 if HAVE_LIBEVENT
30 if !BUILD_WIN32_WRAPPERS
31 bin_PROGRAMS+= clients/memaslap
32 endif
33 endif
34 endif
35
36 noinst_HEADERS+= \
37 clients/client_options.h \
38 clients/execute.h \
39 clients/generator.h \
40 clients/ms_atomic.h \
41 clients/ms_conn.h \
42 clients/ms_memslap.h \
43 clients/ms_setting.h \
44 clients/ms_sigsegv.h \
45 clients/ms_stats.h \
46 clients/ms_task.h \
47 clients/ms_thread.h \
48 clients/utilities.h
49
50 noinst_LTLIBRARIES+= clients/libutilities.la
51 clients_libutilities_la_SOURCES= clients/utilities.cc
52
53 clients_memcat_SOURCES= clients/memcat.cc
54 clients_memcat_LDADD= $(CLIENTS_LDADDS)
55
56 clients_memparse_SOURCES= clients/memparse.cc
57 clients_memparse_LDADD= $(CLIENTS_LDADDS)
58
59 clients_memcp_SOURCES= clients/memcp.cc
60 clients_memcp_LDADD= $(CLIENTS_LDADDS)
61
62 clients_memdump_SOURCES= clients/memdump.cc
63 clients_memdump_LDADD= $(CLIENTS_LDADDS)
64
65 clients_memstat_SOURCES= clients/memstat.cc
66 clients_memstat_LDADD= $(CLIENTS_LDADDS)
67
68 clients_memrm_SOURCES= clients/memrm.cc
69 clients_memrm_LDADD= $(CLIENTS_LDADDS)
70
71 clients_memexist_SOURCES= clients/memexist.cc
72 clients_memexist_LDADD= $(CLIENTS_LDADDS)
73
74 clients_memtouch_SOURCES= clients/memtouch.cc
75 clients_memtouch_LDADD= $(CLIENTS_LDADDS)
76
77 clients_memflush_SOURCES= clients/memflush.cc
78 clients_memflush_LDADD= $(CLIENTS_LDADDS)
79
80 clients_memping_SOURCES= clients/memping.cc
81 clients_memping_LDADD= $(CLIENTS_LDADDS) libmemcached/libmemcachedutil.la
82
83 clients_memerror_SOURCES= clients/memerror.cc
84 clients_memerror_LDADD= $(CLIENTS_LDADDS)
85
86 clients_memslap_SOURCES = clients/memslap.cc
87 clients_memslap_SOURCES+= clients/generator.cc clients/execute.cc
88 clients_memslap_CXXFLAGS = ${PTHREAD_CFLAGS}
89 clients_memslap_LDADD= $(CLIENTS_LDADDS)
90 clients_memslap_LDADD+= $(PTHREAD_LIBS)
91
92 clients_memaslap_SOURCES= \
93 clients/memaslap.c \
94 clients/ms_conn.c \
95 clients/ms_setting.c \
96 clients/ms_sigsegv.c \
97 clients/ms_stats.c \
98 clients/ms_task.c \
99 clients/ms_thread.c
100 clients_memaslap_SOURCES+= clients/generator.cc clients/execute.cc
101 clients_memaslap_LDADD= $(LTLIBEVENT) $(CLIENTS_LDADDS)
102
103 clients_memcapable_SOURCES= \
104 clients/memcapable.cc \
105 libmemcached/byteorder.cc
106 clients_memcapable_LDADD= $(CLIENTS_LDADDS)
107
108 test-start-server:
109 clients/memflush --servers=localhost
110 clients/memcp --servers=localhost /etc/services
111 clients/memcat --servers=localhost /etc/services
112 clients/memrm --servers=localhost /etc/services
113 clients/memstat --servers=localhost
114 clients/memslap --servers=localhost
115 clients/memslap --servers=localhost --concurrency=10
116 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000
117 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
118 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
119 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
120 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
121
122 client-valgrind:
123 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost
124 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10
125 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000
126 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
127 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
128 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
129 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking