1
# Copyright (C) 2000-2006 MySQL AB
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
# GNU General Public License for more details.
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
MYSQLDATAdir = $(localstatedir)
17
MYSQLSHAREdir = $(pkgdatadir)
18
MYSQLBASEdir= $(prefix)
19
LDADD = $(top_builddir)/mysys/libmysys.la \
20
$(top_builddir)/mystrings/libmystrings.la
23
-DDEFAULT_BASEDIR=\"$(prefix)\" \
24
-DDATADIR="\"$(MYSQLDATAdir)\"" \
25
-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
26
-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
27
-DDEFAULT_HOME_ENV=MYSQL_HOME \
28
-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \
29
-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
32
# I hope this always does the right thing. Otherwise this is only test programs
33
FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) @NOINST_LDFLAGS@
35
noinst_PROGRAMS = test_bitmap test_priority_queue test_thr_alarm test_thr_lock test_io_cache testhash test_gethwaddr test_base64 #test_charset
36
test_bitmap_SOURCES = $(top_srcdir)/mysys/my_bitmap.c
37
test_thr_alarm_SOURCES = $(top_srcdir)/mysys/thr_alarm.c
38
test_priority_queue_SOURCES = $(top_srcdir)/mysys/queues.c
39
test_thr_lock_SOURCES = $(top_srcdir)/mysys/thr_lock.c
40
test_io_cache_SOURCES = $(top_srcdir)/mysys/mf_iocache.c
41
#test_dir_SOURCES = test_dir.c
42
#test_charset_SOURCES = test_charset.c
43
testhash_SOURCES = testhash.c
44
test_gethwaddr_SOURCES = $(top_srcdir)/mysys/my_gethwaddr.c
45
test_base64_SOURCES = $(top_srcdir)/mysys/base64.c