mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
c566f9a25f
BUILD/compile-dist: fixes for 'make dist' and 'make distcheck' include yassl in "dist" Makefile.am: fixes for 'make dist' and 'make distcheck' remove double-listing of everything in SUBDIRS and DIST_SUBDIRS remove @yassl_dir@, it belongs to extra/Makefile.am specify --basedir for mysql_install_db, in case builddir (where mysql_install_db is) differs from srcdir (where mysql_fix_privilege_tables.sql is) config/ac-macros/yassl.m4: fixes for 'make dist' and 'make distcheck' create Makefile's only if yassl is used yassl_dir must not include / config/ac-macros/zlib.m4: fixes for 'make dist' and 'make distcheck' create Makefile only if zlib is used configure.in: fixes for 'make dist' and 'make distcheck' create Makefile only if a feature is enabled storage engine dirs must not include / automatically disable readline/libedit/sql-bench if source dir is missing extra/Makefile.am: fixes for 'make dist' and 'make distcheck' remove SUBDIR/DIST_SUBDIR hack libmysql_r/Makefile.am: fixes for 'make dist' and 'make distcheck' when symlinking all files from libmysql/ take into account that srcdir != builddir libmysqld/Makefile.am: fixes for 'make dist' and 'make distcheck' remove fragile promiscuous search for object files if .o file is not where we look for it - extract it from the library mysql-test/ndb/Makefile.am: fixes for 'make dist' and 'make distcheck' ndbcluster script is not a "source" don't forget to cleanup plugin/Makefile.am: fixes for 'make dist' and 'make distcheck' include plugin/fulltext/configure.in template in the distribution storage/Makefile.am: fixes for 'make dist' and 'make distcheck' remove SUBDIRS/DIST_SUBDIRS hack storage/ndb/Makefile.am: fixes for 'make dist' and 'make distcheck' force common.mk.am out of DIST_COMMON (which is otherwise an auto-generated list of Makefile's sources) because it's listed indirectly in EXTRA_DIST, and with bk -r get, a file cannot be copied twice.
49 lines
2.1 KiB
Makefile
49 lines
2.1 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
|
|
|
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/sql
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \
|
|
../dbug/libdbug.a ../strings/libmystrings.a
|
|
BUILT_SOURCES= $(top_builddir)/include/mysqld_error.h \
|
|
$(top_builddir)/include/sql_state.h \
|
|
$(top_builddir)/include/mysqld_ername.h
|
|
pkginclude_HEADERS= $(BUILT_SOURCES)
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
SUBDIRS = @yassl_dir@
|
|
|
|
# This will build mysqld_error.h and sql_state.h
|
|
$(top_builddir)/include/mysqld_error.h: comp_err$(EXEEXT)
|
|
$(top_builddir)/extra/comp_err$(EXEEXT) \
|
|
--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
|
|
|
|
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
|
|
resolve_stack_dump mysql_waitpid innochecksum
|
|
noinst_PROGRAMS = charset2html
|
|
EXTRA_DIST = cmakelists.txt
|
|
|
|
perror.o: perror.c
|
|
$(COMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $<
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|