# Makefile.in generated automatically by automake 1.5 from Makefile.am.

# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# 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 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
# 
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# 
# 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


SHELL = /bin/sh

srcdir = .
top_srcdir = ..

prefix = 
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/mysql
pkglibdir = $(libdir)/mysql
pkgincludedir = $(includedir)/mysql
top_builddir = ..

ACLOCAL = ${SHELL} /home/gerg/uClinux-dist/user/mysql/missing --run aclocal
AUTOCONF = ${SHELL} /home/gerg/uClinux-dist/user/mysql/missing --run autoconf
AUTOMAKE = ${SHELL} /home/gerg/uClinux-dist/user/mysql/missing --run automake
AUTOHEADER = ${SHELL} /home/gerg/uClinux-dist/user/mysql/missing --run autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,^,sh-linux-,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = i386-redhat-linux
build_triplet = i386-redhat-linux
host_alias = i386-redhat-linux
host_triplet = i386-redhat-linux
target_alias = sh-linux
target_triplet = sh-unknown-linux
ALLOCA = 
AMTAR = ${SHELL} /home/gerg/uClinux-dist/user/mysql/missing --run tar
AS = gcc -c
ASFLAGS = $(CFLAGS)
AVAILABLE_LANGUAGES = czech danish dutch english estonian french german greek hungarian italian japanese korean norwegian norwegian-ny polish portuguese romanian russian slovak spanish swedish ukrainian
AVAILABLE_LANGUAGES_ERRORS =  czech/errmsg.sys danish/errmsg.sys dutch/errmsg.sys english/errmsg.sys estonian/errmsg.sys french/errmsg.sys german/errmsg.sys greek/errmsg.sys hungarian/errmsg.sys italian/errmsg.sys japanese/errmsg.sys korean/errmsg.sys norwegian/errmsg.sys norwegian-ny/errmsg.sys polish/errmsg.sys portuguese/errmsg.sys romanian/errmsg.sys russian/errmsg.sys slovak/errmsg.sys spanish/errmsg.sys swedish/errmsg.sys ukrainian/errmsg.sys
AWK = gawk
CC = gcc
CC_VERSION = gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
CFLAGS = -O3 -DDBUG_OFF -DHAVE_GETHOSTBYNAME_R_GLIBC2_STYLE=1 
CHARSETS_NEED_SOURCE =  latin1
CHARSET_SRCS = 
CHECK_PID = /bin/kill -0 $$PID > /dev/null 2> /dev/null
CHMOD = /bin/chmod
CLIENT_EXTRA_LDFLAGS = 
CLIENT_LIBS = -lcrypt -lnsl -lm  
CMP = /usr/bin/cmp
COMPILATION_COMMENT = Source distribution
CONF_COMMAND = ./configure '-C' '--prefix=' '--build=i386-redhat-linux' '--enable-dependency-tracking' '--target=sh-linux' '--without-pthread' '--without-readline' '--disable-shared' '--with-headers=/home/gerg/uClinux-dist//include' '--with-mysql=/home/gerg/uClinux-dist/lib/libmysqlclient' '--with-named-z-libs==/home/gerg/uClinux-dist/lib/zlib' 'CFLAGS=-DHAVE_GETHOSTBYNAME_R_GLIBC2_STYLE=1' 'CXXFLAGS=-O1 -g -fomit-frame-pointer -DCONFIG_SNAPGEAR -Dlinux -D__linux__ -Dunix -DEMBED -nostdinc -I/home/gerg/uClinux-dist/include -idirafter /home/gerg/uClinux-dist/include/include -fno-common -Wall  -fno-builtin -m4 -ml -nostdlib -nostdinc++ -I/home/gerg/uClinux-dist/include/STLport' 'CXX=sh-linux-g++ -m4 -ml' 'build_alias=i386-redhat-linux' 'target_alias=sh-linux'
CP = /bin/cp
CPP = gcc -E
CXX = sh-linux-g++ -m4 -ml
CXXFLAGS = -O3 -DDBUG_OFF -O1 -g -fomit-frame-pointer -DCONFIG_SNAPGEAR -Dlinux -D__linux__ -Dunix -DEMBED -nostdinc -I/home/gerg/uClinux-dist/include -idirafter /home/gerg/uClinux-dist/include/include -fno-common -Wall  -fno-builtin -m4 -ml -nostdlib -nostdinc++ -I/home/gerg/uClinux-dist/include/STLport  -fno-implicit-templates -fno-exceptions -fno-rtti
CXXLDFLAGS = 
CXX_VERSION = 3.0.4
DEPDIR = .deps
DLLTOOL = @DLLTOOL@
DOT_FRM_VERSION = 6
DVIS = manual.dvi
ECHO = echo
EXEEXT = 
FIND_PROC = /bin/ps p $$PID | grep mysqld > /dev/null
GETCONF = getconf
GXX = yes
HOSTNAME = /bin/hostname
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
IS_LINUX = true
KILL = /bin/kill
LD = sh-linux-ld
LIBDL = -ldl 
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIB_EXTRA_CCFLAGS = 
LM_CFLAGS = 
LN = /bin/ln
LN_CP_F = /bin/ln -s
LN_S = ln -s
MACHINE_TYPE = i386
MAINT = #
MAKE_BINARY_DISTRIBUTION_OPTIONS = 
MAKE_SHELL = /bin/sh
MT_INCLUDES = 
MT_LD_ADD = 
MV = /bin/mv
MYSQLD_DEFAULT_SWITCHES = --skip-locking
MYSQLD_EXTRA_LDFLAGS = 
MYSQLD_USER = mysql
MYSQL_BASE_VERSION = 4.0
MYSQL_NO_DASH_VERSION = 4.0.16
MYSQL_SERVER_SUFFIX = 
MYSQL_TCP_PORT = 3306
MYSQL_TCP_PORT_DEFAULT = 3306
MYSQL_UNIX_ADDR = /tmp/mysql.sock
MYSQL_VERSION_ID = 40016
NOINST_LDFLAGS = 
OBJDUMP = @OBJDUMP@
OBJEXT = o
PACKAGE = mysql
PDFMANUAL = manual.pdf
PERL = /usr/bin/perl
PERL5 = /usr/bin/perl
PROTOCOL_VERSION = 10
PS = /bin/ps
RANLIB = sh-linux-ranlib
RM = /bin/rm
SAVE_ASFLAGS = 
SAVE_CFLAGS = -DHAVE_GETHOSTBYNAME_R_GLIBC2_STYLE=1
SAVE_CXXFLAGS = -O1 -g -fomit-frame-pointer -DCONFIG_SNAPGEAR -Dlinux -D__linux__ -Dunix -DEMBED -nostdinc -I/home/gerg/uClinux-dist/include -idirafter /home/gerg/uClinux-dist/include/include -fno-common -Wall  -fno-builtin -m4 -ml -nostdlib -nostdinc++ -I/home/gerg/uClinux-dist/include/STLport
SAVE_CXXLDFLAGS = 
SAVE_LDFLAGS = 
SED = /bin/sed
SHARED_LIB_VERSION = 12:0:0
STRIP = sh-linux-strip
SYSTEM_TYPE = redhat-linux
TAR = gtar
TERMCAP_LIB = -lncurses
THREAD_LOBJECTS = thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o
THREAD_LPROGRAMS = test_thr_alarm$(EXEEXT) test_thr_lock$(EXEEXT)
VERSION = 4.0.16
WRAPLIBS = 
YACC = bison -y
am__include = include
am__quote = 
bdb_includes = 
bdb_libs = 
bdb_libs_with_path = 
bench_dirs = sql-bench mysql-test
default_charset = latin1
docs_dirs = Docs
fs_dirs = 
innodb_includes = -I../innobase/include
innodb_libs =  $(top_builddir)/innobase/usr/libusr.a $(top_builddir)/innobase/odbc/libodbc.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/com/libcom.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 = /home/gerg/uClinux-dist/user/mysql/install-sh
isam_libs = $(top_builddir)/isam/libnisam.a $(top_builddir)/merge/libmerge.a
libmysqld_dirs = 
linked_client_targets = linked_libmysql_sources
linked_netware_sources = 
netware_dir = 
openssl_includes = 
openssl_libs = 
orbit_idl = /usr/bin/orbit-idl
orbit_includes = -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
orbit_libs = -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm
pstack_dirs = 
pstack_libs = 
readline_dir = 
readline_link = -lreadline
server_scripts = mysqld_safe mysql_install_db
sql_client_dirs = libmysql client
sql_server_dirs = strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql
thread_dirs = 
tools_dirs = 
uname_prog = /bin/uname
vio_dir = 
vio_libs = 

