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