1 |
commit: 5516c7c35d43b1813e3ac90f8339135840057935 |
2 |
Author: Robin H. Johnson <robbat2 <AT> orbis-terrarum <DOT> net> |
3 |
AuthorDate: Sun Apr 1 17:53:26 2012 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 1 17:53:26 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql-extras.git;a=commit;h=5516c7c3 |
7 |
|
8 |
new spin of the shared lib patch. |
9 |
|
10 |
--- |
11 |
00000_index.txt | 7 +- |
12 |
02040_all_embedded-library-shared-5.0.96.patch | 1524 ++++++++++++++++++++++++ |
13 |
2 files changed, 1530 insertions(+), 1 deletions(-) |
14 |
|
15 |
diff --git a/00000_index.txt b/00000_index.txt |
16 |
index 8c38d58..163c5a2 100644 |
17 |
--- a/00000_index.txt |
18 |
+++ b/00000_index.txt |
19 |
@@ -281,7 +281,12 @@ |
20 |
@@ Take libmysqld to be a proper shared library. |
21 |
|
22 |
@patch 02040_all_embedded-library-shared-5.0.92.patch |
23 |
-@ver 5.0.92.00 to 5.00.99.99 |
24 |
+@ver 5.0.92.00 to 5.00.95.99 |
25 |
+@pn mysql |
26 |
+@@ Take libmysqld to be a proper shared library. |
27 |
+ |
28 |
+@patch 02040_all_embedded-library-shared-5.0.96.patch |
29 |
+@ver 5.0.96.00 to 5.00.99.99 |
30 |
@pn mysql |
31 |
@@ Take libmysqld to be a proper shared library. |
32 |
|
33 |
|
34 |
diff --git a/02040_all_embedded-library-shared-5.0.96.patch b/02040_all_embedded-library-shared-5.0.96.patch |
35 |
new file mode 100644 |
36 |
index 0000000..f8e4b54 |
37 |
--- /dev/null |
38 |
+++ b/02040_all_embedded-library-shared-5.0.96.patch |
39 |
@@ -0,0 +1,1524 @@ |
40 |
+Convert all of the static libraries for the embedded libmysqld to build as |
41 |
+shared. |
42 |
+ |
43 |
+This enables amarok's mysql extension to properly build as a shared object, |
44 |
+without statically including libmysqld or nor forcing libmysqld to be built |
45 |
+with -fPIC. |
46 |
+ |
47 |
+Thanks to <pageexec@××××××××.hu> for the @plt fixes. |
48 |
+Thanks to Diego Elio Pettenò <flameeyes@g.o> for all the extensive build |
49 |
+system help with libtool conversions. |
50 |
+ |
51 |
+Gentoo-Bug: 238487 |
52 |
+Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=238487 |
53 |
+MySQL-Bug-URL: http://bugs.mysql.com/bug.php?id=39288 |
54 |
+MySQL-Bug: 39288 |
55 |
+MySQL-Lists-URL: http://lists.mysql.com/internals/35947 |
56 |
+X-Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=188019&action=view |
57 |
+Signed-off-by: Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o> |
58 |
+Signed-off-by: Robin H. Johnson <robbat2@g.o> |
59 |
+ |
60 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/client/Makefile.am mysql/client/Makefile.am |
61 |
+--- mysql.orig/client/Makefile.am 2012-03-02 06:04:08.000000000 -0800 |
62 |
++++ mysql/client/Makefile.am 2012-04-01 10:47:50.422941695 -0700 |
63 |
+@@ -39,7 +39,7 @@ |
64 |
+ $(top_srcdir)/mysys/my_sync.c \ |
65 |
+ $(top_srcdir)/mysys/my_mkdir.c |
66 |
+ |
67 |
+-mysqltest_LDADD = $(top_builddir)/regex/libregex.a $(LDADD) |
68 |
++mysqltest_LDADD = $(top_builddir)/regex/libregex.la $(LDADD) |
69 |
+ mysqlbinlog_SOURCES = mysqlbinlog.cc \ |
70 |
+ $(top_srcdir)/mysys/mf_tempdir.c \ |
71 |
+ $(top_srcdir)/mysys/my_new.cc |
72 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/config/ac-macros/ha_innodb.m4 mysql/config/ac-macros/ha_innodb.m4 |
73 |
+--- mysql.orig/config/ac-macros/ha_innodb.m4 2012-03-02 06:04:11.000000000 -0800 |
74 |
++++ mysql/config/ac-macros/ha_innodb.m4 2012-04-01 10:47:50.422941695 -0700 |
75 |
+@@ -25,40 +25,35 @@ |
76 |
+ dnl Some libs are listed several times, in order for gcc to sort out |
77 |
+ dnl circular references. |
78 |
+ innodb_libs="\ |
79 |
+- \$(top_builddir)/innobase/usr/libusr.a\ |
80 |
+- \$(top_builddir)/innobase/srv/libsrv.a\ |
81 |
+- \$(top_builddir)/innobase/dict/libdict.a\ |
82 |
+- \$(top_builddir)/innobase/que/libque.a\ |
83 |
+- \$(top_builddir)/innobase/srv/libsrv.a\ |
84 |
+- \$(top_builddir)/innobase/ibuf/libibuf.a\ |
85 |
+- \$(top_builddir)/innobase/row/librow.a\ |
86 |
+- \$(top_builddir)/innobase/pars/libpars.a\ |
87 |
+- \$(top_builddir)/innobase/btr/libbtr.a\ |
88 |
+- \$(top_builddir)/innobase/trx/libtrx.a\ |
89 |
+- \$(top_builddir)/innobase/read/libread.a\ |
90 |
+- \$(top_builddir)/innobase/usr/libusr.a\ |
91 |
+- \$(top_builddir)/innobase/buf/libbuf.a\ |
92 |
+- \$(top_builddir)/innobase/ibuf/libibuf.a\ |
93 |
+- \$(top_builddir)/innobase/eval/libeval.a\ |
94 |
+- \$(top_builddir)/innobase/log/liblog.a\ |
95 |
+- \$(top_builddir)/innobase/fsp/libfsp.a\ |
96 |
+- \$(top_builddir)/innobase/fut/libfut.a\ |
97 |
+- \$(top_builddir)/innobase/fil/libfil.a\ |
98 |
+- \$(top_builddir)/innobase/lock/liblock.a\ |
99 |
+- \$(top_builddir)/innobase/mtr/libmtr.a\ |
100 |
+- \$(top_builddir)/innobase/page/libpage.a\ |
101 |
+- \$(top_builddir)/innobase/rem/librem.a\ |
102 |
+- \$(top_builddir)/innobase/thr/libthr.a\ |
103 |
+- \$(top_builddir)/innobase/sync/libsync.a\ |
104 |
+- \$(top_builddir)/innobase/data/libdata.a\ |
105 |
+- \$(top_builddir)/innobase/mach/libmach.a\ |
106 |
+- \$(top_builddir)/innobase/ha/libha.a\ |
107 |
+- \$(top_builddir)/innobase/dyn/libdyn.a\ |
108 |
+- \$(top_builddir)/innobase/mem/libmem.a\ |
109 |
+- \$(top_builddir)/innobase/sync/libsync.a\ |
110 |
+- \$(top_builddir)/innobase/ut/libut.a\ |
111 |
+- \$(top_builddir)/innobase/os/libos.a\ |
112 |
+- \$(top_builddir)/innobase/ut/libut.a" |
113 |
++ \$(top_builddir)/innobase/usr/libusr.la\ |
114 |
++ \$(top_builddir)/innobase/srv/libsrv.la\ |
115 |
++ \$(top_builddir)/innobase/dict/libdict.la\ |
116 |
++ \$(top_builddir)/innobase/que/libque.la\ |
117 |
++ \$(top_builddir)/innobase/ibuf/libibuf.la\ |
118 |
++ \$(top_builddir)/innobase/row/librow.la\ |
119 |
++ \$(top_builddir)/innobase/pars/libpars.la\ |
120 |
++ \$(top_builddir)/innobase/btr/libbtr.la\ |
121 |
++ \$(top_builddir)/innobase/trx/libtrx.la\ |
122 |
++ \$(top_builddir)/innobase/read/libread.la\ |
123 |
++ \$(top_builddir)/innobase/buf/libbuf.la\ |
124 |
++ \$(top_builddir)/innobase/eval/libeval.la\ |
125 |
++ \$(top_builddir)/innobase/log/liblog.la\ |
126 |
++ \$(top_builddir)/innobase/fsp/libfsp.la\ |
127 |
++ \$(top_builddir)/innobase/fut/libfut.la\ |
128 |
++ \$(top_builddir)/innobase/fil/libfil.la\ |
129 |
++ \$(top_builddir)/innobase/lock/liblock.la\ |
130 |
++ \$(top_builddir)/innobase/mtr/libmtr.la\ |
131 |
++ \$(top_builddir)/innobase/page/libpage.la\ |
132 |
++ \$(top_builddir)/innobase/rem/librem.la\ |
133 |
++ \$(top_builddir)/innobase/thr/libthr.la\ |
134 |
++ \$(top_builddir)/innobase/sync/libsync.la\ |
135 |
++ \$(top_builddir)/innobase/data/libdata.la\ |
136 |
++ \$(top_builddir)/innobase/mach/libmach.la\ |
137 |
++ \$(top_builddir)/innobase/ha/libha.la\ |
138 |
++ \$(top_builddir)/innobase/dyn/libdyn.la\ |
139 |
++ \$(top_builddir)/innobase/mem/libmem.la\ |
140 |
++ \$(top_builddir)/innobase/ut/libut.la\ |
141 |
++ \$(top_builddir)/innobase/os/libos.la" |
142 |
+ |
143 |
+ AC_CHECK_LIB(rt, aio_read, [innodb_system_libs="-lrt"]) |
144 |
+ ;; |
145 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/configure.in mysql/configure.in |
146 |
+--- mysql.orig/configure.in 2012-03-02 06:04:07.000000000 -0800 |
147 |
++++ mysql/configure.in 2012-04-01 10:47:50.423941710 -0700 |
148 |
+@@ -256,7 +256,7 @@ |
149 |
+ fi |
150 |
+ |
151 |
+ # Still need ranlib for readline; local static use only so no libtool. |
152 |
+-AC_PROG_RANLIB |
153 |
++#AC_PROG_RANLIB |
154 |
+ # We use libtool |
155 |
+ #AC_LIBTOOL_WIN32_DLL |
156 |
+ AC_PROG_LIBTOOL |
157 |
+@@ -577,6 +577,9 @@ |
158 |
+ # We need an ANSI C compiler |
159 |
+ AM_PROG_CC_STDC |
160 |
+ |
161 |
++# Testing as sugggested by Diego |
162 |
++AM_PROG_CC_C_O |
163 |
++ |
164 |
+ # We need an assembler, too |
165 |
+ AM_PROG_AS |
166 |
+ CCASFLAGS="$CCASFLAGS $ASFLAGS" |
167 |
+@@ -2777,9 +2780,9 @@ |
168 |
+ |
169 |
+ if test "$THREAD_SAFE_CLIENT" = "no" |
170 |
+ then |
171 |
+- sql_client_dirs="strings regex mysys dbug extra libmysql client" |
172 |
++ sql_client_dirs="strings regex dbug mysys extra libmysql client" |
173 |
+ else |
174 |
+- sql_client_dirs="strings regex mysys dbug extra libmysql libmysql_r client" |
175 |
++ sql_client_dirs="strings regex dbug mysys extra libmysql libmysql_r client" |
176 |
+ linked_client_targets="$linked_client_targets linked_libmysql_r_sources" |
177 |
+ AC_CONFIG_FILES(libmysql_r/Makefile) |
178 |
+ AC_DEFINE([THREAD_SAFE_CLIENT], [1], [Should be client be thread safe]) |
179 |
+@@ -2808,13 +2811,11 @@ |
180 |
+ export CC CXX CFLAGS CXXFLAGS LD LDFLAGS AR |
181 |
+ ac_configure_args="$ac_configure_args CFLAGS='$CFLAGS' CXXFLAGS='$CXXFLAGS'" |
182 |
+ |
183 |
++AM_CONDITIONAL([NEED_THREADS], [test x"$with_server" != xno -o x"$THREAD_SAFE_CLIENT" != xno]) |
184 |
+ if test "$with_server" != "no" -o "$THREAD_SAFE_CLIENT" != "no" |
185 |
+ then |
186 |
+ AC_DEFINE([THREAD], [1], |
187 |
+ [Define if you want to have threaded code. This may be undef on client code]) |
188 |
+- # Avoid _PROGRAMS names |
189 |
+- THREAD_LOBJECTS="thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o mf_keycache.o" |
190 |
+- AC_SUBST(THREAD_LOBJECTS) |
191 |
+ fi |
192 |
+ |
193 |
+ if test "$with_server" = "no" |
194 |
+@@ -2822,7 +2823,7 @@ |
195 |
+ AM_CONDITIONAL([BUILD_INNODB_TOOLS], [false]) |
196 |
+ else |
197 |
+ server_scripts="mysqld_safe mysql_install_db" |
198 |
+- sql_server_dirs="strings mysys dbug extra regex" |
199 |
++ sql_server_dirs="strings dbug mysys extra regex" |
200 |
+ |
201 |
+ |
202 |
+ # |
203 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/dbug/Makefile.am mysql/dbug/Makefile.am |
204 |
+--- mysql.orig/dbug/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
205 |
++++ mysql/dbug/Makefile.am 2012-04-01 10:47:50.423941710 -0700 |
206 |
+@@ -16,10 +16,10 @@ |
207 |
+ # MA 02111-1307, USA |
208 |
+ |
209 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include |
210 |
+-LDADD = libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a |
211 |
+-pkglib_LIBRARIES = libdbug.a |
212 |
++LDADD = ../mysys/libmysys.la ../strings/libmystrings.la |
213 |
++noinst_LTLIBRARIES = libdbug.la |
214 |
+ noinst_HEADERS = dbug_long.h |
215 |
+-libdbug_a_SOURCES = dbug.c sanity.c |
216 |
++libdbug_la_SOURCES = dbug.c sanity.c |
217 |
+ EXTRA_DIST = example1.c example2.c example3.c \ |
218 |
+ user.r monty.doc readme.prof dbug_add_tags.pl \ |
219 |
+ my_main.c main.c factorial.c dbug_analyze.c \ |
220 |
+@@ -31,11 +31,11 @@ |
221 |
+ |
222 |
+ |
223 |
+ # Must be linked with libs that are not compiled yet |
224 |
+-noinst_PROGRAMS = factorial dbug_analyze |
225 |
++EXTRA_PROGRAMS = factorial dbug_analyze |
226 |
+ factorial_SOURCES = my_main.c factorial.c |
227 |
+ dbug_analyze_SOURCES = dbug_analyze.c |
228 |
+ |
229 |
+-all: user.t user.ps |
230 |
++check-local: user.t user.ps |
231 |
+ |
232 |
+ user.t: user.r $(NROFF_INC) |
233 |
+ -nroff -mm user.r > $@ |
234 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/extra/Makefile.am mysql/extra/Makefile.am |
235 |
+--- mysql.orig/extra/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
236 |
++++ mysql/extra/Makefile.am 2012-04-01 10:47:50.424941725 -0700 |
237 |
+@@ -15,8 +15,7 @@ |
238 |
+ |
239 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ |
240 |
+ @ndbcluster_includes@ -I$(top_srcdir)/sql |
241 |
+-LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \ |
242 |
+- ../dbug/libdbug.a ../strings/libmystrings.a \ |
243 |
++LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.la \ |
244 |
+ $(ZLIB_LIBS) |
245 |
+ BUILT_SOURCES= $(top_builddir)/include/mysqld_error.h \ |
246 |
+ $(top_builddir)/include/sql_state.h \ |
247 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/heap/Makefile.am mysql/heap/Makefile.am |
248 |
+--- mysql.orig/heap/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
249 |
++++ mysql/heap/Makefile.am 2012-04-01 10:47:50.424941725 -0700 |
250 |
+@@ -14,14 +14,13 @@ |
251 |
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
252 |
+ |
253 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include |
254 |
+-LDADD = libheap.a ../mysys/libmysys.a ../dbug/libdbug.a \ |
255 |
+- ../strings/libmystrings.a |
256 |
+-pkglib_LIBRARIES = libheap.a |
257 |
++LDADD = libheap.la ../mysys/libmysys.la |
258 |
++pkglib_LTLIBRARIES = libheap.la |
259 |
+ noinst_PROGRAMS = hp_test1 hp_test2 |
260 |
+ hp_test1_LDFLAGS = @NOINST_LDFLAGS@ |
261 |
+ hp_test2_LDFLAGS = @NOINST_LDFLAGS@ |
262 |
+ noinst_HEADERS = heapdef.h |
263 |
+-libheap_a_SOURCES = hp_open.c hp_extra.c hp_close.c hp_panic.c hp_info.c \ |
264 |
++libheap_la_SOURCES = hp_open.c hp_extra.c hp_close.c hp_panic.c hp_info.c \ |
265 |
+ hp_rrnd.c hp_scan.c hp_update.c hp_write.c hp_delete.c \ |
266 |
+ hp_rsame.c hp_create.c hp_rename.c hp_rfirst.c \ |
267 |
+ hp_rnext.c hp_rlast.c hp_rprev.c hp_clear.c \ |
268 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/btr/Makefile.am mysql/innobase/btr/Makefile.am |
269 |
+--- mysql.orig/innobase/btr/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
270 |
++++ mysql/innobase/btr/Makefile.am 2012-04-01 10:47:50.424941725 -0700 |
271 |
+@@ -15,9 +15,9 @@ |
272 |
+ |
273 |
+ include ../include/Makefile.i |
274 |
+ |
275 |
+-noinst_LIBRARIES = libbtr.a |
276 |
++noinst_LTLIBRARIES = libbtr.la |
277 |
+ |
278 |
+-libbtr_a_SOURCES = btr0btr.c btr0cur.c btr0pcur.c btr0sea.c |
279 |
++libbtr_la_SOURCES = btr0btr.c btr0cur.c btr0pcur.c btr0sea.c |
280 |
+ |
281 |
+ EXTRA_PROGRAMS = |
282 |
+ |
283 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/buf/Makefile.am mysql/innobase/buf/Makefile.am |
284 |
+--- mysql.orig/innobase/buf/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
285 |
++++ mysql/innobase/buf/Makefile.am 2012-04-01 10:47:50.424941725 -0700 |
286 |
+@@ -15,9 +15,9 @@ |
287 |
+ |
288 |
+ include ../include/Makefile.i |
289 |
+ |
290 |
+-noinst_LIBRARIES = libbuf.a |
291 |
++noinst_LTLIBRARIES = libbuf.la |
292 |
+ |
293 |
+-libbuf_a_SOURCES = buf0buf.c buf0flu.c buf0lru.c buf0rea.c |
294 |
++libbuf_la_SOURCES = buf0buf.c buf0flu.c buf0lru.c buf0rea.c |
295 |
+ |
296 |
+ EXTRA_PROGRAMS = |
297 |
+ |
298 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/configure.in mysql/innobase/configure.in |
299 |
+--- mysql.orig/innobase/configure.in 2012-03-02 06:04:10.000000000 -0800 |
300 |
++++ mysql/innobase/configure.in 2012-04-01 10:47:50.425941740 -0700 |
301 |
+@@ -32,7 +32,7 @@ |
302 |
+ CXXFLAGS="$CXXFLAGS " |
303 |
+ |
304 |
+ AC_PROG_CC |
305 |
+-AC_PROG_RANLIB |
306 |
++#AC_PROG_RANLIB |
307 |
+ AC_PROG_INSTALL |
308 |
+ AC_PROG_LIBTOOL |
309 |
+ AC_CHECK_HEADERS(aio.h sched.h) |
310 |
+@@ -126,14 +126,4 @@ |
311 |
+ fi |
312 |
+ AC_SUBST(ARFLAGS) |
313 |
+ |
314 |
+-AC_OUTPUT(Makefile os/Makefile ut/Makefile btr/Makefile dnl |
315 |
+- buf/Makefile data/Makefile dnl |
316 |
+- dict/Makefile dyn/Makefile dnl |
317 |
+- eval/Makefile fil/Makefile fsp/Makefile fut/Makefile dnl |
318 |
+- ha/Makefile ibuf/Makefile include/Makefile dnl |
319 |
+- lock/Makefile log/Makefile dnl |
320 |
+- mach/Makefile mem/Makefile mtr/Makefile dnl |
321 |
+- page/Makefile pars/Makefile que/Makefile dnl |
322 |
+- read/Makefile rem/Makefile row/Makefile dnl |
323 |
+- srv/Makefile sync/Makefile thr/Makefile trx/Makefile dnl |
324 |
+- usr/Makefile) |
325 |
++AC_OUTPUT(Makefile) |
326 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/data/Makefile.am mysql/innobase/data/Makefile.am |
327 |
+--- mysql.orig/innobase/data/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
328 |
++++ mysql/innobase/data/Makefile.am 2012-04-01 10:47:50.425941740 -0700 |
329 |
+@@ -15,9 +15,9 @@ |
330 |
+ |
331 |
+ include ../include/Makefile.i |
332 |
+ |
333 |
+-noinst_LIBRARIES = libdata.a |
334 |
++noinst_LTLIBRARIES = libdata.la |
335 |
+ |
336 |
+-libdata_a_SOURCES = data0data.c data0type.c |
337 |
++libdata_la_SOURCES = data0data.c data0type.c |
338 |
+ |
339 |
+ EXTRA_PROGRAMS = |
340 |
+ |
341 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/dict/Makefile.am mysql/innobase/dict/Makefile.am |
342 |
+--- mysql.orig/innobase/dict/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
343 |
++++ mysql/innobase/dict/Makefile.am 2012-04-01 10:47:50.425941740 -0700 |
344 |
+@@ -15,9 +15,9 @@ |
345 |
+ |
346 |
+ include ../include/Makefile.i |
347 |
+ |
348 |
+-noinst_LIBRARIES = libdict.a |
349 |
++noinst_LTLIBRARIES = libdict.la |
350 |
+ |
351 |
+-libdict_a_SOURCES = dict0boot.c dict0crea.c dict0dict.c dict0load.c\ |
352 |
++libdict_la_SOURCES = dict0boot.c dict0crea.c dict0dict.c dict0load.c\ |
353 |
+ dict0mem.c |
354 |
+ |
355 |
+ EXTRA_PROGRAMS = |
356 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/dyn/Makefile.am mysql/innobase/dyn/Makefile.am |
357 |
+--- mysql.orig/innobase/dyn/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
358 |
++++ mysql/innobase/dyn/Makefile.am 2012-04-01 10:47:50.425941740 -0700 |
359 |
+@@ -15,9 +15,9 @@ |
360 |
+ |
361 |
+ include ../include/Makefile.i |
362 |
+ |
363 |
+-noinst_LIBRARIES = libdyn.a |
364 |
++noinst_LTLIBRARIES = libdyn.la |
365 |
+ |
366 |
+-libdyn_a_SOURCES = dyn0dyn.c |
367 |
++libdyn_la_SOURCES = dyn0dyn.c |
368 |
+ |
369 |
+ EXTRA_PROGRAMS = |
370 |
+ |
371 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/eval/Makefile.am mysql/innobase/eval/Makefile.am |
372 |
+--- mysql.orig/innobase/eval/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
373 |
++++ mysql/innobase/eval/Makefile.am 2012-04-01 10:47:50.425941740 -0700 |
374 |
+@@ -15,9 +15,9 @@ |
375 |
+ |
376 |
+ include ../include/Makefile.i |
377 |
+ |
378 |
+-noinst_LIBRARIES = libeval.a |
379 |
++noinst_LTLIBRARIES = libeval.la |
380 |
+ |
381 |
+-libeval_a_SOURCES = eval0eval.c eval0proc.c |
382 |
++libeval_la_SOURCES = eval0eval.c eval0proc.c |
383 |
+ |
384 |
+ EXTRA_PROGRAMS = |
385 |
+ |
386 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/fil/Makefile.am mysql/innobase/fil/Makefile.am |
387 |
+--- mysql.orig/innobase/fil/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
388 |
++++ mysql/innobase/fil/Makefile.am 2012-04-01 10:47:50.426941755 -0700 |
389 |
+@@ -15,9 +15,9 @@ |
390 |
+ |
391 |
+ include ../include/Makefile.i |
392 |
+ |
393 |
+-noinst_LIBRARIES = libfil.a |
394 |
++noinst_LTLIBRARIES = libfil.la |
395 |
+ |
396 |
+-libfil_a_SOURCES = fil0fil.c |
397 |
++libfil_la_SOURCES = fil0fil.c |
398 |
+ |
399 |
+ EXTRA_PROGRAMS = |
400 |
+ |
401 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/fsp/Makefile.am mysql/innobase/fsp/Makefile.am |
402 |
+--- mysql.orig/innobase/fsp/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
403 |
++++ mysql/innobase/fsp/Makefile.am 2012-04-01 10:47:50.426941755 -0700 |
404 |
+@@ -16,9 +16,9 @@ |
405 |
+ |
406 |
+ include ../include/Makefile.i |
407 |
+ |
408 |
+-noinst_LIBRARIES = libfsp.a |
409 |
++noinst_LTLIBRARIES = libfsp.la |
410 |
+ |
411 |
+-libfsp_a_SOURCES = fsp0fsp.c |
412 |
++libfsp_la_SOURCES = fsp0fsp.c |
413 |
+ |
414 |
+ EXTRA_PROGRAMS = |
415 |
+ |
416 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/fut/Makefile.am mysql/innobase/fut/Makefile.am |
417 |
+--- mysql.orig/innobase/fut/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
418 |
++++ mysql/innobase/fut/Makefile.am 2012-04-01 10:47:50.426941755 -0700 |
419 |
+@@ -15,9 +15,9 @@ |
420 |
+ |
421 |
+ include ../include/Makefile.i |
422 |
+ |
423 |
+-noinst_LIBRARIES = libfut.a |
424 |
++noinst_LTLIBRARIES = libfut.la |
425 |
+ |
426 |
+-libfut_a_SOURCES = fut0fut.c fut0lst.c |
427 |
++libfut_la_SOURCES = fut0fut.c fut0lst.c |
428 |
+ |
429 |
+ EXTRA_PROGRAMS = |
430 |
+ |
431 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/ha/Makefile.am mysql/innobase/ha/Makefile.am |
432 |
+--- mysql.orig/innobase/ha/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
433 |
++++ mysql/innobase/ha/Makefile.am 2012-04-01 10:47:50.426941755 -0700 |
434 |
+@@ -15,9 +15,9 @@ |
435 |
+ |
436 |
+ include ../include/Makefile.i |
437 |
+ |
438 |
+-noinst_LIBRARIES = libha.a |
439 |
++noinst_LTLIBRARIES = libha.la |
440 |
+ |
441 |
+-libha_a_SOURCES = ha0ha.c hash0hash.c |
442 |
++libha_la_SOURCES = ha0ha.c hash0hash.c |
443 |
+ |
444 |
+ EXTRA_PROGRAMS = |
445 |
+ |
446 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/ibuf/Makefile.am mysql/innobase/ibuf/Makefile.am |
447 |
+--- mysql.orig/innobase/ibuf/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
448 |
++++ mysql/innobase/ibuf/Makefile.am 2012-04-01 10:47:50.427941770 -0700 |
449 |
+@@ -15,9 +15,9 @@ |
450 |
+ |
451 |
+ include ../include/Makefile.i |
452 |
+ |
453 |
+-noinst_LIBRARIES = libibuf.a |
454 |
++noinst_LTLIBRARIES = libibuf.la |
455 |
+ |
456 |
+-libibuf_a_SOURCES = ibuf0ibuf.c |
457 |
++libibuf_la_SOURCES = ibuf0ibuf.c |
458 |
+ |
459 |
+ EXTRA_PROGRAMS = |
460 |
+ |
461 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/lock/Makefile.am mysql/innobase/lock/Makefile.am |
462 |
+--- mysql.orig/innobase/lock/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
463 |
++++ mysql/innobase/lock/Makefile.am 2012-04-01 10:47:50.427941770 -0700 |
464 |
+@@ -15,9 +15,9 @@ |
465 |
+ |
466 |
+ include ../include/Makefile.i |
467 |
+ |
468 |
+-noinst_LIBRARIES = liblock.a |
469 |
++noinst_LTLIBRARIES = liblock.la |
470 |
+ |
471 |
+-liblock_a_SOURCES = lock0lock.c |
472 |
++liblock_la_SOURCES = lock0lock.c |
473 |
+ |
474 |
+ EXTRA_PROGRAMS = |
475 |
+ |
476 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/log/Makefile.am mysql/innobase/log/Makefile.am |
477 |
+--- mysql.orig/innobase/log/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
478 |
++++ mysql/innobase/log/Makefile.am 2012-04-01 10:47:50.427941770 -0700 |
479 |
+@@ -15,9 +15,9 @@ |
480 |
+ |
481 |
+ include ../include/Makefile.i |
482 |
+ |
483 |
+-noinst_LIBRARIES = liblog.a |
484 |
++noinst_LTLIBRARIES = liblog.la |
485 |
+ |
486 |
+-liblog_a_SOURCES = log0log.c log0recv.c |
487 |
++liblog_la_SOURCES = log0log.c log0recv.c |
488 |
+ |
489 |
+ EXTRA_PROGRAMS = |
490 |
+ |
491 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/mach/Makefile.am mysql/innobase/mach/Makefile.am |
492 |
+--- mysql.orig/innobase/mach/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
493 |
++++ mysql/innobase/mach/Makefile.am 2012-04-01 10:47:50.427941770 -0700 |
494 |
+@@ -15,9 +15,9 @@ |
495 |
+ |
496 |
+ include ../include/Makefile.i |
497 |
+ |
498 |
+-noinst_LIBRARIES = libmach.a |
499 |
++noinst_LTLIBRARIES = libmach.la |
500 |
+ |
501 |
+-libmach_a_SOURCES = mach0data.c |
502 |
++libmach_la_SOURCES = mach0data.c |
503 |
+ |
504 |
+ EXTRA_PROGRAMS = |
505 |
+ |
506 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/Makefile.am mysql/innobase/Makefile.am |
507 |
+--- mysql.orig/innobase/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
508 |
++++ mysql/innobase/Makefile.am 2012-04-01 10:47:50.428941784 -0700 |
509 |
+@@ -15,14 +15,35 @@ |
510 |
+ |
511 |
+ # Process this file with automake to create Makefile.in |
512 |
+ |
513 |
+-AUTOMAKE_OPTIONS = foreign |
514 |
+-TAR = gtar |
515 |
+- |
516 |
+ noinst_HEADERS = ib_config.h |
517 |
+ |
518 |
+-SUBDIRS = os ut btr buf data dict dyn eval fil fsp fut \ |
519 |
+- ha ibuf include lock log mach mem mtr page \ |
520 |
+- pars que read rem row srv sync thr trx usr |
521 |
++INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include |
522 |
++ |
523 |
++pkglib_LTLIBRARIES = libinnobase.la |
524 |
++ |
525 |
++libinnobase_la_SOURCES = btr/btr0btr.c btr/btr0cur.c \ |
526 |
++ btr/btr0pcur.c btr/btr0sea.c buf/buf0buf.c buf/buf0flu.c \ |
527 |
++ buf/buf0lru.c buf/buf0rea.c data/data0data.c data/data0type.c \ |
528 |
++ dict/dict0boot.c dict/dict0crea.c dict/dict0dict.c \ |
529 |
++ dict/dict0load.c dict/dict0mem.c dyn/dyn0dyn.c \ |
530 |
++ eval/eval0eval.c eval/eval0proc.c fil/fil0fil.c \ |
531 |
++ fsp/fsp0fsp.c fut/fut0fut.c fut/fut0lst.c ha/ha0ha.c \ |
532 |
++ ha/hash0hash.c ibuf/ibuf0ibuf.c lock/lock0lock.c \ |
533 |
++ log/log0log.c log/log0recv.c mach/mach0data.c \ |
534 |
++ mem/mem0mem.c mem/mem0pool.c mtr/mtr0mtr.c mtr/mtr0log.c \ |
535 |
++ os/os0proc.c os/os0sync.c os/os0thread.c os/os0file.c \ |
536 |
++ page/page0page.c page/page0cur.c pars/pars0grm.c pars/lexyy.c \ |
537 |
++ pars/pars0opt.c pars/pars0pars.c pars/pars0sym.c \ |
538 |
++ que/que0que.c read/read0read.c rem/rem0rec.c rem/rem0cmp.c \ |
539 |
++ row/row0ins.c row/row0mysql.c row/row0purge.c row/row0row.c \ |
540 |
++ row/row0sel.c row/row0uins.c row/row0umod.c row/row0undo.c \ |
541 |
++ row/row0upd.c row/row0vers.c srv/srv0srv.c srv/srv0que.c \ |
542 |
++ srv/srv0start.c sync/sync0arr.c sync/sync0rw.c \ |
543 |
++ sync/sync0sync.c thr/thr0loc.c trx/trx0purge.c \ |
544 |
++ trx/trx0rec.c trx/trx0roll.c trx/trx0rseg.c trx/trx0sys.c \ |
545 |
++ trx/trx0trx.c trx/trx0undo.c usr/usr0sess.c ut/ut0byte.c \ |
546 |
++ ut/ut0dbg.c ut/ut0mem.c ut/ut0rnd.c ut/ut0ut.c |
547 |
++ |
548 |
+ EXTRA_DIST = CMakeLists.txt |
549 |
+ |
550 |
+ # Don't update the files from bitkeeper |
551 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/mem/Makefile.am mysql/innobase/mem/Makefile.am |
552 |
+--- mysql.orig/innobase/mem/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
553 |
++++ mysql/innobase/mem/Makefile.am 2012-04-01 10:47:50.428941784 -0700 |
554 |
+@@ -15,9 +15,9 @@ |
555 |
+ |
556 |
+ include ../include/Makefile.i |
557 |
+ |
558 |
+-noinst_LIBRARIES = libmem.a |
559 |
++noinst_LTLIBRARIES = libmem.la |
560 |
+ |
561 |
+-libmem_a_SOURCES = mem0mem.c mem0pool.c |
562 |
++libmem_la_SOURCES = mem0mem.c mem0pool.c |
563 |
+ |
564 |
+ EXTRA_DIST = mem0dbg.c |
565 |
+ |
566 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/mtr/Makefile.am mysql/innobase/mtr/Makefile.am |
567 |
+--- mysql.orig/innobase/mtr/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
568 |
++++ mysql/innobase/mtr/Makefile.am 2012-04-01 10:47:50.428941784 -0700 |
569 |
+@@ -15,9 +15,9 @@ |
570 |
+ |
571 |
+ include ../include/Makefile.i |
572 |
+ |
573 |
+-noinst_LIBRARIES = libmtr.a |
574 |
++noinst_LTLIBRARIES = libmtr.la |
575 |
+ |
576 |
+-libmtr_a_SOURCES = mtr0mtr.c mtr0log.c |
577 |
++libmtr_la_SOURCES = mtr0mtr.c mtr0log.c |
578 |
+ |
579 |
+ EXTRA_PROGRAMS = |
580 |
+ |
581 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/os/Makefile.am mysql/innobase/os/Makefile.am |
582 |
+--- mysql.orig/innobase/os/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
583 |
++++ mysql/innobase/os/Makefile.am 2012-04-01 10:47:50.428941784 -0700 |
584 |
+@@ -15,9 +15,9 @@ |
585 |
+ |
586 |
+ include ../include/Makefile.i |
587 |
+ |
588 |
+-noinst_LIBRARIES = libos.a |
589 |
++noinst_LTLIBRARIES = libos.la |
590 |
+ |
591 |
+-libos_a_SOURCES = os0proc.c os0sync.c os0thread.c os0file.c |
592 |
++libos_la_SOURCES = os0proc.c os0sync.c os0thread.c os0file.c |
593 |
+ |
594 |
+ EXTRA_PROGRAMS = |
595 |
+ |
596 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/page/Makefile.am mysql/innobase/page/Makefile.am |
597 |
+--- mysql.orig/innobase/page/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
598 |
++++ mysql/innobase/page/Makefile.am 2012-04-01 10:47:50.429941798 -0700 |
599 |
+@@ -15,9 +15,9 @@ |
600 |
+ |
601 |
+ include ../include/Makefile.i |
602 |
+ |
603 |
+-noinst_LIBRARIES = libpage.a |
604 |
++noinst_LTLIBRARIES = libpage.la |
605 |
+ |
606 |
+-libpage_a_SOURCES = page0page.c page0cur.c |
607 |
++libpage_la_SOURCES = page0page.c page0cur.c |
608 |
+ |
609 |
+ EXTRA_PROGRAMS = |
610 |
+ |
611 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/pars/Makefile.am mysql/innobase/pars/Makefile.am |
612 |
+--- mysql.orig/innobase/pars/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
613 |
++++ mysql/innobase/pars/Makefile.am 2012-04-01 10:47:50.433941856 -0700 |
614 |
+@@ -15,11 +15,11 @@ |
615 |
+ |
616 |
+ include ../include/Makefile.i |
617 |
+ |
618 |
+-noinst_LIBRARIES = libpars.a |
619 |
++noinst_LTLIBRARIES = libpars.la |
620 |
+ |
621 |
+ noinst_HEADERS = pars0grm.h |
622 |
+ |
623 |
+-libpars_a_SOURCES = pars0grm.c lexyy.c pars0opt.c pars0pars.c pars0sym.c |
624 |
++libpars_la_SOURCES = pars0grm.c lexyy.c pars0opt.c pars0pars.c pars0sym.c |
625 |
+ |
626 |
+ EXTRA_PROGRAMS = |
627 |
+ |
628 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/que/Makefile.am mysql/innobase/que/Makefile.am |
629 |
+--- mysql.orig/innobase/que/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
630 |
++++ mysql/innobase/que/Makefile.am 2012-04-01 10:47:50.433941856 -0700 |
631 |
+@@ -15,9 +15,9 @@ |
632 |
+ |
633 |
+ include ../include/Makefile.i |
634 |
+ |
635 |
+-noinst_LIBRARIES = libque.a |
636 |
++noinst_LTLIBRARIES = libque.la |
637 |
+ |
638 |
+-libque_a_SOURCES = que0que.c |
639 |
++libque_la_SOURCES = que0que.c |
640 |
+ |
641 |
+ EXTRA_PROGRAMS = |
642 |
+ |
643 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/read/Makefile.am mysql/innobase/read/Makefile.am |
644 |
+--- mysql.orig/innobase/read/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
645 |
++++ mysql/innobase/read/Makefile.am 2012-04-01 10:47:50.433941856 -0700 |
646 |
+@@ -15,9 +15,9 @@ |
647 |
+ |
648 |
+ include ../include/Makefile.i |
649 |
+ |
650 |
+-noinst_LIBRARIES = libread.a |
651 |
++noinst_LTLIBRARIES = libread.la |
652 |
+ |
653 |
+-libread_a_SOURCES = read0read.c |
654 |
++libread_la_SOURCES = read0read.c |
655 |
+ |
656 |
+ EXTRA_PROGRAMS = |
657 |
+ |
658 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/rem/Makefile.am mysql/innobase/rem/Makefile.am |
659 |
+--- mysql.orig/innobase/rem/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
660 |
++++ mysql/innobase/rem/Makefile.am 2012-04-01 10:47:50.433941856 -0700 |
661 |
+@@ -15,9 +15,9 @@ |
662 |
+ |
663 |
+ include ../include/Makefile.i |
664 |
+ |
665 |
+-noinst_LIBRARIES = librem.a |
666 |
++noinst_LTLIBRARIES = librem.la |
667 |
+ |
668 |
+-librem_a_SOURCES = rem0rec.c rem0cmp.c |
669 |
++librem_la_SOURCES = rem0rec.c rem0cmp.c |
670 |
+ |
671 |
+ EXTRA_PROGRAMS = |
672 |
+ |
673 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/row/Makefile.am mysql/innobase/row/Makefile.am |
674 |
+--- mysql.orig/innobase/row/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
675 |
++++ mysql/innobase/row/Makefile.am 2012-04-01 10:47:50.434941870 -0700 |
676 |
+@@ -15,9 +15,9 @@ |
677 |
+ |
678 |
+ include ../include/Makefile.i |
679 |
+ |
680 |
+-noinst_LIBRARIES = librow.a |
681 |
++noinst_LTLIBRARIES = librow.la |
682 |
+ |
683 |
+-librow_a_SOURCES = row0ins.c row0mysql.c row0purge.c row0row.c row0sel.c\ |
684 |
++librow_la_SOURCES = row0ins.c row0mysql.c row0purge.c row0row.c row0sel.c\ |
685 |
+ row0uins.c row0umod.c row0undo.c row0upd.c row0vers.c |
686 |
+ |
687 |
+ EXTRA_PROGRAMS = |
688 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/srv/Makefile.am mysql/innobase/srv/Makefile.am |
689 |
+--- mysql.orig/innobase/srv/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
690 |
++++ mysql/innobase/srv/Makefile.am 2012-04-01 10:47:50.434941870 -0700 |
691 |
+@@ -15,9 +15,9 @@ |
692 |
+ |
693 |
+ include ../include/Makefile.i |
694 |
+ |
695 |
+-noinst_LIBRARIES = libsrv.a |
696 |
++noinst_LTLIBRARIES = libsrv.la |
697 |
+ |
698 |
+-libsrv_a_SOURCES = srv0srv.c srv0que.c srv0start.c |
699 |
++libsrv_la_SOURCES = srv0srv.c srv0que.c srv0start.c |
700 |
+ |
701 |
+ EXTRA_PROGRAMS = |
702 |
+ |
703 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/sync/Makefile.am mysql/innobase/sync/Makefile.am |
704 |
+--- mysql.orig/innobase/sync/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
705 |
++++ mysql/innobase/sync/Makefile.am 2012-04-01 10:47:50.434941870 -0700 |
706 |
+@@ -15,9 +15,9 @@ |
707 |
+ |
708 |
+ include ../include/Makefile.i |
709 |
+ |
710 |
+-noinst_LIBRARIES = libsync.a |
711 |
++noinst_LTLIBRARIES = libsync.la |
712 |
+ |
713 |
+-libsync_a_SOURCES = sync0arr.c sync0rw.c sync0sync.c |
714 |
++libsync_la_SOURCES = sync0arr.c sync0rw.c sync0sync.c |
715 |
+ |
716 |
+ EXTRA_PROGRAMS = |
717 |
+ |
718 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/thr/Makefile.am mysql/innobase/thr/Makefile.am |
719 |
+--- mysql.orig/innobase/thr/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
720 |
++++ mysql/innobase/thr/Makefile.am 2012-04-01 10:47:50.434941870 -0700 |
721 |
+@@ -15,9 +15,9 @@ |
722 |
+ |
723 |
+ include ../include/Makefile.i |
724 |
+ |
725 |
+-noinst_LIBRARIES = libthr.a |
726 |
++noinst_LTLIBRARIES = libthr.la |
727 |
+ |
728 |
+-libthr_a_SOURCES = thr0loc.c |
729 |
++libthr_la_SOURCES = thr0loc.c |
730 |
+ |
731 |
+ EXTRA_PROGRAMS = |
732 |
+ |
733 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/trx/Makefile.am mysql/innobase/trx/Makefile.am |
734 |
+--- mysql.orig/innobase/trx/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
735 |
++++ mysql/innobase/trx/Makefile.am 2012-04-01 10:47:50.435941885 -0700 |
736 |
+@@ -15,9 +15,9 @@ |
737 |
+ |
738 |
+ include ../include/Makefile.i |
739 |
+ |
740 |
+-noinst_LIBRARIES = libtrx.a |
741 |
++noinst_LTLIBRARIES = libtrx.la |
742 |
+ |
743 |
+-libtrx_a_SOURCES = trx0purge.c trx0rec.c trx0roll.c trx0rseg.c\ |
744 |
++libtrx_la_SOURCES = trx0purge.c trx0rec.c trx0roll.c trx0rseg.c\ |
745 |
+ trx0sys.c trx0trx.c trx0undo.c |
746 |
+ |
747 |
+ EXTRA_PROGRAMS = |
748 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/usr/Makefile.am mysql/innobase/usr/Makefile.am |
749 |
+--- mysql.orig/innobase/usr/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
750 |
++++ mysql/innobase/usr/Makefile.am 2012-04-01 10:47:50.435941885 -0700 |
751 |
+@@ -15,9 +15,9 @@ |
752 |
+ |
753 |
+ include ../include/Makefile.i |
754 |
+ |
755 |
+-noinst_LIBRARIES = libusr.a |
756 |
++noinst_LTLIBRARIES = libusr.la |
757 |
+ |
758 |
+-libusr_a_SOURCES = usr0sess.c |
759 |
++libusr_la_SOURCES = usr0sess.c |
760 |
+ |
761 |
+ EXTRA_PROGRAMS = |
762 |
+ |
763 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/innobase/ut/Makefile.am mysql/innobase/ut/Makefile.am |
764 |
+--- mysql.orig/innobase/ut/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
765 |
++++ mysql/innobase/ut/Makefile.am 2012-04-01 10:47:50.435941885 -0700 |
766 |
+@@ -15,9 +15,9 @@ |
767 |
+ |
768 |
+ include ../include/Makefile.i |
769 |
+ |
770 |
+-noinst_LIBRARIES = libut.a |
771 |
++noinst_LTLIBRARIES = libut.la |
772 |
+ |
773 |
+-libut_a_SOURCES = ut0byte.c ut0dbg.c ut0mem.c ut0rnd.c ut0ut.c |
774 |
++libut_la_SOURCES = ut0byte.c ut0dbg.c ut0mem.c ut0rnd.c ut0ut.c |
775 |
+ |
776 |
+ EXTRA_PROGRAMS = |
777 |
+ |
778 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/libmysql/Makefile.am mysql/libmysql/Makefile.am |
779 |
+--- mysql.orig/libmysql/Makefile.am 2012-03-02 06:04:07.000000000 -0800 |
780 |
++++ mysql/libmysql/Makefile.am 2012-04-01 10:47:50.435941885 -0700 |
781 |
+@@ -105,8 +105,8 @@ |
782 |
+ echo "# This file is autogenerated from Makefile.am" >> $$dir/Makefile; \ |
783 |
+ echo 'CFLAGS= -I. -DUNDEF_THREADS_HACK' >>$$dir/Makefile; \ |
784 |
+ echo "obj=$$objs" >>$$dir/Makefile; \ |
785 |
+- echo 'all: libmysql.a' >>$$dir/Makefile; \ |
786 |
+- echo 'libmysql.a: $$(obj)' >>$$dir/Makefile; \ |
787 |
++ echo 'all: libmysql.la' >>$$dir/Makefile; \ |
788 |
++ echo 'libmysql.la: $$(obj)' >>$$dir/Makefile; \ |
789 |
+ echo ' $$(AR) r $$@ $$?' >>$$dir/Makefile; \ |
790 |
+ gtar cvzf $$dir.tar.gz $$dir; \ |
791 |
+ cd $$dir; gmake |
792 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/libmysqld/examples/Makefile.am mysql/libmysqld/examples/Makefile.am |
793 |
+--- mysql.orig/libmysqld/examples/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
794 |
++++ mysql/libmysqld/examples/Makefile.am 2012-04-01 10:47:50.436941900 -0700 |
795 |
+@@ -35,12 +35,12 @@ |
796 |
+ -I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \ |
797 |
+ $(openssl_includes) |
798 |
+ LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@ $(yassl_libs) |
799 |
+-LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS) \ |
800 |
++LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.la @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS) \ |
801 |
+ @NDB_SCI_LIBS@ |
802 |
+ |
803 |
+ mysqltest_embedded_LINK = $(CXXLINK) |
804 |
+ mysqltest_embedded_SOURCES = mysqltest.c |
805 |
+-mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a |
806 |
++mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.la |
807 |
+ |
808 |
+ mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \ |
809 |
+ my_readline.h sql_string.h completion_hash.h |
810 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/libmysqld/Makefile.am mysql/libmysqld/Makefile.am |
811 |
+--- mysql.orig/libmysqld/Makefile.am 2012-03-02 06:04:08.000000000 -0800 |
812 |
++++ mysql/libmysqld/Makefile.am 2012-04-01 10:47:50.436941900 -0700 |
813 |
+@@ -33,10 +33,10 @@ |
814 |
+ -I$(top_srcdir)/regex \ |
815 |
+ $(openssl_includes) @ZLIB_INCLUDES@ |
816 |
+ |
817 |
+-noinst_LIBRARIES = libmysqld_int.a |
818 |
+-pkglib_LIBRARIES = libmysqld.a |
819 |
++noinst_LTLIBRARIES = libmysqld_int.la |
820 |
++pkglib_LTLIBRARIES = libmysqld.la |
821 |
+ SUBDIRS = . examples |
822 |
+-libmysqld_sources= libmysqld.c lib_sql.cc emb_qcache.cc |
823 |
++#libmysqld_sources= libmysqld.c lib_sql.cc emb_qcache.cc |
824 |
+ libmysqlsources = errmsg.c get_password.c libmysql.c client.c pack.c \ |
825 |
+ my_time.c |
826 |
+ sqlexamplessources = ha_example.cc ha_tina.cc |
827 |
+@@ -68,50 +68,22 @@ |
828 |
+ parse_file.cc sql_view.cc sql_trigger.cc my_decimal.cc \ |
829 |
+ ha_blackhole.cc ha_archive.cc my_user.c |
830 |
+ |
831 |
+-libmysqld_int_a_SOURCES= $(libmysqld_sources) $(libmysqlsources) $(sqlsources) $(sqlexamplessources) |
832 |
+-libmysqld_a_SOURCES= |
833 |
++libmysqld_int_la_SOURCES= $(libmysqld_sources) $(libmysqlsources) $(sqlsources) $(sqlexamplessources) |
834 |
++#libmysqld_la_SOURCES= |
835 |
++libmysqld_la_SOURCES= libmysqld.c lib_sql.cc emb_qcache.cc |
836 |
+ |
837 |
+ # automake misses these |
838 |
+ sql_yacc.cc sql_yacc.h: $(top_srcdir)/sql/sql_yacc.yy |
839 |
+ |
840 |
+-# The following libraries should be included in libmysqld.a |
841 |
+-INC_LIB= $(top_builddir)/regex/libregex.a \ |
842 |
+- $(top_builddir)/myisam/libmyisam.a \ |
843 |
+- $(top_builddir)/myisammrg/libmyisammrg.a \ |
844 |
+- $(top_builddir)/heap/libheap.a \ |
845 |
+- @innodb_libs@ @bdb_libs_with_path@ \ |
846 |
+- $(top_builddir)/mysys/libmysys.a \ |
847 |
+- $(top_builddir)/strings/libmystrings.a \ |
848 |
+- $(top_builddir)/dbug/libdbug.a \ |
849 |
+- $(top_builddir)/vio/libvio.a @NDB_SCI_LIBS@ |
850 |
+- |
851 |
+- |
852 |
+-# |
853 |
+-# To make it easy for the end user to use the embedded library we |
854 |
+-# generate a total libmysqld.a from all library files, |
855 |
+- |
856 |
+-# note - InnoDB libraries have circular dependencies, so in INC_LIB |
857 |
+-# few libraries are present two times. Metrowerks linker doesn't like |
858 |
+-# it at all. Traditional ar has no problems with it, but still there's no |
859 |
+-# need to add the same file twice to the library, so 'sort -u' save us |
860 |
+-# some time and spares unnecessary work. |
861 |
+- |
862 |
+-libmysqld.a: libmysqld_int.a $(INC_LIB) |
863 |
+-if DARWIN_MWCC |
864 |
+- mwld -lib -o $@ libmysqld_int.a `echo $(INC_LIB) | sort -u` |
865 |
+-else |
866 |
+- -rm -f libmysqld.a |
867 |
+- if test "$(host_os)" = "netware" ; \ |
868 |
+- then \ |
869 |
+- $(libmysqld_a_AR) libmysqld.a libmysqld_int.a $(INC_LIB) ; \ |
870 |
+- else \ |
871 |
+- for arc in ./libmysqld_int.a $(INC_LIB); do \ |
872 |
+- arpath=`echo $$arc|sed 's|[^/]*$$||'`; \ |
873 |
+- $(AR) t $$arc|sed "s|^|$$arpath|"; \ |
874 |
+- done | sort -u | xargs $(AR) cq libmysqld.a ; \ |
875 |
+- $(RANLIB) libmysqld.a ; \ |
876 |
+- fi |
877 |
+-endif |
878 |
++# The following libraries should be included in libmysqld.la |
879 |
++libmysqld_la_LIBADD= $(top_builddir)/regex/libregex.la \ |
880 |
++ $(top_builddir)/myisam/libmyisam.la \ |
881 |
++ $(top_builddir)/myisammrg/libmyisammrg.la \ |
882 |
++ $(top_builddir)/heap/libheap.la \ |
883 |
++ $(top_builddir)/innobase/libinnobase.la @bdb_libs_with_path@ \ |
884 |
++ $(top_builddir)/mysys/libmysys.la \ |
885 |
++ $(top_builddir)/vio/libvio.la @NDB_SCI_LIBS@ \ |
886 |
++ libmysqld_int.la |
887 |
+ |
888 |
+ ## XXX: any time the client interface changes, we'll need to bump |
889 |
+ ## the version info for libmysqld; however, it's possible for the |
890 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/myisam/Makefile.am mysql/myisam/Makefile.am |
891 |
+--- mysql.orig/myisam/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
892 |
++++ mysql/myisam/Makefile.am 2012-04-01 10:47:50.436941900 -0700 |
893 |
+@@ -16,27 +16,27 @@ |
894 |
+ EXTRA_DIST = mi_test_all.sh mi_test_all.res ft_stem.c CMakeLists.txt |
895 |
+ pkgdata_DATA = mi_test_all mi_test_all.res |
896 |
+ |
897 |
+-INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include |
898 |
+-LDADD = @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ |
899 |
+- $(top_builddir)/mysys/libmysys.a \ |
900 |
+- $(top_builddir)/dbug/libdbug.a \ |
901 |
+- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ |
902 |
+-pkglib_LIBRARIES = libmyisam.a |
903 |
++INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ |
904 |
++ -I$(top_builddir)/sql -I$(top_srcdir)/sql |
905 |
++LDADD = @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ |
906 |
++ $(top_builddir)/mysys/libmysys.la \ |
907 |
++ $(ZLIB_LIBS) |
908 |
++noinst_LTLIBRARIES = libmyisam.la |
909 |
+ bin_PROGRAMS = myisamchk myisamlog myisampack myisam_ftdump |
910 |
+-myisamchk_DEPENDENCIES= $(LIBRARIES) |
911 |
+-myisamlog_DEPENDENCIES= $(LIBRARIES) |
912 |
+-myisampack_DEPENDENCIES=$(LIBRARIES) |
913 |
++myisamchk_DEPENDENCIES= $(LTLIBRARIES) |
914 |
++myisamlog_DEPENDENCIES= $(LTLIBRARIES) |
915 |
++myisampack_DEPENDENCIES=$(LTLIBRARIES) |
916 |
+ noinst_PROGRAMS = mi_test1 mi_test2 mi_test3 rt_test sp_test #ft_test1 ft_eval |
917 |
+ noinst_HEADERS = myisamdef.h rt_index.h rt_key.h rt_mbr.h sp_defs.h fulltext.h ftdefs.h ft_test1.h ft_eval.h |
918 |
+-mi_test1_DEPENDENCIES= $(LIBRARIES) |
919 |
+-mi_test2_DEPENDENCIES= $(LIBRARIES) |
920 |
+-mi_test3_DEPENDENCIES= $(LIBRARIES) |
921 |
+-#ft_test1_DEPENDENCIES= $(LIBRARIES) |
922 |
+-#ft_eval_DEPENDENCIES= $(LIBRARIES) |
923 |
+-myisam_ftdump_DEPENDENCIES= $(LIBRARIES) |
924 |
+-rt_test_DEPENDENCIES= $(LIBRARIES) |
925 |
+-sp_test_DEPENDENCIES= $(LIBRARIES) |
926 |
+-libmyisam_a_SOURCES = mi_open.c mi_extra.c mi_info.c mi_rkey.c \ |
927 |
++mi_test1_DEPENDENCIES= $(LTLIBRARIES) |
928 |
++mi_test2_DEPENDENCIES= $(LTLIBRARIES) |
929 |
++mi_test3_DEPENDENCIES= $(LTLIBRARIES) |
930 |
++#ft_test1_DEPENDENCIES= $(LTLIBRARIES) |
931 |
++#ft_eval_DEPENDENCIES= $(LTLIBRARIES) |
932 |
++myisam_ftdump_DEPENDENCIES= $(LTLIBRARIES) |
933 |
++rt_test_DEPENDENCIES= $(LTLIBRARIES) |
934 |
++sp_test_DEPENDENCIES= $(LTLIBRARIES) |
935 |
++libmyisam_la_SOURCES = mi_open.c mi_extra.c mi_info.c mi_rkey.c \ |
936 |
+ mi_rnext.c mi_rnext_same.c \ |
937 |
+ mi_search.c mi_page.c mi_key.c mi_locking.c \ |
938 |
+ mi_rrnd.c mi_scan.c mi_cache.c \ |
939 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/myisammrg/Makefile.am mysql/myisammrg/Makefile.am |
940 |
+--- mysql.orig/myisammrg/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
941 |
++++ mysql/myisammrg/Makefile.am 2012-04-01 10:47:50.437941915 -0700 |
942 |
+@@ -14,9 +14,9 @@ |
943 |
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
944 |
+ |
945 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include |
946 |
+-pkglib_LIBRARIES = libmyisammrg.a |
947 |
++noinst_LTLIBRARIES = libmyisammrg.la |
948 |
+ noinst_HEADERS = myrg_def.h |
949 |
+-libmyisammrg_a_SOURCES = myrg_open.c myrg_extra.c myrg_info.c myrg_locking.c \ |
950 |
++libmyisammrg_la_SOURCES = myrg_open.c myrg_extra.c myrg_info.c myrg_locking.c \ |
951 |
+ myrg_rrnd.c myrg_update.c myrg_delete.c myrg_rsame.c \ |
952 |
+ myrg_panic.c myrg_close.c myrg_create.c myrg_static.c \ |
953 |
+ myrg_rkey.c myrg_rfirst.c myrg_rlast.c myrg_rnext.c \ |
954 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/mysys/Makefile.am mysql/mysys/Makefile.am |
955 |
+--- mysql.orig/mysys/Makefile.am 2012-03-02 06:04:08.000000000 -0800 |
956 |
++++ mysql/mysys/Makefile.am 2012-04-01 10:51:23.928012030 -0700 |
957 |
+@@ -18,11 +18,9 @@ |
958 |
+ MYSQLBASEdir= $(prefix) |
959 |
+ INCLUDES = @ZLIB_INCLUDES@ -I$(top_builddir)/include \ |
960 |
+ -I$(top_srcdir)/include -I$(srcdir) |
961 |
+-pkglib_LIBRARIES = libmysys.a |
962 |
+-LDADD = libmysys.a ../dbug/libdbug.a \ |
963 |
+- ../strings/libmystrings.a |
964 |
++pkglib_LTLIBRARIES = libmysys.la |
965 |
+ noinst_HEADERS = mysys_priv.h my_static.h |
966 |
+-libmysys_a_SOURCES = my_init.c my_getwd.c mf_getdate.c my_mmap.c \ |
967 |
++libmysys_la_SOURCES = my_init.c my_getwd.c mf_getdate.c my_mmap.c \ |
968 |
+ mf_path.c mf_loadpath.c my_file.c \ |
969 |
+ my_open.c my_create.c my_dup.c my_seek.c my_read.c \ |
970 |
+ my_pread.c my_write.c my_getpagesize.c \ |
971 |
+@@ -51,16 +49,21 @@ |
972 |
+ charset.c charset-def.c my_bitmap.c my_bit.c md5.c \ |
973 |
+ rijndael.c my_aes.c sha1.c \ |
974 |
+ my_netware.c my_largepage.c \ |
975 |
+- my_memmem.c \ |
976 |
+- my_windac.c my_access.c base64.c my_libwrap.c |
977 |
++ my_memmem.c my_windac.c my_access.c base64.c \ |
978 |
++ my_libwrap.c |
979 |
++libmysys_la_LIBADD = $(top_builddir)/dbug/libdbug.la $(top_builddir)/strings/libmystrings.la \ |
980 |
++ $(ZLIB_LIBS) |
981 |
++if NEED_THREADS |
982 |
++libmysys_la_SOURCES += thr_alarm.c thr_lock.c thr_mutex.c thr_rwlock.c my_pthread.c my_thr_init.c |
983 |
++endif |
984 |
++ |
985 |
+ EXTRA_DIST = thr_alarm.c thr_lock.c my_pthread.c my_thr_init.c \ |
986 |
+ thr_mutex.c thr_rwlock.c mf_soundex.c my_conio.c \ |
987 |
+ my_wincond.c my_winthread.c CMakeLists.txt |
988 |
+-libmysys_a_LIBADD = @THREAD_LOBJECTS@ |
989 |
+-# test_dir_DEPENDENCIES= $(LIBRARIES) |
990 |
+-# testhash_DEPENDENCIES= $(LIBRARIES) |
991 |
+-# test_charset_DEPENDENCIES= $(LIBRARIES) |
992 |
+-# charset2html_DEPENDENCIES= $(LIBRARIES) |
993 |
++# test_dir_DEPENDENCIES= $(LTLIBRARIES) |
994 |
++# testhash_DEPENDENCIES= $(LTLIBRARIES) |
995 |
++# test_charset_DEPENDENCIES= $(LTLIBRARIES) |
996 |
++# charset2html_DEPENDENCIES= $(LTLIBRARIES) |
997 |
+ EXTRA_PROGRAMS = |
998 |
+ DEFS = -DDEFAULT_BASEDIR=\"$(prefix)\" \ |
999 |
+ -DMYSQL_DATADIR="\"$(MYSQLDATAdir)\"" \ |
1000 |
+@@ -71,8 +74,6 @@ |
1001 |
+ -DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \ |
1002 |
+ @DEFS@ |
1003 |
+ |
1004 |
+-libmysys_a_DEPENDENCIES= @THREAD_LOBJECTS@ |
1005 |
+- |
1006 |
+ # I hope this always does the right thing. Otherwise this is only test programs |
1007 |
+ FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) @NOINST_LDFLAGS@ |
1008 |
+ |
1009 |
+@@ -81,41 +82,41 @@ |
1010 |
+ # which automaticly removes the object files you use to compile a final program |
1011 |
+ # |
1012 |
+ |
1013 |
+-test_thr_alarm$(EXEEXT): thr_alarm.c $(LIBRARIES) |
1014 |
++test_thr_alarm$(EXEEXT): thr_alarm.c $(LTLIBRARIES) |
1015 |
+ $(CP) $(srcdir)/thr_alarm.c ./test_thr_alarm.c |
1016 |
+ $(LINK) $(FLAGS) -DMAIN ./test_thr_alarm.c $(LDADD) $(LIBS) |
1017 |
+ $(RM) -f ./test_thr_alarm.c |
1018 |
+ |
1019 |
+-test_thr_lock$(EXEEXT): thr_lock.c $(LIBRARIES) |
1020 |
++test_thr_lock$(EXEEXT): thr_lock.c $(LTLIBRARIES) |
1021 |
+ $(CP) $(srcdir)/thr_lock.c test_thr_lock.c |
1022 |
+ $(LINK) $(FLAGS) -DMAIN ./test_thr_lock.c $(LDADD) $(LIBS) |
1023 |
+ $(RM) -f ./test_thr_lock.c |
1024 |
+ |
1025 |
+-test_vsnprintf$(EXEEXT): my_vsnprintf.c $(LIBRARIES) |
1026 |
++test_vsnprintf$(EXEEXT): my_vsnprintf.c $(LTLIBRARIES) |
1027 |
+ $(CP) $(srcdir)/my_vsnprintf.c test_vsnprintf.c |
1028 |
+ $(LINK) $(FLAGS) -DMAIN ./test_vsnprintf.c $(LDADD) $(LIBS) |
1029 |
+ $(RM) -f test_vsnprintf.c |
1030 |
+ |
1031 |
+-test_io_cache$(EXEEXT): mf_iocache.c $(LIBRARIES) |
1032 |
++test_io_cache$(EXEEXT): mf_iocache.c $(LTLIBRARIES) |
1033 |
+ $(CP) $(srcdir)/mf_iocache.c test_io_cache.c |
1034 |
+ $(LINK) $(FLAGS) -DMAIN ./test_io_cache.c $(LDADD) $(LIBS) |
1035 |
+ $(RM) -f test_io_cache.c |
1036 |
+ |
1037 |
+-test_dir$(EXEEXT): test_dir.c $(LIBRARIES) |
1038 |
++test_dir$(EXEEXT): test_dir.c $(LTLIBRARIES) |
1039 |
+ $(LINK) $(FLAGS) -DMAIN $(srcdir)/test_dir.c $(LDADD) $(LIBS) |
1040 |
+ |
1041 |
+-test_charset$(EXEEXT): test_charset.c $(LIBRARIES) |
1042 |
++test_charset$(EXEEXT): test_charset.c $(LTLIBRARIES) |
1043 |
+ $(LINK) $(FLAGS) -DMAIN $(srcdir)/test_charset.c $(LDADD) $(LIBS) |
1044 |
+ |
1045 |
+-testhash$(EXEEXT): testhash.c $(LIBRARIES) |
1046 |
++testhash$(EXEEXT): testhash.c $(LTLIBRARIES) |
1047 |
+ $(LINK) $(FLAGS) -DMAIN $(srcdir)/testhash.c $(LDADD) $(LIBS) |
1048 |
+ |
1049 |
+-test_gethwaddr$(EXEEXT): my_gethwaddr.c $(LIBRARIES) |
1050 |
++test_gethwaddr$(EXEEXT): my_gethwaddr.c $(LTLIBRARIES) |
1051 |
+ $(CP) $(srcdir)/my_gethwaddr.c ./test_gethwaddr.c |
1052 |
+ $(LINK) $(FLAGS) -DMAIN ./test_gethwaddr.c $(LDADD) $(LIBS) |
1053 |
+ $(RM) -f ./test_gethwaddr.c |
1054 |
+ |
1055 |
+-test_base64$(EXEEXT): base64.c $(LIBRARIES) |
1056 |
++test_base64$(EXEEXT): base64.c $(LTLIBRARIES) |
1057 |
+ $(CP) $(srcdir)/base64.c ./test_base64.c |
1058 |
+ $(LINK) $(FLAGS) -DMAIN ./test_base64.c $(LDADD) $(LIBS) |
1059 |
+ $(RM) -f ./test_base64.c |
1060 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/config/type_ndbapitest.mk.am mysql/ndb/config/type_ndbapitest.mk.am |
1061 |
+--- mysql.orig/ndb/config/type_ndbapitest.mk.am 2012-03-02 06:04:13.000000000 -0800 |
1062 |
++++ mysql/ndb/config/type_ndbapitest.mk.am 2012-04-01 10:47:50.443942002 -0700 |
1063 |
+@@ -15,9 +15,9 @@ |
1064 |
+ |
1065 |
+ LDADD += $(top_builddir)/ndb/test/src/libNDBT.a \ |
1066 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1067 |
+- $(top_builddir)/dbug/libdbug.a \ |
1068 |
+- $(top_builddir)/mysys/libmysys.a \ |
1069 |
+- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ |
1070 |
++ $(top_builddir)/dbug/libdbug.la \ |
1071 |
++ $(top_builddir)/mysys/libmysys.la \ |
1072 |
++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ |
1073 |
+ |
1074 |
+ INCLUDES += -I$(top_srcdir) \ |
1075 |
+ -I$(top_builddir)/include \ |
1076 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/config/type_ndbapitools.mk.am mysql/ndb/config/type_ndbapitools.mk.am |
1077 |
+--- mysql.orig/ndb/config/type_ndbapitools.mk.am 2012-03-02 06:04:13.000000000 -0800 |
1078 |
++++ mysql/ndb/config/type_ndbapitools.mk.am 2012-04-01 10:47:50.443942002 -0700 |
1079 |
+@@ -15,9 +15,9 @@ |
1080 |
+ |
1081 |
+ LDADD += \ |
1082 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1083 |
+- $(top_builddir)/dbug/libdbug.a \ |
1084 |
+- $(top_builddir)/mysys/libmysys.a \ |
1085 |
+- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ |
1086 |
++ $(top_builddir)/dbug/libdbug.la \ |
1087 |
++ $(top_builddir)/mysys/libmysys.la \ |
1088 |
++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ |
1089 |
+ |
1090 |
+ INCLUDES += -I$(srcdir) \ |
1091 |
+ -I$(top_builddir)/include \ |
1092 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/config/win-libraries mysql/ndb/config/win-libraries |
1093 |
+--- mysql.orig/ndb/config/win-libraries 2012-03-02 06:04:08.000000000 -0800 |
1094 |
++++ mysql/ndb/config/win-libraries 2012-04-01 10:47:50.443942002 -0700 |
1095 |
+@@ -36,7 +36,7 @@ |
1096 |
+ # the same goes for mysys and strings |
1097 |
+ lib=$i |
1098 |
+ case $i in |
1099 |
+- *libdbug.a | *libmysys.a | *libmystrings.a) |
1100 |
++ *libdbug.la | *libmysys.la | *libmystrings.la) |
1101 |
+ lib=`echo $i | sed s'!dbug\/lib!!' | sed 's!mysys\/lib!!' | sed 's!strings\/libmy!!'` |
1102 |
+ echo "Changing from $i to $lib" |
1103 |
+ ;; |
1104 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/src/common/util/Makefile.am mysql/ndb/src/common/util/Makefile.am |
1105 |
+--- mysql.orig/ndb/src/common/util/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1106 |
++++ mysql/ndb/src/common/util/Makefile.am 2012-04-01 10:47:50.441941973 -0700 |
1107 |
+@@ -31,9 +31,9 @@ |
1108 |
+ testBitmask_SOURCES = testBitmask.cpp |
1109 |
+ testBitmask_LDFLAGS = @ndb_bin_am_ldflags@ \ |
1110 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1111 |
+- $(top_builddir)/dbug/libdbug.a \ |
1112 |
+- $(top_builddir)/mysys/libmysys.a \ |
1113 |
+- $(top_builddir)/strings/libmystrings.a |
1114 |
++ $(top_builddir)/dbug/libdbug.la \ |
1115 |
++ $(top_builddir)/mysys/libmysys.la \ |
1116 |
++ $(top_builddir)/strings/libmystrings.la |
1117 |
+ |
1118 |
+ testBitmask.cpp : Bitmask.cpp |
1119 |
+ rm -f testBitmask.cpp |
1120 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/src/cw/cpcd/Makefile.am mysql/ndb/src/cw/cpcd/Makefile.am |
1121 |
+--- mysql.orig/ndb/src/cw/cpcd/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1122 |
++++ mysql/ndb/src/cw/cpcd/Makefile.am 2012-04-01 10:47:50.442941987 -0700 |
1123 |
+@@ -19,9 +19,9 @@ |
1124 |
+ |
1125 |
+ LDADD_LOC = \ |
1126 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1127 |
+- $(top_builddir)/dbug/libdbug.a \ |
1128 |
+- $(top_builddir)/mysys/libmysys.a \ |
1129 |
+- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ |
1130 |
++ $(top_builddir)/dbug/libdbug.la \ |
1131 |
++ $(top_builddir)/mysys/libmysys.la \ |
1132 |
++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ |
1133 |
+ |
1134 |
+ include $(top_srcdir)/ndb/config/common.mk.am |
1135 |
+ include $(top_srcdir)/ndb/config/type_util.mk.am |
1136 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/src/kernel/blocks/dbdict/Makefile.am mysql/ndb/src/kernel/blocks/dbdict/Makefile.am |
1137 |
+--- mysql.orig/ndb/src/kernel/blocks/dbdict/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1138 |
++++ mysql/ndb/src/kernel/blocks/dbdict/Makefile.am 2012-04-01 10:47:50.442941987 -0700 |
1139 |
+@@ -26,9 +26,9 @@ |
1140 |
+ LDADD += \ |
1141 |
+ $(top_builddir)/ndb/src/common/util/libgeneral.la \ |
1142 |
+ $(top_builddir)/ndb/src/common/portlib/libportlib.la \ |
1143 |
+- $(top_builddir)/dbug/libdbug.a \ |
1144 |
+- $(top_builddir)/mysys/libmysys.a \ |
1145 |
+- $(top_builddir)/strings/libmystrings.a |
1146 |
++ $(top_builddir)/dbug/libdbug.la \ |
1147 |
++ $(top_builddir)/mysys/libmysys.la \ |
1148 |
++ $(top_builddir)/strings/libmystrings.la |
1149 |
+ |
1150 |
+ # Don't update the files from bitkeeper |
1151 |
+ %::SCCS/s.% |
1152 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/src/kernel/Makefile.am mysql/ndb/src/kernel/Makefile.am |
1153 |
+--- mysql.orig/ndb/src/kernel/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1154 |
++++ mysql/ndb/src/kernel/Makefile.am 2012-04-01 10:47:50.442941987 -0700 |
1155 |
+@@ -66,9 +66,9 @@ |
1156 |
+ $(top_builddir)/ndb/src/mgmapi/libmgmapi.la \ |
1157 |
+ $(top_builddir)/ndb/src/common/portlib/libportlib.la \ |
1158 |
+ $(top_builddir)/ndb/src/common/util/libgeneral.la \ |
1159 |
+- $(top_builddir)/dbug/libdbug.a \ |
1160 |
+- $(top_builddir)/mysys/libmysys.a \ |
1161 |
+- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ |
1162 |
++ $(top_builddir)/dbug/libdbug.la \ |
1163 |
++ $(top_builddir)/mysys/libmysys.la \ |
1164 |
++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ |
1165 |
+ |
1166 |
+ # Don't update the files from bitkeeper |
1167 |
+ %::SCCS/s.% |
1168 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/src/mgmclient/Makefile.am mysql/ndb/src/mgmclient/Makefile.am |
1169 |
+--- mysql.orig/ndb/src/mgmclient/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1170 |
++++ mysql/ndb/src/mgmclient/Makefile.am 2012-04-01 10:47:50.442941987 -0700 |
1171 |
+@@ -37,9 +37,9 @@ |
1172 |
+ ../common/portlib/libportlib.la \ |
1173 |
+ @readline_link@ \ |
1174 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1175 |
+- $(top_builddir)/dbug/libdbug.a \ |
1176 |
+- $(top_builddir)/mysys/libmysys.a \ |
1177 |
+- $(top_builddir)/strings/libmystrings.a \ |
1178 |
++ $(top_builddir)/dbug/libdbug.la \ |
1179 |
++ $(top_builddir)/mysys/libmysys.la \ |
1180 |
++ $(top_builddir)/strings/libmystrings.la \ |
1181 |
+ @TERMCAP_LIB@ @NDB_SCI_LIBS@ |
1182 |
+ |
1183 |
+ ndb_mgm_LDFLAGS = @ndb_bin_am_ldflags@ |
1184 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/src/mgmsrv/Makefile.am mysql/ndb/src/mgmsrv/Makefile.am |
1185 |
+--- mysql.orig/ndb/src/mgmsrv/Makefile.am 2012-03-02 06:04:08.000000000 -0800 |
1186 |
++++ mysql/ndb/src/mgmsrv/Makefile.am 2012-04-01 10:47:50.442941987 -0700 |
1187 |
+@@ -41,9 +41,9 @@ |
1188 |
+ |
1189 |
+ LDADD_LOC = $(top_builddir)/ndb/src/mgmclient/CommandInterpreter.lo \ |
1190 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1191 |
+- $(top_builddir)/dbug/libdbug.a \ |
1192 |
+- $(top_builddir)/mysys/libmysys.a \ |
1193 |
+- $(top_builddir)/strings/libmystrings.a \ |
1194 |
++ $(top_builddir)/dbug/libdbug.la \ |
1195 |
++ $(top_builddir)/mysys/libmysys.la \ |
1196 |
++ $(top_builddir)/strings/libmystrings.la \ |
1197 |
+ @readline_link@ \ |
1198 |
+ @NDB_SCI_LIBS@ \ |
1199 |
+ @TERMCAP_LIB@ |
1200 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/ndb/test/run-test/Makefile.am mysql/ndb/test/run-test/Makefile.am |
1201 |
+--- mysql.orig/ndb/test/run-test/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1202 |
++++ mysql/ndb/test/run-test/Makefile.am 2012-04-01 10:47:50.443942002 -0700 |
1203 |
+@@ -32,9 +32,9 @@ |
1204 |
+ INCLUDES_LOC = -I$(top_srcdir)/ndb/test/include |
1205 |
+ LDADD_LOC = $(top_builddir)/ndb/test/src/libNDBT.a \ |
1206 |
+ $(top_builddir)/ndb/src/libndbclient.la \ |
1207 |
+- $(top_builddir)/dbug/libdbug.a \ |
1208 |
+- $(top_builddir)/mysys/libmysys.a \ |
1209 |
+- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ |
1210 |
++ $(top_builddir)/dbug/libdbug.la \ |
1211 |
++ $(top_builddir)/mysys/libmysys.la \ |
1212 |
++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ |
1213 |
+ |
1214 |
+ wrappersdir=$(prefix)/bin |
1215 |
+ wrappers_SCRIPTS=atrt-testBackup atrt-mysql-test-run |
1216 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/netware/Makefile.am mysql/netware/Makefile.am |
1217 |
+--- mysql.orig/netware/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1218 |
++++ mysql/netware/Makefile.am 2012-04-01 10:47:50.437941915 -0700 |
1219 |
+@@ -16,14 +16,13 @@ |
1220 |
+ |
1221 |
+ if HAVE_NETWARE |
1222 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I.. |
1223 |
+-LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \ |
1224 |
+- ../dbug/libdbug.a ../strings/libmystrings.a |
1225 |
++LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.la |
1226 |
+ bin_PROGRAMS = mysqld_safe mysql_install_db mysql_test_run libmysql |
1227 |
+ mysqld_safe_SOURCES= mysqld_safe.c my_manage.c |
1228 |
+ mysql_install_db_SOURCES= mysql_install_db.c my_manage.c |
1229 |
+ mysql_test_run_SOURCES= mysql_test_run.c my_manage.c |
1230 |
+ libmysql_SOURCES= libmysqlmain.c |
1231 |
+-libmysql_LDADD = ../libmysql/.libs/libmysqlclient.a \ |
1232 |
++libmysql_LDADD = ../libmysql/.libs/libmysqlclient.la \ |
1233 |
+ @openssl_libs@ @yassl_libs@ |
1234 |
+ |
1235 |
+ netware_build_files = client/mysql.def client/mysqladmin.def \ |
1236 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/pstack/Makefile.am mysql/pstack/Makefile.am |
1237 |
+--- mysql.orig/pstack/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1238 |
++++ mysql/pstack/Makefile.am 2012-04-01 10:47:50.438941930 -0700 |
1239 |
+@@ -27,8 +27,8 @@ |
1240 |
+ EXTRA_DIST= $(SRC) |
1241 |
+ |
1242 |
+ if COMPILE_PSTACK |
1243 |
+-pkglib_LIBRARIES = libpstack.a |
1244 |
+-libpstack_a_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c debug.c ieee.c pstack.c stabs.c |
1245 |
++pkglib_LTLIBRARIES = libpstack.la |
1246 |
++libpstack_la_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c debug.c ieee.c pstack.c stabs.c |
1247 |
+ endif |
1248 |
+ |
1249 |
+ # Don't update the files from bitkeeper |
1250 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/regex/Makefile.am mysql/regex/Makefile.am |
1251 |
+--- mysql.orig/regex/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1252 |
++++ mysql/regex/Makefile.am 2012-04-01 10:47:50.439941945 -0700 |
1253 |
+@@ -16,10 +16,10 @@ |
1254 |
+ # MA 02111-1307, USA |
1255 |
+ |
1256 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include |
1257 |
+-noinst_LIBRARIES = libregex.a |
1258 |
+-LDADD= libregex.a $(top_builddir)/strings/libmystrings.a |
1259 |
++noinst_LTLIBRARIES = libregex.la |
1260 |
++LDADD= libregex.la $(top_builddir)/strings/libmystrings.la |
1261 |
+ noinst_HEADERS = cclass.h cname.h regex2.h utils.h engine.c my_regex.h |
1262 |
+-libregex_a_SOURCES = regerror.c regcomp.c regexec.c regfree.c reginit.c |
1263 |
++libregex_la_SOURCES = regerror.c regcomp.c regexec.c regfree.c reginit.c |
1264 |
+ noinst_PROGRAMS = re |
1265 |
+ re_SOURCES = split.c debug.c main.c |
1266 |
+ re_LDFLAGS= @NOINST_LDFLAGS@ |
1267 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/server-tools/instance-manager/Makefile.am mysql/server-tools/instance-manager/Makefile.am |
1268 |
+--- mysql.orig/server-tools/instance-manager/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1269 |
++++ mysql/server-tools/instance-manager/Makefile.am 2012-04-01 10:47:50.439941945 -0700 |
1270 |
+@@ -24,8 +24,7 @@ |
1271 |
+ # default_options.h, generated from default_options.h.in) |
1272 |
+ # See automake/autoconf docs for details |
1273 |
+ |
1274 |
+-noinst_LTLIBRARIES= liboptions.la |
1275 |
+-noinst_LIBRARIES= libnet.a |
1276 |
++noinst_LTLIBRARIES= liboptions.la libnet.la |
1277 |
+ |
1278 |
+ liboptions_la_CXXFLAGS= $(CXXFLAGS) \ |
1279 |
+ -DDEFAULT_PID_FILE_NAME="$(localstatedir)/mysqlmanager.pid" \ |
1280 |
+@@ -37,17 +36,17 @@ |
1281 |
+ -DPROTOCOL_VERSION=@PROTOCOL_VERSION@ |
1282 |
+ |
1283 |
+ liboptions_la_SOURCES= options.h options.cc priv.h priv.cc |
1284 |
+-liboptions_la_LIBADD= $(top_builddir)/libmysql/get_password.lo |
1285 |
++ |
1286 |
++liboptions_la_LIBADD= $(top_builddir)/libmysql/libmysqlclient.la |
1287 |
+ |
1288 |
+ # MySQL sometimes uses symlinks to reuse code |
1289 |
+ # All symlinked files are grouped in libnet.a |
1290 |
+ |
1291 |
+-nodist_libnet_a_SOURCES= net_serv.cc client_settings.h |
1292 |
+-libnet_a_LIBADD= $(top_builddir)/sql/password.$(OBJEXT) \ |
1293 |
+- $(top_builddir)/sql/pack.$(OBJEXT) \ |
1294 |
+- $(top_builddir)/sql/sql_state.$(OBJEXT) \ |
1295 |
+- $(top_builddir)/sql/mini_client_errors.$(OBJEXT)\ |
1296 |
+- $(top_builddir)/sql/client.$(OBJEXT) |
1297 |
++nodist_libnet_la_SOURCES= net_serv.cc client_settings.h \ |
1298 |
++ $(srcdir)/../../sql/password.c $(srcdir)/../../sql/pack.c \ |
1299 |
++ $(srcdir)/../../sql/sql_state.c $(srcdir)/../../sql/mini_client_errors.c \ |
1300 |
++ $(srcdir)/../../sql/client.c |
1301 |
++ |
1302 |
+ |
1303 |
+ CLEANFILES= net_serv.cc client_settings.h |
1304 |
+ |
1305 |
+@@ -79,11 +78,11 @@ |
1306 |
+ portability.h |
1307 |
+ |
1308 |
+ mysqlmanager_LDADD= liboptions.la \ |
1309 |
+- libnet.a \ |
1310 |
+- $(top_builddir)/vio/libvio.a \ |
1311 |
+- $(top_builddir)/mysys/libmysys.a \ |
1312 |
+- $(top_builddir)/strings/libmystrings.a \ |
1313 |
+- $(top_builddir)/dbug/libdbug.a \ |
1314 |
++ libnet.la \ |
1315 |
++ $(top_builddir)/vio/libvio.la \ |
1316 |
++ $(top_builddir)/mysys/libmysys.la \ |
1317 |
++ $(top_builddir)/strings/libmystrings.la \ |
1318 |
++ $(top_builddir)/dbug/libdbug.la \ |
1319 |
+ @openssl_libs@ @yassl_libs@ @ZLIB_LIBS@ |
1320 |
+ |
1321 |
+ |
1322 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/sql/Makefile.am mysql/sql/Makefile.am |
1323 |
+--- mysql.orig/sql/Makefile.am 2012-03-02 06:04:08.000000000 -0800 |
1324 |
++++ mysql/sql/Makefile.am 2012-04-01 10:47:50.440941959 -0700 |
1325 |
+@@ -30,18 +30,17 @@ |
1326 |
+ EXTRA_PROGRAMS = gen_lex_hash |
1327 |
+ bin_PROGRAMS = mysql_tzinfo_to_sql |
1328 |
+ gen_lex_hash_LDFLAGS = @NOINST_LDFLAGS@ |
1329 |
+-LDADD = $(top_builddir)/myisam/libmyisam.a \ |
1330 |
+- $(top_builddir)/myisammrg/libmyisammrg.a \ |
1331 |
+- $(top_builddir)/heap/libheap.a \ |
1332 |
+- $(top_builddir)/vio/libvio.a \ |
1333 |
+- $(top_builddir)/mysys/libmysys.a \ |
1334 |
+- $(top_builddir)/dbug/libdbug.a \ |
1335 |
+- $(top_builddir)/regex/libregex.a \ |
1336 |
+- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ @NDB_SCI_LIBS@ |
1337 |
++LDADD = $(top_builddir)/myisam/libmyisam.la \ |
1338 |
++ $(top_builddir)/myisammrg/libmyisammrg.la \ |
1339 |
++ $(top_builddir)/heap/libheap.la \ |
1340 |
++ $(top_builddir)/vio/libvio.la \ |
1341 |
++ $(top_builddir)/mysys/libmysys.la \ |
1342 |
++ $(top_builddir)/regex/libregex.la \ |
1343 |
++ @ZLIB_LIBS@ @NDB_SCI_LIBS@ |
1344 |
+ |
1345 |
+ mysqld_LDADD = @MYSQLD_EXTRA_LDFLAGS@ \ |
1346 |
+- @bdb_libs@ @innodb_libs@ @pstack_libs@ \ |
1347 |
+- @innodb_system_libs@ \ |
1348 |
++ @bdb_libs@ $(top_builddir)/innobase/libinnobase.la \ |
1349 |
++ @pstack_libs@ @innodb_system_libs@ \ |
1350 |
+ @ndbcluster_libs@ @ndbcluster_system_libs@ \ |
1351 |
+ $(LDADD) $(CXXLDFLAGS) $(WRAPLIBS) @LIBDL@ \ |
1352 |
+ $(yassl_libs) $(openssl_libs) @MYSQLD_EXTRA_LIBS@ |
1353 |
+@@ -53,45 +52,36 @@ |
1354 |
+ procedure.h sql_class.h sql_lex.h sql_list.h \ |
1355 |
+ sql_manager.h sql_map.h sql_string.h unireg.h \ |
1356 |
+ sql_error.h field.h handler.h mysqld_suffix.h \ |
1357 |
+- sql_profile.h \ |
1358 |
+- ha_myisammrg.h\ |
1359 |
+- ha_heap.h ha_myisam.h ha_berkeley.h ha_innodb.h \ |
1360 |
+- ha_ndbcluster.h ha_ndbcluster_cond.h \ |
1361 |
+- opt_range.h protocol.h \ |
1362 |
+- sql_select.h structs.h table.h sql_udf.h hash_filo.h\ |
1363 |
+- lex.h lex_symbol.h sql_acl.h sql_crypt.h \ |
1364 |
+- log_event.h sql_repl.h slave.h \ |
1365 |
+- stacktrace.h sql_sort.h sql_cache.h set_var.h \ |
1366 |
+- spatial.h gstream.h client_settings.h tzfile.h \ |
1367 |
+- tztime.h my_decimal.h\ |
1368 |
++ sql_profile.h ha_heap.h ha_berkeley.h ha_innodb.h \ |
1369 |
++ ha_ndbcluster.h ha_ndbcluster_cond.h opt_range.h \ |
1370 |
++ protocol.h sql_select.h structs.h table.h sql_udf.h \ |
1371 |
++ hash_filo.h lex.h lex_symbol.h sql_acl.h sql_crypt.h \ |
1372 |
++ log_event.h sql_repl.h slave.h stacktrace.h sql_sort.h \ |
1373 |
++ sql_cache.h set_var.h spatial.h gstream.h \ |
1374 |
++ client_settings.h tzfile.h tztime.h my_decimal.h \ |
1375 |
+ sp_head.h sp_pcontext.h sp_rcontext.h sp.h sp_cache.h \ |
1376 |
+ parse_file.h sql_view.h sql_trigger.h \ |
1377 |
+- sql_array.h sql_cursor.h \ |
1378 |
+- examples/ha_example.h ha_archive.h \ |
1379 |
+- examples/ha_tina.h ha_blackhole.h \ |
1380 |
++ sql_array.h sql_cursor.h examples/ha_example.h \ |
1381 |
++ ha_archive.h examples/ha_tina.h ha_blackhole.h \ |
1382 |
+ ha_federated.h |
1383 |
+-mysqld_SOURCES = sql_lex.cc sql_handler.cc \ |
1384 |
+- item.cc item_sum.cc item_buff.cc item_func.cc \ |
1385 |
+- item_cmpfunc.cc item_strfunc.cc item_timefunc.cc \ |
1386 |
+- thr_malloc.cc item_create.cc item_subselect.cc \ |
1387 |
+- item_row.cc item_geofunc.cc \ |
1388 |
+- field.cc strfunc.cc key.cc sql_class.cc sql_list.cc \ |
1389 |
+- net_serv.cc protocol.cc sql_state.c \ |
1390 |
+- lock.cc my_lock.c \ |
1391 |
+- sql_string.cc sql_manager.cc sql_map.cc \ |
1392 |
+- mysqld.cc password.c hash_filo.cc hostname.cc \ |
1393 |
+- set_var.cc sql_parse.cc sql_yacc.yy \ |
1394 |
+- sql_base.cc table.cc sql_select.cc sql_insert.cc \ |
1395 |
+- sql_prepare.cc sql_error.cc sql_locale.cc \ |
1396 |
+- sql_profile.cc \ |
1397 |
+- sql_update.cc sql_delete.cc uniques.cc sql_do.cc \ |
1398 |
+- procedure.cc item_uniq.cc sql_test.cc \ |
1399 |
+- log.cc log_event.cc init.cc derror.cc sql_acl.cc \ |
1400 |
+- unireg.cc des_key_file.cc \ |
1401 |
+- discover.cc time.cc opt_range.cc opt_sum.cc \ |
1402 |
+- records.cc filesort.cc handler.cc \ |
1403 |
+- ha_heap.cc ha_myisam.cc ha_myisammrg.cc \ |
1404 |
+- ha_berkeley.cc ha_innodb.cc \ |
1405 |
++mysqld_SOURCES = sql_lex.cc sql_handler.cc item.cc item_sum.cc \ |
1406 |
++ item_buff.cc item_func.cc item_cmpfunc.cc \ |
1407 |
++ item_strfunc.cc item_timefunc.cc thr_malloc.cc \ |
1408 |
++ item_create.cc item_subselect.cc item_row.cc \ |
1409 |
++ item_geofunc.cc field.cc strfunc.cc key.cc \ |
1410 |
++ sql_class.cc sql_list.cc net_serv.cc protocol.cc \ |
1411 |
++ sql_state.c lock.cc my_lock.c sql_string.cc \ |
1412 |
++ sql_manager.cc sql_map.cc mysqld.cc password.c \ |
1413 |
++ hash_filo.cc hostname.cc set_var.cc sql_parse.cc \ |
1414 |
++ sql_yacc.yy sql_base.cc table.cc sql_select.cc \ |
1415 |
++ sql_insert.cc sql_prepare.cc sql_error.cc \ |
1416 |
++ sql_locale.cc sql_profile.cc sql_update.cc \ |
1417 |
++ sql_delete.cc uniques.cc sql_do.cc procedure.cc \ |
1418 |
++ item_uniq.cc sql_test.cc log.cc log_event.cc \ |
1419 |
++ init.cc derror.cc sql_acl.cc unireg.cc \ |
1420 |
++ des_key_file.cc discover.cc time.cc opt_range.cc \ |
1421 |
++ opt_sum.cc records.cc filesort.cc handler.cc \ |
1422 |
++ ha_heap.cc ha_berkeley.cc ha_innodb.cc \ |
1423 |
+ ha_ndbcluster.cc ha_ndbcluster_cond.cc \ |
1424 |
+ sql_db.cc sql_table.cc sql_rename.cc sql_crypt.cc \ |
1425 |
+ sql_load.cc mf_iocache.cc field_conv.cc sql_show.cc \ |
1426 |
+@@ -99,14 +89,13 @@ |
1427 |
+ slave.cc sql_repl.cc sql_union.cc sql_derived.cc \ |
1428 |
+ client.c sql_client.cc mini_client_errors.c pack.c\ |
1429 |
+ stacktrace.c repl_failsafe.h repl_failsafe.cc \ |
1430 |
+- sql_olap.cc sql_view.cc \ |
1431 |
+- gstream.cc spatial.cc sql_help.cc sql_cursor.cc \ |
1432 |
+- tztime.cc my_time.c my_user.c my_decimal.cc\ |
1433 |
+- sp_head.cc sp_pcontext.cc sp_rcontext.cc sp.cc \ |
1434 |
+- sp_cache.cc parse_file.cc sql_trigger.cc \ |
1435 |
+- examples/ha_example.cc ha_archive.cc \ |
1436 |
+- examples/ha_tina.cc ha_blackhole.cc \ |
1437 |
+- ha_federated.cc |
1438 |
++ sql_olap.cc sql_view.cc gstream.cc spatial.cc \ |
1439 |
++ sql_help.cc sql_cursor.cc tztime.cc my_time.c \ |
1440 |
++ my_user.c my_decimal.cc sp_head.cc sp_pcontext.cc \ |
1441 |
++ sp_rcontext.cc sp.cc sp_cache.cc parse_file.cc \ |
1442 |
++ sql_trigger.cc examples/ha_example.cc ha_archive.cc \ |
1443 |
++ examples/ha_tina.cc ha_blackhole.cc ha_federated.cc \ |
1444 |
++ ha_myisam.cc ha_myisammrg.cc |
1445 |
+ |
1446 |
+ gen_lex_hash_SOURCES = gen_lex_hash.cc |
1447 |
+ gen_lex_hash_LDADD = $(LDADD) $(CXXLDFLAGS) |
1448 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/strings/Makefile.am mysql/strings/Makefile.am |
1449 |
+--- mysql.orig/strings/Makefile.am 2012-03-02 06:04:08.000000000 -0800 |
1450 |
++++ mysql/strings/Makefile.am 2012-04-01 10:47:50.440941959 -0700 |
1451 |
+@@ -17,7 +17,7 @@ |
1452 |
+ # This file is public domain and comes with NO WARRANTY of any kind |
1453 |
+ |
1454 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include |
1455 |
+-pkglib_LIBRARIES = libmystrings.a |
1456 |
++noinst_LTLIBRARIES = libmystrings.la |
1457 |
+ |
1458 |
+ # Exact one of ASSEMBLER_X |
1459 |
+ if ASSEMBLER_x86 |
1460 |
+@@ -38,7 +38,7 @@ |
1461 |
+ endif |
1462 |
+ endif |
1463 |
+ |
1464 |
+-libmystrings_a_SOURCES = $(ASRCS) $(CSRCS) |
1465 |
++libmystrings_la_SOURCES = $(ASRCS) $(CSRCS) |
1466 |
+ noinst_PROGRAMS = conf_to_src |
1467 |
+ # Default charset definitions |
1468 |
+ EXTRA_DIST = ctype-big5.c ctype-cp932.c ctype-czech.c ctype-eucjpms.c ctype-euc_kr.c ctype-win1250ch.c \ |
1469 |
+@@ -55,25 +55,25 @@ |
1470 |
+ strnmov-sparc.s strstr-sparc.s strxmov-sparc.s \ |
1471 |
+ t_ctype.h CMakeLists.txt CHARSET_INFO.txt |
1472 |
+ |
1473 |
+-libmystrings_a_LIBADD= |
1474 |
+-conf_to_src_SOURCES = conf_to_src.c xml.c ctype.c bcmp.c |
1475 |
+-conf_to_src_LDADD= |
1476 |
++libmystrings_la_LIBADD= |
1477 |
++conf_to_src_SOURCES = conf_to_src.c |
1478 |
++conf_to_src_LDADD = libmystrings.la |
1479 |
+ #force static linking of conf_to_src - essential when linking against |
1480 |
+ #custom installation of libc |
1481 |
+-conf_to_src_LDFLAGS= @NOINST_LDFLAGS@ |
1482 |
++#conf_to_src_LDFLAGS= @NOINST_LDFLAGS@ |
1483 |
+ |
1484 |
+ # This is because the dependency tracking misses @FOO@ vars in sources. |
1485 |
+ #strtoull.o: @CHARSET_OBJS@ |
1486 |
+ |
1487 |
+ |
1488 |
+-FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) @NOINST_LDFLAGS@ |
1489 |
++FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
1490 |
+ |
1491 |
+-str_test: str_test.c $(pkglib_LIBRARIES) |
1492 |
+- $(LINK) $(FLAGS) -DMAIN $(INCLUDES) $(srcdir)/str_test.c $(LDADD) $(pkglib_LIBRARIES) |
1493 |
++str_test: str_test.c $(pkglib_LTLIBRARIES) |
1494 |
++ $(LINK) $(FLAGS) -DMAIN $(INCLUDES) $(srcdir)/str_test.c $(LDADD) $(pkglib_LTLIBRARIES) |
1495 |
+ |
1496 |
+-test_decimal$(EXEEXT): decimal.c $(pkglib_LIBRARIES) |
1497 |
++test_decimal$(EXEEXT): decimal.c $(pkglib_LTLIBRARIES) |
1498 |
+ $(CP) $(srcdir)/decimal.c ./test_decimal.c |
1499 |
+- $(LINK) $(FLAGS) -DMAIN ./test_decimal.c $(LDADD) $(pkglib_LIBRARIES) |
1500 |
++ $(LINK) $(FLAGS) -DMAIN ./test_decimal.c $(LDADD) $(pkglib_LTLIBRARIES) |
1501 |
+ $(RM) -f ./test_decimal.c |
1502 |
+ |
1503 |
+ # Don't update the files from bitkeeper |
1504 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/strings/strings-x86.s mysql/strings/strings-x86.s |
1505 |
+--- mysql.orig/strings/strings-x86.s 2012-03-02 06:04:13.000000000 -0800 |
1506 |
++++ mysql/strings/strings-x86.s 2012-04-01 10:47:50.440941959 -0700 |
1507 |
+@@ -293,7 +293,7 @@ |
1508 |
+ movl %esp,%ebp |
1509 |
+ pushl 12(%ebp) # search |
1510 |
+ pushl 8(%ebp) # str |
1511 |
+- call strstr |
1512 |
++ call strstr@plt |
1513 |
+ add $8,%esp |
1514 |
+ or %eax,%eax |
1515 |
+ jz si_99 # Not found, return NULL |
1516 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/tests/Makefile.am mysql/tests/Makefile.am |
1517 |
+--- mysql.orig/tests/Makefile.am 2012-03-02 06:04:07.000000000 -0800 |
1518 |
++++ mysql/tests/Makefile.am 2012-04-01 10:47:50.441941973 -0700 |
1519 |
+@@ -42,11 +42,11 @@ |
1520 |
+ |
1521 |
+ insert_test_SOURCES= insert_test.c |
1522 |
+ select_test_SOURCES= select_test.c |
1523 |
+-insert_test_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES) |
1524 |
+-select_test_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES) |
1525 |
++insert_test_DEPENDENCIES= $(LTLIBRARIES) $(pkglib_LTLIBRARIES) |
1526 |
++select_test_DEPENDENCIES= $(LTLIBRARIES) $(pkglib_LTLIBRARIES) |
1527 |
+ |
1528 |
+ bug25714_SOURCES= bug25714.c |
1529 |
+-bug25714_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES) |
1530 |
++bug25714_DEPENDENCIES= $(LTLIBRARIES) $(pkglib_LTLIBRARIES) |
1531 |
+ |
1532 |
+ # Fix for mit-threads |
1533 |
+ DEFS = -DUNDEF_THREADS_HACK |
1534 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/tools/Makefile.am mysql/tools/Makefile.am |
1535 |
+--- mysql.orig/tools/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1536 |
++++ mysql/tools/Makefile.am 2012-04-01 10:47:50.441941973 -0700 |
1537 |
+@@ -23,7 +23,7 @@ |
1538 |
+ |
1539 |
+ bin_PROGRAMS= mysqltestmanager |
1540 |
+ mysqltestmanager_SOURCES= mysqlmanager.c |
1541 |
+-mysqltestmanager_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES) |
1542 |
++mysqltestmanager_DEPENDENCIES= $(LTLIBRARIES) $(pkglib_LTLIBRARIES) |
1543 |
+ DEF= -DUNDEF_THREADS_HACK |
1544 |
+ |
1545 |
+ # Don't update the files from bitkeeper |
1546 |
+diff -NuarwbB --exclude '*.orig' --exclude '*.rej' mysql.orig/vio/Makefile.am mysql/vio/Makefile.am |
1547 |
+--- mysql.orig/vio/Makefile.am 2012-03-02 06:04:12.000000000 -0800 |
1548 |
++++ mysql/vio/Makefile.am 2012-04-01 10:47:50.441941973 -0700 |
1549 |
+@@ -16,11 +16,12 @@ |
1550 |
+ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ |
1551 |
+ $(openssl_includes) |
1552 |
+ LDADD = @CLIENT_EXTRA_LDFLAGS@ $(openssl_libs) $(yassl_libs) |
1553 |
+-pkglib_LIBRARIES = libvio.a |
1554 |
++pkglib_LTLIBRARIES = libvio.la |
1555 |
+ |
1556 |
+ noinst_HEADERS = vio_priv.h |
1557 |
+ |
1558 |
+-libvio_a_SOURCES = vio.c viosocket.c viossl.c viosslfactories.c |
1559 |
++libvio_la_LIBADD = -lssl |
1560 |
++libvio_la_SOURCES = vio.c viosocket.c viossl.c viosslfactories.c |
1561 |
+ |
1562 |
+ EXTRA_DIST= CMakeLists.txt |
1563 |
+ |