summaryrefslogtreecommitdiff
path: root/libmysqld/examples
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-01-24 13:48:48 -0800
committerjimw@mysql.com <>2005-01-24 13:48:48 -0800
commitd11081bd6ff8e646ecfeff3526ccc6bc63e09f44 (patch)
treec3a261433ebe14a453233665edd8251485c39c4a /libmysqld/examples
parent736530afc8d679319c3ce616f2c3bfd6950c86eb (diff)
parent09aaba03cf5fb09068d1c3628009038afdba7cfb (diff)
downloadmariadb-git-d11081bd6ff8e646ecfeff3526ccc6bc63e09f44.tar.gz
Merge
Diffstat (limited to 'libmysqld/examples')
-rw-r--r--libmysqld/examples/Makefile.am17
1 files changed, 9 insertions, 8 deletions
diff --git a/libmysqld/examples/Makefile.am b/libmysqld/examples/Makefile.am
index ba646e282b5..85c76df1513 100644
--- a/libmysqld/examples/Makefile.am
+++ b/libmysqld/examples/Makefile.am
@@ -1,6 +1,7 @@
-noinst_PROGRAMS = mysqltest mysql client_test
-client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
-tests_sources= $(client_test_SOURCES)
+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:
for f in $(client_sources); do \
@@ -19,16 +20,16 @@ INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
-mysqltest_LINK = $(CXXLINK)
-mysqltest_SOURCES = mysqltest.c
-mysqltest_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a
+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)
-client_test_LINK = $(CXXLINK)
-client_test_SOURCES = client_test.c
+mysql_client_test_embedded_LINK = $(CXXLINK)
+mysql_client_test_embedded_SOURCES = mysql_client_test.c
clean:
rm -f $(client_sources)