2001-09-18 06:05:55 +03:00
|
|
|
noinst_PROGRAMS = mysqltest mysql
|
2001-09-16 21:41:22 -04:00
|
|
|
client_sources = $(mysqltest_SOURCES) $(mysql_SOURCES)
|
2001-09-18 06:05:55 +03:00
|
|
|
|
2001-09-16 21:41:22 -04: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 17:40:57 +03:00
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
2001-09-16 21:41:22 -04:00
|
|
|
INCLUDES = -I$(top_srcdir)/include $(openssl_includes) \
|
2001-09-18 06:05:55 +03:00
|
|
|
-I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/client
|
2001-10-08 04:58:07 +03:00
|
|
|
LIBS = @LIBS@
|
2002-03-30 16:24:30 -07:00
|
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
|
2001-09-16 21:41:22 -04:00
|
|
|
|
|
|
|
mysqltest_SOURCES = mysqltest.c
|
|
|
|
|
2001-10-04 02:44:18 +03:00
|
|
|
mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
|
2001-09-16 21:41:22 -04: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 06:05:55 +03:00
|
|
|
|
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|