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
42c74ad8
Commit
42c74ad8
authored
Apr 26, 2010
by
Horst.Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport of cset for 47146 to trunk.
parent
9a96db16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
storage/example/Makefile.am
storage/example/Makefile.am
+21
-7
No files found.
storage/example/Makefile.am
View file @
42c74ad8
# Copyright (C) 2005-2006 MySQL AB
# Copyright (C) 2005-2006 MySQL AB
, 2009 Sun Microsystems, Inc.
#
#
All rights reserved.
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
# the Free Software Foundation; version 2 of the License.
...
@@ -23,7 +23,7 @@ pkgplugindir = $(pkglibdir)/plugin
...
@@ -23,7 +23,7 @@ pkgplugindir = $(pkglibdir)/plugin
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_builddir)
/include
\
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_builddir)
/include
\
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
/sql
\
-I
$(top_srcdir)
/sql
\
-I
$(srcdir)
-I
$(srcdir)
WRAPLIBS
=
WRAPLIBS
=
LDADD
=
LDADD
=
...
@@ -50,12 +50,22 @@ libexample_a_SOURCES= ha_example.cc
...
@@ -50,12 +50,22 @@ libexample_a_SOURCES= ha_example.cc
EXTRA_DIST
=
CMakeLists.txt plug.in
EXTRA_DIST
=
CMakeLists.txt plug.in
if
HAVE_DTRACE_DASH_G
if
HAVE_DTRACE_DASH_G
# The object for static and dynamic linking of example differ
# For static linkage of example to mysqld
# That's actually not needed as example is only dynamic loadable, but for completion
libexample_a_LIBADD
=
probes_mysql.o
libexample_a_LIBADD
=
probes_mysql.o
libexample_a_DEPENDENCIES
=
probes_mysql.o
libexample_a_DEPENDENCIES
=
probes_mysql.o dtrace_files dtrace_providers
CLEANFILES
=
# For example as shared library
BUILT_SOURCES
=
ha_example_la_LIBADD
=
probes_sh_mysql.o
DTRACEFILES
=
libexample_a-ha_example.o
# Hack: We "depend" on ".libs/" but have no rule for it,
# but it is created as a byproduct of the ".lo"
DTRACESHAREDDEPS
=
ha_example_la-ha_example.lo
DTRACESHAREDFILES
=
ha_example_la-ha_example.o
DTRACEPROVIDER
=
probes_mysql.d
DTRACEPROVIDER
=
probes_mysql.d
ha_example_la_DEPENDENCIES
=
probes_sh_mysql.o
$(DTRACESHAREDDEPS)
dtrace_providers
CLEANFILES
=
$(DTRACEPROVIDER)
dtrace_files dtrace_providers
$(DTRACESHAREDFILES)
DTRACEFILES
=
libexample_a-ha_example.o
dtrace_files
:
dtrace_files
:
echo
$(DTRACEFILES)
>
$@
echo
$(DTRACEFILES)
>
$@
...
@@ -66,8 +76,12 @@ probes_mysql.d:
...
@@ -66,8 +76,12 @@ probes_mysql.d:
$(CP)
$(top_srcdir)
/include/probes_mysql.d.base probes_mysql.d
$(CP)
$(top_srcdir)
/include/probes_mysql.d.base probes_mysql.d
echo
timestamp
>
dtrace_sources
echo
timestamp
>
dtrace_sources
probes_sh_mysql.o
:
$(DTRACEPROVIDER) $(DTRACESHAREDDEPS)
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
$(DTRACEPROVIDER)
$(DTRACESHAREDFILES)
-o
$@
$(CP)
$(DTRACESHAREDFILES)
.libs
probes_mysql.o
:
$(DTRACEPROVIDER) $(DTRACEFILES)
probes_mysql.o
:
$(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
$(DTRACEPROVIDER)
$(DTRACEFILES)
-o
$@
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
$(DTRACEPROVIDER)
$(DTRACEFILES)
-o
$@
endif
endif
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
...
...
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