mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
d0dad4bf38
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0 BitKeeper/deleted/.del-generate_prefix_files.pl: Delete: extra/yassl/include/openssl/generate_prefix_files.pl BitKeeper/deleted/.del-prefix_crypto.h: Delete: extra/yassl/include/openssl/prefix_crypto.h BitKeeper/deleted/.del-prefix_ssl.h: Delete: extra/yassl/include/openssl/prefix_ssl.h BitKeeper/deleted/.del-Makefile.am~abb265028eb9b6a7: Auto merged BitKeeper/deleted/.del-init_db.sql~af2dfeabaa348dd7: Auto merged BitKeeper/deleted/.del-yassl.m4~e55e55c1e863abaf: Auto merged client/mysqltest.c: Auto merged extra/yassl/include/openssl/crypto.h: Auto merged extra/yassl/include/openssl/ssl.h: Auto merged extra/yassl/include/yassl_int.hpp: Auto merged extra/yassl/src/Makefile.am: Auto merged extra/yassl/src/ssl.cpp: Auto merged extra/yassl/src/template_instnt.cpp: Auto merged extra/yassl/src/yassl_int.cpp: Auto merged extra/yassl/testsuite/Makefile.am: Auto merged extra/yassl/yassl.vcproj: Auto merged include/violite.h: Auto merged libmysql/Makefile.am: Auto merged libmysql_r/Makefile.am: Auto merged libmysqld/examples/Makefile.am: Auto merged mysql-test/include/common-tests.inc: Auto merged mysql-test/r/analyze.result: Auto merged mysql-test/r/grant.result: Auto merged mysql-test/r/key_cache.result: Auto merged mysql-test/r/preload.result: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/t/analyze.test: Auto merged mysql-test/t/explain.test: Auto merged mysql-test/t/grant.test: Auto merged mysql-test/t/ps.test: Auto merged scripts/make_win_src_distribution.sh: Auto merged server-tools/instance-manager/Makefile.am: Auto merged sql/Makefile.am: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/mysqld.cc: Auto merged sql/sql_acl.cc: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged vio/Makefile.am: Auto merged client/Makefile.am: Manual merge libmysqld/Makefile.am: Manual merge mysql-test/r/compress.result: Manual merge mysql-test/r/explain.result: Manual merge mysql-test/r/select.result: Manual merge mysql-test/r/view.result: Manual merge mysql-test/t/select.test: Manual merge mysql-test/t/view.test: Manual merge sql/sql_base.cc: Manual merge sql/sql_parse.cc: Manual merge
96 lines
3.6 KiB
Makefile
96 lines
3.6 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
|
|
|
|
# This file is public domain and comes with NO WARRANTY of any kind
|
|
|
|
if HAVE_YASSL
|
|
yassl_dummy_link_fix= $(top_srcdir)/extra/yassl/src/dummy.cpp
|
|
else
|
|
yassl_dummy_link_fix=
|
|
endif
|
|
|
|
if THREAD_SAFE_CLIENT
|
|
LIBMYSQLCLIENT_LA = $(top_builddir)/libmysql_r/libmysqlclient_r.la
|
|
else
|
|
LIBMYSQLCLIENT_LA = $(top_builddir)/libmysql/libmysqlclient.la
|
|
endif
|
|
|
|
#AUTOMAKE_OPTIONS = nostdinc
|
|
INCLUDES = -I$(top_builddir)/include \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/regex \
|
|
$(openssl_includes)
|
|
LIBS = @CLIENT_LIBS@
|
|
LDADD= @CLIENT_EXTRA_LDFLAGS@ $(CLIENT_THREAD_LIBS) \
|
|
$(top_builddir)/libmysql/libmysqlclient.la
|
|
bin_PROGRAMS = mysql mysqladmin mysqlcheck mysqlshow \
|
|
mysqldump mysqlimport mysqltest mysqlbinlog \
|
|
mysqlslap mysql_upgrade
|
|
noinst_HEADERS = sql_string.h completion_hash.h my_readline.h \
|
|
client_priv.h
|
|
mysql_SOURCES = mysql.cc readline.cc sql_string.cc completion_hash.cc
|
|
mysqladmin_SOURCES = mysqladmin.cc
|
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD) $(CXXLDFLAGS)
|
|
mysqltest_SOURCES= mysqltest.c $(top_srcdir)/mysys/my_getsystime.c \
|
|
$(yassl_dummy_link_fix)
|
|
mysqltest_LDADD = $(top_builddir)/regex/libregex.a $(LDADD)
|
|
mysqlbinlog_SOURCES = mysqlbinlog.cc $(top_srcdir)/mysys/mf_tempdir.c \
|
|
$(top_srcdir)/mysys/my_new.cc \
|
|
$(top_srcdir)/mysys/my_bit.c \
|
|
$(top_srcdir)/mysys/my_bitmap.c \
|
|
$(top_srcdir)/mysys/my_vle.c \
|
|
$(top_srcdir)/mysys/base64.c
|
|
mysqlbinlog_LDADD = $(LDADD) $(CXXLDFLAGS)
|
|
mysqlslap_LDADD = $(CXXLDFLAGS) $(CLIENT_THREAD_LIBS) \
|
|
@CLIENT_EXTRA_LDFLAGS@ \
|
|
$(LIBMYSQLCLIENT_LA) \
|
|
$(top_builddir)/mysys/libmysys.a
|
|
mysqlimport_LDADD = $(CXXLDFLAGS) $(CLIENT_THREAD_LIBS) \
|
|
@CLIENT_EXTRA_LDFLAGS@ \
|
|
$(LIBMYSQLCLIENT_LA) \
|
|
$(top_builddir)/mysys/libmysys.a
|
|
mysqlcheck_SOURCES= mysqlcheck.c $(yassl_dummy_link_fix)
|
|
mysqlshow_SOURCES= mysqlshow.c $(yassl_dummy_link_fix)
|
|
mysqlslap_SOURCES= mysqlslap.c \
|
|
$(yassl_dummy_link_fix)
|
|
mysqldump_SOURCES= mysqldump.c my_user.c $(yassl_dummy_link_fix)
|
|
mysqlimport_SOURCES= mysqlimport.c \
|
|
$(yassl_dummy_link_fix)
|
|
mysql_upgrade_SOURCES= mysql_upgrade.c $(yassl_dummy_link_fix)
|
|
sql_src=log_event.h mysql_priv.h log_event.cc my_decimal.h my_decimal.cc
|
|
strings_src=decimal.c
|
|
|
|
# Fix for mit-threads
|
|
DEFS = -DUNDEF_THREADS_HACK \
|
|
-DDEFAULT_MYSQL_HOME="\"$(prefix)\"" \
|
|
-DDATADIR="\"$(localstatedir)\""
|
|
EXTRA_DIST = get_password.c CMakeLists.txt
|
|
|
|
link_sources:
|
|
for f in $(sql_src) ; do \
|
|
rm -f $$f; \
|
|
@LN_CP_F@ $(top_srcdir)/sql/$$f $$f; \
|
|
done; \
|
|
for f in $(strings_src) ; do \
|
|
rm -f $(srcdir)/$$f; \
|
|
@LN_CP_F@ $(top_srcdir)/strings/$$f $$f; \
|
|
done; \
|
|
rm -f $(srcdir)/my_user.c; \
|
|
@LN_CP_F@ $(top_srcdir)/sql-common/my_user.c my_user.c;
|
|
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|