2001-09-18 05:05:55 +02:00
|
|
|
noinst_PROGRAMS = mysqltest mysql
|
2001-09-17 03:41:22 +02:00
|
|
|
client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
|
2001-09-18 05:05:55 +02:00
|
|
|
|
2001-09-17 03:41:22 +02:00
|
|
|
link_sources:
|
|
|
|
for f in $(client_sources); do \
|
|
|
|
rm -f $(srcdir)/$$f; \
|
|
|
|
@LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
|
|
|
|
done;
|
|
|
|
|
2001-09-22 16:40:57 +02:00
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
2002-09-05 15:17:08 +02:00
|
|
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
|
|
|
-I$(top_srcdir) -I$(top_srcdir)/client $(openssl_includes)
|
2003-06-17 18:32:31 +02:00
|
|
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
2002-10-31 14:06:23 +01:00
|
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @bdb_libs_with_path@ @LIBDL@ $(CXXLDFLAGS)
|
2001-09-17 03:41:22 +02:00
|
|
|
|
2003-10-08 13:06:47 +02:00
|
|
|
mysqltest_LINK = $(CXXLINK)
|
|
|
|
|
2001-09-17 03:41:22 +02:00
|
|
|
mysqltest_SOURCES = mysqltest.c
|
|
|
|
|
2001-10-04 01:44:18 +02:00
|
|
|
mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
|
2001-09-17 03:41:22 +02:00
|
|
|
my_readline.h sql_string.h completion_hash.h
|
|
|
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(client_sources)
|
2001-09-18 05:05:55 +02:00
|
|
|
|
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|