~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.10.2 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
6
# This Makefile.in is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy and/or distribute it,
 
8
# with or without modifications, as long as this notice is preserved.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
@SET_MAKE@
 
16
 
 
17
# Copyright 2000-2008 MySQL AB, 2009 Sun Microsystems, Inc.
 
18
 
19
# This program is free software; you can redistribute it and/or modify
 
20
# it under the terms of the GNU General Public License as published by
 
21
# the Free Software Foundation; version 2 of the License.
 
22
 
23
# This program is distributed in the hope that it will be useful,
 
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
26
# GNU General Public License for more details.
 
27
 
28
# You should have received a copy of the GNU General Public License
 
29
# along with this program; if not, write to the Free Software
 
30
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
31
 
 
32
# Process this file with automake to create Makefile.in
 
33
VPATH = @srcdir@
 
34
pkgdatadir = $(datadir)/@PACKAGE@
 
35
pkglibdir = $(libdir)/@PACKAGE@
 
36
pkgincludedir = $(includedir)/@PACKAGE@
 
37
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
38
install_sh_DATA = $(install_sh) -c -m 644
 
39
install_sh_PROGRAM = $(install_sh) -c
 
40
install_sh_SCRIPT = $(install_sh) -c
 
41
INSTALL_HEADER = $(INSTALL_DATA)
 
42
transform = $(program_transform_name)
 
43
NORMAL_INSTALL = :
 
44
PRE_INSTALL = :
 
45
POST_INSTALL = :
 
46
NORMAL_UNINSTALL = :
 
47
PRE_UNINSTALL = :
 
48
POST_UNINSTALL = :
 
49
build_triplet = @build@
 
50
host_triplet = @host@
 
51
target_triplet = @target@
 
52
subdir = .
 
53
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 
54
        $(srcdir)/Makefile.in $(top_srcdir)/configure COPYING \
 
55
        ChangeLog config.guess config.sub depcomp install-sh ltmain.sh \
 
56
        missing ylwrap
 
57
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
58
am__aclocal_m4_deps = $(top_srcdir)/config/ac-macros/alloca.m4 \
 
59
        $(top_srcdir)/config/ac-macros/check_cpu.m4 \
 
60
        $(top_srcdir)/config/ac-macros/character_sets.m4 \
 
61
        $(top_srcdir)/config/ac-macros/compiler_flag.m4 \
 
62
        $(top_srcdir)/config/ac-macros/plugins.m4 \
 
63
        $(top_srcdir)/config/ac-macros/ha_ndbcluster.m4 \
 
64
        $(top_srcdir)/config/ac-macros/large_file.m4 \
 
65
        $(top_srcdir)/config/ac-macros/misc.m4 \
 
66
        $(top_srcdir)/config/ac-macros/readline.m4 \
 
67
        $(top_srcdir)/config/ac-macros/ssl.m4 \
 
68
        $(top_srcdir)/config/ac-macros/zlib.m4 \
 
69
        $(top_srcdir)/configure.in
 
70
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
71
        $(ACLOCAL_M4)
 
72
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 
73
 configure.lineno config.status.lineno
 
74
mkinstalldirs = $(install_sh) -d
 
75
CONFIG_HEADER = $(top_builddir)/include/config.h
 
76
CONFIG_CLEAN_FILES =
 
77
SOURCES =
 
78
DIST_SOURCES =
 
79
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 
80
        html-recursive info-recursive install-data-recursive \
 
81
        install-dvi-recursive install-exec-recursive \
 
82
        install-html-recursive install-info-recursive \
 
83
        install-pdf-recursive install-ps-recursive install-recursive \
 
84
        installcheck-recursive installdirs-recursive pdf-recursive \
 
85
        ps-recursive uninstall-recursive
 
86
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
 
87
  distclean-recursive maintainer-clean-recursive
 
88
ETAGS = etags
 
89
CTAGS = ctags
 
90
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
91
distdir = $(PACKAGE)-$(VERSION)
 
92
top_distdir = $(distdir)
 
93
am__remove_distdir = \
 
94
  { test ! -d $(distdir) \
 
95
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
 
96
         && rm -fr $(distdir); }; }
 
97
DIST_ARCHIVES = $(distdir).tar.gz
 
98
GZIP_ENV = --best
 
99
distuninstallcheck_listfiles = find . -type f -print
 
100
distcleancheck_listfiles = find . -type f -print
 
101
ABI_CHECK = @ABI_CHECK@
 
102
ACLOCAL = @ACLOCAL@
 
103
ALLOCA = @ALLOCA@
 
104
AMTAR = @AMTAR@
 
105
AR = @AR@
 
106
ARFLAGS = @ARFLAGS@
 
107
AS = @AS@
 
108
ASFLAGS = @ASFLAGS@
 
109
AUTOCONF = @AUTOCONF@
 
110
AUTOHEADER = @AUTOHEADER@
 
111
AUTOMAKE = @AUTOMAKE@
 
112
AVAILABLE_LANGUAGES = @AVAILABLE_LANGUAGES@
 
113
AWK = @AWK@
 
114
CC = @CC@
 
115
CCAS = @CCAS@
 
116
CCASDEPMODE = @CCASDEPMODE@
 
117
CCASFLAGS = @CCASFLAGS@
 
118
CCDEPMODE = @CCDEPMODE@
 
119
CC_VERSION = @CC_VERSION@
 
120
CFLAGS = @CFLAGS@
 
121
CHECK_PID = @CHECK_PID@
 
122
CHMOD = @CHMOD@
 
123
CLIENT_EXTRA_LDFLAGS = @CLIENT_EXTRA_LDFLAGS@
 
124
CLIENT_LIBS = @CLIENT_LIBS@
 
125
CLIENT_THREAD_LIBS = @CLIENT_THREAD_LIBS@
 
126
CMP = @CMP@
 
127
COMPILATION_COMMENT = @COMPILATION_COMMENT@
 
128
CONF_COMMAND = @CONF_COMMAND@
 
129
CP = @CP@
 
130
CPP = @CPP@
 
131
CPPFLAGS = @CPPFLAGS@
 
132
CXX = @CXX@
 
133
CXXCPP = @CXXCPP@
 
134
CXXDEPMODE = @CXXDEPMODE@
 
135
CXXFLAGS = @CXXFLAGS@
 
136
CXXLDFLAGS = @CXXLDFLAGS@
 
137
CXX_VERSION = @CXX_VERSION@
 
138
CYGPATH_W = @CYGPATH_W@
 
139
DEFS = @DEFS@
 
140
DEPDIR = @DEPDIR@
 
141
DIFF = @DIFF@
 
142
DOT_FRM_VERSION = @DOT_FRM_VERSION@
 
