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