Merge build trunk.
[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/dump.h \
22 tests/libmemcached-1.0/stat.h \
23 tests/namespace.h \
24 tests/parser.h \
25 tests/pool.h \
26 tests/print.h \
27 tests/replication.h \
28 tests/server_add.h \
29 tests/string.h \
30 tests/touch.h \
31 tests/virtual_buckets.h
32
33 # Test internals
34 tests_libmemcached_1_0_internals_SOURCES= tests/libmemcached-1.0/internals.cc
35 tests_libmemcached_1_0_internals_SOURCES+= tests/libmemcached-1.0/string.cc
36 tests_libmemcached_1_0_internals_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
37 tests_libmemcached_1_0_internals_DEPENDENCIES= libmemcachedinternal/libmemcachedinternal.la libtest/libtest.la libmemcachedinternal/libmemcachedutilinternal.la
38 tests_libmemcached_1_0_internals_LDADD= libmemcachedinternal/libmemcachedinternal.la
39 tests_libmemcached_1_0_internals_LDADD+= ${PTHREAD_LIBS}
40 tests_libmemcached_1_0_internals_LDADD+= libmemcachedinternal/libmemcachedutilinternal.la
41 tests_libmemcached_1_0_internals_LDADD+= libtest/libtest.la
42 check_PROGRAMS+= tests/libmemcached-1.0/internals
43 noinst_PROGRAMS+= tests/libmemcached-1.0/internals
44
45
46 tests_libmemcached_1_0_testapp_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
47 tests_libmemcached_1_0_testapp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
48 tests_libmemcached_1_0_testapp_SOURCES= \
49 tests/libmemcached-1.0/pool.cc \
50 tests/libmemcached-1.0/print.cc \
51 tests/libmemcached-1.0/replication.cc \
52 tests/libmemcached-1.0/basic.cc \
53 tests/libmemcached-1.0/callbacks.cc \
54 tests/libmemcached-1.0/debug.cc \
55 tests/libmemcached-1.0/deprecated.cc \
56 tests/libmemcached-1.0/dump.cc \
57 tests/libmemcached-1.0/error_conditions.cc \
58 tests/libmemcached-1.0/exist.cc \
59 tests/libmemcached-1.0/ketama.cc \
60 tests/libmemcached-1.0/mem_functions.cc \
61 tests/libmemcached-1.0/namespace.cc \
62 tests/libmemcached-1.0/parser.cc \
63 tests/libmemcached-1.0/server_add.cc \
64 tests/libmemcached-1.0/stat.cc \
65 tests/libmemcached-1.0/touch.cc \
66 tests/libmemcached-1.0/virtual_buckets.cc
67
68 tests_libmemcached_1_0_testapp_SOURCES+= clients/generator.cc clients/execute.cc
69 tests_libmemcached_1_0_testapp_DEPENDENCIES= \
70 libmemcached/libmemcached.la \
71 libtest/libtest.la \
72 libhashkit/libhashkit.la \
73 libmemcached/libmemcachedutil.la
74
75 tests_libmemcached_1_0_testapp_LDADD= \
76 ${PTHREAD_LIBS} \
77 libmemcached/libmemcached.la \
78 libmemcached/libmemcachedutil.la \
79 libtest/libtest.la \
80 libhashkit/libhashkit.la
81
82 check_PROGRAMS+= tests/libmemcached-1.0/testapp
83 noinst_PROGRAMS+= tests/libmemcached-1.0/testapp
84
85 tests_libmemcached_1_0_sasl_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
86 tests_libmemcached_1_0_sasl_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
87 tests_libmemcached_1_0_sasl_SOURCES= \
88 tests/libmemcached-1.0/basic.cc \
89 tests/libmemcached-1.0/debug.cc \
90 tests/libmemcached-1.0/deprecated.cc \
91 tests/libmemcached-1.0/error_conditions.cc \
92 tests/libmemcached-1.0/ketama.cc \
93 tests/libmemcached-1.0/namespace.cc \
94 tests/libmemcached-1.0/parser.cc \
95 tests/libmemcached-1.0/pool.cc \
96 tests/libmemcached-1.0/print.cc \
97 tests/libmemcached-1.0/replication.cc \
98 tests/libmemcached-1.0/sasl.cc \
99 tests/libmemcached-1.0/virtual_buckets.cc
100 tests_libmemcached_1_0_sasl_SOURCES+= clients/generator.cc clients/execute.cc
101 tests_libmemcached_1_0_sasl_DEPENDENCIES= \
102 libmemcached/libmemcached.la \
103 libtest/libtest.la
104 tests_libmemcached_1_0_sasl_LDADD= \
105 ${PTHREAD_LIBS} \
106 libmemcached/libmemcached.la \
107 libmemcached/libmemcachedutil.la \
108 libtest/libtest.la \
109 libhashkit/libhashkit.la
110 check_PROGRAMS+= tests/libmemcached-1.0/sasl
111 noinst_PROGRAMS+= tests/libmemcached-1.0/sasl
112
113 tests_atomsmasher_SOURCES= \
114 tests/libmemcached-1.0/atomsmasher.cc \
115 tests/libmemcached-1.0/debug.cc \
116 tests/libmemcached-1.0/print.cc \
117 clients/generator.cc \
118 clients/execute.cc
119 tests_atomsmasher_DEPENDENCIES= $(TESTS_LDADDS)
120 tests_atomsmasher_LDADD= $(tests_atomsmasher_DEPENDENCIES)
121 noinst_PROGRAMS+= tests/atomsmasher
122
123 tests_testudp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
124 tests_testudp_SOURCES= tests/mem_udp.cc
125 tests_testudp_DEPENDENCIES= $(TESTS_LDADDS)
126 tests_testudp_LDADD= $(tests_testudp_DEPENDENCIES)
127 check_PROGRAMS+= tests/testudp
128 noinst_PROGRAMS+= tests/testudp
129
130 test-udp: tests/testudp
131 @tests/testudp
132
133 tests_testplus_SOURCES= tests/libmemcached-1.0/plus.cpp
134 tests_testplus_CXXFLAGS = $(AM_CXXFLAGS) $(NO_EFF_CXX)
135 tests_testplus_DEPENDENCIES= $(TESTS_LDADDS)
136 tests_testplus_LDADD= $(tests_testplus_DEPENDENCIES)
137 check_PROGRAMS+= tests/testplus
138 noinst_PROGRAMS+= tests/testplus