summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <kent@kent-amd64.(none)>2008-03-11 15:28:45 +0100
committerunknown <kent@kent-amd64.(none)>2008-03-11 15:28:45 +0100
commit6e137c03bcb693066f40c199e259c15980637b06 (patch)
treea5e814c5aad613234dddb2413c54f62c5d075c47 /scripts
parent2a08006de3175355703d45263a9b01b45170b2fe (diff)
parentb18dec2bacd76b0bf4c6ada2d072092ef4b2c8f1 (diff)
downloadmariadb-git-6e137c03bcb693066f40c199e259c15980637b06.tar.gz
Merge mysql.com:/home/kent/bk/build/mysql-5.0-build
into mysql.com:/home/kent/bk/build/mysql-5.1-build
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make_win_bin_dist40
1 files changed, 27 insertions, 13 deletions
diff --git a/scripts/make_win_bin_dist b/scripts/make_win_bin_dist
index f0dc3eff72b..5eb5a5643f1 100755
--- a/scripts/make_win_bin_dist
+++ b/scripts/make_win_bin_dist
@@ -26,8 +26,7 @@ set -e
# NOTE: Pattern matching with "{..,..}" can't be used, not portable.
# ----------------------------------------------------------------------
-# FIXME FIXME "debug", own build or handled here?
-# FIXME FIXME add way to copy from other builds executables
+# FIXME why "libmysql.dll" installed both in "bin" and "lib/opt"?
usage()
{
@@ -150,13 +149,16 @@ cp storage/myisam/$TARGET/*.exe $DESTDIR/bin/
cp server-tools/instance-manager/$TARGET/*.{exe,map} $DESTDIR/bin/
if [ x"$TARGET" != x"release" ] ; then
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
cp tests/$TARGET/*.exe $DESTDIR/bin/
cp libmysql/$TARGET/libmysql.dll $DESTDIR/bin/
-# FIXME really needed?!
-mv $DESTDIR/bin/comp_err.exe $DESTDIR/bin/comp-err.exe
-
cp sql/$TARGET/mysqld.exe $DESTDIR/bin/mysqld$EXE_SUFFIX.exe
cp sql/$TARGET/mysqld.map $DESTDIR/bin/mysqld$EXE_SUFFIX.map
if [ x"$TARGET" != x"release" ] ; then
@@ -178,10 +180,6 @@ if [ -d win/data ] ; then
cp -pR win/data $DESTDIR/
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
cp Docs/INSTALL-BINARY $DESTDIR/Docs/
cp Docs/manual.chm $DESTDIR/Docs/ || /bin/true
@@ -205,11 +203,13 @@ copy_embedded()
$DESTDIR/include
cp libmysqld/libmysqld.def $DESTDIR/include/
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.exp $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 \
x"$PACK_DEBUG" = x"yes" ] ; then
@@ -276,7 +276,6 @@ cp include/mysql/plugin.h $DESTDIR/include/mysql/
# ----------------------------------------------------------------------
# Client libraries, and other libraries
-# FIXME why "libmysql.dll" installed both in "bin" and "lib/opt"?
# ----------------------------------------------------------------------
mkdir -p $DESTDIR/lib/opt
@@ -288,16 +287,31 @@ cp libmysql/$TARGET/libmysql.dll \
strings/$TARGET/strings.lib \
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 \
x"$PACK_DEBUG" = x"yes" ] ; then
mkdir -p $DESTDIR/lib/debug
cp libmysql/debug/libmysql.dll \
libmysql/debug/libmysql.lib \
+ libmysql/debug/libmysql.pdb \
libmysql/debug/mysqlclient.lib \
+ libmysql/debug/mysqlclient.pdb \
mysys/debug/mysys.lib \
+ mysys/debug/mysys.pdb \
regex/debug/regex.lib \
+ regex/debug/regex.pdb \
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
# ----------------------------------------------------------------------