# 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 = i386-unknown-freebsd7.4 host_triplet = i386-unknown-freebsd7.4 target_triplet = i386-unknown-freebsd7.4 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)/acinclude.m4 \ $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 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 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 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-cp932.lo ctype-czech.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 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) libmysqlclient_la_DEPENDENCIES = $(am__DEPENDENCIES_9) 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} /warez/unix/SQL/mysql-4.1.21/missing --run aclocal-1.9 ALLOCA = AMDEP_FALSE = # AMDEP_TRUE = AMTAR = ${SHELL} /warez/unix/SQL/mysql-4.1.21/missing --run tar AR = ar 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} /warez/unix/SQL/mysql-4.1.21/missing --run autoconf AUTOHEADER = ${SHELL} /warez/unix/SQL/mysql-4.1.21/missing --run autoheader AUTOMAKE = ${SHELL} /warez/unix/SQL/mysql-4.1.21/missing --run automake-1.9 AVAILABLE_LANGUAGES = czech danish dutch english estonian french german greek hungarian italian japanese japanese-sjis korean norwegian norwegian-ny polish portuguese romanian russian serbian 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 japanese-sjis/errmsg.sys korean/errmsg.sys norwegian/errmsg.sys norwegian-ny/errmsg.sys polish/errmsg.sys portuguese/errmsg.sys romanian/errmsg.sys russian/errmsg.sys serbian/errmsg.sys slovak/errmsg.sys spanish/errmsg.sys swedish/errmsg.sys ukrainian/errmsg.sys AWK = nawk CC = gcc CCAS = gcc CCASFLAGS = CCDEPMODE = depmode=gcc3 CC_VERSION = gcc (GCC) 4.2.1 20070719 [FreeBSD] CFLAGS = -O3 -DDBUG_OFF CHECK_PID = /bin/kill -0 $$PID > /dev/null 2> /dev/null CHMOD = /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 = /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 -DMYSQLD_NET_RETRY_COUNT=1000000 CXXLDFLAGS = CXX_VERSION = g++ (GCC) 4.2.1 20070719 [FreeBSD] CYGPATH_W = echo DARWIN_MWCC_FALSE = DARWIN_MWCC_TRUE = # DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \ -DDATADIR="\"$(MYSQLDATAdir)\"" \ -DSHAREDIR="\"$(MYSQLSHAREdir)\"" $(target_defs) DEPDIR = .deps DOT_FRM_VERSION = 6 DOXYGEN = no DVIS = ECHO = echo ECHO_C = ECHO_N = -n ECHO_T = EGREP = grep -E EXEEXT = F77 = FFLAGS = FIND_PROC = /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 = # HOSTNAME = /bin/hostname INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s KILL = /bin/kill LD = /usr/bin/ld LDFLAGS = LD_VERSION_SCRIPT = -Wl,--version-script=$(top_builddir)/libmysql/libmysql.ver LIBDL = LIBEDIT_LOBJECTS = LIBOBJS = LIBS = -lcrypt -lm -lz LIBTOOL = $(SHELL) $(top_builddir)/libtool --preserve-dup-deps LIB_EXTRA_CCFLAGS = LM_CFLAGS = LN = /bin/ln LN_CP_F = /bin/ln -s LN_S = ln -s LOCAL_FALSE = LOCAL_TRUE = # LTLIBOBJS = MACHINE_TYPE = i386 MAKEINDEX = no MAKEINFO = ${SHELL} /warez/unix/SQL/mysql-4.1.21/missing --run makeinfo MAKE_BINARY_DISTRIBUTION_OPTIONS = MAKE_SHELL = /bin/sh MT_INCLUDES = MT_LD_ADD = MV = /bin/mv MYSQLD_DEFAULT_SWITCHES = MYSQLD_EXTRA_LDFLAGS = MYSQLD_USER = mysql MYSQL_BASE_VERSION = 4.1 MYSQL_NO_DASH_VERSION = 4.1.21 MYSQL_SERVER_SUFFIX = MYSQL_TCP_PORT = 3306 MYSQL_TCP_PORT_DEFAULT = 3306 MYSQL_UNIX_ADDR = /tmp/mysql.sock MYSQL_VERSION_ID = 40121 NDB_DEFS = NDB_SCI_INCLUDES = NDB_SCI_LIBS = NDB_VERSION_BUILD = 21 NDB_VERSION_MAJOR = 4 NDB_VERSION_MINOR = 1 NDB_VERSION_STATUS = NOINST_LDFLAGS = 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 = /bin/ps RANLIB = ranlib RM = /bin/rm SAVE_ASFLAGS = SAVE_CFLAGS = SAVE_CXXFLAGS = SAVE_CXXLDFLAGS = SAVE_LDFLAGS = SED = /bin/sed SET_MAKE = SHARED_LIB_MAJOR_VERSION = 14 SHARED_LIB_VERSION = 14:0:0 SHELL = /bin/sh STATIC_NSS_FLAGS = STRIP = strip SYSTEM_TYPE = unknown-freebsd7.4 TAR = tar TARGET_LINUX = false 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.1.21 WRAPLIBS = YACC = bison -y ZLIB_DEPS = -lz ZLIB_INCLUDES = ZLIB_LIBS = -lz ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ ac_ct_F77 = ac_ct_GETCONF = getconf ac_ct_RANLIB = ranlib ac_ct_STRIP = 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 = i386-unknown-freebsd7.4 build_alias = build_cpu = i386 build_os = freebsd7.4 build_vendor = unknown datadir = ${prefix}/share docs_dirs = Docs exec_prefix = ${prefix} fs_dirs = host = i386-unknown-freebsd7.4 host_alias = host_cpu = i386 host_os = freebsd7.4 host_vendor = unknown includedir = ${prefix}/include infodir = ${prefix}/info innodb_includes = -I../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 = /warez/unix/SQL/mysql-4.1.21/install-sh isam_libs = 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 = isamchk.1 isamlog.1 msql2mysql.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 mysql.1 mysql.server.1 mysql_config.1 mysql_explain_log.1 mysql_fix_privilege_tables.1 mysql_zap.1 mysqlaccess.1 mysqladmin.1 mysqlbinlog.1 mysqlcheck.1 mysqld.1 mysqld_multi.1 mysqld_safe.1 mysqldump.1 mysqlhotcopy.1 mysqlimport.1 mysqlman.1 mysqlshow.1 pack_isam.1 perror.1 replace.1 safe_mysqld.1 man_dirs = man mandir = ${prefix}/man mkdir_p = $(mkinstalldirs) ndb_bin_am_ldflags = ndb_cxxflags_fix = ndb_mgmclient_libs = ndb_opt_subdirs = ndb_port = ndb_port_base = ndb_transporter_opt_objs = ndbcluster_includes = ndbcluster_libs = ndbcluster_system_libs = netware_dir = oldincludedir = /usr/include openssl_includes = openssl_libs = orbit_idl = orbit_includes = orbit_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 = libmysql strings regex client sql_server_dirs = strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql sql_union_dirs = strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql libmysql client subdirs = innobase sysconfdir = ${prefix}/etc target = libmysqlclient.la target_alias = target_cpu = i386 target_os = freebsd7.4 target_vendor = unknown thread_dirs = tools_dirs = uname_prog = /usr/bin/uname vio_dir = vio_libs = 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-cp932.lo ctype-czech.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 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 \ 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 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 14: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) 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 = libmysqlclient_la_SOURCES = $(target_sources) libmysqlclient_la_LIBADD = $(target_libadd) libmysqlclient_la_LDFLAGS = $(target_ldflags) EXTRA_DIST = Makefile.shared libmysql.def 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; \ /bin/ln -s $(top_srcdir)/strings/$$f $$f; \ done; \ for f in $$vs $(vioheaders); do \ rm -f $$f; \ /bin/ln -s $(top_srcdir)/vio/$$f $$f; \ done; \ for f in $$scs; do \ rm -f $$f; \ /bin/ln -s $(top_srcdir)/sql-common/$$f $$f; \ done; \ for f in $(mystringsextra); do \ rm -f $$f; \ /bin/ln -s $(top_srcdir)/strings/$$f $$f; \ done; \ for f in $$ds; do \ rm -f $$f; \ /bin/ln -s $(top_srcdir)/dbug/$$f $$f; \ done; \ for f in $$ms $(mysysheaders); do \ rm -f $$f; \ /bin/ln -s $(top_srcdir)/mysys/$$f $$f; \ done; \ rm -f net.c; \ /bin/ln -s $(top_srcdir)/sql/net_serv.cc net.c ; \ rm -f password.c; \ /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 # 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: