summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authortim@black.box <>2001-09-16 21:41:22 -0400
committertim@black.box <>2001-09-16 21:41:22 -0400
commite6e25a567b49ca594704c2028d1be30d8919615e (patch)
tree7ff6a4243043fa71bd04fa3434bd8e13992df771 /Makefile.am
parentfa23b20789dc271de6b2638fbea0ccefc333c872 (diff)
downloadmariadb-git-e6e25a567b49ca594704c2028d1be30d8919615e.tar.gz
Add some examples for using libmysqld, including a hack for running the
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 61ea903ddb2..8ec9b965757 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,8 @@ SUBDIRS = include @docs_dirs@ @readline_dir@ \
# Relink after clean
linked_sources = linked_client_sources linked_server_sources \
linked_libmysql_sources linked_libmysql_r_sources \
- linked_libmysqld_sources linked_include_sources
+ linked_libmysqld_sources linked_libmysqldex_sources \
+ linked_include_sources
CLEANFILES = $(linked_sources)
@@ -56,6 +57,10 @@ linked_libmysqld_sources:
cd libmysqld; $(MAKE) link_sources
echo timestamp > linked_libmysqld_sources
+linked_libmysqldex_sources:
+ cd libmysqld/examples; $(MAKE) link_sources
+ echo timestamp > linked_libmysqldex_sources
+
#avoid recursive make calls in sql directory
linked_server_sources:
cd sql; rm -f mini_client_errors.c;@LN_CP_F@ ../libmysql/errmsg.c mini_client_errors.c