Update pandora
[awesomized/libmemcached] / clients / Makefile.am
1 LDADDS = libutilities.la $(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 noinst_LTLIBRARIES= libutilities.la libgenexec.la
11
12 libutilities_la_SOURCES= utilities.c
13 libgenexec_la_SOURCES= generator.c execute.c
14
15 memcat_SOURCES = memcat.c
16 memcat_LDADD = $(LDADDS)
17
18 memcp_SOURCES = memcp.c
19 memcp_LDADD = $(LDADDS)
20
21 memdump_SOURCES = memdump.c
22 memdump_LDADD = $(LDADDS)
23
24 memstat_SOURCES = memstat.c
25 memstat_LDADD = $(LDADDS)
26
27 memrm_SOURCES = memrm.c
28 memrm_LDADD = $(LDADDS)
29
30 memflush_SOURCES = memflush.c
31 memflush_LDADD = $(LDADDS)
32
33 memerror_SOURCES = memerror.c
34 memerror_LDADD = $(LDADDS)
35
36 memslap_SOURCES = memslap.c
37 memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
38 memslap_LDADD = $(PTHREAD_LIBS) libgenexec.la $(LDADDS)
39
40 test-start-server:
41 memflush --servers=localhost
42 memcp --servers=localhost /etc/services
43 memcat --servers=localhost /etc/services
44 memrm --servers=localhost /etc/services
45 memstat --servers=localhost
46 memslap --servers=localhost
47 memslap --servers=localhost --concurrency=10
48 memslap --servers=localhost --concurrency=10 --initial-load=1000
49 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
50 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
51 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
52 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
53
54 valgrind:
55 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
56 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
57 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
58 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
59 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
60 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
61 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