2001-04-11 13:04:03 +02:00
|
|
|
# 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
|
|
|
|
#
|
|
|
|
# This file is public domain and comes with NO WARRANTY of any kind
|
|
|
|
|
2001-10-08 03:58:07 +02:00
|
|
|
MYSQLDATAdir = $(localstatedir)
|
|
|
|
MYSQLSHAREdir = $(pkgdatadir)
|
|
|
|
MYSQLBASEdir= $(prefix)
|
2005-11-06 13:13:06 +01:00
|
|
|
MYSQLLIBdir= $(libdir)
|
2001-04-11 13:04:03 +02:00
|
|
|
|
|
|
|
DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
|
|
|
|
-DDEFAULT_MYSQL_HOME="\"$(MYSQLBASEdir)\"" \
|
|
|
|
-DDATADIR="\"$(MYSQLDATAdir)\"" \
|
2005-11-06 13:13:06 +01:00
|
|
|
-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
|
|
|
|
-DLIBDIR="\"$(MYSQLLIBdir)\""
|
2005-11-07 16:25:06 +01:00
|
|
|
INCLUDES= -I$(top_builddir)/include -I$(top_srcdir)/include \
|
Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
client/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
cmd-line-utils/libedit/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
dbug/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
extra/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
heap/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
isam/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
libmysql/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
libmysql_r/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
libmysqld/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
libmysqld/examples/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
merge/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
myisam/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
myisammrg/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
mysql-test/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
mysys/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
netware/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
regex/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
sql/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
strings/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
tests/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
vio/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
tools/Makefile.am:
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
2005-07-05 23:24:48 +02:00
|
|
|
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
2004-12-14 00:54:16 +01:00
|
|
|
-I$(top_srcdir)/sql -I$(top_srcdir)/sql/examples \
|
|
|
|
-I$(top_srcdir)/regex \
|
2005-10-18 15:43:59 +02:00
|
|
|
$(openssl_includes) $(yassl_includes) @ZLIB_INCLUDES@
|
2001-04-11 13:04:03 +02:00
|
|
|
|
2001-10-08 03:58:07 +02:00
|
|
|
noinst_LIBRARIES = libmysqld_int.a
|
|
|
|
pkglib_LIBRARIES = libmysqld.a
|
2001-09-18 05:05:55 +02:00
|
|
|
SUBDIRS = . examples
|
2003-12-01 14:19:10 +01:00
|
|
|
libmysqld_sources= libmysqld.c lib_sql.cc emb_qcache.cc
|
Fix for Bug#4030 "Client side conversion string -> date type doesn't
work (prepared statements)" and after-review fixes:
- str_to_TIME renamed to str_to_datetime to pair with str_to_time
- functions str_to_time and str_to_TIME moved to sql-common
- send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE,
MYSQL_TIME_DATETIME types of user input buffers.
- few more comments in the client library
- a test case added.
VC++Files/libmysql/libmysql.dsp:
new file: my_time.c
VC++Files/libmysqld/libmysqld.dsp:
new file: my_time.c
VC++Files/sql/mysqld.dsp:
new file: my_time.c
include/Makefile.am:
- mysql_time.h added to the list of installed client library headers
include/mysql.h:
- declarations for MYSQL_TIME and enum_mysql_timestamp_type moved to
mysql_time.h, which is in shared use of client library and mysys.
libmysql/Makefile.shared:
- my_time.lo added to the list of libmysql objects
libmysql/libmysql.c:
Fix for bug#4030 "Client side conversion string -> date type doesn't work
(prepared statements)" and cleanup.
- added case labels for TIME/DATE/DATETIME types to send_data_str
- comments for read_binary_{date,time,datetime}, fetch_result_*, fetch_results.
libmysqld/Makefile.am:
- my_time.c added
sql-common/Makefile.am:
- my_time.c added to the list of files included into source distribution.
sql/Makefile.am:
my_time.c added to the list of mysqld sources.
sql/field.cc:
- TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to
MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
sql/item.cc:
- TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to
MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
sql/item_timefunc.cc:
- TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to
MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
sql/mysql_priv.h:
- added typedefs for TIME and timestamp_type
- removed declarations for str_to_time and str_to_TIME (now this functions
reside in mysys)
sql/mysqld.cc:
- log_10_int moved to mysys (it's used by str_to_TIME and str_to_time)
- enum values TIMESTAMP_{TIME,DATE,DATETIME} were renamed to
MYSQL_TIMESTAMP_{TIME,DATE,DATETIME}
sql/set_var.cc:
- TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to
MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
sql/set_var.h:
- fixed timestamp_type usage to be compatible with typedef.
sql/sql_prepare.cc:
- TIMESTAMP_{TIME,DATE,DATETIME} were renamed to
MYSQL_TIMESTAMP_{TIME,DATE,DATETIME}
- embedded library implementation of set_param_{time,date,datetime} is
much simplier now, as MYSQL_TIME is the same as TIME.
sql/sql_yacc.yy:
- s/\<TIMESTAMP_/MYSQL_TIMESTAMP/gc
sql/structs.h:
- declarations for TIME and timestamp_type replaced with typedefs
- str_to_datetime arguments moved to mysys headers
sql/time.cc:
- str_to_time and str_to_TIME moved to mysys
- TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to
MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} as these names are now
exported to client.
- str_to_TIME renamed to str_to_datetime to pair with str_to_time
- str_to_TIME_with_warn renamed accordingly
sql/tztime.cc:
- TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to
MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
tests/client_test.c:
- a test case for Bug#4030 "Client side conversion string -> date type
doesn't work (prepared statements)"
2004-06-24 17:08:36 +02:00
|
|
|
libmysqlsources = errmsg.c get_password.c libmysql.c client.c pack.c \
|
|
|
|
my_time.c
|
2001-04-11 13:04:03 +02:00
|
|
|
|
2003-12-01 14:19:10 +01:00
|
|
|
noinst_HEADERS = embedded_priv.h emb_qcache.h
|
2001-10-02 04:53:00 +02:00
|
|
|
|
2003-11-03 13:01:59 +01:00
|
|
|
sqlsources = derror.cc field.cc field_conv.cc strfunc.cc filesort.cc \
|
2005-11-07 16:25:06 +01:00
|
|
|
ha_heap.cc ha_myisam.cc ha_myisammrg.cc handler.cc sql_handler.cc \
|
2003-03-18 22:14:02 +01:00
|
|
|
hostname.cc init.cc password.c \
|
2001-04-11 13:04:03 +02:00
|
|
|
item.cc item_buff.cc item_cmpfunc.cc item_create.cc \
|
|
|
|
item_func.cc item_strfunc.cc item_sum.cc item_timefunc.cc \
|
2003-05-30 12:22:34 +02:00
|
|
|
item_geofunc.cc item_uniq.cc item_subselect.cc item_row.cc\
|
2005-12-21 14:13:52 +01:00
|
|
|
item_xmlfunc.cc \
|
2003-06-04 23:12:45 +02:00
|
|
|
key.cc lock.cc log.cc log_event.cc sql_state.c \
|
2004-02-03 11:35:24 +01:00
|
|
|
protocol.cc net_serv.cc opt_range.cc \
|
2001-10-11 04:37:05 +02:00
|
|
|
opt_sum.cc procedure.cc records.cc sql_acl.cc \
|
2004-05-25 21:08:59 +02:00
|
|
|
sql_load.cc discover.cc \
|
2001-04-11 13:04:03 +02:00
|
|
|
sql_analyse.cc sql_base.cc sql_cache.cc sql_class.cc \
|
2002-06-15 00:08:50 +02:00
|
|
|
sql_crypt.cc sql_db.cc sql_delete.cc sql_error.cc sql_insert.cc \
|
|
|
|
sql_lex.cc sql_list.cc sql_manager.cc sql_map.cc sql_parse.cc \
|
2003-05-02 18:07:41 +02:00
|
|
|
sql_prepare.cc sql_derived.cc sql_rename.cc \
|
2002-08-30 11:40:40 +02:00
|
|
|
sql_select.cc sql_do.cc sql_show.cc set_var.cc \
|
2001-04-11 13:04:03 +02:00
|
|
|
sql_string.cc sql_table.cc sql_test.cc sql_udf.cc \
|
|
|
|
sql_update.cc sql_yacc.cc table.cc thr_malloc.cc time.cc \
|
2002-02-22 12:24:42 +01:00
|
|
|
unireg.cc uniques.cc stacktrace.c sql_union.cc hash_filo.cc \
|
A fix and a test case for Bug#6513 "Test Suite: Values inserted by using
cursor is interpreted latin1 character and Bug#9819 "Cursors: Mysql Server
Crash while fetching from table with 5 million records."
A fix for a possible memory leak when fetching into an SP cursor
in a long loop.
The patch uses a common implementation of cursors in the binary protocol and
in stored procedures and implements materialized cursors.
For implementation details, see comments in sql_cursor.cc
include/my_sys.h:
- declaration for multi_alloc_root
libmysqld/Makefile.am:
- drop protocol_cursor.cc, add sql_cursor.cc (replaces the old
implementation of cursors with a new one)
mysql-test/r/ctype_ujis.result:
- test results fixed (a test case for Bug#6513)
mysql-test/r/sp-big.result:
- test results fixed (a test case for Bug#9819)
mysql-test/t/ctype_ujis.test:
Add a test case for Bug#6513 "Test Suite: Values inserted by using cursor is
interpreted latin1 character"
mysql-test/t/sp-big.test:
Add a restricted test case for Bug#9819 "Cursors: Mysql Server Crash
while fetching from table with 5 million records."
mysys/my_alloc.c:
- an implementation of multi_alloc_root; this is largely a copy-paste
from mulalloc.c, but the function is small and there is no easy way
to reuse the existing C function.
sql/Makefile.am:
- add sql_cursor.h, sql_cursor.cc (a new implementation of stored procedure
cursors) and drop protocol_cursor.cc (the old one)
sql/handler.cc:
- now TABLE object has its mem_root always initialized.
Adjust the implementation handler::ha_open
sql/item_subselect.cc:
- adjust to the changed declaration of st_select_lex_unit::prepare
sql/protocol.h:
- drop Protocol_cursor
sql/sp_head.cc:
- move juggling with Query_arena::free_list and Item::next to
sp_eval_func_item, as this is needed in 3 places already.
sql/sp_head.h:
- declare a no-op implementation for cleanup_stmt in sp_instr_cpush.
This method is needed for non-materializing cursors, which are yet not
used in stored procedures.
- declaration for sp_eval_func_item
sql/sp_rcontext.cc:
- reimplement sp_cursor using the new implementation of server side cursors.
- use sp_eval_func_item to assign values of SP variables from the
row fetched from a cursor. This should fix a possible memory leak in
the old implementation of sp_cursor::fetch
sql/sp_rcontext.h:
- reimplement sp_cursor using the new implementation of server side cursors.
sql/sql_class.cc:
- disable the functionality that closes transient cursors at commit/rollback;
transient cursors are not used in 5.0, instead we use materialized ones.
To be enabled in a later version.
sql/sql_class.h:
- adjust to the rename Cursor -> Server_side_cursor
- additional declarations of select_union used in materialized cursors
sql/sql_derived.cc:
- reuse bits of tmp table code in UNION, derived tables, and materialized
cursors
- cleanup comments
sql/sql_lex.h:
- declarations of auxiliary methods used by materialized cursors
- a cleanup in st_select_lex_unit interface
sql/sql_list.h:
- add an array operator new[] to class Sql_alloc
sql/sql_prepare.cc:
- split the tight coupling of cursors and prepared statements to reuse
the same implementation in stored procedures
- cleanups of error processing in Prepared_statement::{prepare,execute}
sql/sql_select.cc:
- move the implementation of sensitive (non-materializing) cursors to
sql_cursor.cc
- make temporary tables self-contained: the table, its record and fields
are allocated in TABLE::mem_root. This implementation is not clean
and resets thd->mem_root several times because of the way create_tmp_table
works (many additional things are done inside it).
- adjust to the changed declaration of st_select_lex_unit::prepare
sql/sql_select.h:
- move the declaration of sensitive (non-materializing) cursors to
sql_cursor.cc
sql/sql_union.cc:
- move pieces of st_select_unit::prepare to select_union and st_table
methods to be able to reuse code in the implementation of materialized
cursors
sql/sql_view.cc:
- adjust to the changed signature of st_select_lex_unit::prepare
sql/table.cc:
- implement auxiliary st_table methods for use with temporary tables
sql/table.h:
- add declarations for auxiliary methods of st_table used to work with
temporary tables
tests/mysql_client_test.c:
- if cursors are materialized, a parallel update of the table used
in the cursor may go through: update the test.
sql/sql_cursor.cc:
New BitKeeper file ``sql/sql_cursor.cc'' -- implementation of server side
cursors
sql/sql_cursor.h:
New BitKeeper file ``sql/sql_cursor.h'' - declarations for
server side cursors.
2005-09-22 00:11:21 +02:00
|
|
|
spatial.cc gstream.cc sql_help.cc tztime.cc sql_cursor.cc \
|
2004-05-11 22:23:49 +02:00
|
|
|
sp_head.cc sp_pcontext.cc sp.cc sp_cache.cc sp_rcontext.cc \
|
2005-03-25 23:12:46 +01:00
|
|
|
parse_file.cc sql_view.cc sql_trigger.cc my_decimal.cc \
|
2005-11-07 16:25:06 +01:00
|
|
|
rpl_filter.cc sql_partition.cc handlerton.cc sql_plugin.cc
|
2001-04-11 13:04:03 +02:00
|
|
|
|
2005-11-07 16:25:06 +01:00
|
|
|
libmysqld_int_a_SOURCES= $(libmysqld_sources) $(libmysqlsources) $(sqlsources)
|
|
|
|
EXTRA_libmysqld_a_SOURCES = ha_innodb.cc ha_berkeley.cc ha_archive.cc \
|
|
|
|
ha_blackhole.cc ha_federated.cc ha_ndbcluster.cc \
|
|
|
|
ha_tina.cc ha_example.cc ha_partition.cc
|
|
|
|
libmysqld_a_DEPENDENCIES= @mysql_se_objs@
|
2001-10-08 22:20:19 +02:00
|
|
|
libmysqld_a_SOURCES=
|
2001-10-08 03:58:07 +02:00
|
|
|
|
2005-11-07 16:25:06 +01:00
|
|
|
sqlstoragesources = $(EXTRA_libmysqld_a_SOURCES)
|
|
|
|
|
2001-04-11 13:04:03 +02:00
|
|
|
# automake misses these
|
|
|
|
sql_yacc.cc sql_yacc.h: $(top_srcdir)/sql/sql_yacc.yy
|
|
|
|
|
2001-10-08 03:58:07 +02:00
|
|
|
# The following libraries should be included in libmysqld.a
|
|
|
|
INC_LIB= $(top_builddir)/regex/libregex.a \
|
2005-04-27 04:04:36 +02:00
|
|
|
$(top_builddir)/storage/myisam/libmyisam.a \
|
|
|
|
$(top_builddir)/storage/myisammrg/libmyisammrg.a \
|
|
|
|
$(top_builddir)/storage/heap/libheap.a \
|
2001-10-08 03:58:07 +02:00
|
|
|
$(top_builddir)/mysys/libmysys.a \
|
|
|
|
$(top_builddir)/strings/libmystrings.a \
|
|
|
|
$(top_builddir)/dbug/libdbug.a \
|
2005-10-27 21:48:43 +02:00
|
|
|
$(top_builddir)/vio/libvio.a \
|
2005-11-07 16:25:06 +01:00
|
|
|
@mysql_se_libs@ \
|
2005-10-27 21:48:43 +02:00
|
|
|
@yassl_libs_with_path@
|
2001-10-08 03:58:07 +02:00
|
|
|
|
2005-11-07 16:25:06 +01:00
|
|
|
|
|
|
|
# Storage engine specific compilation options
|
|
|
|
|
|
|
|
ha_berkeley.o: ha_berkeley.cc
|
|
|
|
$(CXXCOMPILE) @bdb_includes@ $(LM_CFLAGS) -c $<
|
|
|
|
|
|
|
|
ha_ndbcluster.o:ha_ndbcluster.cc
|
|
|
|
$(CXXCOMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $<
|
|
|
|
|
|
|
|
# Until we can remove dependency on ha_ndbcluster.h
|
|
|
|
handler.o: handler.cc
|
|
|
|
$(CXXCOMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
2001-10-08 03:58:07 +02:00
|
|
|
#
|
2004-05-25 21:00:14 +02:00
|
|
|
# To make it easy for the end user to use the embedded library we
|
|
|
|
# generate a total libmysqld.a from all library files,
|
2001-10-08 03:58:07 +02:00
|
|
|
|
2005-06-02 22:59:37 +02:00
|
|
|
# note - InnoDB libraries have circular dependencies, so in INC_LIB
|
|
|
|
# few libraries are present two times. Metrowerks linker doesn't like
|
|
|
|
# it at all. Traditional ar has no problems with it, but still there's no
|
|
|
|
# need to add the same file twice to the library, so 'sort -u' save us
|
|
|
|
# some time and spares unnecessary work.
|
|
|
|
|
2005-11-07 16:25:06 +01:00
|
|
|
libmysqld.a: libmysqld_int.a $(INC_LIB) $(libmysqld_a_DEPENDENCIES)
|
2005-05-10 13:53:47 +02:00
|
|
|
if DARWIN_MWCC
|
2005-06-02 22:59:37 +02:00
|
|
|
mwld -lib -o $@ libmysqld_int.a `echo $(INC_LIB) | sort -u`
|
2005-05-10 13:53:47 +02:00
|
|
|
else
|
2005-06-09 22:04:05 +02:00
|
|
|
-rm -f libmysqld.a
|
2004-05-25 21:00:14 +02:00
|
|
|
if test "$(host_os)" = "netware" ; \
|
|
|
|
then \
|
|
|
|
$(libmysqld_a_AR) libmysqld.a libmysqld_int.a $(INC_LIB) ; \
|
|
|
|
else \
|
2005-11-07 16:25:06 +01:00
|
|
|
(for arc in ./libmysqld_int.a $(INC_LIB); do \
|
2005-06-02 22:59:37 +02:00
|
|
|
arpath=`echo $$arc|sed 's|[^/]*$$||'`; \
|
2005-11-07 16:25:06 +01:00
|
|
|
$(AR) t $$arc|xargs -n 1 find $$arpath -name; \
|
|
|
|
$(AR) t $$arc|xargs -n 1 find `dirname $$arpath` -path \*/`basename $$arpath`/\* -name; \
|
|
|
|
done; echo $(libmysqld_a_DEPENDENCIES) ) | sort -u | xargs $(AR) cq libmysqld.a ; \
|
2004-05-25 21:00:14 +02:00
|
|
|
$(RANLIB) libmysqld.a ; \
|
|
|
|
fi
|
2005-05-10 13:53:47 +02:00
|
|
|
endif
|
2001-10-08 03:58:07 +02:00
|
|
|
|
2001-04-11 13:04:03 +02:00
|
|
|
## XXX: any time the client interface changes, we'll need to bump
|
|
|
|
## the version info for libmysqld; however, it's possible for the
|
|
|
|
## libmysqld interface to change without affecting the standard
|
|
|
|
## libmysqlclient interface. Should we make a separate version
|
|
|
|
## string for the two?
|
2001-10-08 03:58:07 +02:00
|
|
|
#libmysqld_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@
|
|
|
|
#CLEANFILES = $(libmysqld_la_LIBADD) libmysqld.la
|
2001-04-11 13:04:03 +02:00
|
|
|
|
|
|
|
# This is called from the toplevel makefile
|
|
|
|
link_sources:
|
|
|
|
set -x; \
|
|
|
|
for f in $(sqlsources); do \
|
2005-09-24 15:51:45 +02:00
|
|
|
rm -f $$f; \
|
|
|
|
@LN_CP_F@ $(top_srcdir)/sql/$$f $$f; \
|
2001-04-11 13:04:03 +02:00
|
|
|
done; \
|
|
|
|
for f in $(libmysqlsources); do \
|
2005-09-24 15:51:45 +02:00
|
|
|
rm -f $$f; \
|
|
|
|
@LN_CP_F@ $(top_srcdir)/libmysql/$$f $$f; \
|
2003-06-17 18:32:31 +02:00
|
|
|
done; \
|
2005-11-07 16:25:06 +01:00
|
|
|
for f in $(sqlstoragesources); do \
|
2005-09-24 15:51:45 +02:00
|
|
|
rm -f $$f; \
|
2005-11-23 13:57:00 +01:00
|
|
|
@LN_CP_F@ `find $(srcdir)/../sql -name $$f` $$f; \
|
2004-09-26 14:16:40 +02:00
|
|
|
done; \
|
2005-09-24 15:51:45 +02:00
|
|
|
rm -f client_settings.h; \
|
|
|
|
@LN_CP_F@ $(top_srcdir)/libmysql/client_settings.h client_settings.h
|
2003-06-17 18:32:31 +02:00
|
|
|
|
2001-04-11 13:04:03 +02:00
|
|
|
|
|
|
|
clean-local:
|
2005-11-07 16:25:06 +01:00
|
|
|
rm -f `echo $(sqlsources) $(libmysqlsources) $(sqlstoragesources) | sed "s;\.lo;.c;g"` \
|
2003-06-17 18:32:31 +02:00
|
|
|
$(top_srcdir)/linked_libmysqld_sources; \
|
|
|
|
rm -f client_settings.h
|
2001-04-11 13:04:03 +02:00
|
|
|
|
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|