# We need .lo, not .o files for everything.
CHARSET_OBJS = 

target = libmysqlclient_r.la
target_defs = -DDONT_USE_RAID 

INCLUDES =  -I$(srcdir)/../include -I../include \
		-I$(srcdir)/.. -I$(top_srcdir) -I.. $(openssl_includes)


MYSQLDATAdir = $(localstatedir)
MYSQLSHAREdir = $(pkgdatadir)
MYSQLBASEdir = $(prefix)
LDADD =  $(target)
pkglib_LTLIBRARIES = $(target)

noinst_PROGRAMS = conf_to_src
LTCHARSET_OBJS = ${CHARSET_OBJS:.o=.lo}

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 \
			strnlen.lo strfill.lo is_prefix.lo \
			int2str.lo str2int.lo strinstr.lo strcont.lo \
			strcend.lo bcmp.lo \
			bchange.lo bmove.lo bmove_upp.lo longlong2str.lo \
			strtoull.lo strtoll.lo llstr.lo \
			ctype.lo $(LTCHARSET_OBJS)

mystringsextra = strto.c
mystringsgen = ctype_autoconf.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 \
			mf_casecnv.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 \
			my_compress.lo array.lo my_once.lo list.lo my_net.lo \
                        charset.lo hash.lo mf_iocache.lo \
                        mf_iocache2.lo my_seek.lo my_sleep.lo \
			my_pread.lo mf_cache.lo my_vsnprintf.lo md5.lo \
			my_getopt.lo my_gethostbyname.lo my_port.lo

