~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2000-2001, 2003-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
EXTRA_DIST =		mysql.spec.sh \
21
			my-small.cnf.sh \
22
			my-medium.cnf.sh \
23
			my-large.cnf.sh \
24
			my-huge.cnf.sh \
25
			my-innodb-heavy-4G.cnf.sh \
26
			mysql-log-rotate.sh \
27
			mysql.server.sh \
28
			mysqld_multi.server.sh \
29
			binary-configure.sh \
30
			magic mysql.m4 \
31
			MySQL-shared-compat.spec.sh \
32
			compiler_warnings.supp
33
17 by Brian Aker
Dead support files, removed gethostbyname_r (we do not use it any longer).
34
SUBDIRS =
1 by brian
clean slate
35
36
# Default same as 'pkgdatadir', but we can override it
37
pkgsuppdir =		$(datadir)/@PACKAGE@
38
39
pkgsupp_DATA =		my-small.cnf \
40
			my-medium.cnf \
41
			my-large.cnf \
42
			my-huge.cnf \
43
			my-innodb-heavy-4G.cnf \
44
			mysql-log-rotate \
28.1.5 by Monty Taylor
Removed ndb-config-2-node.ini from support-files, since drizzle doesn't support
45
			binary-configure
1 by brian
clean slate
46
47
pkgsupp_SCRIPTS =	mysql.server \
48
			mysqld_multi.server
49
50
aclocaldir =		$(datadir)/aclocal
51
aclocal_DATA =		mysql.m4
52
53
noinst_DATA = mysql-@VERSION@.spec \
54
			MySQL-shared-compat.spec
55
56
CLEANFILES =		my-small.cnf \
57
			my-medium.cnf \
58
			my-large.cnf \
59
			my-huge.cnf \
60
			my-innodb-heavy-4G.cnf \
61
			mysql.spec \
62
			mysql-@VERSION@.spec \
63
			mysql-log-rotate \
64
			mysql.server \
65
			mysqld_multi.server \
66
			binary-configure \
28.1.5 by Monty Taylor
Removed ndb-config-2-node.ini from support-files, since drizzle doesn't support
67
			MySQL-shared-compat.spec
1 by brian
clean slate
68
69
mysql-@VERSION@.spec:	mysql.spec
70
			rm -f $@
71
			cp mysql.spec $@
72
73
SUFFIXES = .sh
74
75
.sh:
76
	@RM@ -f $@ $@-t
77
	@SED@ \
78
	  -e 's!@''bindir''@!$(bindir)!g' \
79
	  -e 's!@''sbindir''@!$(sbindir)!g' \
80
	  -e 's!@''scriptdir''@!$(bindir)!g' \
81
	  -e 's!@''prefix''@!$(prefix)!g' \
82
	  -e 's!@''datadir''@!$(datadir)!g' \
83
	  -e 's!@''localstatedir''@!$(localstatedir)!g' \
84
	  -e 's!@''libexecdir''@!$(libexecdir)!g' \
85
	  -e 's!@''CC''@!@CC@!'\
86
	  -e 's!@''CXX''@!@CXX@!'\
87
	  -e 's!@''GXX''@!@GXX@!'\
88
	  -e 's!@''PERL''@!@PERL@!' \
89
	  -e 's!@''CFLAGS''@!@SAVE_CFLAGS@!'\
90
	  -e 's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'\
91
	  -e 's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'\
92
	  -e 's!@''VERSION''@!@VERSION@!' \
93
	  -e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \
94
	  -e 's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!' \
95
	  -e 's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!' \
96
	  -e 's!@''HOSTNAME''@!@HOSTNAME@!' \
97
	  -e 's!@''SYSTEM_TYPE''@!@SYSTEM_TYPE@!' \
98
	  -e 's!@''CHECK_PID''@!@CHECK_PID@!' \
99
	  -e 's!@''FIND_PROC''@!@FIND_PROC@!' \
100
	  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \
101
	  -e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \
102
	  -e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \
103
	  -e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \
104
	  -e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \
105
	  -e 's!@''sysconfdir''@!@sysconfdir@!' \
106
	  -e 's!@''SHORT_MYSQL_INTRO''@!@SHORT_MYSQL_INTRO@!' \
107
	  -e 's!@''SHARED_LIB_VERSION''@!@SHARED_LIB_VERSION@!' \
108
	  -e 's!@''MYSQL_BASE_VERSION''@!@MYSQL_BASE_VERSION@!' \
109
	  -e 's!@''MYSQL_NO_DASH_VERSION''@!@MYSQL_NO_DASH_VERSION@!' \
110
	  -e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \
111
	  -e 's!@''PERL_DBI_VERSION''@!@PERL_DBI_VERSION@!' \
112
	  -e 's!@''PERL_DBD_VERSION''@!@PERL_DBD_VERSION@!' \
113
	  -e 's!@''PERL_DATA_DUMPER''@!@PERL_DATA_DUMPER@!' \
114
	$< > $@-t
115
	@MV@ $@-t $@
116