pandora-build v0.46 - fixed a plugin system problem when it's not in use.
[awesomized/libmemcached] / clients / Makefile.am
1 LDADDS = $(top_builddir)/libmemcached/libmemcached.la libutilities.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 memcat_LDFLAGS = -rpath $(pkglibdir)
18
19 memcp_SOURCES = memcp.c
20 memcp_LDADD = $(LDADDS)
21 memcp_LDFLAGS = -rpath $(pkglibdir)
22
23 memdump_SOURCES = memdump.c
24 memdump_LDADD = $(LDADDS)
25 memdump_LDFLAGS = -rpath $(pkglibdir)
26
27 memstat_SOURCES = memstat.c
28 memstat_LDADD = $(LDADDS)
29 memstat_LDFLAGS = -rpath $(pkglibdir)
30
31 memrm_SOURCES = memrm.c
32 memrm_LDADD = $(LDADDS)
33 memrm_LDFLAGS = -rpath $(pkglibdir)
34
35 memflush_SOURCES = memflush.c
36 memflush_LDADD = $(LDADDS)
37 memflush_LDFLAGS = -rpath $(pkglibdir)
38
39 memerror_SOURCES = memerror.c
40 memerror_LDADD = $(LDADDS)
41 memerror_LDFLAGS = -rpath $(pkglibdir)
42
43 memslap_SOURCES = memslap.c
44 memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
45 memslap_LDADD = $(LDADDS) $(PTHREAD_LIBS) libgenexec.la
46 memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir)
47
48 test-start-server:
49 memflush --servers=localhost
50 memcp --servers=localhost /etc/services
51 memcat --servers=localhost /etc/services
52 memrm --servers=localhost /etc/services
53 memstat --servers=localhost
54 memslap --servers=localhost
55 memslap --servers=localhost --concurrency=10
56 memslap --servers=localhost --concurrency=10 --initial-load=1000
57 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
58 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
59 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
60 memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
61
62 valgrind:
63 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
64 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
65 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
66 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
67 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
68 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
69 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