32c99bbdcbce5d7070632bd734ebba8a16bbd69a
[awesomized/libmemcached] / tests / libmemcached-1.0 / include.am
1 # vim:ft=automake
2 # Copyright (C) 2011 Data Differential
3 # All rights reserved.
4 #
5 # Use and distribution licensed under the BSD license. See
6 # the COPYING file in the parent directory for full text.
7 #
8 # included from Top Level Makefile.am
9 # All paths should be given relative to the root
10
11 noinst_HEADERS+= \
12 tests/basic.h \
13 tests/callbacks.h \
14 tests/debug.h \
15 tests/deprecated.h \
16 tests/error_conditions.h \
17 tests/exist.h \
18 tests/ketama.h \
19 tests/ketama_test_cases.h \
20 tests/ketama_test_cases_spy.h \
21 tests/libmemcached-1.0/callback_counter.h \
22 tests/libmemcached-1.0/dump.h \
23 tests/libmemcached-1.0/fetch_all_results.h \
24 tests/libmemcached-1.0/generate.h \
25 tests/libmemcached-1.0/haldenbrand.h \
26 tests/libmemcached-1.0/servers_to_create.h \
27 tests/libmemcached-1.0/stat.h \
28 tests/namespace.h \
29 tests/parser.h \
30 tests/pool.h \
31 tests/print.h \
32 tests/replication.h \
33 tests/server_add.h \
34 tests/string.h \
35 tests/touch.h \
36 tests/virtual_buckets.h
37
38 # Test internals
39 tests_libmemcached_1_0_internals_SOURCES= tests/libmemcached-1.0/internals.cc
40 tests_libmemcached_1_0_internals_SOURCES+= tests/libmemcached-1.0/string.cc
41 tests_libmemcached_1_0_internals_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
42 tests_libmemcached_1_0_internals_DEPENDENCIES= libmemcachedinternal/libmemcachedinternal.la libtest/libtest.la libmemcachedinternal/libmemcachedutilinternal.la
43 tests_libmemcached_1_0_internals_LDADD= libmemcachedinternal/libmemcachedinternal.la
44 tests_libmemcached_1_0_internals_LDADD+= ${PTHREAD_LIBS}
45 tests_libmemcached_1_0_internals_LDADD+= libmemcachedinternal/libmemcachedutilinternal.la
46 tests_libmemcached_1_0_internals_LDADD+= libtest/libtest.la
47 check_PROGRAMS+= tests/libmemcached-1.0/internals
48 noinst_PROGRAMS+= tests/libmemcached-1.0/internals
49
50
51 tests_libmemcached_1_0_testapp_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
52 tests_libmemcached_1_0_testapp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
53 tests_libmemcached_1_0_testapp_SOURCES= \
54 tests/libmemcached-1.0/pool.cc \
55 tests/libmemcached-1.0/print.cc \
56 tests/libmemcached-1.0/replication.cc \
57 tests/libmemcached-1.0/callback_counter.cc \
58 tests/libmemcached-1.0/fetch_all_results.cc \
59 tests/libmemcached-1.0/generate.cc \
60 tests/libmemcached-1.0/basic.cc \
61 tests/libmemcached-1.0/callbacks.cc \
62 tests/libmemcached-1.0/debug.cc \
63 tests/libmemcached-1.0/haldenbrand.cc \
64 tests/libmemcached-1.0/deprecated.cc \
65 tests/libmemcached-1.0/dump.cc \
66 tests/libmemcached-1.0/error_conditions.cc \
67 tests/libmemcached-1.0/exist.cc \
68 tests/libmemcached-1.0/ketama.cc \
69 tests/libmemcached-1.0/mem_functions.cc \
70 tests/libmemcached-1.0/namespace.cc \
71 tests/libmemcached-1.0/parser.cc \
72 tests/libmemcached-1.0/server_add.cc \
73 tests/libmemcached-1.0/stat.cc \
74 tests/libmemcached-1.0/touch.cc \
75 tests/libmemcached-1.0/virtual_buckets.cc
76
77 tests_libmemcached_1_0_testapp_SOURCES+= clients/generator.cc clients/execute.cc
78 tests_libmemcached_1_0_testapp_DEPENDENCIES= \
79 libmemcached/libmemcached.la \
80 libtest/libtest.la \
81 libhashkit/libhashkit.la \
82 libmemcached/libmemcachedutil.la
83
84 tests_libmemcached_1_0_testapp_LDADD= \
85 $(LIBUUID_LDFLAGS) \
86 ${PTHREAD_LIBS} \
87 libmemcached/libmemcached.la \
88 libmemcached/libmemcachedutil.la \
89 libtest/libtest.la \
90 libhashkit/libhashkit.la
91
92 check_PROGRAMS+= tests/libmemcached-1.0/testapp
93 noinst_PROGRAMS+= tests/libmemcached-1.0/testapp
94
95 tests_libmemcached_1_0_sasl_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
96 tests_libmemcached_1_0_sasl_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
97 tests_libmemcached_1_0_sasl_SOURCES= \
98 tests/libmemcached-1.0/basic.cc \
99 tests/libmemcached-1.0/debug.cc \
100 tests/libmemcached-1.0/deprecated.cc \
101 tests/libmemcached-1.0/error_conditions.cc \
102 tests/libmemcached-1.0/ketama.cc \
103 tests/libmemcached-1.0/namespace.cc \
104 tests/libmemcached-1.0/parser.cc \
105 tests/libmemcached-1.0/pool.cc \
106 tests/libmemcached-1.0/print.cc \
107 tests/libmemcached-1.0/replication.cc \
108 tests/libmemcached-1.0/sasl.cc \
109 tests/libmemcached-1.0/virtual_buckets.cc
110 tests_libmemcached_1_0_sasl_SOURCES+= clients/generator.cc clients/execute.cc
111 tests_libmemcached_1_0_sasl_DEPENDENCIES= \
112 libmemcached/libmemcached.la \
113 libtest/libtest.la
114 tests_libmemcached_1_0_sasl_LDADD= \
115 ${PTHREAD_LIBS} \
116 libmemcached/libmemcached.la \
117 libmemcached/libmemcachedutil.la \
118 libtest/libtest.la \
119 libhashkit/libhashkit.la
120 check_PROGRAMS+= tests/libmemcached-1.0/sasl
121 noinst_PROGRAMS+= tests/libmemcached-1.0/sasl
122
123 tests_atomsmasher_SOURCES= \
124 tests/libmemcached-1.0/atomsmasher.cc \
125 tests/libmemcached-1.0/debug.cc \
126 tests/libmemcached-1.0/print.cc \
127 clients/generator.cc \
128 clients/execute.cc
129 tests_atomsmasher_DEPENDENCIES= $(TESTS_LDADDS)
130 tests_atomsmasher_LDADD= $(tests_atomsmasher_DEPENDENCIES)
131 noinst_PROGRAMS+= tests/atomsmasher
132
133 tests_testudp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
134 tests_testudp_SOURCES= tests/mem_udp.cc
135 tests_testudp_DEPENDENCIES= $(TESTS_LDADDS)
136 tests_testudp_LDADD= $(tests_testudp_DEPENDENCIES)
137 check_PROGRAMS+= tests/testudp
138 noinst_PROGRAMS+= tests/testudp
139
140 test-udp: tests/testudp
141 @tests/testudp
142
143 tests_testplus_SOURCES= tests/libmemcached-1.0/plus.cpp
144 tests_testplus_CXXFLAGS = $(AM_CXXFLAGS) $(NO_EFF_CXX)
145 tests_testplus_DEPENDENCIES= $(TESTS_LDADDS)
146 tests_testplus_LDADD= $(tests_testplus_DEPENDENCIES)
147 check_PROGRAMS+= tests/testplus
148 noinst_PROGRAMS+= tests/testplus