mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
f095274fe8
BitKeeper/etc/ignore: auto-union BitKeeper/etc/logging_ok: auto-union BitKeeper/triggers/post-commit: Auto merged Docs/Support/texi2html: Auto merged Makefile.am: Auto merged client/Makefile.am: Auto merged client/mysql.cc: Auto merged client/mysqldump.c: Auto merged include/my_base.h: Auto merged include/my_global.h: Auto merged include/my_pthread.h: Auto merged include/my_sys.h: Auto merged include/my_time.h: Auto merged include/mysql.h: Auto merged include/mysql_com.h: Auto merged innobase/buf/buf0buf.c: Auto merged innobase/include/row0mysql.h: Auto merged innobase/row/row0sel.c: Auto merged libmysql/libmysql.c: Auto merged libmysqld/examples/Makefile.am: Auto merged myisam/mi_check.c: Auto merged mysql-test/include/ps_modify.inc: Auto merged mysql-test/install_test_db.sh: Auto merged mysql-test/r/alter_table.result: Auto merged mysql-test/r/auto_increment.result: Auto merged mysql-test/r/bdb.result: Auto merged mysql-test/r/ctype_latin1_de.result: Auto merged mysql-test/r/ctype_recoding.result: Auto merged mysql-test/r/fulltext.result: Auto merged mysql-test/r/func_gconcat.result: Auto merged mysql-test/r/func_group.result: Auto merged mysql-test/r/func_if.result: Auto merged mysql-test/t/derived.test: Auto merged mysql-test/t/insert.test: merge with 4.1 Fixed test case to not use 'if exists' when it shouldn't mysql-test/t/range.test: merge with 4.1 Added missing drop table sql/ha_ndbcluster.cc: merge with 4.1 Simple optimization: use max() instead of ? : sql/item_func.cc: merge with 4.1 (Added back old variable names for easier merges) sql/opt_range.cc: merge with 4.1 Removed argument 'parent_alloc' from QUICK_RANGE_SELECT as this was not used Added assert if using QUICK_GROUP_MIN_MAX_SELECT with parent_alloc as the init() function can't handle this Changed back get_quick_select_for_ref() to use it's own alloc root becasue this function may be called several times for one query sql/sql_handler.cc: merge with 4.1 change variable 'err' to 'error' as same function had a label named 'err' sql/sql_update.cc: Use multi-update code from 5.0 instead of 4.1 We will fix the locking code shortly in 5.0 to be faster than in 4.1
88 lines
4.6 KiB
Makefile
88 lines
4.6 KiB
Makefile
# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program 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 General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; 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
|
|
|
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include
|
|
pkglib_LIBRARIES = libmystrings.a
|
|
|
|
# Exact one of ASSEMBLER_X
|
|
if ASSEMBLER_x86
|
|
ASRCS = strings-x86.s longlong2str-x86.s my_strtoll10-x86.s
|
|
CSRCS = bfill.c bmove.c bmove512.c bchange.c strxnmov.c int2str.c str2int.c r_strinstr.c strtod.c bcmp.c strtol.c strtoul.c strtoll.c strtoull.c llstr.c strnlen.c ctype.c ctype-simple.c ctype-mb.c ctype-big5.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-sjis.c ctype-tis620.c ctype-ujis.c ctype-utf8.c ctype-ucs2.c ctype-uca.c ctype-win1250ch.c ctype-bin.c ctype-latin1.c my_vsnprintf.c xml.c decimal.c ctype-extra.c
|
|
else
|
|
if ASSEMBLER_sparc32
|
|
# These file MUST all be on the same line!! Otherwise automake
|
|
# generats a very broken makefile
|
|
ASRCS = bmove_upp-sparc.s strappend-sparc.s strend-sparc.s strinstr-sparc.s strmake-sparc.s strmov-sparc.s strnmov-sparc.s strstr-sparc.s
|
|
CSRCS = strcont.c strfill.c strcend.c is_prefix.c longlong2str.c bfill.c bmove.c bmove512.c bchange.c strxnmov.c int2str.c str2int.c r_strinstr.c strtod.c bcmp.c strtol.c strtoul.c strtoll.c strtoull.c llstr.c strnlen.c strxmov.c ctype.c ctype-simple.c ctype-mb.c ctype-big5.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-sjis.c ctype-tis620.c ctype-ujis.c ctype-utf8.c ctype-ucs2.c ctype-uca.c ctype-win1250ch.c ctype-bin.c ctype-latin1.c my_vsnprintf.c xml.c decimal.c ctype-extra.c my_strtoll10.c
|
|
else
|
|
#no assembler
|
|
ASRCS =
|
|
# These file MUST all be on the same line!! Otherwise automake
|
|
# generats a very broken makefile
|
|
CSRCS = strxmov.c bmove_upp.c strappend.c strcont.c strend.c strfill.c strcend.c is_prefix.c strstr.c strinstr.c strmake.c strnmov.c strmov.c longlong2str.c bfill.c bmove.c bmove512.c bchange.c strxnmov.c int2str.c str2int.c r_strinstr.c strtod.c bcmp.c strtol.c strtoul.c strtoll.c strtoull.c llstr.c strnlen.c ctype.c ctype-simple.c ctype-mb.c ctype-big5.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-sjis.c ctype-tis620.c ctype-ujis.c ctype-utf8.c ctype-ucs2.c ctype-uca.c ctype-win1250ch.c ctype-bin.c ctype-latin1.c my_vsnprintf.c xml.c decimal.c ctype-extra.c my_strtoll10.c
|
|
endif
|
|
endif
|
|
|
|
libmystrings_a_SOURCES = $(ASRCS) $(CSRCS)
|
|
noinst_PROGRAMS = conf_to_src
|
|
DISTCLEANFILES = ctype_autoconf.c
|
|
# Default charset definitions
|
|
EXTRA_DIST = ctype-big5.c ctype-czech.c ctype-euc_kr.c ctype-win1250ch.c \
|
|
ctype-gb2312.c ctype-gbk.c ctype-sjis.c ctype-utf8.c \
|
|
ctype-ucs2.c ctype-uca.c ctype-tis620.c ctype-ujis.c \
|
|
xml.c decimal.c strto.c strings-x86.s \
|
|
longlong2str.c longlong2str-x86.s \
|
|
my_strtoll10.c my_strtoll10-x86.s \
|
|
strxmov.c bmove_upp.c strappend.c strcont.c strend.c \
|
|
strfill.c strcend.c is_prefix.c strstr.c strinstr.c \
|
|
strmake.c strnmov.c strmov.c strnlen.c \
|
|
bmove_upp-sparc.s strappend-sparc.s strend-sparc.s \
|
|
strinstr-sparc.s strmake-sparc.s strmov-sparc.s \
|
|
strnmov-sparc.s strstr-sparc.s strxmov-sparc.s \
|
|
t_ctype.h
|
|
|
|
libmystrings_a_LIBADD=
|
|
conf_to_src_SOURCES = conf_to_src.c xml.c ctype.c bcmp.c
|
|
conf_to_src_LDADD=
|
|
#force static linking of conf_to_src - essential when linking against
|
|
#custom installation of libc
|
|
conf_to_src_LDFLAGS= @NOINST_LDFLAGS@
|
|
|
|
# This is because the dependency tracking misses @FOO@ vars in sources.
|
|
#strtoull.o: @CHARSET_OBJS@
|
|
|
|
|
|
if ASSEMBLER
|
|
# On Linux gcc can compile the assembly files
|
|
%.o : %.s
|
|
$(AS) $(ASFLAGS) -o $@ $<
|
|
endif
|
|
|
|
FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) @NOINST_LDFLAGS@
|
|
|
|
str_test: str_test.c $(pkglib_LIBRARIES)
|
|
$(LINK) $(FLAGS) -DMAIN $(INCLUDES) $(srcdir)/str_test.c $(LDADD) $(pkglib_LIBRARIES)
|
|
|
|
test_decimal$(EXEEXT): decimal.c $(pkglib_LIBRARIES)
|
|
$(CP) $(srcdir)/decimal.c ./test_decimal.c
|
|
$(LINK) $(FLAGS) -DMAIN ./test_decimal.c $(LDADD) $(pkglib_LIBRARIES)
|
|
$(RM) -f ./test_decimal.c
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|
|
|