mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
dd4be0244d
libmysqld/examples/Makefile.am: CXXLINK specified for client_test with libmysqld
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
noinst_PROGRAMS = mysqltest mysql client_test
|
|
client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
|
|
tests_sources= $(client_test_SOURCES)
|
|
|
|
link_sources:
|
|
for f in $(client_sources); do \
|
|
rm -f $(srcdir)/$$f; \
|
|
@LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
|
|
done;
|
|
for f in $(tests_sources); do \
|
|
rm -f $(srcdir)/$$f; \
|
|
@LN_CP_F@ $(srcdir)/../../tests/$$f $(srcdir)/$$f; \
|
|
done;
|
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
|
-I$(top_srcdir) -I$(top_srcdir)/client $(openssl_includes)
|
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @bdb_libs_with_path@ @LIBDL@ $(CXXLDFLAGS)
|
|
|
|
mysqltest_LINK = $(CXXLINK)
|
|
|
|
mysqltest_SOURCES = mysqltest.c
|
|
|
|
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)
|
|
|
|
client_test_LINK = $(CXXLINK)
|
|
client_test_SOURCES = client_test.c
|
|
|
|
clean:
|
|
rm -f $(client_sources)
|
|
rm -f $(tests_sources)
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|