1
# Copyright (C) 2000-2006 MySQL AB
3
# This library is free software; you can redistribute it and/or
4
# modify it under the terms of the GNU Library General Public
5
# License as published by the Free Software Foundation; version 2
8
# This library is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
# Library General Public License for more details.
13
# You should have received a copy of the GNU Library General Public
14
# License along with this library; if not, write to the Free
15
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
18
BUILT_SOURCES = $(HEADERS_GEN)
20
HEADERS_GEN = drizzle_version.h
22
HEADERS_ABI = drizzle.h \
29
drizzle/plugin_audit.h
31
pkginclude_HEADERS = $(HEADERS_ABI) \
48
noinst_HEADERS = my_bit.h \
72
drizzle_version.h.in \
75
drizzle/server/field/blob.h \
76
drizzle/server/field/date.h \
77
drizzle/server/field/datetime.h \
78
drizzle/server/field/decimal.h \
79
drizzle/server/field/double.h \
80
drizzle/server/field/int64_t.h \
81
drizzle/server/field/long.h \
82
drizzle/server/field/null.h \
83
drizzle/server/field/set.h \
84
drizzle/server/field/short.h \
85
drizzle/server/field/string.h \
86
drizzle/server/field/timestamp.h \
87
drizzle/server/field/timetype.h \
88
drizzle/server/field/varstring.h \
89
drizzle/server/field/year.h
92
# Remove built files and the symlinked directories
93
CLEANFILES = $(BUILT_SOURCES)
95
EXTRA_DIST = drizzle_h.ic
97
# Some include files that may be moved and patched by configure
98
DISTCLEANFILES = sched.h \
101
# These files should not be included in distributions since they are
102
# generated by configure from the .h.in files
104
$(RM) -f $(distdir)/drizzle_version.h
107
# Rules for checking that ABI has not changed
110
# Create a icheck file and compare it to the reference
111
abi_check: $(HEADERS_ABI) drizzle_version.h mysql_h.ic
113
if test "x@ICHECK@" != "xno" ; then \
114
@ICHECK@ --canonify --skip-from-re /usr/ -o $@ $(HEADERS_ABI); \
115
@ICHECK@ --compare drizzle_h.ic $@; \