143
DOXYGEN = @DOXYGEN@
 
144
DSYMUTIL = @DSYMUTIL@
 
145
DUMPBIN = @DUMPBIN@
 
146
DVIS = @DVIS@
 
147
ECHO_C = @ECHO_C@
 
148
ECHO_N = @ECHO_N@
 
149
ECHO_T = @ECHO_T@
 
150
EGREP = @EGREP@
 
151
EXEEXT = @EXEEXT@
 
152
FGREP = @FGREP@
 
153
FIND_PROC = @FIND_PROC@
 
154
GETCONF = @GETCONF@
 
155
GREP = @GREP@
 
156
GXX = @GXX@
 
157
HOSTNAME = @HOSTNAME@
 
158
INNODB_DYNAMIC_CFLAGS = @INNODB_DYNAMIC_CFLAGS@
 
159
INSTALL = @INSTALL@
 
160
INSTALL_DATA = @INSTALL_DATA@
 
161
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
162
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
163
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
164
KILL = @KILL@
 
165
LD = @LD@
 
166
LDFLAGS = @LDFLAGS@
 
167
LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@
 
168
LIBDL = @LIBDL@
 
169
LIBEDIT_LOBJECTS = @LIBEDIT_LOBJECTS@
 
170
LIBOBJS = @LIBOBJS@
 
171
LIBS = @LIBS@
 
172
LIBTOOL = @LIBTOOL@
 
173
LIB_EXTRA_CCFLAGS = @LIB_EXTRA_CCFLAGS@
 
174
LIPO = @LIPO@
 
175
LM_CFLAGS = @LM_CFLAGS@
 
176
LN = @LN@
 
177
LN_CP_F = @LN_CP_F@
 
178
LN_S = @LN_S@
 
179
LTLIBOBJS = @LTLIBOBJS@
 
180
MACHINE_TYPE = @MACHINE_TYPE@
 
181
MAKEINDEX = @MAKEINDEX@
 
182
MAKEINFO = @MAKEINFO@
 
183
MAKE_BINARY_DISTRIBUTION_OPTIONS = @MAKE_BINARY_DISTRIBUTION_OPTIONS@
 
184
MAKE_SHELL = @MAKE_SHELL@
 
185
MKDIR_P = @MKDIR_P@
 
186
MV = @MV@
 
187
MYSQLD_DEFAULT_SWITCHES = @MYSQLD_DEFAULT_SWITCHES@
 
188
MYSQLD_EXTRA_LDFLAGS = @MYSQLD_EXTRA_LDFLAGS@
 
189
MYSQLD_EXTRA_LIBS = @MYSQLD_EXTRA_LIBS@
 
190
MYSQLD_USER = @MYSQLD_USER@
 
191
MYSQL_BASE_VERSION = @MYSQL_BASE_VERSION@
 
192
MYSQL_COPYRIGHT_YEAR = @MYSQL_COPYRIGHT_YEAR@
 
193
MYSQL_NO_DASH_VERSION = @MYSQL_NO_DASH_VERSION@
 
194
MYSQL_PREVIOUS_BASE_VERSION = @MYSQL_PREVIOUS_BASE_VERSION@
 
195
MYSQL_SERVER_SUFFIX = @MYSQL_SERVER_SUFFIX@
 
196
MYSQL_TCP_PORT = @MYSQL_TCP_PORT@
 
197
MYSQL_TCP_PORT_DEFAULT = @MYSQL_TCP_PORT_DEFAULT@
 
198
MYSQL_UNIX_ADDR = @MYSQL_UNIX_ADDR@
 
199
MYSQL_U_SCORE_VERSION = @MYSQL_U_SCORE_VERSION@
 
200
MYSQL_VERSION_ID = @MYSQL_VERSION_ID@
 
201
NDB_DEFS = @NDB_DEFS@
 
202
NDB_LD_VERSION_SCRIPT = @NDB_LD_VERSION_SCRIPT@
 
203
NDB_SCI_INCLUDES = @NDB_SCI_INCLUDES@
 
204
NDB_SCI_LIBS = @NDB_SCI_LIBS@
 
205
NDB_SHARED_LIB_MAJOR_VERSION = @NDB_SHARED_LIB_MAJOR_VERSION@
 
206
NDB_SHARED_LIB_VERSION = @NDB_SHARED_LIB_VERSION@
 
207
NDB_SIZEOF_CHAR = @NDB_SIZEOF_CHAR@
 
208
NDB_SIZEOF_CHARP = @NDB_SIZEOF_CHARP@
 
209
NDB_SIZEOF_INT = @NDB_SIZEOF_INT@
 
210
NDB_SIZEOF_LONG = @NDB_SIZEOF_LONG@
 
211
NDB_SIZEOF_LONG_LONG = @NDB_SIZEOF_LONG_LONG@
 
212
NDB_SIZEOF_SHORT = @NDB_SIZEOF_SHORT@
 
213
NDB_VERSION_BUILD = @NDB_VERSION_BUILD@
 
214
NDB_VERSION_MAJOR = @NDB_VERSION_MAJOR@
 
215
NDB_VERSION_MINOR = @NDB_VERSION_MINOR@
 
216
NDB_VERSION_STATUS = @NDB_VERSION_STATUS@
 
217
NM = @NM@
 
218
NMEDIT = @NMEDIT@
 
219
NOINST_LDFLAGS = @NOINST_LDFLAGS@
 
220
NON_THREADED_LIBS = @NON_THREADED_LIBS@
 
221
OBJDUMP = @OBJDUMP@
 
222
OBJEXT = @OBJEXT@
 
223
OTOOL = @OTOOL@
 
224
OTOOL64 = @OTOOL64@
 
225
PACKAGE = @PACKAGE@
 
226
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
227
PACKAGE_NAME = @PACKAGE_NAME@
 
228
PACKAGE_STRING = @PACKAGE_STRING@
 
229
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
230
PACKAGE_VERSION = @PACKAGE_VERSION@
 
231
PATH_SEPARATOR = @PATH_SEPARATOR@
 
232
PDFLATEX = @PDFLATEX@
 
233
PDFMANUAL = @PDFMANUAL@
 
234
PERL = @PERL@
 
235
PERL5 = @PERL5@
 
236
PROTOCOL_VERSION = @PROTOCOL_VERSION@
 
237
PS = @PS@
 
238
RANLIB = @RANLIB@
 
239
RM = @RM@
 
240
SAVE_ASFLAGS = @SAVE_ASFLAGS@
 
241
SAVE_CC = @SAVE_CC@
 
242
SAVE_CFLAGS = @SAVE_CFLAGS@
 
243
SAVE_CXX = @SAVE_CXX@
 
244
SAVE_CXXFLAGS = @SAVE_CXXFLAGS@
 
245
SAVE_CXXLDFLAGS = @SAVE_CXXLDFLAGS@
 
246
SAVE_LDFLAGS = @SAVE_LDFLAGS@
 
247
SED = @SED@
 
248
SET_MAKE = @SET_MAKE@
 
249
SHARED_LIB_MAJOR_VERSION = @SHARED_LIB_MAJOR_VERSION@
 
250
SHARED_LIB_VERSION = @SHARED_LIB_VERSION@
 
251
SHELL = @SHELL@
 
252
STATIC_NSS_FLAGS = @STATIC_NSS_FLAGS@
 
253
STRIP = @STRIP@
 
254
SYSTEM_TYPE = @SYSTEM_TYPE@
 
255
TAR = @TAR@
 
256
TARGET_LINUX = @TARGET_LINUX@
 
257
TERMCAP_LIB = @TERMCAP_LIB@
 
258
TEST_NDBCLUSTER = @TEST_NDBCLUSTER@
 
259
THREAD_LOBJECTS = @THREAD_LOBJECTS@
 
260
VERSION = @VERSION@
 
261
WRAPLIBS = @WRAPLIBS@
 
262
YACC = @YACC@
 
263
ZLIB_DEPS = @ZLIB_DEPS@
 
264
ZLIB_INCLUDES = @ZLIB_INCLUDES@
 
265
ZLIB_LIBS = @ZLIB_LIBS@
 
266
abs_builddir = @abs_builddir@
 
267
abs_srcdir = @abs_srcdir@
 
268
abs_top_builddir = @abs_top_builddir@
 
269
abs_top_srcdir = @abs_top_srcdir@
 
270
ac_ct_CC = @ac_ct_CC@
 
271
ac_ct_CXX = @ac_ct_CXX@
 
272
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
 
273
am__include = @am__include@
 
274
am__leading_dot = @am__leading_dot@
 
275
am__quote = @am__quote@
 
276
am__tar = @am__tar@
 
277
am__untar = @am__untar@
 
278
bindir = @bindir@
 
279
build = @build@
 
280
build_alias = @build_alias@
 
281
build_cpu = @build_cpu@
 
282
build_os = @build_os@
 
283
build_vendor = @build_vendor@
 
284
builddir = @builddir@
 
285
condition_dependent_plugin_includes = @condition_dependent_plugin_includes@
 
286
condition_dependent_plugin_links = @condition_dependent_plugin_links@
 
287
condition_dependent_plugin_modules = @condition_dependent_plugin_modules@
 
288
condition_dependent_plugin_objects = @condition_dependent_plugin_objects@
 
289
datadir = @datadir@
 
290
datarootdir = @datarootdir@
 
291
docdir = @docdir@
 
292
docs_dirs = @docs_dirs@
 
293
dvidir = @dvidir@
 
294
exec_prefix = @exec_prefix@
 
295
extra_docs = @extra_docs@
 
296
host = @host@
 
297
host_alias = @host_alias@
 
298
host_cpu = @host_cpu@
 
299
host_os = @host_os@
 
300
host_vendor = @host_vendor@
 
301
htmldir = @htmldir@
 
302
includedir = @includedir@
 
303
infodir = @infodir@
 
304
innodb_system_libs = @innodb_system_libs@
 
305
install_sh = @install_sh@
 
306
libdir = @libdir@
 
307
libexecdir = @libexecdir@
 
308
libmysqld_dirs = @libmysqld_dirs@
 
309
localedir = @localedir@
 
310
localstatedir = @localstatedir@
 
311
lt_ECHO = @lt_ECHO@
 
312
man1_files = @man1_files@
 
313
man8_files = @man8_files@
 
314
man_dirs = @man_dirs@
 
315
mandir = @mandir@
 
316
mkdir_p = @mkdir_p@
 
317
mysql_pg_dirs = @mysql_pg_dirs@
 
318
mysql_pg_distdirs = @mysql_pg_distdirs@
 
319
mysql_pg_unittest_dirs = @mysql_pg_unittest_dirs@
 
320
mysql_plugin_defs = @mysql_plugin_defs@
 
321
mysql_plugin_dirs = @mysql_plugin_dirs@
 
322
mysql_plugin_libs = @mysql_plugin_libs@
 
323
mysql_se_dirs = @mysql_se_dirs@
 
324
mysql_se_distdirs = @mysql_se_distdirs@
 
325
mysql_se_unittest_dirs = @mysql_se_unittest_dirs@
 
326
ndb_bin_am_ldflags = @ndb_bin_am_ldflags@
 
327
ndb_cxxflags_fix = @ndb_cxxflags_fix@
 
328
ndb_mgmclient_libs = @ndb_mgmclient_libs@
 
329
ndb_opt_subdirs = @ndb_opt_subdirs@
 
330
ndb_port = @ndb_port@
 
331
ndb_transporter_opt_objs = @ndb_transporter_opt_objs@
 
332
ndbcluster_includes = @ndbcluster_includes@
 
333
ndbcluster_libs = @ndbcluster_libs@
 
334
ndbcluster_system_libs = @ndbcluster_system_libs@
 
335
netware_dir = @netware_dir@
 
336
oldincludedir = @oldincludedir@
 
337
openssl_includes = @openssl_includes@
 
338
openssl_libs = @openssl_libs@
 
339
pdfdir = @pdfdir@
 
340
plugin_archive_shared_target = @plugin_archive_shared_target@
 
341
plugin_archive_static_target = @plugin_archive_static_target@
 
342
plugin_blackhole_shared_target = @plugin_blackhole_shared_target@
 
343
plugin_blackhole_static_target = @plugin_blackhole_static_target@
 
344
plugin_csv_shared_target = @plugin_csv_shared_target@
 
345
plugin_csv_static_target = @plugin_csv_static_target@
 
346
plugin_daemon_example_shared_target = @plugin_daemon_example_shared_target@
 
347
plugin_daemon_example_static_target = @plugin_daemon_example_static_target@
 
348
plugin_example_shared_target = @plugin_example_shared_target@
 
349
plugin_example_static_target = @plugin_example_static_target@
 
350
plugin_federated_shared_target = @plugin_federated_shared_target@
 
351
plugin_federated_static_target = @plugin_federated_static_target@
 
352
plugin_ftexample_shared_target = @plugin_ftexample_shared_target@
 
353
plugin_ftexample_static_target = @plugin_ftexample_static_target@
 
354
plugin_heap_shared_target = @plugin_heap_shared_target@
 
355
plugin_heap_static_target = @plugin_heap_static_target@
 
356
plugin_ibmdb2i_shared_target = @plugin_ibmdb2i_shared_target@
 
357
plugin_ibmdb2i_static_target = @plugin_ibmdb2i_static_target@
 
358
plugin_innobase_shared_target = @plugin_innobase_shared_target@
 
359
plugin_innobase_static_target = @plugin_innobase_static_target@
 
360
plugin_innodb_plugin_shared_target = @plugin_innodb_plugin_shared_target@
 
361
plugin_innodb_plugin_static_target = @plugin_innodb_plugin_static_target@
 
362
plugin_myisam_shared_target = @plugin_myisam_shared_target@
 
363
plugin_myisam_static_target = @plugin_myisam_static_target@
 
364
plugin_myisammrg_shared_target = @plugin_myisammrg_shared_target@
 
365
plugin_myisammrg_static_target = @plugin_myisammrg_static_target@
 
366
plugin_ndbcluster_shared_target = @plugin_ndbcluster_shared_target@
 
367
plugin_ndbcluster_static_target = @plugin_ndbcluster_static_target@
 
368
plugin_partition_shared_target = @plugin_partition_shared_target@
 
369
plugin_partition_static_target = @plugin_partition_static_target@
 
370
prefix = @prefix@
 
371
program_transform_name = @program_transform_name@
 
372
psdir = @psdir@
 
373
pstack_dir = @pstack_dir@
 
374
pstack_libs = @pstack_libs@
 
375
readline_basedir = @readline_basedir@
 
376
readline_dir = @readline_dir@
 
377
readline_h_ln_cmd = @readline_h_ln_cmd@
 
378
readline_link = @readline_link@
 
379
readline_topdir = @readline_topdir@
 
380
sbindir = @sbindir@
 
381
server_scripts = @server_scripts@
 
382
sharedstatedir = @sharedstatedir@
 
383
sql_client_dirs = @sql_client_dirs@
 
384
sql_server = @sql_server@
 
385
sql_server_dirs = @sql_server_dirs@
 
386
sql_union_dirs = @sql_union_dirs@
 
387
srcdir = @srcdir@
 
388
sysconfdir = @sysconfdir@
 
389
target = @target@
 
390
target_alias = @target_alias@
 
391
target_cpu = @target_cpu@
 
392
target_os = @target_os@
 
393
target_vendor = @target_vendor@
 
394
tools_dirs = @tools_dirs@
 
395
top_build_prefix = @top_build_prefix@
 
396
top_builddir = @top_builddir@
 
397
top_srcdir = @top_srcdir@
 
398
uname_prog = @uname_prog@
 
399
yassl_dir = @yassl_dir@
 
400
yassl_h_ln_cmd = @yassl_h_ln_cmd@
 
401
yassl_libs = @yassl_libs@
 
402
yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
 
403
zlib_dir = @zlib_dir@
 
404
AUTOMAKE_OPTIONS = foreign
 
405
 
 
406
# These are built from source in the Docs directory
 
407
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
 
408
                        README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
 
409
 
 
410
SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
 
411
                        @readline_topdir@ sql-common scripts \
 
412
                        @pstack_dir@ \
 
413
                        @sql_union_dirs@ unittest \
 
414
                        @sql_server@ @man_dirs@ tests \
 
415
                        netware @libmysqld_dirs@ \
 
416
                        mysql-test support-files sql-bench @tools_dirs@ \
 
417
                        win
 
418
 
 
419
DIST_SUBDIRS = . include Docs zlib \
 
420
                        cmd-line-utils sql-common scripts \
 
421
                        pstack \
 
422
                        strings mysys dbug extra regex libmysql libmysql_r client unittest storage plugin \
 
423
                        vio sql man tests \
 
424
                        netware libmysqld \
 
425
                        mysql-test support-files sql-bench server-tools \
 
426
                        win \
 
427
                        BUILD
 
428
 
 
429
DISTCLEANFILES = ac_available_languages_fragment
 
430
 
 
431
#
 
432
# Headers which need to be checked for abi/api compatibility.
 
433
# API_PREPROCESSOR_HEADER will be used until mysql_priv.h stablizes
 
434
# after which TEST_PREPROCESSOR_HEADER will be used.
 
435
#
 
436
API_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \
 
437
                           $(top_srcdir)/include/mysql.h
 
438
 
 
439
TEST_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \
 
440
                            $(top_srcdir)/sql/mysql_priv.h \
 
441
                            $(top_srcdir)/include/mysql.h
 
442
 
 
443
all: all-recursive
 
444
 
 
445
.SUFFIXES:
 
446
am--refresh:
 
447
        @:
 
448
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
 
449
        @for dep in $?; do \
 
450
          case '$(am__configure_deps)' in \
 
451
            *$$dep*) \
 
452
              echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
 
453
              cd $(srcdir) && $(AUTOMAKE) --foreign  \
 
454
                && exit 0; \
 
455
              exit 1;; \
 
456
          esac; \
 
457
        done; \
 
458
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
 
459
        cd $(top_srcdir) && \
 
460
          $(AUTOMAKE) --foreign  Makefile
 
461
.PRECIOUS: Makefile
 
462
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
463
        @case '$?' in \
 
464
          *config.status*) \
 
465
            echo ' $(SHELL) ./config.status'; \
 
466
            $(SHELL) ./config.status;; \
 
467
          *) \
 
468
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
 
469
            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
 
470
        esac;
 
471
 
 
472
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
473
        $(SHELL) ./config.status --recheck
 
474
 
 
475
$(top_srcdir)/configure:  $(am__configure_deps)
 
476
        cd $(srcdir) && $(AUTOCONF)
 
477
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 
478
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
479
 
 
480
mostlyclean-libtool:
 
481
        -rm -f *.lo
 
482
 
 
483
clean-libtool:
 
484
        -rm -rf .libs _libs
 
485
 
 
486
distclean-libtool:
 
487
        -rm -f libtool config.lt
 
488
 
 
489
# This directory's subdirectories are mostly independent; you can cd
 
490
# into them and run `make' without going through this Makefile.
 
491
# To change the values of `make' variables: instead of editing Makefiles,
 
492
# (1) if the variable is set in `config.status', edit `config.status'
 
493
#     (which will cause the Makefiles to be regenerated when you run `make');
 
494
# (2) otherwise, pass the desired values on the `make' command line.
 
495
$(RECURSIVE_TARGETS):
 
496
        @failcom='exit 1'; \
 
497
        for f in x $$MAKEFLAGS; do \
 
498
          case $$f in \
 
499
            *=* | --[!k]*);; \
 
500
            *k*) failcom='fail=yes';; \
 
501
          esac; \
 
502
        done; \
 
503
        dot_seen=no; \
 
504
        target=`echo $@ | sed s/-recursive//`; \
 
505
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
506
          echo "Making $$target in $$subdir"; \
 
507
          if test "$$subdir" = "."; then \
 
508
            dot_seen=yes; \
 
509
            local_target="$$target-am"; \
 
510
          else \
 
511
            local_target="$$target"; \
 
512
          fi; \
 
513
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
514
          || eval $$failcom; \
 
515
        done; \
 
516
        if test "$$dot_seen" = "no"; then \
 
517
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
518
        fi; test -z "$$fail"
 
519
 
 
520
$(RECURSIVE_CLEAN_TARGETS):
 
521
        @failcom='exit 1'; \
 
522
        for f in x $$MAKEFLAGS; do \
 
523
          case $$f in \
 
524
            *=* | --[!k]*);; \
 
525
            *k*) failcom='fail=yes';; \
 
526
          esac; \
 
527
        done; \
 
528
        dot_seen=no; \
 
529
        case "$@" in \
 
530
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
531
          *) list='$(SUBDIRS)' ;; \
 
532
        esac; \
 
533
        rev=''; for subdir in $$list; do \
 
534
          if test "$$subdir" = "."; then :; else \
 
535
            rev="$$subdir $$rev"; \
 
536
          fi; \
 
537
        done; \
 
538
        rev="$$rev ."; \
 
539
        target=`echo $@ | sed s/-recursive//`; \
 
540
        for subdir in $$rev; do \
 
541
          echo "Making $$target in $$subdir"; \
 
542
          if test "$$subdir" = "."; then \
 
543
            local_target="$$target-am"; \
 
544
          else \
 
545
            local_target="$$target"; \
 
546
          fi; \
 
547
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
548
          || eval $$failcom; \
 
549
        done && test -z "$$fail"
 
550
tags-recursive:
 
551
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
552
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
553
        done
 
554
ctags-recursive:
 
555
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
556
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 
557
        done
 
558
 
 
559
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 
560
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 
561
        unique=`for i in $$list; do \
 
562
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
563
          done | \
 
564
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
565
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
566
        mkid -fID $$unique
 
567
 
 
568
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
569
                $(TAGS_FILES) $(LISP)
 
570
        tags=; \
 
571
        here=`pwd`; \
 
572
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 
573
          include_option=--etags-include; \
 
574
          empty_fix=.; \
 
575
        else \
 
576
          include_option=--include; \
 
577
          empty_fix=; \
 
578
        fi; \
 
579
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
580
          if test "$$subdir" = .; then :; else \
 
581
            test ! -f $$subdir/TAGS || \
 
582
              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
 
583
          fi; \
 
584
        done; \
 
585
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
586
        unique=`for i in $$list; do \
 
587
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
588
          done | \
 
589
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
590
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
591
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
 
592
          test -n "$$unique" || unique=$$empty_fix; \
 
593
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
594
            $$tags $$unique; \
 
595
        fi
 
596
ctags: CTAGS
 
597
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
598
                $(TAGS_FILES) $(LISP)
 
599
        tags=; \
 
600
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
601
        unique=`for i in $$list; do \
 
602
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
603
          done | \
 
604
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
605
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
606
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
 
607
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
 
608
             $$tags $$unique
 
609
 
 
610
GTAGS:
 
611
        here=`$(am__cd) $(top_builddir) && pwd` \
 
612
          && cd $(top_srcdir) \
 
613
          && gtags -i $(GTAGS_ARGS) $$here
 
614
 
 
615
distclean-tags:
 
616
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
617
 
 
618
distdir: $(DISTFILES)
 
619
        $(am__remove_distdir)
 
620
        test -d $(distdir) || mkdir $(distdir)
 
621
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
622
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
623
        list='$(DISTFILES)'; \
 
624
          dist_files=`for file in $$list; do echo $$file; done | \
 
625
          sed -e "s|^$$srcdirstrip/||;t" \
 
626
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
627
        case $$dist_files in \
 
628
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
629
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
630
                           sort -u` ;; \
 
631
        esac; \
 
632
        for file in $$dist_files; do \
 
633
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
634
          if test -d $$d/$$file; then \
 
635
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
636
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
637
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
638
            fi; \
 
639
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
640
          else \
 
641
            test -f $(distdir)/$$file \
 
642
            || cp -p $$d/$$file $(distdir)/$$file \
 
643
            || exit 1; \
 
644
          fi; \
 
645
        done
 
646
        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 
647
          if test "$$subdir" = .; then :; else \
 
648
            test -d "$(distdir)/$$subdir" \
 
649
            || $(MKDIR_P) "$(distdir)/$$subdir" \
 
650
            || exit 1; \
 
651
            distdir=`$(am__cd) $(distdir) && pwd`; \
 
652
            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 
653
            (cd $$subdir && \
 
654
              $(MAKE) $(AM_MAKEFLAGS) \
 
655
                top_distdir="$$top_distdir" \
 
656
                distdir="$$distdir/$$subdir" \
 
657
                am__remove_distdir=: \
 
658
                am__skip_length_check=: \
 
659
                distdir) \
 
660
              || exit 1; \
 
661
          fi; \
 
662
        done
 
663
        $(MAKE) $(AM_MAKEFLAGS) \
 
664
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
665
          dist-hook
 
666
        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
 
667
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
 
668
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
 
669
          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
 
670
        || chmod -R a+r $(distdir)
 
671
dist-gzip: distdir
 
672
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
673
        $(am__remove_distdir)
 
674
 
 
675
dist-bzip2: distdir
 
676
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 
677
        $(am__remove_distdir)
 
678
 
 
679
dist-lzma: distdir
 
680
        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
 
681
        $(am__remove_distdir)
 
682
 
 
683
dist-tarZ: distdir
 
684
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 
685
        $(am__remove_distdir)
 
686
 
 
687
dist-shar: distdir
 
688
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
 
689
        $(am__remove_distdir)
 
690
 
 
691
dist-zip: distdir
 
692
        -rm -f $(distdir).zip
 
693
        zip -rq $(distdir).zip $(distdir)
 
694
        $(am__remove_distdir)
 
695
 
 
696
dist dist-all: distdir
 
697
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
698
        $(am__remove_distdir)
 
699
 
 
700
# This target untars the dist file and tries a VPATH configuration.  Then
 
701
# it guarantees that the distribution is self-contained by making another
 
702
# tarfile.
 
703
distcheck: dist
 
704
        case '$(DIST_ARCHIVES)' in \
 
705
        *.tar.gz*) \
 
706
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
 
707
        *.tar.bz2*) \
 
708
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
 
709
        *.tar.lzma*) \
 
710
          unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
 
711
        *.tar.Z*) \
 
712
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 
713
        *.shar.gz*) \
 
714
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
 
715
        *.zip*) \
 
716
          unzip $(distdir).zip ;;\
 
717
        esac
 
718
        chmod -R a-w $(distdir); chmod a+w $(distdir)
 
719
        mkdir $(distdir)/_build
 
720
        mkdir $(distdir)/_inst
 
721
        chmod a-w $(distdir)
 
722
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
 
723
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
 
724
          && cd $(distdir)/_build \
 
725
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
 
726
            $(DISTCHECK_CONFIGURE_FLAGS) \
 
727
          && $(MAKE) $(AM_MAKEFLAGS) \
 
728
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
 
729
          && $(MAKE) $(AM_MAKEFLAGS) check \
 
730
          && $(MAKE) $(AM_MAKEFLAGS) install \
 
731
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
 
732
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
 
733
          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
 
734
                distuninstallcheck \
 
735
          && chmod -R a-w "$$dc_install_base" \
 
736
          && ({ \
 
737
               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
 
738
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
 
739
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
 
740
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
 
741
                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
 
742
              } || { rm -rf "$$dc_destdir"; exit 1; }) \
 
743
          && rm -rf "$$dc_destdir" \
 
744
          && $(MAKE) $(AM_MAKEFLAGS) dist \
 
745
          && rm -rf $(DIST_ARCHIVES) \
 
746
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
 
747
        $(am__remove_distdir)
 
748
        @(echo "$(distdir) archives ready for distribution: "; \
 
749
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
 
750
          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
 
751
distuninstallcheck:
 
752
        @cd $(distuninstallcheck_dir) \
 
753
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
 
754
           || { echo "ERROR: files left after uninstall:" ; \
 
755
                if test -n "$(DESTDIR)"; then \
 
756
                  echo "  (check DESTDIR support)"; \
 
757
                fi ; \
 
758
                $(distuninstallcheck_listfiles) ; \
 
759
                exit 1; } >&2
 
760
distcleancheck: distclean
 
761
        @if test '$(srcdir)' = . ; then \
 
762
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
 
763
          exit 1 ; \
 
764
        fi
 
765
        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
 
766
          || { echo "ERROR: files left in build directory after distclean:" ; \
 
767
               $(distcleancheck_listfiles) ; \
 
768
               exit 1; } >&2
 
769
check-am: all-am
 
770
check: check-recursive
 
771
all-am: Makefile all-local
 
772
installdirs: installdirs-recursive
 
773
installdirs-am:
 
774
install: install-recursive
 
775
install-exec: install-exec-recursive
 
776
install-data: install-data-recursive
 
777
uninstall: uninstall-recursive
 
778
 
 
779
install-am: all-am
 
780
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
781
 
 
782
installcheck: installcheck-recursive
 
783
install-strip:
 
784
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
785
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
786
          `test -z '$(STRIP)' || \
 
