~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to scripts/Makefile.am

Removed explcit dependencies listing from Makefile.am, since that's what Automake is for...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
16
## Process this file with automake to create Makefile.in
 
17
 
 
18
 
 
19
bin_SCRIPTS =           mysqld_safe \
 
20
                        mysql_install_db \
 
21
                        mysql_config \
 
22
                        mysql_fix_extensions \
 
23
                        mysql_convert_table_format \
 
24
                        mysql_find_rows \
 
25
                        mysqlhotcopy \
 
26
                        mysqldumpslow \
 
27
                        mysqld_multi
 
28
 
 
29
noinst_SCRIPTS =        make_binary_distribution \
 
30
                        make_sharedlib_distribution
 
31
 
 
32
EXTRA_SCRIPTS =         make_binary_distribution.sh \
 
33
                        make_sharedlib_distribution.sh \
 
34
                        mysql_config.sh \
 
35
                        mysql_config.pl.in \
 
36
                        mysql_fix_extensions.sh \
 
37
                        mysql_install_db.sh \
 
38
                        mysql_convert_table_format.sh \
 
39
                        mysql_find_rows.sh \
 
40
                        mysqlhotcopy.sh \
 
41
                        mysqldumpslow.sh \
 
42
                        mysqld_multi.sh \
 
43
                        mysqld_safe.sh
 
44
 
 
45
EXTRA_DIST =            $(EXTRA_SCRIPTS) \
 
46
                        mysql_system_tables_fix.sql
 
47
 
 
48
dist_pkgdata_DATA =     fill_help_tables.sql \
 
49
                        mysql_system_tables.sql \
 
50
                        mysql_test_data_timezone.sql
 
51
 
 
52
CLEANFILES =            mysqld_safe \
 
53
                        mysql_install_db \
 
54
                        make_binary_distribution \
 
55
                        make_sharedlib_distribution \
 
56
                        mysql_config \
 
57
                        mysql_fix_extensions \
 
58
                        mysql_convert_table_format \
 
59
                        mysql_find_rows \
 
60
                        mysqlhotcopy \
 
61
                        mysqldumpslow \
 
62
                        mysqld_multi
 
63
 
 
64
pkgplugindir =          $(pkglibdir)/plugin
 
65
 
 
66
# Default same as 'pkgdatadir', but we can override it
 
67
pkgsuppdir =            $(datadir)/@PACKAGE@
 
68
 
 
69
 
 
70
SUFFIXES = .sh
 
71
 
 
72
.sh:
 
73
        @RM@ -f $@ $@-t
 
74
        @SED@ \
 
75
          -e 's!@''bindir''@!$(bindir)!g' \
 
76
          -e 's!@''sbindir''@!$(sbindir)!g' \
 
77
          -e 's!@''scriptdir''@!$(bindir)!g' \
 
78
          -e 's!@''prefix''@!$(prefix)!g' \
 
79
          -e 's!@''datadir''@!$(datadir)!g' \
 
80
          -e 's!@''localstatedir''@!$(localstatedir)!g' \
 
81
          -e 's!@''libexecdir''@!$(libexecdir)!g' \
 
82
          -e 's!@''pkglibdir''@!$(pkglibdir)!g' \
 
83
          -e 's!@''pkgincludedir''@!$(pkgincludedir)!g' \
 
84
          -e 's!@''pkgdatadir''@!$(pkgdatadir)!g' \
 
85
          -e 's!@''pkgplugindir''@!$(pkgplugindir)!g' \
 
86
          -e 's!@''pkgsuppdir''@!$(pkgsuppdir)!g' \
 
87
          -e 's!@''sysconfdir''@!$(sysconfdir)!g' \
 
88
          -e 's!@''mandir''@!$(mandir)!g' \
 
89
          -e 's!@''infodir''@!$(infodir)!g' \
 
90
          -e 's!@''CC''@!@CC@!'\
 
91
          -e 's!@''CXX''@!@CXX@!'\
 
92
          -e 's!@''GXX''@!@GXX@!'\
 
93
          -e 's!@''SAVE_CC''@!@SAVE_CC@!'\
 
94
          -e 's!@''SAVE_CXX''@!@SAVE_CXX@!'\
 
95
          -e 's!@''CC_VERSION''@!@CC_VERSION@!'\
 
96
          -e 's!@''CXX_VERSION''@!@CXX_VERSION@!'\
 
97
          -e 's!@''PERL''@!@PERL@!' \
 
98
          -e 's!@''SAVE_ASFLAGS''@!@SAVE_ASFLAGS@!'\
 
99
          -e 's!@''SAVE_CFLAGS''@!@SAVE_CFLAGS@!'\
 
100
          -e 's!@''SAVE_CXXFLAGS''@!@SAVE_CXXFLAGS@!'\
 
101
          -e 's!@''SAVE_LDFLAGS''@!@SAVE_LDFLAGS@!'\
 
102
          -e 's!@''ASFLAGS''@!@ASFLAGS@!'\
 
103
          -e 's!@''CFLAGS''@!@CFLAGS@!'\
 
104
          -e 's!@''CXXFLAGS''@!@CXXFLAGS@!'\
 
105
          -e 's!@''LDFLAGS''@!@LDFLAGS@!'\
 
106
          -e 's!@''CLIENT_LIBS''@!@CLIENT_LIBS@!' \
 
107
          -e 's!@''LIBS''@!@LIBS@!' \
 
108
          -e 's!@''WRAPLIBS''@!@WRAPLIBS@!' \
 
109
          -e 's!@''innodb_system_libs''@!@innodb_system_libs@!' \
 
110
          -e 's!@''openssl_libs''@!@openssl_libs@!' \
 
111
          -e 's!@''VERSION''@!@VERSION@!' \
 
112
          -e 's!@''MYSQL_BASE_VERSION''@!@MYSQL_BASE_VERSION@!' \
 
113
          -e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \
 
114
          -e 's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!' \
 
115
          -e 's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!' \
 
116
          -e 's!@''HOSTNAME''@!@HOSTNAME@!' \
 
117
          -e 's!@''SYSTEM_TYPE''@!@SYSTEM_TYPE@!' \
 
118
          -e 's!@''CHECK_PID''@!@CHECK_PID@!' \
 
119
          -e 's!@''FIND_PROC''@!@FIND_PROC@!' \
 
120
          -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \
 
121
          -e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \
 
122
          -e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \
 
123
          -e 's!@''MYSQL_TCP_PORT_DEFAULT''@!@MYSQL_TCP_PORT_DEFAULT@!' \
 
124
          -e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \
 
125
          -e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \
 
126
          -e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \
 
127
          -e "s!@MAKE@!$(MAKE)!" \
 
128
        $< > $@-t
 
129
        @CHMOD@ +x $@-t
 
130
        @MV@ $@-t $@
 
131