~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.12 by Monty Taylor
Removed duplicate po dir mention which killed distclean.
30
DIST_SUBDIRS = $(SUBDIRS) \
264.1.15 by Monty Taylor
Removed a bunch of files from mystrings that aren't build or used at all.
31
	       mysys/tests
187 by Brian Aker
Fixed tab issue
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