1
by brian
clean slate |
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 |
MYSQLDATAdir = $(localstatedir) |
|
17 |
MYSQLSHAREdir = $(pkgdatadir) |
|
18 |
MYSQLBASEdir= $(prefix) |
|
19 |
MYSQLLIBdir= $(pkglibdir) |
|
20 |
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include \ |
|
21 |
-I$(top_srcdir)/regex \ |
|
22 |
-I$(top_srcdir)/sql \ |
|
23 |
-I$(srcdir) |
|
24 |
WRAPLIBS= |
|
25 |
||
26 |
LDADD = |
|
27 |
||
28 |
DEFS = @DEFS@ |
|
29 |
||
30 |
EXTRA_DIST = mi_test_all.sh mi_test_all.res ft_stem.c CMakeLists.txt plug.in |
|
31 |
pkgdata_DATA = mi_test_all mi_test_all.res |
|
32 |
||
33 |
pkglib_LIBRARIES = libmyisam.a |
|
34 |
bin_PROGRAMS = myisamchk myisamlog myisampack myisam_ftdump |
|
35 |
myisamchk_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
36 |
<<<<<<< TREE |
37 |
myisamchk_LDADD= libmyisam.a \ |
|
38 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
39 |
myisamchk_LDADD= libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
40 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
41 |
$(top_builddir)/mysys/libmysys.a \ |
42 |
$(top_builddir)/dbug/libdbug.a \ |
|
43 |
$(top_builddir)/strings/libmystrings.a -lz |
|
44 |
myisamlog_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
45 |
<<<<<<< TREE |
46 |
myisamlog_LDADD= libmyisam.a \ |
|
47 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
48 |
myisamlog_LDADD= libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
49 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
50 |
$(top_builddir)/mysys/libmysys.a \ |
51 |
$(top_builddir)/dbug/libdbug.a \ |
|
52 |
$(top_builddir)/strings/libmystrings.a -lz |
|
53 |
myisampack_DEPENDENCIES=$(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
54 |
<<<<<<< TREE |
55 |
myisampack_LDADD= libmyisam.a \ |
|
56 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
57 |
myisampack_LDADD= libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
58 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
59 |
$(top_builddir)/mysys/libmysys.a \ |
60 |
$(top_builddir)/dbug/libdbug.a \ |
|
61 |
$(top_builddir)/strings/libmystrings.a -lz |
|
62 |
noinst_PROGRAMS = mi_test1 mi_test2 mi_test3 rt_test sp_test #ft_test1 ft_eval |
|
63 |
noinst_HEADERS = myisamdef.h rt_index.h rt_key.h rt_mbr.h sp_defs.h \ |
|
64 |
fulltext.h ftdefs.h ft_test1.h ft_eval.h \
|
|
65 |
ha_myisam.h mi_extrafunc.h |
|
66 |
mi_test1_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
67 |
<<<<<<< TREE |
68 |
mi_test1_LDADD= libmyisam.a \ |
|
69 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
70 |
mi_test1_LDADD= libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
71 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
72 |
$(top_builddir)/mysys/libmysys.a \ |
73 |
$(top_builddir)/dbug/libdbug.a \ |
|
74 |
$(top_builddir)/strings/libmystrings.a -lz |
|
75 |
mi_test2_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
76 |
<<<<<<< TREE |
77 |
mi_test2_LDADD= libmyisam.a \ |
|
78 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
79 |
mi_test2_LDADD= libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
80 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
81 |
$(top_builddir)/mysys/libmysys.a \ |
82 |
$(top_builddir)/dbug/libdbug.a \ |
|
83 |
$(top_builddir)/strings/libmystrings.a -lz |
|
84 |
mi_test3_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
85 |
<<<<<<< TREE |
86 |
mi_test3_LDADD= libmyisam.a \ |
|
87 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
88 |
mi_test3_LDADD= libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
89 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
90 |
$(top_builddir)/mysys/libmysys.a \ |
91 |
$(top_builddir)/dbug/libdbug.a \ |
|
92 |
$(top_builddir)/strings/libmystrings.a -lz |
|
93 |
#ft_test1_DEPENDENCIES= $(LIBRARIES)
|
|
94 |
#ft_eval_DEPENDENCIES= $(LIBRARIES)
|
|
95 |
myisam_ftdump_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
96 |
<<<<<<< TREE |
97 |
myisam_ftdump_LDADD = libmyisam.a \ |
|
98 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
99 |
myisam_ftdump_LDADD = libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
100 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
101 |
$(top_builddir)/mysys/libmysys.a \ |
102 |
$(top_builddir)/dbug/libdbug.a \ |
|
103 |
$(top_builddir)/strings/libmystrings.a -lz |
|
104 |
rt_test_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
105 |
<<<<<<< TREE |
106 |
rt_test_LDADD = libmyisam.a \ |
|
107 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
108 |
rt_test_LDADD = libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
109 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
110 |
$(top_builddir)/mysys/libmysys.a \ |
111 |
$(top_builddir)/dbug/libdbug.a \ |
|
112 |
$(top_builddir)/strings/libmystrings.a -lz |
|
113 |
sp_test_DEPENDENCIES= $(LIBRARIES) |
|
27
by mark
strip out some autoconf cruft that was preventing building |
114 |
<<<<<<< TREE |
115 |
sp_test_LDADD = libmyisam.a \ |
|
116 |
=======
|
|
26
by Brian Aker
Removed dropped libs. |
117 |
sp_test_LDADD = libmyisam.a \ |
27
by mark
strip out some autoconf cruft that was preventing building |
118 |
>>>>>>> MERGE-SOURCE |
1
by brian
clean slate |
119 |
$(top_builddir)/mysys/libmysys.a \ |
120 |
$(top_builddir)/dbug/libdbug.a \ |
|
121 |
$(top_builddir)/strings/libmystrings.a -lz |
|
122 |
libmyisam_a_SOURCES = mi_open.c mi_extra.c mi_info.c mi_rkey.c \ |
|
123 |
mi_rnext.c mi_rnext_same.c \
|
|
124 |
mi_search.c mi_page.c mi_key.c mi_locking.c \
|
|
125 |
mi_rrnd.c mi_scan.c mi_cache.c \
|
|
126 |
mi_statrec.c mi_packrec.c mi_dynrec.c \
|
|
127 |
mi_update.c mi_write.c mi_unique.c \
|
|
128 |
mi_delete.c \
|
|
129 |
mi_rprev.c mi_rfirst.c mi_rlast.c mi_rsame.c \
|
|
130 |
mi_rsamepos.c mi_panic.c mi_close.c mi_create.c\
|
|
131 |
mi_range.c mi_dbug.c mi_checksum.c mi_log.c \
|
|
132 |
mi_changed.c mi_static.c mi_delete_all.c \
|
|
133 |
mi_delete_table.c mi_rename.c mi_check.c \
|
|
134 |
mi_keycache.c mi_preload.c \
|
|
135 |
ft_parser.c ft_stopwords.c ft_static.c \
|
|
136 |
ft_update.c ft_boolean_search.c ft_nlq_search.c sort.c \
|
|
137 |
ha_myisam.cc \
|
|
138 |
rt_index.c rt_key.c rt_mbr.c rt_split.c sp_key.c |
|
139 |
CLEANFILES = test?.MY? FT?.MY? isam.log mi_test_all rt_test.MY? sp_test.MY? |
|
140 |
||
141 |
# Move to automake rules ?
|
|
142 |
prolint:; plparse -b -u -hF1 "-width(0,0)" "-format=%f:%l:\s%t:%n\s%m" \ |
|
143 |
"-elib(????)" "+elib(?3??)" my.lnt $(nisam_SOURCES) |
|
144 |
||
145 |
SUFFIXES = .sh |
|
146 |
||
147 |
.sh: |
|
148 |
@RM@ -f $@ $@-t |
|
149 |
@SED@ \
|
|
150 |
-e 's!@''bindir''@!$(bindir)!g' \ |
|
151 |
-e 's!@''scriptdir''@!$(bindir)!g' \ |
|
152 |
-e 's!@''prefix''@!$(prefix)!g' \ |
|
153 |
-e 's!@''datadir''@!$(datadir)!g' \ |
|
154 |
-e 's!@''localstatedir''@!$(localstatedir)!g' \ |
|
155 |
-e 's!@''libexecdir''@!$(libexecdir)!g' \ |
|
156 |
-e 's!@''CC''@!@CC@!'\ |
|
157 |
-e 's!@''CXX''@!@CXX@!'\ |
|
158 |
-e 's!@''GXX''@!@GXX@!'\ |
|
159 |
-e 's!@''PERL''@!@PERL@!' \ |
|
160 |
-e 's!@''CFLAGS''@!@SAVE_CFLAGS@!'\ |
|
161 |
-e 's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'\ |
|
162 |
-e 's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'\ |
|
163 |
-e 's!@''VERSION''@!@VERSION@!' \ |
|
164 |
-e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \ |
|
165 |
-e 's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!' \ |
|
166 |
-e 's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!' \ |
|
167 |
-e 's!@''HOSTNAME''@!@HOSTNAME@!' \ |
|
168 |
-e 's!@''SYSTEM_TYPE''@!@SYSTEM_TYPE@!' \ |
|
169 |
-e 's!@''CHECK_PID''@!@CHECK_PID@!' \ |
|
170 |
-e 's!@''FIND_PROC''@!@FIND_PROC@!' \ |
|
171 |
-e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \ |
|
172 |
-e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \ |
|
173 |
-e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \ |
|
174 |
-e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \ |
|
175 |
-e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \ |
|
176 |
-e 's!@''sysconfdir''@!@sysconfdir@!' \ |
|
177 |
-e 's!@''SHORT_MYSQL_INTRO''@!@SHORT_MYSQL_INTRO@!' \ |
|
178 |
-e 's!@''SHARED_LIB_VERSION''@!@SHARED_LIB_VERSION@!' \ |
|
179 |
-e 's!@''MYSQL_BASE_VERSION''@!@MYSQL_BASE_VERSION@!' \ |
|
180 |
-e 's!@''MYSQL_NO_DASH_VERSION''@!@MYSQL_NO_DASH_VERSION@!' \ |
|
181 |
-e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \ |
|
182 |
-e 's!@''PERL_DBI_VERSION''@!@PERL_DBI_VERSION@!' \ |
|
183 |
-e 's!@''PERL_DBD_VERSION''@!@PERL_DBD_VERSION@!' \ |
|
184 |
-e 's!@''PERL_DATA_DUMPER''@!@PERL_DATA_DUMPER@!' \ |
|
185 |
$< > $@-t
|
|
186 |
@CHMOD@ +x $@-t
|
|
187 |
@MV@ $@-t $@ |
|
188 |
||
189 |
# Don't update the files from bitkeeper
|
|
190 |
%::SCCS/s.% |