1
# Copyright (C) 2004-2006 MySQL AB
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
# GNU General Public License for more details.
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
testdir=$(testroot)/mysql-test/ndb
19
include $(top_srcdir)/storage/ndb/config/common.mk.am
20
include $(top_srcdir)/storage/ndb/config/type_util.mk.am
21
include $(top_srcdir)/storage/ndb/config/type_mgmapiclient.mk.am
22
include $(top_srcdir)/storage/ndb/config/type_ndbapitools.mk.am
25
test_DATA=daily-basic-tests.txt daily-devel-tests.txt 16node-tests.txt \
27
conf-dl145a.cnf test-tests.txt conf-test.cnf
29
test_SCRIPTS=atrt-analyze-result.sh atrt-gather-result.sh atrt-setup.sh \
30
atrt-clear-result.sh autotest-run.sh
32
atrt_SOURCES = main.cpp setup.cpp files.cpp
34
INCLUDES_LOC = -I$(top_srcdir)/storage/ndb/test/include
35
LDADD_LOC = $(top_builddir)/storage/ndb/test/src/libNDBT.a \
36
$(top_builddir)/storage/ndb/src/libndbclient.la \
37
$(top_builddir)/dbug/libdbug.a \
38
$(top_builddir)/mysys/libmysys.a \
39
$(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@
41
atrt_CXXFLAGS = -I$(top_srcdir)/ndb/src/mgmapi \
42
-I$(top_srcdir)/ndb/src/mgmsrv \
43
-I$(top_srcdir)/ndb/include/mgmcommon \
44
-DMYSQLCLUSTERDIR="\"\"" \
45
-DDEFAULT_PREFIX="\"$(prefix)\""
47
atrt_LDFLAGS = -static @ndb_bin_am_ldflags@
49
wrappersdir=$(prefix)/bin
50
wrappers_SCRIPTS=atrt-testBackup atrt-mysql-test-run
52
EXTRA_DIST = $(test_DATA) $(test_SCRIPTS) $(wrappers_SCRIPTS) README.ATRT atrt.hpp