mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
5c3c40798d
clean: targets removed generated *.h files moved to include/ Docs/Images/Makefile.am: no clean: targets please! client/Makefile.am: generated *.h files moved to include/ extra/Makefile.am: generated *.h files moved to include/ include/Makefile.am: no clean: targets please! libmysql/Makefile.am: generated *.h files moved to include/ libmysql_r/Makefile.am: generated *.h files moved to include/ libmysqld/Makefile.am: generated *.h files moved to include/ libmysqld/examples/Makefile.am: generated *.h files moved to include/ no clean: target please! ndb/docs/Makefile.am: no clean: targets please! scripts/Makefile.am: SUPERCLEANFILES means nothing server-tools/instance-manager/Makefile.am: generated *.h files moved to include/ sql/Makefile.am: generated *.h files moved to include/ sql/share/Makefile.am: instead of (incorrectly) duplicating comp_err command line, call do make in extra/ tools/Makefile.am: generated *.h files moved to include/ BitKeeper/etc/ignore: Added include/mysqld_ername.h include/mysqld_error.h include/sql_state.h to the ignore list
36 lines
1.3 KiB
Makefile
36 lines
1.3 KiB
Makefile
noinst_PROGRAMS = mysql
|
|
bin_PROGRAMS = mysqltest_embedded mysql_client_test_embedded
|
|
client_sources = $(mysqltest_embedded_SOURCES) $(mysql_SOURCES)
|
|
tests_sources = $(mysql_client_test_embedded_SOURCES)
|
|
CLEANFILES = $(client_sources) $(tests_sources)
|
|
|
|
link_sources:
|
|
for f in $(client_sources); do \
|
|
rm -f $(srcdir)/$$f; \
|
|
@LN_CP_F@ $(srcdir)/../../client/$$f $(srcdir)/$$f; \
|
|
done;
|
|
for f in $(tests_sources); do \
|
|
rm -f $(srcdir)/$$f; \
|
|
@LN_CP_F@ $(srcdir)/../../tests/$$f $(srcdir)/$$f; \
|
|
done;
|
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
|
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include -I$(srcdir) \
|
|
-I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \
|
|
-I$(top_builddir)/include $(openssl_includes)
|
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
|
|
|
|
mysqltest_embedded_LINK = $(CXXLINK)
|
|
mysqltest_embedded_SOURCES = mysqltest.c
|
|
mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a
|
|
|
|
mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
|
|
my_readline.h sql_string.h completion_hash.h
|
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
|
|
|
mysql_client_test_embedded_LINK = $(CXXLINK)
|
|
mysql_client_test_embedded_SOURCES = mysql_client_test.c
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|