# Makefile.in generated by automake 1.9.6 from Makefile.am.
# libmysql/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



# Copyright (C) 2000-2004 MySQL AB
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 GNU General Public License as
# published by the Free Software Foundation.
#
# There are special exceptions to the terms and conditions of the GPL as it
# is applied to this software. View the full text of the exception in file
# EXCEPTIONS-CLIENT in the directory of this software distribution.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
# 
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
#
# This file is public domain and comes with NO WARRANTY of any kind

# Copyright (C) 2000-2004 MySQL AB
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 GNU General Public License as
# published by the Free Software Foundation.
#
# There are special exceptions to the terms and conditions of the GPL as it
# is applied to this software. View the full text of the exception in file
# EXCEPTIONS-CLIENT in the directory of this software distribution.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
# 
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
#
# This file is public domain and comes with NO WARRANTY of any kind



srcdir = .
top_srcdir = ..

pkgdatadir = $(datadir)/mysql
pkglibdir = $(libdir)/mysql
pkgincludedir = $(includedir)/mysql
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
target_triplet = x86_64-unknown-linux-gnu
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/Makefile.shared \
	$(srcdir)/libmysql.ver.in
noinst_PROGRAMS = conf_to_src$(EXEEXT)
subdir = libmysql
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/ac-macros/alloca.m4 \
	$(top_srcdir)/config/ac-macros/check_cpu.m4 \
	$(top_srcdir)/config/ac-macros/character_sets.m4 \
	$(top_srcdir)/config/ac-macros/compiler_flag.m4 \
	$(top_srcdir)/config/ac-macros/ha_archive.m4 \
	$(top_srcdir)/config/ac-macros/ha_berkeley.m4 \
	$(top_srcdir)/config/ac-macros/ha_blackhole.m4 \
	$(top_srcdir)/config/ac-macros/ha_example.m4 \
	$(top_srcdir)/config/ac-macros/ha_federated.m4 \
	$(top_srcdir)/config/ac-macros/ha_innodb.m4 \
	$(top_srcdir)/config/ac-macros/ha_ndbcluster.m4 \
	$(top_srcdir)/config/ac-macros/ha_tina.m4 \
	$(top_srcdir)/config/ac-macros/large_file.m4 \
	$(top_srcdir)/config/ac-macros/misc.m4 \
	$(top_srcdir)/config/ac-macros/openssl.m4 \
	$(top_srcdir)/config/ac-macros/readline.m4 \
	$(top_srcdir)/config/ac-macros/yassl.m4 \
	$(top_srcdir)/config/ac-macros/zlib.m4 \
	$(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = libmysql.ver
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
am__installdirs = "$(DESTDIR)$(pkglibdir)"
pkglibLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(pkglib_LTLIBRARIES)
am__DEPENDENCIES_1 = my_init.lo my_static.lo my_malloc.lo \
	my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo \
	my_open.lo my_file.lo my_read.lo my_write.lo errors.lo \
	my_error.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo \
	mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo \
	safemalloc.lo my_alloc.lo mf_format.lo mf_path.lo \
	mf_unixpath.lo my_fopen.lo my_symlink.lo my_fstream.lo \
	mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo \
	mulalloc.lo string.lo default.lo default_modify.lo \
	my_compress.lo array.lo my_once.lo list.lo my_net.lo \
	charset.lo charset-def.lo hash.lo mf_iocache.lo mf_iocache2.lo \
	my_seek.lo my_sleep.lo my_pread.lo mf_cache.lo md5.lo sha1.lo \
	my_getopt.lo my_gethostbyname.lo my_port.lo my_rename.lo \
	my_chsize.lo
am__DEPENDENCIES_2 = my_lib.lo
am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
am__DEPENDENCIES_4 = strmov.lo strxmov.lo strxnmov.lo strnmov.lo \
	strmake.lo strend.lo strtod.lo strnlen.lo strfill.lo \
	is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo \
	strcend.lo bcmp.lo ctype-latin1.lo bchange.lo bmove.lo \
	bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo llstr.lo \
	my_vsnprintf.lo ctype.lo ctype-simple.lo ctype-bin.lo \
	ctype-mb.lo ctype-big5.lo ctype-czech.lo ctype-cp932.lo \
	ctype-eucjpms.lo ctype-euc_kr.lo ctype-win1250ch.lo \
	ctype-utf8.lo ctype-extra.lo ctype-ucs2.lo ctype-gb2312.lo \
	ctype-gbk.lo ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo \
	ctype-uca.lo xml.lo my_strtoll10.lo str_alloc.lo
am__DEPENDENCIES_5 = dbug.lo
am__DEPENDENCIES_6 = pack.lo client.lo my_time.lo
am__DEPENDENCIES_7 = vio.lo viosocket.lo viossl.lo viosslfactories.lo
am__DEPENDENCIES_8 = net.lo
am__DEPENDENCIES_9 = $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) \
	$(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) \
	$(am__DEPENDENCIES_7) $(am__DEPENDENCIES_8)
