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