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