Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
44fec70b
Commit
44fec70b
authored
Sep 09, 2010
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build dynamic plugins with the -shared libtool option to avoid
double compilation
parent
b7158601
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
20 additions
and
30 deletions
+20
-30
plugin/daemon_example/Makefile.am
plugin/daemon_example/Makefile.am
+1
-4
plugin/fulltext/Makefile.am
plugin/fulltext/Makefile.am
+1
-1
storage/archive/Makefile.am
storage/archive/Makefile.am
+2
-2
storage/blackhole/Makefile.am
storage/blackhole/Makefile.am
+1
-3
storage/csv/Makefile.am
storage/csv/Makefile.am
+1
-1
storage/example/Makefile.am
storage/example/Makefile.am
+1
-4
storage/federated/Makefile.am
storage/federated/Makefile.am
+2
-3
storage/federatedx/Makefile.am
storage/federatedx/Makefile.am
+3
-4
storage/innobase/Makefile.am
storage/innobase/Makefile.am
+2
-2
storage/innodb_plugin/Makefile.am
storage/innodb_plugin/Makefile.am
+2
-2
storage/pbxt/src/Makefile.am
storage/pbxt/src/Makefile.am
+2
-2
storage/xtradb/Makefile.am
storage/xtradb/Makefile.am
+2
-2
No files found.
plugin/daemon_example/Makefile.am
View file @
44fec70b
...
...
@@ -27,15 +27,12 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include \
EXTRA_LTLIBRARIES
=
libdaemon_example.la
pkgplugin_LTLIBRARIES
=
@plugin_daemon_example_shared_target@
libdaemon_example_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
libdaemon_example_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
libdaemon_example_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
libdaemon_example_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
libdaemon_example_la_SOURCES
=
daemon_example.cc
EXTRA_LIBRARIES
=
libdaemon_example.a
noinst_LIBRARIES
=
@plugin_daemon_example_static_target@
libdaemon_example_a_CXXFLAGS
=
$(AM_CXXFLAGS)
libdaemon_example_a_CFLAGS
=
$(AM_CFLAGS)
libdaemon_example_a_SOURCES
=
daemon_example.cc
# Don't update the files from bitkeeper
...
...
plugin/fulltext/Makefile.am
View file @
44fec70b
...
...
@@ -21,7 +21,7 @@ INCLUDES= -I$(top_builddir)/include -I$(top_srcdir)/include
pkgplugin_LTLIBRARIES
=
mypluglib.la
mypluglib_la_SOURCES
=
plugin_example.c
mypluglib_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
mypluglib_la_CFLAGS
=
-DMYSQL_DYNAMIC_PLUGIN
mypluglib_la_CFLAGS
=
-
shared
-
DMYSQL_DYNAMIC_PLUGIN
# Don't update the files from bitkeeper
%
::
SCCS/s.%
storage/archive/Makefile.am
View file @
44fec70b
...
...
@@ -36,8 +36,8 @@ noinst_PROGRAMS = archive_test archive_reader
EXTRA_LTLIBRARIES
=
ha_archive.la
pkgplugin_LTLIBRARIES
=
@plugin_archive_shared_target@
ha_archive_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_archive_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_archive_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_archive_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_archive_la_CFLAGS
=
-shared
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_archive_la_SOURCES
=
ha_archive.cc azio.c
...
...
storage/blackhole/Makefile.am
View file @
44fec70b
...
...
@@ -35,15 +35,13 @@ noinst_HEADERS = ha_blackhole.h
EXTRA_LTLIBRARIES
=
ha_blackhole.la
pkgplugin_LTLIBRARIES
=
@plugin_blackhole_shared_target@
ha_blackhole_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_blackhole_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_blackhole_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_blackhole_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_blackhole_la_SOURCES
=
ha_blackhole.cc
EXTRA_LIBRARIES
=
libblackhole.a
noinst_LIBRARIES
=
@plugin_blackhole_static_target@
libblackhole_a_CXXFLAGS
=
$(AM_CXXFLAGS)
libblackhole_a_CFLAGS
=
$(AM_CFLAGS)
libblackhole_a_SOURCES
=
ha_blackhole.cc
...
...
storage/csv/Makefile.am
View file @
44fec70b
...
...
@@ -32,7 +32,7 @@ noinst_HEADERS = ha_tina.h transparent_file.h
EXTRA_LTLIBRARIES
=
ha_csv.la
pkglib_LTLIBRARIES
=
@plugin_csv_shared_target@
ha_csv_la_LDFLAGS
=
-module
-rpath
$(MYSQLLIBdir)
ha_csv_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_PLUGIN
ha_csv_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_PLUGIN
ha_csv_la_SOURCES
=
transparent_file.cc ha_tina.cc
EXTRA_LIBRARIES
=
libcsv.a
...
...
storage/example/Makefile.am
View file @
44fec70b
...
...
@@ -35,15 +35,12 @@ noinst_HEADERS = ha_example.h
EXTRA_LTLIBRARIES
=
ha_example.la
pkgplugin_LTLIBRARIES
=
@plugin_example_shared_target@
ha_example_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_example_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_example_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_example_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_example_la_SOURCES
=
ha_example.cc
EXTRA_LIBRARIES
=
libexample.a
noinst_LIBRARIES
=
@plugin_example_static_target@
libexample_a_CXXFLAGS
=
$(AM_CXXFLAGS)
libexample_a_CFLAGS
=
$(AM_CFLAGS)
libexample_a_SOURCES
=
ha_example.cc
...
...
storage/federated/Makefile.am
View file @
44fec70b
...
...
@@ -33,15 +33,14 @@ noinst_HEADERS = ha_federated.h
EXTRA_LTLIBRARIES
=
ha_federated.la
pkgplugin_LTLIBRARIES
=
@plugin_federated_shared_target@
ha_federated_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_federated_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federated_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federated_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federated_la_CFLAGS
=
-shared
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federated_la_SOURCES
=
ha_federated.cc
$(top_srcdir)
/mysys/string.c
EXTRA_LIBRARIES
=
libfederated.a
noinst_LIBRARIES
=
@plugin_federated_static_target@
libfederated_a_CXXFLAGS
=
$(AM_CXXFLAGS)
libfederated_a_CFLAGS
=
$(AM_CFLAGS)
libfederated_a_SOURCES
=
ha_federated.cc
...
...
storage/federatedx/Makefile.am
View file @
44fec70b
...
...
@@ -20,14 +20,13 @@ noinst_HEADERS = ha_federatedx.h federatedx_probes.h
EXTRA_LTLIBRARIES
=
ha_federatedx.la
pkgplugin_LTLIBRARIES
=
@plugin_federatedx_shared_target@
ha_federatedx_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_federatedx_la_CXXFLAGS
=
$(AM_C
FLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federatedx_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federatedx_la_CXXFLAGS
=
-shared
$(AM_CXX
FLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_federatedx_la_CFLAGS
=
-shared
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
EXTRA_LIBRARIES
=
libfederatedx.a
noinst_LIBRARIES
=
@plugin_federatedx_static_target@
libfederatedx_a_CXXFLAGS
=
$(AM_CFLAGS)
libfederatedx_a_CFLAGS
=
$(AM_CFLAGS)
libfederatedx_a_CXXFLAGS
=
$(AM_CXXFLAGS)
libfederatedx_a_SOURCES
=
ha_federatedx.cc federatedx_txn.cc
\
federatedx_io.cc federatedx_io_null.cc
\
federatedx_io_mysql.cc
...
...
storage/innobase/Makefile.am
View file @
44fec70b
...
...
@@ -163,8 +163,8 @@ EXTRA_LTLIBRARIES= ha_innodb.la
pkgplugin_LTLIBRARIES
=
@plugin_innobase_shared_target@
ha_innodb_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_innodb_la_CXXFLAGS
=
$(AM_CXXFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_la_CFLAGS
=
$(AM_CFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_la_CFLAGS
=
-shared
$(AM_CFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_la_SOURCES
=
$(libinnobase_a_SOURCES)
EXTRA_DIST
=
CMakeLists.txt plug.in
\
...
...
storage/innodb_plugin/Makefile.am
View file @
44fec70b
...
...
@@ -332,8 +332,8 @@ EXTRA_LTLIBRARIES= ha_innodb_plugin.la
pkgplugin_LTLIBRARIES
=
@plugin_innodb_plugin_shared_target@
ha_innodb_plugin_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_innodb_plugin_la_CXXFLAGS
=
$(AM_CXXFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_plugin_la_CFLAGS
=
$(AM_CFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_plugin_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_plugin_la_CFLAGS
=
-shared
$(AM_CFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_innodb_plugin_la_SOURCES
=
$(libinnobase_a_SOURCES)
EXTRA_DIST
=
CMakeLists.txt plug.in
\
...
...
storage/pbxt/src/Makefile.am
View file @
44fec70b
...
...
@@ -40,8 +40,8 @@ libpbxt_la_LDFLAGS = -module
# These are the warning Drizzle uses:
# DRIZZLE_WARNINGS = -W -Wall -Wextra -pedantic -Wundef -Wredundant-decls -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter
libpbxt_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
libpbxt_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
-std
=
c99
libpbxt_la_CXXFLAGS
=
-shared
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
libpbxt_la_CFLAGS
=
-shared
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
-std
=
c99
EXTRA_LIBRARIES
=
libpbxt.a
noinst_LIBRARIES
=
libpbxt.a
...
...
storage/xtradb/Makefile.am
View file @
44fec70b
...
...
@@ -333,8 +333,8 @@ EXTRA_LTLIBRARIES= ha_xtradb.la
pkgplugin_LTLIBRARIES
=
@plugin_xtradb_shared_target@
ha_xtradb_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_xtradb_la_CXXFLAGS
=
$(AM_C
FLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_xtradb_la_CFLAGS
=
$(AM_CFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_xtradb_la_CXXFLAGS
=
-shared
$(AM_CXX
FLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_xtradb_la_CFLAGS
=
-shared
$(AM_CFLAGS)
$(INNODB_DYNAMIC_CFLAGS)
ha_xtradb_la_SOURCES
=
$(libxtradb_a_SOURCES)
EXTRA_DIST
=
CMakeLists.txt plug.in
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment