~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to scripts/Makefile.am

Removed a crapload of files I hate.
Added libmysqlclient.pc package config file.
Stopped doing make-time sed substitutions in files. 

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
 
                        
47
 
 
48
 
dist_pkgdata_DATA =     
49
 
 
50
 
CLEANFILES =            mysqld_safe \
51
 
                        mysql_install_db \
52
 
                        make_binary_distribution \
53
 
                        make_sharedlib_distribution \
54
 
                        mysql_config \
55
 
                        mysql_fix_extensions \
56
 
                        mysql_convert_table_format \
57
 
                        mysql_find_rows \
58
 
                        mysqlhotcopy \
59
 
                        mysqldumpslow \
60
 
                        mysqld_multi
61
 
 
62
 
pkgplugindir =          $(pkglibdir)/plugin
63
 
 
64
 
# Default same as 'pkgdatadir', but we can override it
65
 
pkgsuppdir =            $(datadir)/@PACKAGE@
66
 
 
67
 
 
68
 
SUFFIXES = .sh
69
 
 
70
 
.sh:
71
 
        @RM@ -f $@ $@-t
72
 
        @SED@ \
73
 
          -e 's!@''bindir''@!$(bindir)!g' \
74
 
          -e 's!@''sbindir''@!$(sbindir)!g' \
75
 
          -e 's!@''scriptdir''@!$(bindir)!g' \
76
 
          -e 's!@''prefix''@!$(prefix)!g' \
77
 
          -e 's!@''datadir''@!$(datadir)!g' \
78
 
          -e 's!@''localstatedir''@!$(localstatedir)!g' \
79
 
          -e 's!@''libexecdir''@!$(libexecdir)!g' \
80
 
          -e 's!@''pkglibdir''@!$(pkglibdir)!g' \
81
 
          -e 's!@''pkgincludedir''@!$(pkgincludedir)!g' \
82
 
          -e 's!@''pkgdatadir''@!$(pkgdatadir)!g' \
83
 
          -e 's!@''pkgplugindir''@!$(pkgplugindir)!g' \
84
 
          -e 's!@''pkgsuppdir''@!$(pkgsuppdir)!g' \
85
 
          -e 's!@''sysconfdir''@!$(sysconfdir)!g' \
86
 
          -e 's!@''mandir''@!$(mandir)!g' \
87
 
          -e 's!@''infodir''@!$(infodir)!g' \
88
 
          -e 's!@''CC''@!@CC@!'\
89
 
          -e 's!@''CXX''@!@CXX@!'\
90
 
          -e 's!@''GXX''@!@GXX@!'\
91
 
          -e 's!@''SAVE_CC''@!@SAVE_CC@!'\
92
 
          -e 's!@''SAVE_CXX''@!@SAVE_CXX@!'\
93
 
          -e 's!@''CC_VERSION''@!@CC_VERSION@!'\
94
 
          -e 's!@''CXX_VERSION''@!@CXX_VERSION@!'\
95
 
          -e 's!@''PERL''@!@PERL@!' \
96
 
          -e 's!@''SAVE_ASFLAGS''@!@SAVE_ASFLAGS@!'\
97
 
          -e 's!@''SAVE_CFLAGS''@!@SAVE_CFLAGS@!'\
98
 
          -e 's!@''SAVE_CXXFLAGS''@!@SAVE_CXXFLAGS@!'\
99
 
          -e 's!@''SAVE_LDFLAGS''@!@SAVE_LDFLAGS@!'\
100
 
          -e 's!@''ASFLAGS''@!@ASFLAGS@!'\
101
 
          -e 's!@''CFLAGS''@!@CFLAGS@!'\
102
 
          -e 's!@''CXXFLAGS''@!@CXXFLAGS@!'\
103
 
          -e 's!@''LDFLAGS''@!@LDFLAGS@!'\
104
 
          -e 's!@''CLIENT_LIBS''@!@CLIENT_LIBS@!' \
105
 
          -e 's!@''LIBS''@!@LIBS@!' \
106
 
          -e 's!@''WRAPLIBS''@!@WRAPLIBS@!' \
107
 
          -e 's!@''innodb_system_libs''@!@innodb_system_libs@!' \
108
 
          -e 's!@''openssl_libs''@!@openssl_libs@!' \
109
 
          -e 's!@''VERSION''@!@VERSION@!' \
110
 
          -e 's!@''MYSQL_BASE_VERSION''@!@MYSQL_BASE_VERSION@!' \
111
 
          -e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \
112
 
          -e 's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!' \
113
 
          -e 's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!' \
114
 
          -e 's!@''HOSTNAME''@!@HOSTNAME@!' \
115
 
          -e 's!@''SYSTEM_TYPE''@!@SYSTEM_TYPE@!' \
116
 
          -e 's!@''CHECK_PID''@!@CHECK_PID@!' \
117
 
          -e 's!@''FIND_PROC''@!@FIND_PROC@!' \
118
 
          -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \
119
 
          -e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \
120
 
          -e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \
121
 
          -e 's!@''MYSQL_TCP_PORT_DEFAULT''@!@MYSQL_TCP_PORT_DEFAULT@!' \
122
 
          -e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \
123
 
          -e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \
124
 
          -e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \
125
 
          -e "s!@MAKE@!$(MAKE)!" \
126
 
        $< > $@-t
127
 
        @CHMOD@ +x $@-t
128
 
        @MV@ $@-t $@
129