aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-03-07 01:06:40 +0000
committerGerald Combs <gerald@wireshark.org>2009-03-07 01:06:40 +0000
commit8f69ddeb0090f0dd143875d7b3697954923f93da (patch)
tree9468d4d4a2f95814ab4a3bc8eae2281e7b9a577e /tools
parentb43af91fe08a16b66d841668059dd597345b12f0 (diff)
Add preliminary support for Win64 compilation. Attempt to use the same
set of makefiles and scripts for each platform as much as possible. svn path=/trunk/; revision=27633
Diffstat (limited to 'tools')
-rwxr-xr-xtools/win32-setup.sh9
-rwxr-xr-xtools/win64-setup.sh12
2 files changed, 19 insertions, 2 deletions
diff --git a/tools/win32-setup.sh b/tools/win32-setup.sh
index d03efc52f4..b25bc1a980 100755
--- a/tools/win32-setup.sh
+++ b/tools/win32-setup.sh
@@ -4,11 +4,16 @@
# This MUST be in the form
# http://anonsvn.wireshark.org/wireshark-win32-libs/tags/<date>/packages
+# or
+# http://anonsvn.wireshark.org/wireshark-win64-libs/tags/<date>/packages
# in order to provide backward compatibility with older trees (e.g. a
# previous release or an older SVN checkout).
# Save previous tag.
-DOWNLOAD_TAG="2009-02-09"
-DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/tags/$DOWNLOAD_TAG/packages/"
+DOWNLOAD_TAG=${DOWNLOAD_TAG:-"2009-02-09"}
+PLATFORM=${PLATFORM:-"win32"}
+
+DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-$PLATFORM-libs/tags/$DOWNLOAD_TAG/packages/"
+
TAG_FILE="current_tag.txt"
# Set DOWNLOAD_PREFIX to /packages to test uploads before creating the tag.
diff --git a/tools/win64-setup.sh b/tools/win64-setup.sh
new file mode 100755
index 0000000000..521e2e0502
--- /dev/null
+++ b/tools/win64-setup.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# $Id$
+
+# 64-bit wrapper for win32-setup.sh.
+
+export DOWNLOAD_TAG="2009-03-06"
+export PLATFORM="win64"
+
+WIN32_SETUP=`echo $0 | sed -e s/win64/win32/`
+
+exec $WIN32_SETUP $@ \ No newline at end of file