sqlobjects = net.lo

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

target_ldflags = -version-info 12:0:0
vio_objects = vio.lo viosocket.lo viossl.lo viosslfactories.lo
CLEANFILES = $(target_libadd) $(SHLIBOBJS) \
			$(target)

DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" $(target_defs)

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 = 

libmysql_dir = $(top_srcdir)/libmysql

libmysqlclient_r_la_SOURCES = $(target_sources)
libmysqlclient_r_la_LIBADD = $(target_libadd)
libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
subdir = libmysql_r
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(pkglib_LTLIBRARIES)

libmysqlclient_r_la_DEPENDENCIES = my_init.lo my_static.lo my_malloc.lo \
	my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo \
	my_open.lo mf_casecnv.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 \
	my_compress.lo array.lo my_once.lo list.lo my_net.lo charset.lo \
	hash.lo mf_iocache.lo mf_iocache2.lo my_seek.lo my_sleep.lo \
	my_pread.lo mf_cache.lo my_vsnprintf.lo md5.lo my_getopt.lo \
	my_gethostbyname.lo my_port.lo my_lib.lo strmov.lo strxmov.lo \
	strxnmov.lo strnmov.lo strmake.lo strend.lo strnlen.lo \
	strfill.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo \
	strcont.lo strcend.lo bcmp.lo bchange.lo bmove.lo bmove_upp.lo \
	longlong2str.lo strtoull.lo strtoll.lo llstr.lo ctype.lo \
	dbug.lo vio.lo viosocket.lo viossl.lo viosslfactories.lo net.lo
