1
# Makefile.in generated by automake 1.10.2 from Makefile.am.
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.
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
17
# Copyright 2000-2008 MySQL AB, 2009 Sun Microsystems, Inc.
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.
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.
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
32
# Process this file with automake to create Makefile.in
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)
49
build_triplet = @build@
51
target_triplet = @target@
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 \
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) \
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
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
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
99
distuninstallcheck_listfiles = find . -type f -print
100
distcleancheck_listfiles = find . -type f -print
101
ABI_CHECK = @ABI_CHECK@
109
AUTOCONF = @AUTOCONF@
110
AUTOHEADER = @AUTOHEADER@
111
AUTOMAKE = @AUTOMAKE@
112
AVAILABLE_LANGUAGES = @AVAILABLE_LANGUAGES@
116
CCASDEPMODE = @CCASDEPMODE@
117
CCASFLAGS = @CCASFLAGS@
118
CCDEPMODE = @CCDEPMODE@
119
CC_VERSION = @CC_VERSION@
121
CHECK_PID = @CHECK_PID@
123
CLIENT_EXTRA_LDFLAGS = @CLIENT_EXTRA_LDFLAGS@
124
CLIENT_LIBS = @CLIENT_LIBS@
125
CLIENT_THREAD_LIBS = @CLIENT_THREAD_LIBS@
127
COMPILATION_COMMENT = @COMPILATION_COMMENT@
128
CONF_COMMAND = @CONF_COMMAND@
131
CPPFLAGS = @CPPFLAGS@
134
CXXDEPMODE = @CXXDEPMODE@
135
CXXFLAGS = @CXXFLAGS@
136
CXXLDFLAGS = @CXXLDFLAGS@
137
CXX_VERSION = @CXX_VERSION@
138
CYGPATH_W = @CYGPATH_W@
142
DOT_FRM_VERSION = @DOT_FRM_VERSION@
144
DSYMUTIL = @DSYMUTIL@
153
FIND_PROC = @FIND_PROC@
157
HOSTNAME = @HOSTNAME@
158
INNODB_DYNAMIC_CFLAGS = @INNODB_DYNAMIC_CFLAGS@
160
INSTALL_DATA = @INSTALL_DATA@
161
INSTALL_PROGRAM = @INSTALL_PROGRAM@
162
INSTALL_SCRIPT = @INSTALL_SCRIPT@
163
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
167
LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@
169
LIBEDIT_LOBJECTS = @LIBEDIT_LOBJECTS@
173
LIB_EXTRA_CCFLAGS = @LIB_EXTRA_CCFLAGS@
175
LM_CFLAGS = @LM_CFLAGS@
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@
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@
219
NOINST_LDFLAGS = @NOINST_LDFLAGS@
220
NON_THREADED_LIBS = @NON_THREADED_LIBS@
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@
236
PROTOCOL_VERSION = @PROTOCOL_VERSION@
240
SAVE_ASFLAGS = @SAVE_ASFLAGS@
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@
248
SET_MAKE = @SET_MAKE@
249
SHARED_LIB_MAJOR_VERSION = @SHARED_LIB_MAJOR_VERSION@
250
SHARED_LIB_VERSION = @SHARED_LIB_VERSION@
252
STATIC_NSS_FLAGS = @STATIC_NSS_FLAGS@
254
SYSTEM_TYPE = @SYSTEM_TYPE@
256
TARGET_LINUX = @TARGET_LINUX@
257
TERMCAP_LIB = @TERMCAP_LIB@
258
TEST_NDBCLUSTER = @TEST_NDBCLUSTER@
259
THREAD_LOBJECTS = @THREAD_LOBJECTS@
261
WRAPLIBS = @WRAPLIBS@
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@
277
am__untar = @am__untar@
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@
290
datarootdir = @datarootdir@
292
docs_dirs = @docs_dirs@
294
exec_prefix = @exec_prefix@
295
extra_docs = @extra_docs@
297
host_alias = @host_alias@
298
host_cpu = @host_cpu@
300
host_vendor = @host_vendor@
302
includedir = @includedir@
304
innodb_system_libs = @innodb_system_libs@
305
install_sh = @install_sh@
307
libexecdir = @libexecdir@
308
libmysqld_dirs = @libmysqld_dirs@
309
localedir = @localedir@
310
localstatedir = @localstatedir@
312
man1_files = @man1_files@
313
man8_files = @man8_files@
314
man_dirs = @man_dirs@
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@
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@
371
program_transform_name = @program_transform_name@
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@
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@
388
sysconfdir = @sysconfdir@
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
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
410
SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
411
@readline_topdir@ sql-common scripts \
413
@sql_union_dirs@ unittest \
414
@sql_server@ @man_dirs@ tests \
415
netware @libmysqld_dirs@ \
416
mysql-test support-files sql-bench @tools_dirs@ \
419
DIST_SUBDIRS = . include Docs zlib \
420
cmd-line-utils sql-common scripts \
422
strings mysys dbug extra regex libmysql libmysql_r client unittest storage plugin \
425
mysql-test support-files sql-bench server-tools \
429
DISTCLEANFILES = ac_available_languages_fragment
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.
436
API_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \
437
$(top_srcdir)/include/mysql.h
439
TEST_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \
440
$(top_srcdir)/sql/mysql_priv.h \
441
$(top_srcdir)/include/mysql.h
448
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
450
case '$(am__configure_deps)' in \
452
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
453
cd $(srcdir) && $(AUTOMAKE) --foreign \
458
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
459
cd $(top_srcdir) && \
460
$(AUTOMAKE) --foreign Makefile
462
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
465
echo ' $(SHELL) ./config.status'; \
466
$(SHELL) ./config.status;; \
468
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
469
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
472
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
473
$(SHELL) ./config.status --recheck
475
$(top_srcdir)/configure: $(am__configure_deps)
476
cd $(srcdir) && $(AUTOCONF)
477
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
478
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
487
-rm -f libtool config.lt
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):
497
for f in x $$MAKEFLAGS; do \
500
*k*) failcom='fail=yes';; \
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 \
509
local_target="$$target-am"; \
511
local_target="$$target"; \
513
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
516
if test "$$dot_seen" = "no"; then \
517
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
520
$(RECURSIVE_CLEAN_TARGETS):
522
for f in x $$MAKEFLAGS; do \
525
*k*) failcom='fail=yes';; \
530
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
531
*) list='$(SUBDIRS)' ;; \
533
rev=''; for subdir in $$list; do \
534
if test "$$subdir" = "."; then :; else \
535
rev="$$subdir $$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"; \
545
local_target="$$target"; \
547
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
549
done && test -z "$$fail"
551
list='$(SUBDIRS)'; for subdir in $$list; do \
552
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
555
list='$(SUBDIRS)'; for subdir in $$list; do \
556
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
564
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
565
END { if (nonempty) { for (i in files) print i; }; }'`; \
568
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
569
$(TAGS_FILES) $(LISP)
572
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
573
include_option=--etags-include; \
576
include_option=--include; \
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"; \
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; \
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) \
597
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
598
$(TAGS_FILES) $(LISP)
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; \
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) \
611
here=`$(am__cd) $(top_builddir) && pwd` \
612
&& cd $(top_srcdir) \
613
&& gtags -i $(GTAGS_ARGS) $$here
616
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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; \
639
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
641
test -f $(distdir)/$$file \
642
|| cp -p $$d/$$file $(distdir)/$$file \
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" \
651
distdir=`$(am__cd) $(distdir) && pwd`; \
652
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
654
$(MAKE) $(AM_MAKEFLAGS) \
655
top_distdir="$$top_distdir" \
656
distdir="$$distdir/$$subdir" \
657
am__remove_distdir=: \
658
am__skip_length_check=: \
663
$(MAKE) $(AM_MAKEFLAGS) \
664
top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)
672
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
673
$(am__remove_distdir)
676
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
677
$(am__remove_distdir)
680
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
681
$(am__remove_distdir)
684
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
685
$(am__remove_distdir)
688
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
689
$(am__remove_distdir)
692
-rm -f $(distdir).zip
693
zip -rq $(distdir).zip $(distdir)
694
$(am__remove_distdir)
696
dist dist-all: distdir
697
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
698
$(am__remove_distdir)
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
704
case '$(DIST_ARCHIVES)' in \
706
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
708
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
710
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
712
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
714
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
716
unzip $(distdir).zip ;;\
718
chmod -R a-w $(distdir); chmod a+w $(distdir)
719
mkdir $(distdir)/_build
720
mkdir $(distdir)/_inst
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" \
735
&& chmod -R a-w "$$dc_install_base" \
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'
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)"; \
758
$(distuninstallcheck_listfiles) ; \
760
distcleancheck: distclean
761
@if test '$(srcdir)' = . ; then \
762
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
765
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
766
|| { echo "ERROR: files left in build directory after distclean:" ; \
767
$(distcleancheck_listfiles) ; \
770
check: check-recursive
771
all-am: Makefile all-local
772
installdirs: installdirs-recursive
774
install: install-recursive
775
install-exec: install-exec-recursive
776
install-data: install-data-recursive
777
uninstall: uninstall-recursive
780
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
782
installcheck: installcheck-recursive
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
793
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
794
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
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
801
clean-am: clean-generic clean-libtool mostlyclean-am
803
distclean: distclean-recursive
804
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
806
distclean-am: clean-am distclean-generic distclean-libtool \
821
install-dvi: install-dvi-recursive
825
install-html: install-html-recursive
827
install-info: install-info-recursive
831
install-pdf: install-pdf-recursive
833
install-ps: install-ps-recursive
837
maintainer-clean: maintainer-clean-recursive
838
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
839
-rm -rf $(top_srcdir)/autom4te.cache
841
maintainer-clean-am: distclean-am maintainer-clean-generic
843
mostlyclean: mostlyclean-recursive
845
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
857
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
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
877
# Create permission databases
879
$(top_builddir)/scripts/mysql_install_db
882
$(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
884
# Remove BK's "SCCS" subdirectories from source distribution
885
# Create initial database files for Windows installations and check them.
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
895
all-local: @ABI_CHECK@
898
support-files/build-tags
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 \
909
# Target 'test' will run the regression test suite using the built server.
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.
918
cd unittest && $(MAKE) test
922
@PERL@ ./mysql-test-run.pl $(force) --ps-protocol --mysqld=--binlog-format=mixed
926
@PERL@ ./mysql-test-run.pl $(force) --mysqld=--binlog-format=row
930
@PERL@ ./mysql-test-run.pl $(force) $(mem) --ps-protocol --mysqld=--binlog-format=row
934
@PERL@ ./mysql-test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed
936
test-binlog-statement:
938
@PERL@ ./mysql-test-run.pl $(force) --mysqld=--binlog-format=statement
940
# This code is duplicated in "test-bt", see the Changeset comment of 2007-Dec-07
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 ; \
947
echo "no program found for 'embedded' tests - skipped testing" ; \
952
@PERL@ ./mysql-test-run.pl $(force) $(mem) --ps-protocol \
953
--mysqld=--debug=+d,reprepare_each_statement
955
test: test-unit test-ns test-pr
959
@PERL@ ./mysql-test-run.pl --do-test=s
961
test-full: test test-nr test-ps
964
$(MAKE) force=--force test
967
$(MAKE) force=--force test-full
969
#used by autopush.pl to run memory based tests
971
$(MAKE) force=--force mem=--mem test
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 \
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 ; \
989
echo "no program found for 'ndbcluster' tests - skipped testing" ; \
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 ; \
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 ; \
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 ; \
1014
echo "no program found for 'embedded' tests - skipped testing" ; \
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 \
1023
MTR_BUILD_THREAD=auto \
1024
@PERL@ ./mysql-test-run.pl --comment=ndb --force --timer \
1025
--with-ndbcluster-only ; \
1027
echo "no program found for 'ndbcluster' tests - skipped testing" ; \
1029
-cd mysql-test ; MTR_BUILD_THREAD=auto \
1030
@PERL@ ./mysql-test-run.pl --force --comment=stress --suite=stress
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
1041
# Keep these for a while
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
1050
@PERL@ ./mysql-test-run.pl --force --reorder --suite=funcs_1 ; \
1051
@PERL@ ./mysql-test-run.pl --force --suite=funcs_2
1055
@PERL@ ./mysql-test-run.pl --force --suite=rpl
1057
test-ext-partitions:
1059
@PERL@ ./mysql-test-run.pl --force --suite=parts
1063
@PERL@ ./mysql-test-run.pl --force --suite=jp
1067
@PERL@ ./mysql-test-run.pl --force --big-test --suite=stress
1069
test-ext: test-ext-funcs test-ext-rpl test-ext-partitions test-ext-jp test-ext-stress
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
1078
$(MAKE) subset=--view-protocol test-fast
1081
$(MAKE) subset=--cursor-protocol test-fast
1084
$(MAKE) subset=--ps-protocol test-fast
1087
$(MAKE) force=--force test-pr \
1088
test-binlog-statement test-ext test-fast-view \
1089
test-fast-cursor test-unit
1092
# Rules for checking that the abi/api has not changed.
1094
# The following steps are followed in the do_abi_check rule below
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
1110
# 4) delete the .out file that is generated.
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
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.
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.
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.
1128
abi_check: $(API_PREPROCESSOR_HEADER)
1129
$(MAKE) abi_headers="$^" do_abi_check
1131
abi_check_all: $(TEST_PREPROCESSOR_HEADER)
1132
$(MAKE) abi_headers="$^" do_abi_check
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 | \
1147
-e '/^#pragma GCC set_debug_pwd/d' \
1149
$(top_builddir)/abi_check.out; \
1150
@DIFF@ -w $$file.pp $(top_builddir)/abi_check.out; \
1151
@RM@ $(top_builddir)/abi_check.out; \
1154
# Don't update the files from bitkeeper
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.