mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
e6e25a567b
mysql test suite. A few minor libmysqld fixes. Add mysql_server_init() and _end() to mysql.cc and mysqltest.c, so they can be linked against libmysqlclient or libmysqld.
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
bin_PROGRAMS = mysqltest mysql
|
|
client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
|
|
link_sources:
|
|
for f in $(client_sources); do \
|
|
rm -f $(srcdir)/$$f; \
|
|
@LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
|
|
done;
|
|
|
|
DEFS = -DEMBEDDED_SERVER
|
|
INCLUDES = -I$(top_srcdir)/include $(openssl_includes) \
|
|
-I$(srcdir) -I$(top_srcdir) -I..
|
|
LIBS = @LIBS@
|
|
LDADD = $(top_builddir)/libmysqld/libmysqld.la \
|
|
$(top_builddir)/isam/libnisam.a \
|
|
$(top_builddir)/myisam/libmyisam.a \
|
|
$(top_builddir)/heap/libheap.a \
|
|
$(top_builddir)/merge/libmerge.a \
|
|
$(top_builddir)/myisammrg/libmyisammrg.a \
|
|
@innodb_libs@ @bdb_libs@ \
|
|
$(top_builddir)/mysys/libmysys.a \
|
|
$(top_builddir)/strings/libmystrings.a \
|
|
$(top_builddir)/dbug/libdbug.a \
|
|
$(top_builddir)/regex/libregex.a
|
|
|
|
mysqltest_DEPENDENCIES = ../libmysqld.la
|
|
mysqltest_SOURCES = mysqltest.c
|
|
|
|
mysql_SOURCES = mysql.cc readline.cc sql_string.cc completion_hash.cc \
|
|
my_readline.h sql_string.h completion_hash.h
|
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
|
|
|
clean:
|
|
rm -f $(client_sources)
|