~drizzle-trunk/drizzle/development

« back to all changes in this revision

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