From e6e25a567b49ca594704c2028d1be30d8919615e Mon Sep 17 00:00:00 2001 From: "tim@black.box" <> Date: Sun, 16 Sep 2001 21:41:22 -0400 Subject: 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. --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.am') 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 -- cgit v1.2.1