mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
5409f2554f
Enable "make distcheck" to work configure.in: Enable "make distcheck" to work Docs/Makefile.am: Enable "make distcheck" to work Makefile.am: Enable "make distcheck" to work client/Makefile.am: Enable "make distcheck" to work cmd-line-utils/libedit/Makefile.am: Enable "make distcheck" to work include/Makefile.am: Enable "make distcheck" to work libmysql/Makefile.am: Enable "make distcheck" to work libmysql_r/Makefile.am: Enable "make distcheck" to work libmysqld/Makefile.am: Enable "make distcheck" to work libmysqld/examples/Makefile.am: Enable "make distcheck" to work mysql-test/Makefile.am: Enable "make distcheck" to work ndb/docs/Makefile.am: Enable "make distcheck" to work netware/Makefile.am: Enable "make distcheck" to work pstack/Makefile.am: Enable "make distcheck" to work scripts/Makefile.am: Enable "make distcheck" to work sql-bench/Makefile.am: Enable "make distcheck" to work sql/Makefile.am: Enable "make distcheck" to work sql/share/Makefile.am: Enable "make distcheck" to work support-files/Makefile.am: Enable "make distcheck" to work
57 lines
2 KiB
Makefile
57 lines
2 KiB
Makefile
# Copyright (C) 2000 MySQL 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
|
|
|
|
noinst_PROGRAMS = mysql
|
|
bin_PROGRAMS = mysqltest_embedded mysql_client_test_embedded
|
|
client_sources = $(mysqltest_embedded_SOURCES) $(mysql_SOURCES)
|
|
tests_sources= $(mysql_client_test_embedded_SOURCES)
|
|
|
|
link_sources:
|
|
set -x; \
|
|
for f in $(client_sources); do \
|
|
rm -f $$f; \
|
|
@LN_CP_F@ $(top_srcdir)/client/$$f $$f; \
|
|
done; \
|
|
for f in $(tests_sources); do \
|
|
rm -f $$f; \
|
|
@LN_CP_F@ $(top_srcdir)/tests/$$f $$f; \
|
|
done
|
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
|
INCLUDES = @MT_INCLUDES@ \
|
|
-I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) \
|
|
-I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \
|
|
$(openssl_includes)
|
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
|
|
|
|
mysqltest_embedded_LINK = $(CXXLINK)
|
|
mysqltest_embedded_SOURCES = mysqltest.c
|
|
mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a
|
|
|
|
mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
|
|
my_readline.h sql_string.h completion_hash.h
|
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
|
|
|
mysql_client_test_embedded_LINK = $(CXXLINK)
|
|
mysql_client_test_embedded_SOURCES = mysql_client_test.c
|
|
|
|
clean-local:
|
|
rm -f $(client_sources)
|
|
rm -f $(tests_sources)
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|