mariadb/include/Makefile.am

79 lines
2.7 KiB
Text
Raw Normal View History

# 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
# 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
BUILT_SOURCES = $(HEADERS_GEN) abi_check
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 \
my_pthread.h my_no_pthread.h raid.h \
decimal.h 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 \
m_ctype.h my_attribute.h $(HEADERS_GEN)
noinst_HEADERS = config-win.h config-os2.h config-netware.h \
heap.h my_bitmap.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 \
my_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
my_aes.h my_tree.h hash.h thr_alarm.h \
thr_lock.h t_ctype.h violite.h my_md5.h base64.h \
mysql_version.h.in my_handler.h my_time.h \
my_user.h my_libwrap.h
2000-07-31 21:29:14 +02:00
# Remove built files and the symlinked directories
CLEANFILES = $(BUILT_SOURCES) readline openssl
2000-07-31 21:29:14 +02: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
DISTCLEANFILES = sched.h $(CLEANFILES)
2000-09-14 14:10:06 +02:00
link_sources:
-$(RM) -fr readline
@readline_h_ln_cmd@
@yassl_h_ln_cmd@
2000-07-31 21:29:14 +02:00
# We want both "my_config.h" and "config.h" that are identical, as
# MySQL sources assumes the name "my_config.h", and 3rd party sources
# assumes the name "config.h".
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:
$(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h
2000-08-16 04:14:02 +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
abi_check: $(HEADERS_ABI) mysql_version.h mysql_h.ic
@set -ex; \
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; \
$(RM) -f $@.ic; \
fi; \
2006-10-27 15:57:00 +02:00
touch abi_check;
2000-08-16 04:14:02 +02:00
# Don't update the files from bitkeeper
%::SCCS/s.%