#am__DEPENDENCIES_10 =  \
#	$(top_builddir)/extra/yassl/src/libyassl.la \
#	$(top_builddir)/extra/yassl/taocrypt/src/libtaocrypt.la
libmysqlclient_la_DEPENDENCIES = $(am__DEPENDENCIES_9) \
	$(am__DEPENDENCIES_10)
am__objects_1 = libmysql.lo password.lo manager.lo get_password.lo \
	errmsg.lo
am_libmysqlclient_la_OBJECTS = $(am__objects_1)
libmysqlclient_la_OBJECTS = $(am_libmysqlclient_la_OBJECTS)
PROGRAMS = $(noinst_PROGRAMS)
am_conf_to_src_OBJECTS = conf_to_src.$(OBJEXT)
conf_to_src_OBJECTS = $(am_conf_to_src_OBJECTS)
conf_to_src_DEPENDENCIES =
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(libmysqlclient_la_SOURCES) $(conf_to_src_SOURCES)
DIST_SOURCES = $(libmysqlclient_la_SOURCES) $(conf_to_src_SOURCES)
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/missing --run aclocal-1.10
ALLOCA = 
AMDEP_FALSE = #
AMDEP_TRUE = 
AMTAR = ${SHELL} /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/missing --run tar
AR = ar
ARFLAGS = cru
AS = gcc -c
ASSEMBLER_FALSE = 
ASSEMBLER_TRUE = #
ASSEMBLER_sparc32_FALSE = 
ASSEMBLER_sparc32_TRUE = #
ASSEMBLER_sparc64_FALSE = 
ASSEMBLER_sparc64_TRUE = #
ASSEMBLER_x86_FALSE = 
ASSEMBLER_x86_TRUE = #
AUTOCONF = ${SHELL} /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/missing --run autoconf
AUTOHEADER = ${SHELL} /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/missing --run autoheader
AUTOMAKE = ${SHELL} /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/missing --run automake-1.10
AVAILABLE_LANGUAGES = czech danish dutch english estonian french german greek hungarian italian japanese korean norwegian norwegian-ny polish portuguese romanian russian serbian slovak spanish swedish ukrainian
AWK = gawk
CC = gcc
CCAS = gcc
CCASFLAGS =     -Wa,--noexecstack
CCDEPMODE = depmode=gcc3
CC_VERSION = gcc (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
CFLAGS = -O3 -DDBUG_OFF   
CHECK_PID = /usr/bin/kill -0 $$PID > /dev/null 2> /dev/null
CHMOD = /usr/bin/chmod
CLIENT_EXTRA_LDFLAGS = 
CLIENT_LIBS = -lcrypt -lm   -lz 
CMP = /usr/bin/cmp
COMPILATION_COMMENT = Source distribution
COMPILE_PSTACK_FALSE = 
COMPILE_PSTACK_TRUE = #
CONF_COMMAND = ./configure 
CP = /usr/bin/cp
CPP = gcc -E
CPPFLAGS = 
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti
CXXLDFLAGS = 
CXX_VERSION = g++ (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
CYGPATH_W = echo
DARWIN_MWCC_FALSE = 
DARWIN_MWCC_TRUE = #
DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
			-DDEFAULT_HOME_ENV=MYSQL_HOME \
			-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" $(target_defs)

DEPDIR = .deps
DOT_FRM_VERSION = 6
DOXYGEN = no
DVIS = 
ECHO = echo
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /usr/bin/grep -E
EXEEXT = 
F77 = 
FFLAGS = 
FIND_PROC = /usr/bin/ps p $$PID | grep -v grep | grep $$MYSQLD > /dev/null
GETCONF = getconf
GXX = yes
HAVE_NDBCLUSTER_DB_FALSE = 
HAVE_NDBCLUSTER_DB_TRUE = #
HAVE_NETWARE_FALSE = 
HAVE_NETWARE_TRUE = #
HAVE_YASSL_FALSE = 
HAVE_YASSL_TRUE = #
HOSTNAME = /usr/bin/hostname
ICHECK = no
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
KILL = /usr/bin/kill
LD = /usr/bin/ld -m elf_x86_64
LDFLAGS =  -rdynamic 
LD_VERSION_SCRIPT = -Wl,--version-script=$(top_builddir)/libmysql/libmysql.ver
LIBDL = -ldl 
LIBEDIT_LOBJECTS =  unvis.o vis.o strlcpy.o strlcat.o fgetln.o
LIBOBJS = 
LIBS = -lcrypt -lm   -lz  
LIBTOOL = $(SHELL) $(top_builddir)/libtool --preserve-dup-deps
LIB_EXTRA_CCFLAGS = 
LM_CFLAGS = 
LN = /usr/bin/ln
LN_CP_F = /usr/bin/ln -s
LN_S = ln -s
LTLIBOBJS = 
MACHINE_TYPE = x86_64
MAKEINDEX = no
MAKEINFO = ${SHELL} /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/missing --run makeinfo
MAKE_BINARY_DISTRIBUTION_OPTIONS = 
MAKE_SHELL = /bin/sh
MV = /usr/bin/mv
MYSQLD_DEFAULT_SWITCHES = --skip-external-locking
MYSQLD_EXTRA_LDFLAGS = 
MYSQLD_EXTRA_LIBS = 
MYSQLD_USER = mysql
MYSQL_BASE_VERSION = 5.0
MYSQL_NO_DASH_VERSION = 5.0.45
MYSQL_PREVIOUS_BASE_VERSION = 4.1
MYSQL_SERVER_SUFFIX = 
MYSQL_TCP_PORT = 3306
MYSQL_TCP_PORT_DEFAULT = 3306
MYSQL_UNIX_ADDR = /tmp/mysql.sock
MYSQL_VERSION_ID = 50045
NDB_DEFS = 
NDB_LD_VERSION_SCRIPT = 
NDB_SCI_INCLUDES = 
NDB_SCI_LIBS = 
NDB_SHARED_LIB_MAJOR_VERSION = 2
NDB_SHARED_LIB_VERSION = 2:0:0
NDB_SIZEOF_CHAR = 
NDB_SIZEOF_CHARP = 
NDB_SIZEOF_INT = 
NDB_SIZEOF_LONG = 
NDB_SIZEOF_LONG_LONG = 
NDB_SIZEOF_SHORT = 
NDB_VERSION_BUILD = 45
NDB_VERSION_MAJOR = 5
NDB_VERSION_MINOR = 0
NDB_VERSION_STATUS = 
NM = /usr/bin/nm -B
NOINST_LDFLAGS = -static
NON_THREADED_LIBS = -lcrypt -lm 
OBJEXT = o
PACKAGE = mysql
PACKAGE_BUGREPORT = 
PACKAGE_NAME = 
PACKAGE_STRING = 
PACKAGE_TARNAME = 
PACKAGE_VERSION = 
PATH_SEPARATOR = :
PDFLATEX = no
PDFMANUAL = 
PERL = /usr/bin/perl
PERL5 = /usr/bin/perl
PROTOCOL_VERSION = 10
PS = /usr/bin/ps
RANLIB = ranlib
RM = /usr/bin/rm
SAVE_ASFLAGS = 
SAVE_CFLAGS = 
SAVE_CXXFLAGS = 
SAVE_CXXLDFLAGS = 
SAVE_LDFLAGS = 
SED = /usr/bin/sed
SET_MAKE = 
SHARED_LIB_MAJOR_VERSION = 15
SHARED_LIB_VERSION = 15:0:0
SHELL = /bin/sh
STATIC_NSS_FLAGS = 
STRIP = strip
SYSTEM_TYPE = unknown-linux-gnu
TAR = gtar
TARGET_LINUX = true
TERMCAP_LIB = -lncurses
THREAD_LOBJECTS = thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o mf_keycache.o
VERSION = 5.0.45
WRAPLIBS = 
YACC = bison -y -p MYSQL
ZLIB_DEPS = -lz
ZLIB_INCLUDES = 
ZLIB_LIBS = -lz
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_F77 = 
ac_ct_GETCONF = @ac_ct_GETCONF@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE = 
am__fastdepCXX_FALSE = #
am__fastdepCXX_TRUE = 
am__include = include
am__leading_dot = .
am__quote = 
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bdb_includes = 
bdb_libs = 
bdb_libs_with_path = 
bench_dirs = sql-bench mysql-test
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias = 
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
datadir = ${prefix}/share
docs_dirs = Docs
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias = 
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
includedir = ${prefix}/include
infodir = ${prefix}/share/info
innodb_includes = -I$(top_builddir)/innobase/include -I$(top_srcdir)/innobase/include
innodb_libs =  $(top_builddir)/innobase/usr/libusr.a $(top_builddir)/innobase/srv/libsrv.a $(top_builddir)/innobase/dict/libdict.a $(top_builddir)/innobase/que/libque.a $(top_builddir)/innobase/srv/libsrv.a $(top_builddir)/innobase/ibuf/libibuf.a $(top_builddir)/innobase/row/librow.a $(top_builddir)/innobase/pars/libpars.a $(top_builddir)/innobase/btr/libbtr.a $(top_builddir)/innobase/trx/libtrx.a $(top_builddir)/innobase/read/libread.a $(top_builddir)/innobase/usr/libusr.a $(top_builddir)/innobase/buf/libbuf.a $(top_builddir)/innobase/ibuf/libibuf.a $(top_builddir)/innobase/eval/libeval.a $(top_builddir)/innobase/log/liblog.a $(top_builddir)/innobase/fsp/libfsp.a $(top_builddir)/innobase/fut/libfut.a $(top_builddir)/innobase/fil/libfil.a $(top_builddir)/innobase/lock/liblock.a $(top_builddir)/innobase/mtr/libmtr.a $(top_builddir)/innobase/page/libpage.a $(top_builddir)/innobase/rem/librem.a $(top_builddir)/innobase/thr/libthr.a $(top_builddir)/innobase/sync/libsync.a $(top_builddir)/innobase/data/libdata.a $(top_builddir)/innobase/mach/libmach.a $(top_builddir)/innobase/ha/libha.a $(top_builddir)/innobase/dyn/libdyn.a $(top_builddir)/innobase/mem/libmem.a $(top_builddir)/innobase/sync/libsync.a $(top_builddir)/innobase/ut/libut.a $(top_builddir)/innobase/os/libos.a $(top_builddir)/innobase/ut/libut.a
innodb_system_libs = -lrt
install_sh = $(SHELL) /root/work/percona-data-recovery-tool-for-innodb-0.5/mysql-source/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
libmysqld_dirs = 
linked_client_targets = linked_libmysql_sources
linked_libmysqld_targets = 
linked_netware_sources = 
localstatedir = ${prefix}/var
man1_files = 
man8_files = 
man_dirs = man
mandir = ${prefix}/share/man
mkdir_p = /usr/bin/mkdir -p
ndb_bin_am_ldflags = 
ndb_cxxflags_fix = 
ndb_mgmclient_libs = 
ndb_opt_subdirs = 
ndb_port = 
ndb_transporter_opt_objs = 
ndbcluster_includes = 
ndbcluster_libs = 
ndbcluster_system_libs = 
netware_dir = 
oldincludedir = /usr/include
openssl_includes = 
openssl_libs = 
prefix = /usr/local
program_transform_name = s,x,x,
pstack_dirs = 
pstack_libs = 
readline_basedir = libedit
readline_dir = cmd-line-utils/libedit
readline_h_ln_cmd = $(LN) -s $(top_srcdir)/cmd-line-utils/libedit/readline readline
readline_link = $(top_builddir)/cmd-line-utils/libedit/libedit.a
readline_topdir = cmd-line-utils
sbindir = ${exec_prefix}/sbin
server_scripts = mysqld_safe mysql_install_db
sharedstatedir = ${prefix}/com
sql_client_dirs = strings regex mysys libmysql client
sql_server_dirs = strings mysys dbug extra regex innobase myisam myisammrg heap vio sql
sql_union_dirs =  strings mysys dbug extra regex innobase myisam myisammrg heap vio sql  libmysql  client 
subdirs =  innobase
sysconfdir = ${prefix}/etc
target = libmysqlclient.la
target_alias = 
target_cpu = x86_64
target_os = linux-gnu
target_vendor = unknown
thread_dirs = 
tools_dirs =  server-tools
uname_prog = /usr/bin/uname
yassl_dir = 
yassl_h_ln_cmd = 
yassl_libs = 
yassl_taocrypt_extra_cxxflags = 
zlib_dir = 
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID 
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
		$(openssl_includes) 

MYSQLDATAdir = $(localstatedir)
MYSQLSHAREdir = $(pkgdatadir)
MYSQLBASEdir = $(prefix)
LDADD =  $(target)
pkglib_LTLIBRARIES = $(target)
target_sources = libmysql.c password.c manager.c \
			get_password.c errmsg.c

mystringsobjects = strmov.lo strxmov.lo strxnmov.lo strnmov.lo \
			strmake.lo strend.lo strtod.lo \
			strnlen.lo strfill.lo is_prefix.lo \
			int2str.lo str2int.lo strinstr.lo strcont.lo \
			strcend.lo bcmp.lo ctype-latin1.lo \
			bchange.lo bmove.lo bmove_upp.lo longlong2str.lo \
			strtoull.lo strtoll.lo llstr.lo my_vsnprintf.lo \
			ctype.lo ctype-simple.lo ctype-bin.lo ctype-mb.lo \
			ctype-big5.lo ctype-czech.lo ctype-cp932.lo ctype-eucjpms.lo ctype-euc_kr.lo \
			ctype-win1250ch.lo ctype-utf8.lo ctype-extra.lo \
			ctype-ucs2.lo ctype-gb2312.lo ctype-gbk.lo \
			ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo \
			ctype-uca.lo xml.lo my_strtoll10.lo str_alloc.lo 

mystringsextra = strto.c
dbugobjects = dbug.lo # IT IS IN SAFEMALLOC.C sanity.lo
mysysheaders = mysys_priv.h my_static.h
vioheaders = vio_priv.h
mysysobjects1 = my_init.lo my_static.lo my_malloc.lo my_realloc.lo \
			my_create.lo my_delete.lo mf_tempfile.lo my_open.lo \
			my_file.lo my_read.lo my_write.lo errors.lo \
			my_error.lo my_getwd.lo my_div.lo \
			mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo\
			mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo \
			mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo \
			my_symlink.lo my_fstream.lo \
			mf_loadpath.lo my_pthread.lo my_thr_init.lo \
			thr_mutex.lo mulalloc.lo string.lo \
                        default.lo default_modify.lo \
			my_compress.lo array.lo my_once.lo list.lo my_net.lo \
                        charset.lo charset-def.lo hash.lo mf_iocache.lo \
                        mf_iocache2.lo my_seek.lo my_sleep.lo \
			my_pread.lo mf_cache.lo md5.lo sha1.lo \
			my_getopt.lo my_gethostbyname.lo my_port.lo \
                        my_rename.lo my_chsize.lo

sqlobjects = net.lo
sql_cmn_objects = pack.lo client.lo my_time.lo

# Not needed in the minimum library
mysysobjects2 = my_lib.lo
mysysobjects = $(mysysobjects1) $(mysysobjects2)
target_libadd = $(mysysobjects) $(mystringsobjects) $(dbugobjects) \
 $(sql_cmn_objects) $(vio_objects) $(sqlobjects)

target_ldflags = -version-info 15:0:0 -Wl,--version-script=$(top_builddir)/libmysql/libmysql.ver 
vio_objects = vio.lo viosocket.lo viossl.lo viosslfactories.lo
CLEANFILES = $(target_libadd) $(SHLIBOBJS) \
			$(target)

#yassl_las = $(top_builddir)/extra/yassl/src/libyassl.la \
#	    $(top_builddir)/extra/yassl/taocrypt/src/libtaocrypt.la

conf_to_src_SOURCES = conf_to_src.c
conf_to_src_LDADD = 
#force static linking of conf_to_src - essential when linking against
#custom installation of libc
conf_to_src_LDFLAGS = -static
libmysqlclient_la_SOURCES = $(target_sources)
libmysqlclient_la_LIBADD = $(target_libadd) $(yassl_las)
libmysqlclient_la_LDFLAGS = $(target_ldflags)
EXTRA_DIST = Makefile.shared libmysql.def dll.c mytest.c CMakeLists.txt
noinst_HEADERS = client_settings.h

# This part requires GNUmake
#
# This makes a distribution file with only the files needed to compile
# a minimal MySQL client library
#
# For a really minimal distribution (without debugging code) we could
# keep only the stubs for safemalloc.c and debug.c
#
# A list of needed headers collected from the deps information 000213
nh = my_global.h config-win32.h dbug.h errmsg.h \
		m_ctype.h m_string.h \
		my_alarm.h my_config.h my_dir.h my_list.h my_net.h my_sys.h \
		mysql.h mysql_com.h mysql_version.h mysqld_error.h \
		mysys_err.h my_pthread.h thr_alarm.h violite.h hash.h \
                sql_common.h ../libmysql/client_settings.h 

# Get a list of the needed objects  
lobjs = $(mysysobjects1) $(dbugobjects) $(mystringsobjects) $(sqlobjects)
all: all-am

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/Makefile.shared $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  libmysql/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  libmysql/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
libmysql.ver: $(top_builddir)/config.status $(srcdir)/libmysql.ver.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    f=$(am__strip_dir) \
	    echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
	    $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
	  else :; fi; \
	done

uninstall-pkglibLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	@set -x; list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  p=$(am__strip_dir) \
	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
	done

clean-pkglibLTLIBRARIES:
	-test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
	  test "$$dir" != "$$p" || dir=.; \
	  echo "rm -f \"$${dir}/so_locations\""; \
	  rm -f "$${dir}/so_locations"; \
	done
libmysqlclient.la: $(libmysqlclient_la_OBJECTS) $(libmysqlclient_la_DEPENDENCIES) 
	$(LINK) -rpath $(pkglibdir) $(libmysqlclient_la_LDFLAGS) $(libmysqlclient_la_OBJECTS) $(libmysqlclient_la_LIBADD) $(LIBS)

clean-noinstPROGRAMS:
	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  echo " rm -f $$p $$f"; \
	  rm -f $$p $$f ; \
	done
conf_to_src$(EXEEXT): $(conf_to_src_OBJECTS) $(conf_to_src_DEPENDENCIES) 
	@rm -f conf_to_src$(EXEEXT)
	$(LINK) $(conf_to_src_LDFLAGS) $(conf_to_src_OBJECTS) $(conf_to_src_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

include ./$(DEPDIR)/conf_to_src.Po
include ./$(DEPDIR)/errmsg.Plo
include ./$(DEPDIR)/get_password.Plo
include ./$(DEPDIR)/libmysql.Plo
include ./$(DEPDIR)/manager.Plo
include ./$(DEPDIR)/password.Plo

.c.o:
	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=no \
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
#	$(COMPILE) -c $<

.c.obj:
	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=no \
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
#	$(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
#	source='$<' object='$@' libtool=yes \
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
#	$(LTCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
uninstall-info-am:

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
check: check-am
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
installdirs:
	for dir in "$(DESTDIR)$(pkglibdir)"; do \
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-libtool clean-local clean-noinstPROGRAMS \
	clean-pkglibLTLIBRARIES mostlyclean-am

distclean: distclean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-libtool distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am:

install-exec-am: install-pkglibLTLIBRARIES

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES

.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
	clean-libtool clean-local clean-noinstPROGRAMS \
	clean-pkglibLTLIBRARIES ctags distclean distclean-compile \
	distclean-generic distclean-libtool distclean-tags distdir dvi \
	dvi-am html html-am info info-am install install-am \
	install-data install-data-am install-exec install-exec-am \
	install-info install-info-am install-man \
	install-pkglibLTLIBRARIES install-strip installcheck \
	installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags uninstall uninstall-am uninstall-info-am \
	uninstall-pkglibLTLIBRARIES


# The automatic dependencies miss this
#bmove_upp.lo:		$(LTCHARSET_OBJS)

clean-local:
	rm -f `echo $(mystringsobjects) | sed "s;\.lo;.c;g"` \
	      `echo $(dbugobjects) | sed "s;\.lo;.c;g"` \
	      `echo $(mysysobjects) | sed "s;\.lo;.c;g"` \
	      `echo $(vio_objects) | sed "s;\.lo;.c;g"` \
	      `echo $(sql_cmn_objects) | sed "s;\.lo;.c;g"` \
	       $(CHARSET_SRCS) $(CHARSET_OBJS) \
	       $(mystringsextra) $(mysysheaders) $(vioheaders)\
	       ../linked_libmysql_sources ../linked_libmysql_r_sources \
               net.c

# Don't update the files from bitkeeper
%::SCCS/s.%

# This is called from the toplevel makefile
link_sources:
	  set -x; \
	  ss=`echo $(mystringsobjects) | sed "s;\.lo;.c;g"`; \
	  ds=`echo $(dbugobjects) | sed "s;\.lo;.c;g"`; \
	  ms=`echo $(mysysobjects) | sed "s;\.lo;.c;g"`; \
	  vs=`echo $(vio_objects) | sed "s;\.lo;.c;g"`; \
	  scs=`echo $(sql_cmn_objects) | sed "s;\.lo;.c;g"`; \
	  for f in $$ss; do \
	    rm -f $$f; \
	    /usr/bin/ln -s $(top_srcdir)/strings/$$f $$f; \
	  done; \
	  for f in $$vs $(vioheaders); do \
	    rm -f $$f; \
	    /usr/bin/ln -s $(top_srcdir)/vio/$$f $$f; \
	  done; \
	  for f in $$scs; do \
	    rm -f $$f; \
	    /usr/bin/ln -s $(top_srcdir)/sql-common/$$f $$f; \
	  done; \
	  for f in $(mystringsextra); do \
	    rm -f $$f; \
	    /usr/bin/ln -s $(top_srcdir)/strings/$$f $$f; \
	  done; \
	  for f in $$ds; do \
	    rm -f $$f; \
	    /usr/bin/ln -s $(top_srcdir)/dbug/$$f $$f; \
	  done; \
	  for f in $$ms $(mysysheaders); do \
	    rm -f $$f; \
	    /usr/bin/ln -s $(top_srcdir)/mysys/$$f $$f; \
	  done; \
	  rm -f net.c; \
	  /usr/bin/ln -s $(top_srcdir)/sql/net_serv.cc net.c ; \
	  rm -f password.c; \
	  /usr/bin/ln -s $(top_srcdir)/sql/password.c password.c

do-lib-dist:
	dir=libmysql-$(MYSQL_NO_DASH_VERSION); \
	srcs1=`echo $(lobjs) | sed "s;\.lo;.c;g"`; \
	srcs2=$(target_sources); \
	srcs="$$srcs1 $$srcs2"; \
	objs1=`echo $(lobjs) | sed "s;\.lo;.o;g"`; \
	objs2=`echo $(target_sources) | sed "s;\.c;.o;g"`; \
	objs="$$objs1 $$objs2"; \
	rm -rf $$dir; \
	mkdir $$dir; \
	$(INSTALL_DATA) $$srcs $(mysysheaders) $$dir; \
	for i in $(nh); do $(INSTALL_DATA) ../include/$$i $$dir; done; \
	echo "# A very minimal Makefile to compile" > $$dir/Makefile; \
	echo "# the minimized libmysql library" >> $$dir/Makefile; \
	echo "# This file is autogenerated from Makefile.am" >> $$dir/Makefile; \
	echo 'CFLAGS=	-I. -DUNDEF_THREADS_HACK' >>$$dir/Makefile; \
	echo "obj=$$objs"  >>$$dir/Makefile; \
	echo 'all: libmysql.a'  >>$$dir/Makefile; \
	echo 'libmysql.a: $$(obj)'  >>$$dir/Makefile; \
	echo '	$$(AR) r $$@ $$?'  >>$$dir/Makefile; \
	gtar cvzf $$dir.tar.gz $$dir; \
	cd $$dir; gmake

# Don't update the files from bitkeeper
%::SCCS/s.%
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
