mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
1b53e4a547
Always include all sub directories in "make dist" Removed incorrect comment configure.in: Unconditionally list make files in AC_CONFIG_FILES Removed 'thread_dirs', it is not used Minor cleanup compile-dist: Simplified the configure line needed for "make dist" to get it all zlib.m4, ssl.m4: Unconditionally list make files in AC_CONFIG_FILES Makefile.am: Removed DIST_SUBDIRS not needed Don't copy soft links as files into source package
55 lines
2.1 KiB
Makefile
55 lines
2.1 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; version 2 of the License.
|
|
#
|
|
# 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 = $(nodist_mysqltest_embedded_SOURCES) $(nodist_mysql_SOURCES)
|
|
tests_sources = $(nodist_mysql_client_test_embedded_SOURCES)
|
|
BUILT_SOURCES = link_sources
|
|
CLEANFILES = $(client_sources) $(tests_sources) $(BUILT_SOURCES)
|
|
EXTRA_DIST = CMakeLists.txt
|
|
|
|
link_sources:
|
|
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
|
|
echo timestamp > link_sources
|
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
|
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@ $(yassl_libs)
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @LIBDL@ $(CXXLDFLAGS) \
|
|
@NDB_SCI_LIBS@
|
|
|
|
mysqltest_embedded_LINK = $(CXXLINK)
|
|
nodist_mysqltest_embedded_SOURCES = mysqltest.c
|
|
mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a
|
|
|
|
nodist_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)
|
|
nodist_mysql_client_test_embedded_SOURCES = mysql_client_test.c
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|