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