Temp save for Monty.
[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 bin_PROGRAMS+= \
10 clients/memcapable \
11 clients/memcat \
12 clients/memcp \
13 clients/memdump \
14 clients/memerror \
15 clients/memflush \
16 clients/memrm \
17 clients/memstat
18
19 if HAVE_LIBEVENT
20 bin_PROGRAMS+= clients/memslap
21 endif
22
23 noinst_HEADERS+= \
24 clients/client_options.h \
25 clients/execute.h \
26 clients/generator.h \
27 clients/ms_atomic.h \
28 clients/ms_conn.h \
29 clients/ms_memslap.h \
30 clients/ms_setting.h \
31 clients/ms_sigsegv.h \
32 clients/ms_stats.h \
33 clients/ms_task.h \
34 clients/ms_thread.h \
35 clients/utilities.h
36
37 noinst_LTLIBRARIES+= clients/libutilities.la
38 clients_libutilities_la_SOURCES= clients/utilities.c
39
40 noinst_LTLIBRARIES+= clients/libgenexec.la
41 clients_libgenexec_la_SOURCES= clients/generator.c clients/execute.c
42
43 clients_memcat_SOURCES= clients/memcat.c
44 clients_memcat_LDADD= $(CLIENTS_LDADDS)
45
46 clients_memcp_SOURCES= clients/memcp.c
47 clients_memcp_LDADD= $(CLIENTS_LDADDS)
48
49 clients_memdump_SOURCES= clients/memdump.c
50 clients_memdump_LDADD= $(CLIENTS_LDADDS)
51
52 clients_memstat_SOURCES= clients/memstat.c
53 clients_memstat_LDADD= $(CLIENTS_LDADDS)
54
55 clients_memrm_SOURCES= clients/memrm.c
56 clients_memrm_LDADD= $(CLIENTS_LDADDS)
57
58 clients_memflush_SOURCES= clients/memflush.c
59 clients_memflush_LDADD= $(CLIENTS_LDADDS)
60
61 clients_memerror_SOURCES= clients/memerror.c
62 clients_memerror_LDADD= $(CLIENTS_LDADDS)
63
64 clients_memslap_SOURCES= \
65 clients/memslap.c \
66 clients/ms_conn.c \
67 clients/ms_setting.c \
68 clients/ms_sigsegv.c \
69 clients/ms_stats.c \
70 clients/ms_task.c \
71 clients/ms_thread.c
72 clients_memslap_LDADD= $(LTLIBEVENT) clients/libgenexec.la $(CLIENTS_LDADDS)
73
74 clients_memcapable_SOURCES= clients/memcapable.c
75 if BUILD_BYTEORDER
76 clients_memcapable_LDADD= libmemcached/libbyteorder.la
77 endif
78
79 test-start-server:
80 clients/memflush --servers=localhost
81 clients/memcp --servers=localhost /etc/services
82 clients/memcat --servers=localhost /etc/services
83 clients/memrm --servers=localhost /etc/services
84 clients/memstat --servers=localhost
85 clients/memslap --servers=localhost
86 clients/memslap --servers=localhost --concurrency=10
87 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000
88 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
89 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
90 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
91 clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
92
93 client-valgrind:
94 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost
95 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10
96 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000
97 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
98 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
99 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes clients/memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
100 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