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