2000-07-31 21:29:14 +02:00
|
|
|
# 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
|
|
|
|
|
2005-07-06 00:06:11 +02:00
|
|
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
2005-11-07 16:25:06 +01:00
|
|
|
-I$(top_srcdir)/sql
|
2000-07-31 21:29:14 +02:00
|
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \
|
|
|
|
../dbug/libdbug.a ../strings/libmystrings.a
|
2005-01-28 17:14:03 +01:00
|
|
|
BUILT_SOURCES= $(top_builddir)/include/mysqld_error.h \
|
|
|
|
$(top_builddir)/include/sql_state.h \
|
|
|
|
$(top_builddir)/include/mysqld_ername.h
|
2004-12-14 00:54:16 +01:00
|
|
|
pkginclude_HEADERS= $(BUILT_SOURCES)
|
2005-01-28 17:14:03 +01:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2005-11-09 10:56:04 +01:00
|
|
|
# We never use SUBDIRS here, but needed for automake 1.6.3
|
|
|
|
# to generate code to handle DIST_SUBDIRS
|
|
|
|
SUBDIRS=
|
2005-04-28 15:23:27 +02:00
|
|
|
DIST_SUBDIRS= yassl
|
2004-12-14 00:54:16 +01:00
|
|
|
|
|
|
|
# This will build mysqld_error.h and sql_state.h
|
2005-12-14 02:08:59 +01:00
|
|
|
$(top_builddir)/include/mysqld_error.h: comp_err$(EXEEXT)
|
|
|
|
$(top_builddir)/extra/comp_err$(EXEEXT) \
|
2005-01-28 17:14:03 +01:00
|
|
|
--charset=$(top_srcdir)/sql/share/charsets \
|
|
|
|
--out-dir=$(top_builddir)/sql/share/ \
|
|
|
|
--header_file=$(top_builddir)/include/mysqld_error.h \
|
|
|
|
--name_file=$(top_builddir)/include/mysqld_ername.h \
|
|
|
|
--state_file=$(top_builddir)/include/sql_state.h \
|
|
|
|
--in_file=$(top_srcdir)/sql/share/errmsg.txt
|
|
|
|
$(top_builddir)/include/mysqld_ername.h: $(top_builddir)/include/mysqld_error.h
|
|
|
|
$(top_builddir)/include/sql_state.h: $(top_builddir)/include/mysqld_error.h
|
2004-12-13 21:51:54 +01:00
|
|
|
|
2001-01-05 23:04:15 +01:00
|
|
|
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
|
2005-07-19 09:03:19 +02:00
|
|
|
resolve_stack_dump mysql_waitpid innochecksum
|
2004-11-04 22:29:00 +01:00
|
|
|
noinst_PROGRAMS = charset2html
|
2006-03-24 22:50:56 +01:00
|
|
|
EXTRA_DIST = cmakelists.txt
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-12-05 14:17:53 +01:00
|
|
|
perror.o: perror.c
|
|
|
|
$(COMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $<
|
|
|
|
|
2000-08-18 11:48:00 +02:00
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|