~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Monty Taylor
  • Date: 2009-01-06 18:48:07 UTC
  • mto: This revision was merged to the branch mainline in revision 762.
  • Revision ID: mordred@inaugust.com-20090106184807-cen092lvb8mc3z4k
Enabled deadlock_innodb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  Copyright (C) 2009 Sun Microsystems, Inc.
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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
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
15
 
16
16
ACLOCAL_AMFLAGS = -I m4 --force
17
17
 
18
 
# includes append to these:
19
 
SUFFIXES =
20
 
TESTS = 
21
 
check_PROGRAMS =
22
 
noinst_HEADERS =
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 =
29
 
sbin_PROGRAMS =
30
 
lib_LTLIBRARIES = 
31
 
noinst_LTLIBRARIES =
32
 
noinst_PROGRAMS =
33
 
man_MANS =
34
 
bin_PROGRAMS =
35
 
 
36
 
VERSION=$(PANDORA_RELEASE_VERSION)
37
 
 
38
 
SUBDIRS = .
39
 
if BUILD_PO
40
 
SUBDIRS += po
 
18
# Process this file with automake to create Makefile.in
 
19
if BUILD_GETTEXT
 
20
  po=po
41
21
endif
42
22
 
43
 
DIST_SUBDIRS = ${SUBDIRS} tests
44
 
 
45
 
BUILT_SOURCES=
46
 
BUILT_MAINT_SRC=
47
 
EXTRA_DIST= \
48
 
            .quickly \
49
 
            ChangeLog \
50
 
            COPYING.Boost \
51
 
            COPYING.BSD \
52
 
            DRIZZLE.FAQ \
53
 
            EXCEPTIONS-CLIENT \
54
 
            config/autorun.sh \
55
 
            config/config.rpath \
56
 
            config/drizzle.ver \
57
 
            config/link-warning.h \
58
 
            config/pandora_vc_revinfo \
59
 
            config/pre_hook.sh \
60
 
            config/uncrustify.cfg \
61
 
            po/Makefile.in.in \
62
 
            ${top_srcdir}/m4/pandora*m4
63
 
 
64
 
 
65
 
CLEANFILES=             ${BUILT_SOURCES}
66
 
DISTCLEANFILES=         ac_available_languages_fragment \
67
 
                        .plugin.scan \
68
 
                        config/bzr_revinfo \
69
 
                        config/top.h \
70
 
                        intltool-extract \
71
 
                        intltool-merge \
72
 
                        intltool-update
73
 
 
74
 
MAINTAINERCLEANFILES= \
75
 
                      autom4te.cache \
76
 
                      ChangeLog
77
 
 
78
 
EXTRA_LTLIBRARIES=
79
 
pkgplugin_LTLIBRARIES=
80
 
include config/pandora-plugin.am
81
 
 
82
 
EXTRA_DIST+=    ${man_MANS}
83
 
 
84
 
.PHONY: \
85
 
        indent
86
 
 
 
23
SUBDIRS = ${po} . \
 
24
          mystrings \
 
25
          mysys \
 
26
          extra \
 
27
          libdrizzle \
 
28
          client \
 
29
          drizzled/serialize \
 
30
          storage \
 
31
          plugin \
 
32
          drizzled \
 
33
          tests \
 
34
          support-files
 
35
 
 
36
EXTRA_DIST = config/config.rpath
 
37
CLEANFILES = drizzled/configmake.h
 
38
DISTCLEANFILES = ac_available_languages_fragment
 
39
MAINTAINERCLEANFILES = autom4te.cache
 
40
 
 
41
BUILT_SOURCES = drizzled/configmake.h
 
42
noinst_HEADERS = drizzled/configmake.h
 
43
 
 
44
# Create empty datadir 
 
45
install-data-local:
 
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) ;\
 
52
                fi \
 
53
        fi
 
54
 
 
55
 
 
56
.PHONY: test \
 
57
    test-force \
 
58
    test-full \
 
59
    test-force-full \
 
60
    test-force-mem \
 
61
    test-pl \
 
62
    test-force-pl \
 
63
    test-full-pl \
 
64
    test-force-full-pl \
 
65
    test-force-pl-mem \
 
66
    test-ps test-nr \
 
67
    test-pr test-ns \
 
68
    test-binlog-statement \
 
69
    test-ext-funcs \
 
70
    test-ext-rpl \
 
71
    test-ext-jp \
 
72
    test-ext-stress \
 
73
    test-ext \
 
74
    test-fast \
 
75
    test-fast-cursor \
 
76
    test-fast-view \
 
77
    test-full-qa \
 
78
    indent
 
79
 
 
80
# Target 'test' will run the regression test suite using the built server.
 
81
#
 
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.
 
87
 
 
88
test-nr:
 
89
        cd tests ; \
 
90
          ./test-run $(force) --mysqld=--binlog-format=row
 
91
 
 
92
test-ns:
 
93
        cd tests ; \
 
94
          ./test-run $(force) $(mem) --mysqld=--binlog-format=mixed
 
95
 
 
96
test-binlog-statement:
 
97
        cd tests ; \
 
98
          ./test-run $(force) --mysqld=--binlog-format=statement
 
99
 
 
100
test: test-drizzle
 
101
 
 
102
test-drizzle:
 
103
        cd tests ; \
 
104
        $(MAKE) $(AM_MAKEFLAGS) test 
 
105
 
 
106
doxygen:
 
107
        doxygen Doxyfile
87
108
 
88
109
indent:
89
110
        for f in `find ${top_srcdir} -type f | grep -v innobase |\
92
113
               -o indentoutput.tmp && mv indentoutput.tmp "$$f" ;\
93
114
        done
94
115
 
95
 
BUILT_SOURCES+= drizzled/configmake.h
96
 
nobase_nodist_pkginclude_HEADERS+= drizzled/configmake.h
97
116
drizzled/configmake.h: ${top_srcdir}/Makefile.in
98
117
        @echo "Making $@"
99
118
        @rm -f $@-t $@
126
145
          echo '#define PKGLIBDIR "$(pkglibdir)"'; \
127
146
          echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
128
147
          echo '#define PKGPLUGINDIR "$(pkgplugindir)"'; \
129
 
          echo '#undef VERSION'; \
130
 
          echo '#define VERSION "${PANDORA_RELEASE_VERSION}"'; \
131
148
        } | sed '/""/d' > $@-t
132
149
        @if diff $@-t $@ >/dev/null 2>&1 ; then \
133
150
          rm @-t ; \
135
152
          mv $@-t $@ ; \
136
153
        fi
137
154
 
138
 
clean-local:
139
 
        find . -name '*.gcno' | xargs rm -f 
140
 
        -rm -rf docs/api docs/dev docs/_build docs/doctrees
141
 
 
142
 
include config/lcov.am
143
 
 
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
156
 
 
157
 
TESTS += ${check_PROGRAMS}
158
 
 
159
 
merge-clean:
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
164
 
        bzr unknowns
165
 
 
166
 
install-exec-hook:
167
 
        cd $(DESTDIR)$(sbindir) && \
168
 
        mv -f drizzled$(EXEEXT) drizzled7$(EXEEXT) && \
169
 
        $(LN_S) drizzled7$(EXEEXT) drizzled$(EXEEXT)
170
 
 
171
 
install-data-hook:
172
 
        cd $(DESTDIR)$(man8dir) && \
173
 
        mv -f drizzled.8 drizzled7.8 && \
174
 
        $(LN_S) drizzled7.8 drizzled.8
175
 
 
176
 
uninstall-hook:
177
 
        rm $(DESTDIR)$(man8dir)/drizzled7.8
178
 
        rm $(DESTDIR)$(sbindir)/drizzled7$(EXEEXT)