1
# Copyright (C) 2000-2003, 2005 MySQL AB
3
# This library is free software; you can redistribute it and/or
4
# modify it under the terms of the GNU Library General Public
5
# License as published by the Free Software Foundation; version 2
8
# This library is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
# Library General Public License for more details.
13
# You should have received a copy of the GNU Library General Public
14
# License along with this library; if not, write to the Free
15
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
18
## Process this file with automake to create Makefile.in
20
benchdir_root= $(prefix)
21
benchdir = $(benchdir_root)/sql-bench
22
bench_SCRIPTS = test-ATIS test-connect test-create test-insert \
23
test-big-tables test-select test-wisconsin \
24
test-alter-table test-transactions \
25
graph-compare-results \
26
bench-init.pl compare-results run-all-tests \
27
server-cfg crash-me copy-db innotest1 innotest1a \
28
innotest1b innotest2 innotest2a innotest2b \
30
CLEANFILES = $(bench_SCRIPTS)
31
EXTRA_SCRIPTS = test-ATIS.sh test-connect.sh test-create.sh \
32
test-insert.sh test-big-tables.sh test-select.sh \
33
test-alter-table.sh test-wisconsin.sh \
34
test-transactions.sh \
35
bench-init.pl.sh compare-results.sh server-cfg.sh \
36
run-all-tests.sh crash-me.sh copy-db.sh \
37
graph-compare-results.sh innotest1.sh innotest1a.sh \
38
innotest1b.sh innotest2.sh innotest2a.sh innotest2b.sh \
39
bench-count-distinct.sh
40
EXTRA_DIST = $(EXTRA_SCRIPTS)
43
mkdir -p $(distdir)/Data/ATIS $(distdir)/Data/Wisconsin \
44
$(distdir)/limits $(distdir)/Comments
45
for i in $(srcdir)/Data/ATIS/*.* ; do $(INSTALL_DATA) $$i $(distdir)/Data/ATIS ; done
46
for i in $(srcdir)/Data/Wisconsin/*.* ; do $(INSTALL_DATA) $$i $(distdir)/Data/Wisconsin ; done
47
for i in $(srcdir)/limits/*.* ; do $(INSTALL_DATA) $$i $(distdir)/limits; done
48
for i in $(srcdir)/Comments/*.* ; do $(INSTALL_DATA) $$i $(distdir)/Comments; done
52
$(DESTDIR)$(benchdir)/Data \
53
$(DESTDIR)$(benchdir)/Data/ATIS \
54
$(DESTDIR)$(benchdir)/Data/Wisconsin \
55
$(DESTDIR)$(benchdir)/limits \
56
$(DESTDIR)$(benchdir)/Comments
57
$(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(benchdir)
58
for i in $(srcdir)/Data/ATIS/*.* ; do $(INSTALL_DATA) $$i $(DESTDIR)$(benchdir)/Data/ATIS ; done
59
for i in $(srcdir)/Data/Wisconsin/*.* ; do $(INSTALL_DATA) $$i $(DESTDIR)$(benchdir)/Data/Wisconsin ; done
60
for i in $(srcdir)/limits/*.* ; do $(INSTALL_DATA) $$i $(DESTDIR)$(benchdir)/limits; done
61
for i in $(srcdir)/Comments/*.* ; do $(INSTALL_DATA) $$i $(DESTDIR)$(benchdir)/Comments; done
64
@RM@ -f -r $(DESTDIR)$(benchdir)
71
-e 's!@''benchdir''@!$(benchdir)!g' \
72
-e 's!@''bindir''@!$(bindir)!g' \
73
-e 's!@''scriptdir''@!$(bindir)!g' \
74
-e 's!@''prefix''@!$(prefix)!g' \
75
-e 's!@''datadir''@!$(datadir)!g' \
76
-e 's!@''localstatedir''@!$(localstatedir)!g' \
77
-e 's!@''libexecdir''@!$(libexecdir)!g' \
78
-e 's!@''PERL''@!@PERL@!' \
79
-e 's!@''VERSION''@!@VERSION@!' \
80
-e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \
85
# Don't update the files from bitkeeper