~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
575.2.2 by Monty Taylor
Moved vio stuff into libdrizzle.
23
SUBDIRS = ${po} . \
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 \
579.1.1 by Toru Maesaka
Added tests for groupaad and useradd
42
		if test -n "$(GROUPADD)" && test -n "$(USERADD)"; then \
43
			$(GROUPADD) $(DRIZZLED_USER) ;\
44
			$(USERADD) -g $(DRIZZLED_USER) $(DRIZZLED_USER) ;\
45
			chown $(DRIZZLED_USER) $(DESTDIR)$(localstatedir) ;\
46
		fi \
202.1.24 by Monty Taylor
Changed MKDIR_P to mkinstalldir
47
	fi
142.2.1 by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to
48
77.1.106 by Monty Taylor
Another batch of distclean fixes.
49
distclean-local:
187 by Brian Aker
Fixed tab issue
50
	@RM@ -r -f autom4te.cache
77.1.106 by Monty Taylor
Another batch of distclean fixes.
51
187 by Brian Aker
Fixed tab issue
52
.PHONY: test \
53
    test-force \
54
    test-full \
55
    test-force-full \
56
    test-force-mem \
57
    test-pl \
58
    test-force-pl \
59
    test-full-pl \
60
    test-force-full-pl \
61
    test-force-pl-mem \
62
    test-ps test-nr \
63
    test-pr test-ns \
64
    test-binlog-statement \
65
    test-ext-funcs \
66
    test-ext-rpl \
67
    test-ext-jp \
68
    test-ext-stress \
69
    test-ext \
70
    test-fast \
71
    test-fast-cursor \
72
    test-fast-view \
73
    test-full-qa
1 by brian
clean slate
74
75
# Target 'test' will run the regression test suite using the built server.
76
#
77
# If you are running in a shared environment, users can avoid clashing
78
# port numbers by setting individual small numbers 1-100 to the
168 by Brian Aker
Rename of test (better tab completion!)
79
# environment variable MTR_BUILD_THREAD. The script "test-run"
1 by brian
clean slate
80
# will then calculate the various port numbers it needs from this,
81
# making sure each user use different ports.
82
83
test-nr:
187 by Brian Aker
Fixed tab issue
84
	cd tests ; \
85
	  ./test-run $(force) --mysqld=--binlog-format=row
1 by brian
clean slate
86
87
test-ns:
187 by Brian Aker
Fixed tab issue
88
	cd tests ; \
89
	  ./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
1 by brian
clean slate
90
91
test-binlog-statement:
187 by Brian Aker
Fixed tab issue
92
	cd tests ; \
93
	  ./test-run $(force) --mysqld=--binlog-format=statement
1 by brian
clean slate
94
53.2.5 by Monty Taylor
Add Jay's test optoins at the target of make test.
95
test: test-drizzle
96
97
test-drizzle:
187 by Brian Aker
Fixed tab issue
98
	cd tests ; \
236.1.22 by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt
99
	$(MAKE) $(AM_MAKEFLAGS) test 
264.3.1 by Jay Pipes
* Added Doxyfile configuration for doxygen builds
100
101
doxygen:
102
	doxygen Doxyfile