~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2000-2006 MySQL AB
2
# 
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.
6
# 
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.
11
# 
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
16
# Process this file with automake to create Makefile.in
17
202.3.1 by Monty Taylor
Added very initial gettextize stuff.
18
SUBDIRS = po . vio \
212.5.4 by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency.
19
	  mystrings \
187 by Brian Aker
Fixed tab issue
20
	  mysys \
21
	  extra \
22
	  libdrizzle \
23
	  client \
24
	  storage \
25
	  plugin \
214 by Brian Aker
Rename of fields (fix issue with string and decimal .h clashing).
26
	  drizzled \
187 by Brian Aker
Fixed tab issue
27
	  tests \
28
	  support-files
29
202.3.5 by Monty Taylor
Giant merge.
30
EXTRA_DIST = config/config.rpath
187 by Brian Aker
Fixed tab issue
31
DISTCLEANFILES = ac_available_languages_fragment
1 by brian
clean slate
32
142.2.1 by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to
33
# Create empty datadir 
34
install-data-local:
202.1.24 by Monty Taylor
Changed MKDIR_P to mkinstalldir
35
	$(mkinstalldirs) $(DESTDIR)$(localstatedir) 
187 by Brian Aker
Fixed tab issue
36
	@if test `id -u` = 0 ; then \
202.1.24 by Monty Taylor
Changed MKDIR_P to mkinstalldir
37
		chown $(MYSQLD_USER) $(DESTDIR)$(localstatedir) ;\
38
	fi
142.2.1 by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to
39
77.1.106 by Monty Taylor
Another batch of distclean fixes.
40
distclean-local:
187 by Brian Aker
Fixed tab issue
41
	@RM@ -r -f autom4te.cache
77.1.106 by Monty Taylor
Another batch of distclean fixes.
42
187 by Brian Aker
Fixed tab issue
43
.PHONY: test \
44
    test-force \
45
    test-full \
46
    test-force-full \
47
    test-force-mem \
48
    test-pl \
49
    test-force-pl \
50
    test-full-pl \
51
    test-force-full-pl \
52
    test-force-pl-mem \
53
    test-ps test-nr \
54
    test-pr test-ns \
55
    test-binlog-statement \
56
    test-ext-funcs \
57
    test-ext-rpl \
58
    test-ext-jp \
59
    test-ext-stress \
60
    test-ext \
61
    test-fast \
62
    test-fast-cursor \
63
    test-fast-view \
64
    test-full-qa
1 by brian
clean slate
65
66
# Target 'test' will run the regression test suite using the built server.
67
#
68
# If you are running in a shared environment, users can avoid clashing
69
# port numbers by setting individual small numbers 1-100 to the
168 by Brian Aker
Rename of test (better tab completion!)
70
# environment variable MTR_BUILD_THREAD. The script "test-run"
1 by brian
clean slate
71
# will then calculate the various port numbers it needs from this,
72
# making sure each user use different ports.
73
74
test-nr:
187 by Brian Aker
Fixed tab issue
75
	cd tests ; \
76
	  ./test-run $(force) --mysqld=--binlog-format=row
1 by brian
clean slate
77
78
test-ns:
187 by Brian Aker
Fixed tab issue
79
	cd tests ; \
80
	  ./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
1 by brian
clean slate
81
82
test-binlog-statement:
187 by Brian Aker
Fixed tab issue
83
	cd tests ; \
84
	  ./test-run $(force) --mysqld=--binlog-format=statement
1 by brian
clean slate
85
53.2.5 by Monty Taylor
Add Jay's test optoins at the target of make test.
86
test: test-drizzle
87
88
test-drizzle:
187 by Brian Aker
Fixed tab issue
89
	cd tests ; \
236.1.22 by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt
90
	$(MAKE) $(AM_MAKEFLAGS) test 
264.3.1 by Jay Pipes
* Added Doxyfile configuration for doxygen builds
91
92
doxygen:
93
	doxygen Doxyfile