2006-12-31 01:02:27 +01:00
|
|
|
# Copyright (C) 2000-2006 MySQL AB
|
2000-08-31 11:05:41 +02:00
|
|
|
#
|
2000-07-31 21:29:14 +02:00
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
2006-12-23 20:17:15 +01:00
|
|
|
# License as published by the Free Software Foundation; version 2
|
|
|
|
# of the License.
|
2000-08-31 11:05:41 +02:00
|
|
|
#
|
2000-07-31 21:29:14 +02:00
|
|
|
# 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.
|
2000-08-31 11:05:41 +02:00
|
|
|
#
|
2000-07-31 21:29:14 +02:00
|
|
|
# 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
|
|
|
|
|
2006-12-03 00:25:52 +01:00
|
|
|
# FIXME 'abi_check' should be in BUILT_SOURCES, disabled for now
|
|
|
|
BUILT_SOURCES = $(HEADERS_GEN)
|
2006-12-02 23:16:47 +01:00
|
|
|
HEADERS_GEN = mysql_version.h my_config.h
|
|
|
|
HEADERS_ABI = mysql.h mysql_com.h mysql_time.h \
|
|
|
|
my_list.h my_alloc.h typelib.h
|
|
|
|
pkginclude_HEADERS = $(HEADERS_ABI) my_dbug.h m_string.h my_sys.h \
|
|
|
|
my_xml.h mysql_embed.h \
|
2006-02-24 22:20:51 +01:00
|
|
|
my_semaphore.h my_pthread.h my_no_pthread.h \
|
2006-12-02 23:16:47 +01:00
|
|
|
errmsg.h my_global.h my_net.h \
|
|
|
|
my_getopt.h sslopt-longopts.h my_dir.h \
|
2003-11-21 11:22:51 +01:00
|
|
|
sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
|
2006-12-02 23:22:53 +01:00
|
|
|
m_ctype.h mysql/plugin.h $(HEADERS_GEN)
|
2006-04-11 02:48:19 +02:00
|
|
|
noinst_HEADERS = config-win.h config-netware.h \
|
WL#1386 - CTYPE table for unicode character sets
A prerequisite for several fulltext and XML bugs.
MY_CHARSET_HANDLER now has a new function "ctype"
to detect a type of the next character in a string
(i.e. digit, letter, space, punctuation, control, etc),
which now works correctly for both 8bit and multibyte charsets.
Previously only 8bit charsets worked correctly,
while any multibyte character was considered as letter
in multibyte charsets.
Many files:
Adding new function
Makefile.am:
Adding build rules for uctypedump,
a dump tool to create my_uctype.h
using Unicode Character Database file.
m_ctype.h:
Adding declaration of my_uni_ctype,
ctype data for Unicode.
Adding new member into MY_CHARSET_HANDLER
Makefile.am:
Adding my_uctype.h into noinst_HEADERS
my_uctype.h, uctypedump.c:
new files:
ctype data for unicode,
and the tool to generate it from
a Unicode Character Database file.
2006-02-02 07:07:47 +01:00
|
|
|
heap.h my_bitmap.h my_uctype.h \
|
2000-07-31 21:29:14 +02:00
|
|
|
myisam.h myisampack.h myisammrg.h ft_global.h\
|
2004-05-25 23:01:23 +02:00
|
|
|
mysys_err.h my_base.h help_start.h help_end.h \
|
2002-06-23 17:42:29 +02:00
|
|
|
my_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
|
2005-06-07 18:17:09 +02:00
|
|
|
my_aes.h my_tree.h my_trie.h hash.h thr_alarm.h \
|
2005-10-28 02:17:41 +02:00
|
|
|
thr_lock.h t_ctype.h violite.h md5.h base64.h \
|
2005-12-22 06:39:02 +01:00
|
|
|
mysql_version.h.in my_handler.h my_time.h decimal.h \
|
2006-06-01 00:03:05 +02:00
|
|
|
my_vle.h my_user.h my_atomic.h atomic/nolock.h \
|
2006-06-25 15:59:34 +02:00
|
|
|
atomic/rwlock.h atomic/x86-gcc.h atomic/x86-msvc.h \
|
|
|
|
my_libwrap.h
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-10-26 22:20:43 +02:00
|
|
|
# Remove built files and the symlinked directories
|
|
|
|
CLEANFILES = $(BUILT_SOURCES) readline openssl
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-11-01 16:11:56 +01:00
|
|
|
EXTRA_DIST = mysql_h.ic
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
# Some include files that may be moved and patched by configure
|
2005-01-28 17:14:03 +01:00
|
|
|
DISTCLEANFILES = sched.h $(CLEANFILES)
|
2003-01-18 17:28:48 +01:00
|
|
|
|
2000-09-14 14:10:06 +02:00
|
|
|
link_sources:
|
2004-04-26 13:27:23 +02:00
|
|
|
-$(RM) -fr readline
|
2003-01-18 17:28:48 +01:00
|
|
|
@readline_h_ln_cmd@
|
2006-01-04 16:33:06 +01:00
|
|
|
@yassl_h_ln_cmd@
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2001-01-21 15:30:16 +01:00
|
|
|
my_config.h: ../config.h
|
|
|
|
$(CP) ../config.h my_config.h
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# These files should not be included in distributions since they are
|
|
|
|
# generated by configure from the .h.in files
|
|
|
|
dist-hook:
|
2000-12-08 16:04:57 +01:00
|
|
|
$(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h
|
2000-08-16 04:14:02 +02:00
|
|
|
|
2006-10-24 20:32:07 +02:00
|
|
|
#
|
|
|
|
# Rules for checking that ABI has not changed
|
|
|
|
#
|
|
|
|
|
2006-10-27 15:57:00 +02:00
|
|
|
# Create a icheck file and compare it to the reference
|
2006-12-02 23:16:47 +01:00
|
|
|
abi_check: $(HEADERS_ABI) mysql_version.h mysql_h.ic
|
2006-10-26 22:20:43 +02:00
|
|
|
@set -ex; \
|
2006-10-24 20:32:07 +02:00
|
|
|
if [ @ICHECK@ != no ] ; then \
|
2006-10-27 15:57:00 +02:00
|
|
|
@ICHECK@ --canonify --skip-from-re /usr/ -o $@.ic mysql.h; \
|
|
|
|
@ICHECK@ --compare mysql_h.ic $@.ic; \
|
2006-11-13 13:32:39 +01:00
|
|
|
$(RM) -f $@.ic; \
|
2006-10-24 20:32:07 +02:00
|
|
|
fi; \
|
2006-10-27 15:57:00 +02:00
|
|
|
touch abi_check;
|
2006-10-24 20:32:07 +02:00
|
|
|
|
2000-08-16 04:14:02 +02:00
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|