1
# Copyright (C) 2009 Sun Microsystems, Inc.
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.
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1
# Copyright (C) 2000-2006 MySQL AB
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.
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.
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
16
16
ACLOCAL_AMFLAGS = -I m4 --force
18
# includes append to these:
23
nobase_nodist_include_HEADERS =
24
nobase_dist_include_HEADERS =
25
dist_include_HEADERS =
26
nobase_nodist_pkginclude_HEADERS =
27
nobase_dist_pkginclude_HEADERS =
28
dist_pkginclude_HEADERS =
36
VERSION=$(PANDORA_RELEASE_VERSION)
18
# Process this file with automake to create Makefile.in
43
DIST_SUBDIRS = ${SUBDIRS} tests
57
config/link-warning.h \
58
config/pandora_vc_revinfo \
60
config/uncrustify.cfg \
62
${top_srcdir}/m4/pandora*m4
65
CLEANFILES= ${BUILT_SOURCES}
66
DISTCLEANFILES= ac_available_languages_fragment \
74
MAINTAINERCLEANFILES= \
79
pkgplugin_LTLIBRARIES=
80
include config/pandora-plugin.am
82
EXTRA_DIST+= ${man_MANS}
36
EXTRA_DIST = config/config.rpath
37
CLEANFILES = drizzled/configmake.h
38
DISTCLEANFILES = ac_available_languages_fragment
39
MAINTAINERCLEANFILES = autom4te.cache
41
BUILT_SOURCES = drizzled/configmake.h
42
noinst_HEADERS = drizzled/configmake.h
44
# Create empty datadir
46
$(mkinstalldirs) $(DESTDIR)$(localstatedir)
47
@if test `id -u` = 0 ; then \
48
if test -n "$(GROUPADD)" && test -n "$(USERADD)"; then \
49
$(GROUPADD) $(DRIZZLED_USER) ;\
50
$(USERADD) -g $(DRIZZLED_USER) $(DRIZZLED_USER) ;\
51
chown $(DRIZZLED_USER) $(DESTDIR)$(localstatedir) ;\
68
test-binlog-statement \
80
# Target 'test' will run the regression test suite using the built server.
82
# If you are running in a shared environment, users can avoid clashing
83
# port numbers by setting individual small numbers 1-100 to the
84
# environment variable MTR_BUILD_THREAD. The script "test-run"
85
# will then calculate the various port numbers it needs from this,
86
# making sure each user use different ports.
90
./test-run $(force) --mysqld=--binlog-format=row
94
./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
96
test-binlog-statement:
98
./test-run $(force) --mysqld=--binlog-format=statement
104
$(MAKE) $(AM_MAKEFLAGS) test
89
110
for f in `find ${top_srcdir} -type f | grep -v innobase |\
139
find . -name '*.gcno' | xargs rm -f
140
-rm -rf docs/api docs/dev docs/_build docs/doctrees
142
include config/lcov.am
144
include docs/include.am
145
include drizzled/message/include.am
146
include drizzled/include.am
147
include drizzled/internal/include.am
148
include drizzled/algorithm/include.am
149
include drizzled/util/include.am
150
include client/include.am
151
include support-files/include.am
152
include tests/include.am
153
include unittests/include.am
154
include libdrizzle/include.am
155
include win32/include.am
157
TESTS += ${check_PROGRAMS}
160
find ./ | $(GREP) \.orig | xargs rm -f
161
find ./ | $(GREP) \.moved | xargs rm -f
162
find ./ | $(GREP) \.rej | xargs rm -f
163
find ./ | $(GREP) \~$$ | xargs rm -f
167
cd $(DESTDIR)$(sbindir) && \
168
mv -f drizzled$(EXEEXT) drizzled7$(EXEEXT) && \
169
$(LN_S) drizzled7$(EXEEXT) drizzled$(EXEEXT)
172
cd $(DESTDIR)$(man8dir) && \
173
mv -f drizzled.8 drizzled7.8 && \
174
$(LN_S) drizzled7.8 drizzled.8
177
rm $(DESTDIR)$(man8dir)/drizzled7.8
178
rm $(DESTDIR)$(sbindir)/drizzled7$(EXEEXT)