787
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
788
mostlyclean-generic:
 
789
 
 
790
clean-generic:
 
791
 
 
792
distclean-generic:
 
793
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
794
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
795
 
 
796
maintainer-clean-generic:
 
797
        @echo "This command is intended for maintainers to use"
 
798
        @echo "it deletes files that may require special tools to rebuild."
 
799
clean: clean-recursive
 
800
 
 
801
clean-am: clean-generic clean-libtool mostlyclean-am
 
802
 
 
803
distclean: distclean-recursive
 
804
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
805
        -rm -f Makefile
 
806
distclean-am: clean-am distclean-generic distclean-libtool \
 
807
        distclean-tags
 
808
 
 
809
dvi: dvi-recursive
 
810
 
 
811
dvi-am:
 
812
 
 
813
html: html-recursive
 
814
 
 
815
info: info-recursive
 
816
 
 
817
info-am:
 
818
 
 
819
install-data-am:
 
820
 
 
821
install-dvi: install-dvi-recursive
 
822
 
 
823
install-exec-am:
 
824
 
 
825
install-html: install-html-recursive
 
826
 
 
827
install-info: install-info-recursive
 
828
 
 
829
install-man:
 
830
 
 
831
install-pdf: install-pdf-recursive
 
832
 
 
833
install-ps: install-ps-recursive
 
834
 
 
835
installcheck-am:
 
836
 
 
837
maintainer-clean: maintainer-clean-recursive
 
838
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
839
        -rm -rf $(top_srcdir)/autom4te.cache
 
840
        -rm -f Makefile
 
841
maintainer-clean-am: distclean-am maintainer-clean-generic
 
842
 
 
843
mostlyclean: mostlyclean-recursive
 
844
 
 
845
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
846
 
 
847
pdf: pdf-recursive
 
848
 
 
849
pdf-am:
 
850
 
 
851
ps: ps-recursive
 
852
 
 
853
ps-am:
 
854
 
 
855
uninstall-am:
 
856
 
 
857
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
 
858
        install-strip
 
859
 
 
860
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
 
861
        all all-am all-local am--refresh check check-am clean \
 
862
        clean-generic clean-libtool ctags ctags-recursive dist \
 
863
        dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
 
864
        dist-tarZ dist-zip distcheck distclean distclean-generic \
 
865
        distclean-libtool distclean-tags distcleancheck distdir \
 
866
        distuninstallcheck dvi dvi-am html html-am info info-am \
 
867
        install install-am install-data install-data-am install-dvi \
 
868
        install-dvi-am install-exec install-exec-am install-html \
 
869
        install-html-am install-info install-info-am install-man \
 
870
        install-pdf install-pdf-am install-ps install-ps-am \
 
871
        install-strip installcheck installcheck-am installdirs \
 
872
        installdirs-am maintainer-clean maintainer-clean-generic \
 
873
        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
 
874
        ps ps-am tags tags-recursive uninstall uninstall-am
 
875
 
 
876
 
 
877
# Create permission databases
 
878
init-db:                all
 
879
        $(top_builddir)/scripts/mysql_install_db
 
880
 
 
881
bin-dist:               all
 
882
        $(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
 
883
 
 
884
# Remove BK's "SCCS" subdirectories from source distribution
 
885
# Create initial database files for Windows installations and check them.
 
886
dist-hook:
 
887
        rm -rf `find $(distdir) -type d -name SCCS -print`
 
888
        mkdir -p $(distdir)/win
 
889
        scripts/mysql_install_db --no-defaults --cross-bootstrap \
 
890
                --builddir=$(top_builddir) \
 
891
                --datadir=$(distdir)/win/data \
 
892
                --srcdir=$(top_srcdir)
 
893
        storage/myisam/myisamchk --silent --fast $(distdir)/win/data/mysql/*.MYI
 
894
 
 
895
all-local:              @ABI_CHECK@     
 
896
 
 
897
tags:
 
898
        support-files/build-tags
 
899
 
 
900
.PHONY: init-db bin-dist \
 
901
  test    test-force    test-full    test-force-full    test-force-mem \
 
902
  test-pl test-force-pl test-full-pl test-force-full-pl test-force-pl-mem \
 
903
  test-unit test-ps test-nr test-pr test-ns test-binlog-statement \
 
904
  test-ext-funcs test-ext-rpl test-ext-partitions test-ext-jp \
 
905
  test-ext-stress test-ext test-embedded test-reprepare \
 
906
  test-fast test-fast-cursor test-fast-view test-fast-prepare \
 
907
  test-full-qa
 
908
 
 
909
# Target 'test' will run the regression test suite using the built server.
 
910
#
 
911
# If you are running in a shared environment, users can avoid clashing
 
912
# port numbers by setting individual small numbers 1-100 to the
 
913
# environment variable MTR_BUILD_THREAD. The script "mysql-test-run"
 
914
# will then calculate the various port numbers it needs from this,
 
915
# making sure each user use different ports.
 
916
 
 
917
test-unit:
 
918
        cd unittest && $(MAKE) test
 
919
 
 
920
test-ps:
 
921
        cd mysql-test ; \
 
922
            @PERL@ ./mysql-test-run.pl $(force) --ps-protocol --mysqld=--binlog-format=mixed
 
923
 
 
924
test-nr:
 
925
        cd mysql-test ; \
 
926
            @PERL@ ./mysql-test-run.pl $(force) --mysqld=--binlog-format=row
 
927
 
 
928
test-pr:
 
929
        cd mysql-test ; \
 
930
            @PERL@ ./mysql-test-run.pl $(force) $(mem) --ps-protocol --mysqld=--binlog-format=row
 
931
 
 
932
test-ns:
 
933
        cd mysql-test ; \
 
934
            @PERL@ ./mysql-test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
 
935
 
 
936
test-binlog-statement:
 
937
        cd mysql-test ; \
 
938
            @PERL@ ./mysql-test-run.pl $(force) --mysqld=--binlog-format=statement
 
939
 
 
940
# This code is duplicated in "test-bt", see the Changeset comment of 2007-Dec-07
 
941
test-embedded:
 
942
        if [ -e bin/mysqltest_embedded -o -e libmysqld/examples/mysqltest_embedded ] ; then \
 
943
          cd mysql-test ; MTR_BUILD_THREAD=auto \
 
944
              @PERL@ ./mysql-test-run.pl --comment=embedded --force --timer \
 
945
                  --embedded-server --skip-rpl --skip-ndbcluster ; \
 
946
        else \
 
947
          echo "no program found for 'embedded' tests - skipped testing" ; \
 
948
        fi
 
949
 
 
950
test-reprepare:
 
951
        cd mysql-test ; \
 
952
            @PERL@ ./mysql-test-run.pl $(force) $(mem) --ps-protocol \
 
953
                --mysqld=--debug=+d,reprepare_each_statement
 
954
 
 
955
test:   test-unit test-ns test-pr
 
956
 
 
957
smoke:
 
958
        cd mysql-test ; \
 
959
            @PERL@ ./mysql-test-run.pl --do-test=s
 
960
 
 
961
test-full:      test test-nr test-ps
 
962
 
 
963
test-force:
 
964
        $(MAKE) force=--force test
 
965
 
 
966
test-force-full:
 
967
        $(MAKE) force=--force test-full
 
968
 
 
969
#used by autopush.pl to run memory based tests
 
970
test-force-mem:
 
971
        $(MAKE) force=--force mem=--mem test
 
972
 
 
973
test-bt:
 
974
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
975
            @PERL@ ./mysql-test-run.pl --comment=normal --force --timer \
 
976
                --skip-ndbcluster --report-features
 
977
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
978
            @PERL@ ./mysql-test-run.pl  --comment=ps    --force --timer \
 
979
                --skip-ndbcluster --ps-protocol
 
980
        -if [ -e bin/ndbd -o -e storage/ndb/src/kernel/ndbd ] ; then \
 
981
          cd mysql-test ; \
 
982
            MTR_BUILD_THREAD=auto \
 
983
              @PERL@ ./mysql-test-run.pl --comment=ndb+rpl_ndb+ps --force --timer \
 
984
                  --ps-protocol --mysqld=--binlog-format=row --suite=ndb,rpl_ndb ; \
 
985
            MTR_BUILD_THREAD=auto \
 
986
              @PERL@ ./mysql-test-run.pl --comment=ndb --force --timer \
 
987
                  --with-ndbcluster-only ; \
 
988
        else \
 
989
          echo "no program found for 'ndbcluster' tests - skipped testing" ; \
 
990
        fi
 
991
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
992
            @PERL@ ./mysql-test-run.pl --force --comment=funcs1+ps --ps-protocol --reorder --suite=funcs_1
 
993
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
994
            @PERL@ ./mysql-test-run.pl --force --comment=funcs2 --suite=funcs_2
 
995
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
996
            @PERL@ ./mysql-test-run.pl --force --comment=partitions --suite=parts
 
997
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
998
            @PERL@ ./mysql-test-run.pl --force --comment=stress --suite=stress
 
999
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1000
            @PERL@ ./mysql-test-run.pl --force --comment=jp --suite=jp
 
1001
        -if [ -d mysql-test/suite/nist ] ; then \
 
1002
          cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1003
              @PERL@ ./mysql-test-run.pl --comment=nist --force --suite=nist ; \
 
1004
        fi
 
1005
        -if [ -d mysql-test/suite/nist ] ; then \
 
1006
          cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1007
              @PERL@ ./mysql-test-run.pl --comment=nist+ps --force --suite=nist --ps-protocol ; \
 
1008
        fi
 
1009
        -if [ -e bin/mysqltest_embedded -o -e libmysqld/examples/mysqltest_embedded ] ; then \
 
1010
          cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1011
              @PERL@ ./mysql-test-run.pl --comment=embedded --force --timer \
 
1012
                  --embedded-server --skip-rpl --skip-ndbcluster ; \
 
1013
        else \
 
1014
          echo "no program found for 'embedded' tests - skipped testing" ; \
 
1015
        fi
 
1016
 
 
1017
test-bt-fast:
 
1018
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1019
            @PERL@ ./mysql-test-run.pl  --comment=ps    --force --timer \
 
1020
                --skip-ndbcluster --ps-protocol --report-features
 
1021
        -if [ -e bin/ndbd -o -e storage/ndb/src/kernel/ndbd ] ; then \
 
1022
          cd mysql-test ; \
 
1023
            MTR_BUILD_THREAD=auto \
 
1024
              @PERL@ ./mysql-test-run.pl --comment=ndb --force --timer \
 
1025
                  --with-ndbcluster-only ; \
 
1026
        else \
 
1027
          echo "no program found for 'ndbcluster' tests - skipped testing" ; \
 
1028
        fi
 
1029
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1030
            @PERL@ ./mysql-test-run.pl --force --comment=stress --suite=stress
 
1031
 
 
1032
test-bt-debug:
 
1033
        -cd mysql-test ; MTR_BUILD_THREAD=auto \
 
1034
            @PERL@ ./mysql-test-run.pl --comment=debug  --force --timer \
 
1035
                --skip-ndbcluster --skip-rpl --report-features
 
1036
 
 
1037
test-bt-debug-fast:
 
1038
 
 
1039
test-bt-debug-fast:
 
1040
 
 
1041
# Keep these for a while
 
1042
test-pl:        test
 
1043
test-full-pl:   test-full
 
1044
test-force-pl:  test-force
 
1045
test-force-pl-mem:  test-force-mem
 
1046
test-force-full-pl: test-force-full
 
1047
 
 
1048
test-ext-funcs:
 
1049
        cd mysql-test ; \
 
1050
            @PERL@ ./mysql-test-run.pl --force --reorder --suite=funcs_1 ; \
 
1051
            @PERL@ ./mysql-test-run.pl --force --suite=funcs_2
 
1052
 
 
1053
test-ext-rpl:
 
1054
        cd mysql-test ; \
 
1055
            @PERL@ ./mysql-test-run.pl --force --suite=rpl
 
1056
 
 
1057
test-ext-partitions:
 
1058
        cd mysql-test ; \
 
1059
            @PERL@ ./mysql-test-run.pl --force --suite=parts
 
1060
 
 
1061
test-ext-jp:
 
1062
        cd mysql-test ; \
 
1063
            @PERL@ ./mysql-test-run.pl --force --suite=jp
 
1064
 
 
1065
test-ext-stress:
 
1066
        cd mysql-test ; \
 
1067
            @PERL@ ./mysql-test-run.pl --force --big-test --suite=stress
 
1068
 
 
1069
test-ext:       test-ext-funcs test-ext-rpl test-ext-partitions test-ext-jp test-ext-stress
 
1070
 
 
1071
test-fast:
 
1072
        cd mysql-test ; \
 
1073
            @PERL@ ./mysql-test-run.pl $(subset) --force --skip-ndb --skip-innodb --skip-im --skip-rpl ; \
 
1074
            @PERL@ ./mysql-test-run.pl $(subset) --force --suite=funcs_1 --do-test=myisam ; \
 
1075
            @PERL@ ./mysql-test-run.pl $(subset) --force --suite=stress --do-test=ddl_myisam 
 
1076
 
 
1077
test-fast-view:
 
1078
        $(MAKE) subset=--view-protocol test-fast
 
1079
 
 
1080
test-fast-cursor:
 
1081
        $(MAKE) subset=--cursor-protocol test-fast
 
1082
 
 
1083
test-fast-prepare:
 
1084
        $(MAKE) subset=--ps-protocol test-fast
 
1085
 
 
1086
test-full-qa:
 
1087
        $(MAKE) force=--force test-pr \
 
1088
            test-binlog-statement test-ext test-fast-view \
 
1089
                test-fast-cursor test-unit
 
1090
 
 
1091
#
 
1092
# Rules for checking that the abi/api has not changed.
 
1093
#
 
1094
# The following steps are followed in the do_abi_check rule below
 
1095
#
 
1096
# 1) Generate preprocessor output for the files that need to
 
1097
#    be tested for abi/api changes. use -nostdinc to prevent
 
1098
#    generation of preprocessor output for system headers. This
 
1099
#    results in messages in stderr saying that these headers
 
1100
#    were not found. Redirect the stderr output to /dev/null
 
1101
#    to prevent seeing these messages.
 
1102
# 2) sed the output to 
 
1103
#    2.1) remove blank lines and lines that begin with "# "
 
1104
#    2.2) When gcc -E is run on the Mac OS  and solaris sparc platforms it
 
1105
#         introduces a line of output that shows up as a difference between
 
1106
#         the .pp and .out files. Remove these OS specific preprocessor text
 
1107
#         inserted by the preprocessor.
 
1108
# 3) diff the generated file and the canons (.pp files already in
 
1109
#    the repository).
 
1110
# 4) delete the .out file that is generated.
 
1111
#
 
1112
# If the diff fails, the generated file is not removed. This will
 
1113
# be useful for analysis of ABI differences (e.g. using a visual
 
1114
# diff tool).
 
1115
#
 
1116
# A ABI change that causes a build to fail will always be accompanied
 
1117
# by new canons (.out files). The .out files that are not removed will
 
1118
# be replaced as the new .pp files.
 
1119
#
 
1120
# e.g. If include/mysql/plugin.h has an ABI change then this rule would
 
1121
# leave a <build directory>/abi_check.out file.
 
1122
#
 
1123
# A developer with a justified API change will then do a
 
1124
# mv <build directory>/abi_check.out include/mysql/plugin.pp 
 
1125
# to replace the old canons with the new ones.
 
1126
#
 
1127
 
 
1128
abi_check:      $(API_PREPROCESSOR_HEADER)
 
1129
        $(MAKE) abi_headers="$^" do_abi_check
 
1130
 
 
1131
abi_check_all:  $(TEST_PREPROCESSOR_HEADER)
 
1132
        $(MAKE) abi_headers="$^" do_abi_check
 
1133
 
 
1134
do_abi_check:
 
1135
        set -ex; \
 
1136
        for file in $(abi_headers); do \
 
1137
                 @CC@ -E -nostdinc -dI \
 
1138
                          -I$(top_srcdir)/include \
 
1139
                          -I$(top_srcdir)/include/mysql \
 
1140
                          -I$(top_srcdir)/sql \
 
1141
                          -I$(top_builddir)/include \
 
1142
                          -I$(top_builddir)/include/mysql \
 
1143
                          -I$(top_builddir)/sql \
 
1144
                                         $$file 2>/dev/null | \
 
1145
                          @SED@ -e '/^# /d' \
 
1146
                                    -e '/^[     ]*$$/d' \
 
1147
                                    -e '/^#pragma GCC set_debug_pwd/d' \
 
1148
                                    -e '/^#ident/d' > \
 
1149
                                               $(top_builddir)/abi_check.out; \
 
1150
                          @DIFF@ -w $$file.pp $(top_builddir)/abi_check.out; \
 
1151
                          @RM@ $(top_builddir)/abi_check.out; \
 
1152
        done
 
1153
 
 
1154
# Don't update the files from bitkeeper
 
1155
%::SCCS/s.%
 
1156
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
1157
# Otherwise a system limit (for SysV at least) may be exceeded.
 
1158
.NOEXPORT: