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
878b3336
Commit
878b3336
authored
Mar 11, 2008
by
kent@mysql.com/kent-amd64.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make_win_bin_dist:
Include .pdb files for tools and libraries (bug#35104)
parent
3f6e20a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
13 deletions
+27
-13
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+27
-13
No files found.
scripts/make_win_bin_dist
View file @
878b3336
...
@@ -26,8 +26,7 @@ set -e
...
@@ -26,8 +26,7 @@ set -e
# NOTE: Pattern matching with "{..,..}" can't be used, not portable.
# NOTE: Pattern matching with "{..,..}" can't be used, not portable.
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# FIXME FIXME "debug", own build or handled here?
# FIXME why "libmysql.dll" installed both in "bin" and "lib/opt"?
# FIXME FIXME add way to copy from other builds executables
usage
()
usage
()
{
{
...
@@ -150,13 +149,16 @@ cp myisam/$TARGET/*.exe $DESTDIR/bin/
...
@@ -150,13 +149,16 @@ cp myisam/$TARGET/*.exe $DESTDIR/bin/
cp
server-tools/instance-manager/
$TARGET
/
*
.
{
exe,map
}
$DESTDIR
/bin/
cp
server-tools/instance-manager/
$TARGET
/
*
.
{
exe,map
}
$DESTDIR
/bin/
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
cp
server-tools/instance-manager/
$TARGET
/
*
.pdb
$DESTDIR
/bin/
cp
server-tools/instance-manager/
$TARGET
/
*
.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysql.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysqladmin.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysqlbinlog.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysqldump.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysqlimport.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysqlshow.pdb
$DESTDIR
/bin/
fi
fi
cp
tests/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
tests/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
libmysql/
$TARGET
/libmysql.dll
$DESTDIR
/bin/
cp
libmysql/
$TARGET
/libmysql.dll
$DESTDIR
/bin/
# FIXME really needed?!
mv
$DESTDIR
/bin/comp_err.exe
$DESTDIR
/bin/comp-err.exe
if
[
-f
"sql/
$TARGET
/mysqld-nt.exe"
]
;
then
if
[
-f
"sql/
$TARGET
/mysqld-nt.exe"
]
;
then
BASENAME
=
"mysqld-nt"
# Old style non CMake build
BASENAME
=
"mysqld-nt"
# Old style non CMake build
else
else
...
@@ -191,10 +193,6 @@ if [ -d win/data ] ; then
...
@@ -191,10 +193,6 @@ if [ -d win/data ] ; then
cp
-pR
win/data
$DESTDIR
/
cp
-pR
win/data
$DESTDIR
/
fi
fi
# FIXME maybe a flag to define "release build", or do the
# check from the calling script that all these are there,
# and with the correct content.
mkdir
$DESTDIR
/Docs
mkdir
$DESTDIR
/Docs
cp
Docs/INSTALL-BINARY
$DESTDIR
/Docs/
cp
Docs/INSTALL-BINARY
$DESTDIR
/Docs/
cp
Docs/manual.chm
$DESTDIR
/Docs/
||
/bin/true
cp
Docs/manual.chm
$DESTDIR
/Docs/
||
/bin/true
...
@@ -218,11 +216,13 @@ copy_embedded()
...
@@ -218,11 +216,13 @@ copy_embedded()
$DESTDIR
/include
$DESTDIR
/include
cp
libmysqld/libmysqld.def
$DESTDIR
/include/
cp
libmysqld/libmysqld.def
$DESTDIR
/include/
cp
libmysqld/
$TARGET
/mysqlserver.lib
$DESTDIR
/Embedded/static/release/
cp
libmysqld/
$TARGET
/mysqlserver.lib
$DESTDIR
/Embedded/static/release/
cp
libmysqld/
$TARGET
/mysqlserver.pdb
$DESTDIR
/Embedded/static/release/
cp
libmysqld/
$TARGET
/libmysqld.dll
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.dll
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.exp
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.exp
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.lib
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.lib
$DESTDIR
/Embedded/DLL/release/
cp
libmysqld/
$TARGET
/libmysqld.pdb
$DESTDIR
/Embedded/DLL/release/
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
cp
libmysqld/
$TARGET
/mysqlserver.pdb
$DESTDIR
/Embedded/static/release/
cp
libmysqld/
$TARGET
/libmysqld.pdb
$DESTDIR
/Embedded/DLL/release/
fi
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysqld/debug/libmysqld.lib"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysqld/debug/libmysqld.lib"
-o
\
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
...
@@ -287,7 +287,6 @@ cp include/mysql.h \
...
@@ -287,7 +287,6 @@ cp include/mysql.h \
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Client libraries, and other libraries
# Client libraries, and other libraries
# FIXME why "libmysql.dll" installed both in "bin" and "lib/opt"?
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
mkdir
-p
$DESTDIR
/lib/opt
mkdir
-p
$DESTDIR
/lib/opt
...
@@ -299,16 +298,31 @@ cp libmysql/$TARGET/libmysql.dll \
...
@@ -299,16 +298,31 @@ cp libmysql/$TARGET/libmysql.dll \
strings/
$TARGET
/strings.lib
\
strings/
$TARGET
/strings.lib
\
zlib/
$TARGET
/zlib.lib
$DESTDIR
/lib/opt/
zlib/
$TARGET
/zlib.lib
$DESTDIR
/lib/opt/
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
cp
libmysql/
$TARGET
/libmysql.pdb
\
libmysql/
$TARGET
/mysqlclient.pdb
\
mysys/
$TARGET
/mysys.pdb
\
regex/
$TARGET
/regex.pdb
\
strings/
$TARGET
/strings.pdb
\
zlib/
$TARGET
/zlib.pdb
$DESTDIR
/lib/opt/
fi
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysql/debug/libmysql.lib"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysql/debug/libmysql.lib"
-o
\
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
mkdir
-p
$DESTDIR
/lib/debug
mkdir
-p
$DESTDIR
/lib/debug
cp
libmysql/debug/libmysql.dll
\
cp
libmysql/debug/libmysql.dll
\
libmysql/debug/libmysql.lib
\
libmysql/debug/libmysql.lib
\
libmysql/debug/libmysql.pdb
\
libmysql/debug/mysqlclient.lib
\
libmysql/debug/mysqlclient.lib
\
libmysql/debug/mysqlclient.pdb
\
mysys/debug/mysys.lib
\
mysys/debug/mysys.lib
\
mysys/debug/mysys.pdb
\
regex/debug/regex.lib
\
regex/debug/regex.lib
\
regex/debug/regex.pdb
\
strings/debug/strings.lib
\
strings/debug/strings.lib
\
zlib/debug/zlib.lib
$DESTDIR
/lib/debug/
strings/debug/strings.pdb
\
zlib/debug/zlib.lib
\
zlib/debug/zlib.pdb
$DESTDIR
/lib/debug/
fi
fi
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
...
...
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