05082b16004cfeca1342ede8335cd1f271c5872d
[m6w6/libmemcached] / clients / Makefile.am
1 LDADDS = $(top_builddir)/libmemcached/libmemcached.la
2
3 bin_PROGRAMS = memcat memcp memstat memrm memflush memslap memerror
4
5 noinst_HEADERS = client_options.h \
6 utilities.h \
7 generator.h \
8 execute.h
9
10 memcat_SOURCES = memcat.c utilities.c
11 memcat_LDADD = $(LDADDS)
12 memcat_LDFLAGS = -rpath $(pkglibdir)
13
14 memcp_SOURCES = memcp.c utilities.c
15 memcp_LDADD = $(LDADDS)
16 memcp_LDFLAGS = -rpath $(pkglibdir)
17
18 memstat_SOURCES = memstat.c utilities.c
19 memstat_LDADD = $(LDADDS)
20 memstat_LDFLAGS = -rpath $(pkglibdir)
21
22 memrm_SOURCES = memrm.c utilities.c
23 memrm_LDADD = $(LDADDS)
24 memrm_LDFLAGS = -rpath $(pkglibdir)
25
26 memflush_SOURCES = memflush.c utilities.c
27 memflush_LDADD = $(LDADDS)
28 memflush_LDFLAGS = -rpath $(pkglibdir)
29
30 memerror_SOURCES = memerror.c utilities.c
31 memerror_LDADD = $(LDADDS)
32 memerror_LDFLAGS = -rpath $(pkglibdir)
33
34 memslap_SOURCES = memslap.c utilities.c generator.c execute.c
35 memslap_LDADD = $(LDADDS) -lpthread
36 memslap_LDFLAGS = -rpath $(pkglibdir)
37
38 test-start-server:
39 memflush --servers=localhost
40 memcp --servers=localhost /etc/services
41 memcat --servers=localhost /etc/services
42 memrm --servers=localhost /etc/services
43 memstat --servers=localhost
44 memslap --servers=localhost
45 memslap --servers=localhost --concurrency=10
46 memslap --servers=localhost --concurrency=10 --initial-load=1000
47 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
48 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
49 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
50 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
51
52 valgrind:
53 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
54 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
55 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
56 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
57 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
58 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
59 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking