2 # Copyright (C) 2012 Data Differential
5 # Use and distribution licensed under the BSD license. See
6 # the COPYING file in the parent directory for full text.
8 # included from Top Level Makefile.am
9 # All paths should be given relative to the root
12 tests_memcapable_SOURCES= tests/memcapable.cc
13 tests_memcapable_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
14 EXTRA_tests_memcapable_DEPENDENCIES= clients/memcapable
15 tests_memcapable_LDADD= libtest/libtest.la $(TESTS_LDADDS)
16 check_PROGRAMS+= tests/memcapable
17 noinst_PROGRAMS+= tests/memcapable
19 tests_memstat_SOURCES= tests/memstat.cc
20 tests_memstat_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
21 EXTRA_tests_memstat_DEPENDENCIES= clients/memstat
22 tests_memstat_LDADD= libtest/libtest.la $(TESTS_LDADDS)
23 check_PROGRAMS+= tests/memstat
24 noinst_PROGRAMS+= tests/memstat
26 tests_memcp_SOURCES= tests/memcp.cc
27 tests_memcp_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
28 EXTRA_tests_memcp_DEPENDENCIES= clients/memcp
29 tests_memcp_LDADD= libtest/libtest.la $(TESTS_LDADDS)
30 check_PROGRAMS+= tests/memcp
31 noinst_PROGRAMS+= tests/memcp
33 tests_memflush_SOURCES= tests/memflush.cc
34 tests_memflush_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
35 EXTRA_tests_memflush_DEPENDENCIES= clients/memflush
36 tests_memflush_LDADD= libtest/libtest.la $(TESTS_LDADDS)
37 check_PROGRAMS+= tests/memflush
38 noinst_PROGRAMS+= tests/memflush
40 tests_memrm_SOURCES= tests/memrm.cc
41 tests_memrm_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
42 EXTRA_tests_memrm_DEPENDENCIES= clients/memrm
43 tests_memrm_LDADD= libtest/libtest.la $(TESTS_LDADDS)
44 check_PROGRAMS+= tests/memrm
45 noinst_PROGRAMS+= tests/memrm
47 tests_memexist_SOURCES= tests/memexist.cc
48 tests_memexist_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
49 EXTRA_tests_memexist_DEPENDENCIES= clients/memexist
50 tests_memexist_LDADD= libtest/libtest.la $(TESTS_LDADDS)
51 check_PROGRAMS+= tests/memexist
52 noinst_PROGRAMS+= tests/memexist
54 tests_memtouch_SOURCES= tests/memtouch.cc
55 tests_memtouch_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
56 EXTRA_tests_memtouch_DEPENDENCIES= clients/memtouch
57 tests_memtouch_LDADD= libtest/libtest.la $(TESTS_LDADDS)
58 check_PROGRAMS+= tests/memtouch
59 noinst_PROGRAMS+= tests/memtouch
61 tests_memcat_SOURCES= tests/memcat.cc
62 tests_memcat_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
63 EXTRA_tests_memcat_DEPENDENCIES= clients/memcat
64 tests_memcat_LDADD= libtest/libtest.la $(TESTS_LDADDS)
65 check_PROGRAMS+= tests/memcat
66 noinst_PROGRAMS+= tests/memcat
68 tests_memping_SOURCES= tests/memping.cc
69 tests_memping_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
70 EXTRA_tests_memping_DEPENDENCIES= clients/memping
71 tests_memping_LDADD= libtest/libtest.la $(TESTS_LDADDS)
72 check_PROGRAMS+= tests/memping
73 noinst_PROGRAMS+= tests/memping
75 tests_memerror_SOURCES= tests/memerror.cc
76 tests_memerror_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
77 EXTRA_tests_memerror_DEPENDENCIES= clients/memerror
78 tests_memerror_LDADD= libtest/libtest.la $(TESTS_LDADDS)
79 check_PROGRAMS+= tests/memerror
80 noinst_PROGRAMS+= tests/memerror
82 tests_memslap_SOURCES= tests/memslap.cc
83 tests_memslap_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
84 EXTRA_tests_memslap_DEPENDENCIES= clients/memslap
85 tests_memslap_LDADD= libtest/libtest.la $(TESTS_LDADDS)
86 check_PROGRAMS+= tests/memslap
87 noinst_PROGRAMS+= tests/memslap
89 test-memslap: tests/memslap
92 gdb-memslap: tests/memslap
93 @$(GDB_COMMAND) tests/memslap
95 tests_memdump_SOURCES= tests/memdump.cc
96 tests_memdump_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
97 EXTRA_tests_memdump_DEPENDENCIES= clients/memdump
98 tests_memdump_LDADD= libtest/libtest.la $(TESTS_LDADDS)
99 check_PROGRAMS+= tests/memdump
100 noinst_PROGRAMS+= tests/memdump
102 test-memstat: tests/memstat
105 test-memerror: tests/memerror
108 test-memtouch: tests/memtouch
111 test-memping: tests/memping
114 valgrind-memerror: tests/memerror
115 @$(VALGRIND_COMMAND) tests/memerror
117 valgrind-memtouch: tests/memtouch
118 @$(VALGRIND_COMMAND) tests/memtouch