am_libmysqlclient_r_la_OBJECTS = libmysql.lo password.lo manager.lo \
	get_password.lo errmsg.lo
libmysqlclient_r_la_OBJECTS = $(am_libmysqlclient_r_la_OBJECTS)
noinst_PROGRAMS = conf_to_src$(EXEEXT)
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)
CPPFLAGS = 
LDFLAGS =  -rdynamic 
LIBS = -lpthread -lcrypt -lnsl -lm  -lpthread 
depcomp = $(SHELL) $(top_srcdir)/depcomp
DEP_FILES = $(DEPDIR)/conf_to_src.Po $(DEPDIR)/errmsg.Plo \
	$(DEPDIR)/get_password.Plo $(DEPDIR)/libmysql.Plo \
	$(DEPDIR)/manager.Plo $(DEPDIR)/password.Plo
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES = $(libmysqlclient_r_la_SOURCES) $(conf_to_src_SOURCES)
DIST_COMMON = Makefile.am Makefile.in
SOURCES = $(libmysqlclient_r_la_SOURCES) $(conf_to_src_SOURCES)

all: all-am

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/libmysql/Makefile.shared $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  libmysql_r/Makefile
Makefile: # $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && \
	  CONFIG_HEADERS= CONFIG_LINKS= \
	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$p; \
	  else :; fi; \
	done

uninstall-pkglibLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  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)
libmysqlclient_r.la: $(libmysqlclient_r_la_OBJECTS) $(libmysqlclient_r_la_DEPENDENCIES) 
	$(LINK) -rpath $(pkglibdir) $(libmysqlclient_r_la_LDFLAGS) $(libmysqlclient_r_la_OBJECTS) $(libmysqlclient_r_la_LIBADD) $(LIBS)

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
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) core *.core

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

distclean-depend:
	-rm -rf $(DEPDIR)

.c.o:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CCDEPMODE) $(depcomp) \
	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<

.c.obj:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CCDEPMODE) $(depcomp) \
	$(COMPILE) -c `cygpath -w $<`

.c.lo:
	source='$<' object='$@' libtool=yes \
	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
	$(CCDEPMODE) $(depcomp) \
	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
CCDEPMODE = depmode=gcc3
uninstall-info-am:

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(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 $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) $(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 "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)

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

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

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    $(mkinstalldirs) "$(distdir)/$$dir"; \
	  fi; \
	  if test -d $$d/$$file; then \
	    cp -pR $$d/$$file $(distdir) \
	    || 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)

installdirs:
	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)

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)" \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

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

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*

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

distclean-am: clean-am distclean-compile distclean-depend \
	distclean-generic distclean-libtool distclean-tags

dvi: dvi-am

dvi-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

maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

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

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

.PHONY: GTAGS all all-am check check-am clean clean-generic \
	clean-libtool clean-local clean-noinstPROGRAMS \
	clean-pkglibLTLIBRARIES distclean distclean-compile \
	distclean-depend distclean-generic distclean-libtool \
	distclean-tags distdir dvi dvi-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 tags uninstall \
	uninstall-am uninstall-info-am uninstall-pkglibLTLIBRARIES


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

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"` \
	       $(CHARSET_SRCS) $(CHARSET_OBJS) \
	       $(mystringsextra) $(mystringsgen) $(mysysheaders) $(vioheaders)\
	       ctype_extra_sources.c net.c ../linked_client_sources

ctype_extra_sources.c: conf_to_src
	./conf_to_src $(top_srcdir)  latin1 > \
	              $(srcdir)/ctype_extra_sources.c

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

# This is called from the toplevel makefile
link_sources:
	set -x; \
	for f in `cd $(libmysql_dir) && echo *.[ch]`; do \
	  rm -f $(srcdir)/$$f; \
	  /bin/ln -s $(libmysql_dir)/$$f $(srcdir)/$$f; \
	done
# 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:
