Makefile.am 789 Bytes
Newer Older
1
noinst_PROGRAMS =	mysqltest mysql
2
client_sources =	$(mysqltest_SOURCES) $(mysql_SOURCES)
3

4 5 6 7 8 9
link_sources:
	for f in $(client_sources); do \
	  rm -f $(srcdir)/$$f; \
	  @LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
	done;

10
DEFS = 		-DEMBEDDED_LIBRARY
11 12
INCLUDES =	@MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
		-I$(top_srcdir) -I$(top_srcdir)/client $(openssl_includes)
13
LIBS =		@LIBS@ @WRAPLIBS@
14
LDADD =		@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
15 16 17

mysqltest_SOURCES =	mysqltest.c

unknown's avatar
unknown committed
18
mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
19 20 21 22 23
                my_readline.h sql_string.h completion_hash.h
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)

clean:
	rm -f $(client_sources)
24 25 26

# Don't update the files from bitkeeper
%::SCCS/s.%