~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2000-2006 MySQL AB
2
#
3
# This library is free software; you can redistribute it and/or
4
# modify it under the terms of the GNU Library General Public
5
# License as published by the Free Software Foundation; version 2
6
# of the License.
7
#
8
# This library is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
# Library General Public License for more details.
12
#
13
# You should have received a copy of the GNU Library General Public
14
# License along with this library; if not, write to the Free
15
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16
# MA 02111-1307, USA
17
18
## Process this file with automake to create Makefile.in
19
20
21
LIBMYSQLCLIENT_LA =		$(top_builddir)/libmysql/libmysqlclient.la
22
23
EXTRA_DIST =		auto_increment.res auto_increment.tst \
24
			function.res function.tst lock_test.pl lock_test.res \
25
			export.pl big_record.pl \
26
			fork2_test.pl fork_big.pl \
27
			insert_and_repair.pl \
28
			grant.pl grant.res test_delayed_insert.pl \
29
			pmail.pl mail_to_db.pl table_types.pl \
30
			myisam-big-rows.tst \
31
			CMakeLists.txt
32
33
bin_PROGRAMS =		mysql_client_test
34
noinst_PROGRAMS =	insert_test select_test thread_test bug25714
35
28.1.20 by Monty Taylor
Replaced INCLUDES with AM_CPPFLAGS.
36
AM_CPPFLAGS =		-I$(top_builddir)/include -I$(top_srcdir)/include \
1 by brian
clean slate
37
			$(openssl_includes)
38
LIBS =			@CLIENT_LIBS@
25 by Brian Aker
Clean up of configure.in
39
LDADD =			$(LIBMYSQLCLIENT_LA) -lz
1 by brian
clean slate
40
41
mysql_client_test_LDADD= $(LDADD) $(CXXLDFLAGS)
42
mysql_client_test_SOURCES= mysql_client_test.c\
43
			$(top_srcdir)/mysys/my_memmem.c
44
45
insert_test_SOURCES=       insert_test.c
46
select_test_SOURCES=       select_test.c
47
insert_test_DEPENDENCIES=	$(LIBRARIES) $(pkglib_LTLIBRARIES)
48
select_test_DEPENDENCIES=	$(LIBRARIES) $(pkglib_LTLIBRARIES)
49
50
bug25714_SOURCES=          bug25714.c
51
bug25714_DEPENDENCIES=     $(LIBRARIES) $(pkglib_LTLIBRARIES)
52
53
# Fix for mit-threads
54
DEFS =			-DUNDEF_THREADS_HACK
55
56
thread_test.o:		thread_test.c
57
			$(COMPILE) -c $(INCLUDES) $<
58