Fix from Trond for deprecation
[m6w6/libmemcached] / clients / Makefile.am
1 LDADDS = $(top_builddir)/libmemcached/libmemcached.la
2
3 bin_PROGRAMS = memcat memdump 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 memdump_SOURCES = memdump.c utilities.c
19 memdump_LDADD = $(LDADDS)
20 memdump_LDFLAGS = -rpath $(pkglibdir)
21
22 memstat_SOURCES = memstat.c utilities.c
23 memstat_LDADD = $(LDADDS)
24 memstat_LDFLAGS = -rpath $(pkglibdir)
25
26 memrm_SOURCES = memrm.c utilities.c
27 memrm_LDADD = $(LDADDS)
28 memrm_LDFLAGS = -rpath $(pkglibdir)
29
30 memflush_SOURCES = memflush.c utilities.c
31 memflush_LDADD = $(LDADDS)
32 memflush_LDFLAGS = -rpath $(pkglibdir)
33
34 memerror_SOURCES = memerror.c utilities.c
35 memerror_LDADD = $(LDADDS)
36 memerror_LDFLAGS = -rpath $(pkglibdir)
37
38 memslap_SOURCES = memslap.c utilities.c generator.c execute.c
39 memslap_LDADD = $(LDADDS) -lpthread
40 memslap_LDFLAGS = -rpath $(pkglibdir)
41
42 test-start-server:
43 memflush --servers=localhost
44 memcp --servers=localhost /etc/services
45 memcat --servers=localhost /etc/services
46 memrm --servers=localhost /etc/services
47 memstat --servers=localhost
48 memslap --servers=localhost
49 memslap --servers=localhost --concurrency=10
50 memslap --servers=localhost --concurrency=10 --initial-load=1000
51 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
52 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
53 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
54 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
55
56 valgrind:
57 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
58 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
59 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
60 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
61 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
62 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
63 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