~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2000-2006 MySQL AB
2
# 
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.
6
# 
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.
11
# 
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
15
28.1.20 by Monty Taylor
Replaced INCLUDES with AM_CPPFLAGS.
16
AM_CPPFLAGS =		-I$(top_builddir)/include -I$(top_srcdir)/include \
1 by brian
clean slate
17
			-I$(top_srcdir)/sql
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
18
LDADD =			$(top_builddir)/mysys/libmysyslt.la \
19
 			$(top_builddir)/dbug/libdbuglt.la \
28.1.3 by Monty Taylor
Fixed patch application so that the silly thing compiles. :)
20
                        $(top_builddir)/strings/libmystringslt.la \
21
			-lz
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
22
1 by brian
clean slate
23
BUILT_SOURCES=		$(top_builddir)/include/mysqld_error.h \
24
                        $(top_builddir)/include/sql_state.h \
25
                        $(top_builddir)/include/mysqld_ername.h
26
pkginclude_HEADERS=	$(BUILT_SOURCES)
27
DISTCLEANFILES =	$(BUILT_SOURCES)
28
SUBDIRS =		
29
DIST_SUBDIRS =		
30
31
# This will build mysqld_error.h, mysqld_ername.h and sql_state.h
32
# NOTE Built files should depend on their sources to avoid
33
# the built files being rebuilt in source dist
34
$(top_builddir)/include/mysqld_error.h: comp_err.c \
35
			$(top_srcdir)/sql/share/errmsg.txt
36
	$(MAKE) $(AM_MAKEFLAGS) comp_err$(EXEEXT)
37
	$(top_builddir)/extra/comp_err$(EXEEXT) \
38
	--charset=$(top_srcdir)/sql/share/charsets \
39
	--out-dir=$(top_builddir)/sql/share/ \
40
	--header_file=$(top_builddir)/include/mysqld_error.h \
41
	--name_file=$(top_builddir)/include/mysqld_ername.h \
42
	--state_file=$(top_builddir)/include/sql_state.h \
43
	--in_file=$(top_srcdir)/sql/share/errmsg.txt
44
$(top_builddir)/include/mysqld_ername.h: $(top_builddir)/include/mysqld_error.h
45
$(top_builddir)/include/sql_state.h: $(top_builddir)/include/mysqld_error.h
46
47
bin_PROGRAMS =		my_print_defaults \
48
			mysql_waitpid innochecksum
17 by Brian Aker
Dead support files, removed gethostbyname_r (we do not use it any longer).
49
noinst_PROGRAMS =	
1 by brian
clean slate
50
EXTRA_PROGRAMS =	comp_err
51
EXTRA_DIST =		CMakeLists.txt