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-06-20 22:26:39 +02:00
|
|
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include $(openssl_includes) \
|
2001-09-18 05:05:55 +02:00
|
|
|
-I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/client
|
2001-10-08 03:58:07 +02:00
|
|
|
LIBS = @LIBS@
|
2002-03-31 00:24:30 +01:00
|
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
|
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.%
|