~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
if THREAD_SAFE_CLIENT
 
22
LIBMYSQLCLIENT_LA =             $(top_builddir)/libmysql_r/libmysqlclient_r.la
 
23
else
 
24
LIBMYSQLCLIENT_LA =             $(top_builddir)/libmysql/libmysqlclient.la
 
25
endif
 
26
 
 
27
EXTRA_DIST =            auto_increment.res auto_increment.tst \
 
28
                        function.res function.tst lock_test.pl lock_test.res \
 
29
                        export.pl big_record.pl \
 
30
                        fork2_test.pl fork_big.pl \
 
31
                        insert_and_repair.pl \
 
32
                        grant.pl grant.res test_delayed_insert.pl \
 
33
                        pmail.pl mail_to_db.pl table_types.pl \
 
34
                        myisam-big-rows.tst \
 
35
                        CMakeLists.txt
 
36
 
 
37
bin_PROGRAMS =          mysql_client_test
 
38
noinst_PROGRAMS =       insert_test select_test thread_test bug25714
 
39
 
 
40
INCLUDES =              -I$(top_builddir)/include -I$(top_srcdir)/include \
 
41
                        $(openssl_includes)
 
42
LIBS =                  @CLIENT_LIBS@
 
43
LDADD =                 @CLIENT_EXTRA_LDFLAGS@ \
 
44
                        $(LIBMYSQLCLIENT_LA)
 
45
 
 
46
mysql_client_test_LDADD= $(LDADD) $(CXXLDFLAGS)
 
47
mysql_client_test_SOURCES= mysql_client_test.c\
 
48
                        $(top_srcdir)/mysys/my_memmem.c
 
49
 
 
50
insert_test_SOURCES=       insert_test.c
 
51
select_test_SOURCES=       select_test.c
 
52
insert_test_DEPENDENCIES=       $(LIBRARIES) $(pkglib_LTLIBRARIES)
 
53
select_test_DEPENDENCIES=       $(LIBRARIES) $(pkglib_LTLIBRARIES)
 
54
 
 
55
bug25714_SOURCES=          bug25714.c
 
56
bug25714_DEPENDENCIES=     $(LIBRARIES) $(pkglib_LTLIBRARIES)
 
57
 
 
58
# Fix for mit-threads
 
59
DEFS =                  -DUNDEF_THREADS_HACK
 
60
 
 
61
thread_test.o:          thread_test.c
 
62
                        $(COMPILE) -c $(INCLUDES) $<
 
63
 
 
64
# Don't update the files from bitkeeper
 
65
%::SCCS/s.%