From 58ed4748338f9466599adfc8a9171280ed99e23f Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Fri, 26 Oct 2012 16:25:44 +0000 Subject: Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.2.4.tar.bz2. --- tools/CommonFetch.kmk | 32 + tools/Makefile-ose.kmk | 22 + tools/bin/gen-slickedit-workspace.cmd | 43 + tools/bin/gen-slickedit-workspace.sh | 978 ++++++++++++++++++ tools/darwin.amd64/bin/iasl | Bin 0 -> 585392 bytes tools/darwin.amd64/bin/yasm | Bin 0 -> 600856 bytes tools/darwin.x86/bin/iasl | Bin 0 -> 585392 bytes tools/darwin.x86/bin/yasm | Bin 0 -> 600856 bytes tools/linux.amd64/bin/yasm | Bin 0 -> 620568 bytes tools/linux.x86/bin/yasm | Bin 0 -> 466880 bytes tools/os2.x86/bin/as86.exe | Bin 0 -> 29626 bytes tools/os2.x86/bin/iasl.exe | Bin 0 -> 533548 bytes tools/os2.x86/bin/libexslt.dll | Bin 0 -> 65615 bytes tools/os2.x86/bin/libxml2.dll | Bin 0 -> 1077316 bytes tools/os2.x86/bin/libxslt.dll | Bin 0 -> 188494 bytes tools/os2.x86/bin/xsltproc.exe | Bin 0 -> 106069 bytes tools/os2.x86/nasm/v0.98.39-bird/AUTHORS | 119 +++ tools/os2.x86/nasm/v0.98.39-bird/CHANGES | 1387 ++++++++++++++++++++++++++ tools/os2.x86/nasm/v0.98.39-bird/COPYING | 462 +++++++++ tools/os2.x86/nasm/v0.98.39-bird/README | 21 + tools/os2.x86/nasm/v0.98.39-bird/TODO | 340 +++++++ tools/os2.x86/nasm/v0.98.39-bird/nasm.exe | Bin 0 -> 817350 bytes tools/os2.x86/nasm/v0.98.39-bird/ndisasm.exe | Bin 0 -> 229575 bytes tools/solaris.amd64/bin/iasl | Bin 0 -> 566700 bytes tools/solaris.amd64/bin/yasm | Bin 0 -> 855152 bytes tools/solaris.x86/bin/iasl | Bin 0 -> 566700 bytes tools/solaris.x86/bin/yasm | Bin 0 -> 535932 bytes tools/win.amd64/bin/as86.exe | Bin 0 -> 48640 bytes tools/win.amd64/bin/doxygen.exe | Bin 0 -> 4997120 bytes tools/win.amd64/bin/doxytag.exe | Bin 0 -> 315392 bytes tools/win.amd64/bin/glib-1.2.dll | Bin 0 -> 112128 bytes tools/win.amd64/bin/iasl.exe | Bin 0 -> 503808 bytes tools/win.amd64/bin/iconv.dll | Bin 0 -> 888832 bytes tools/win.amd64/bin/libexslt.dll | Bin 0 -> 102400 bytes tools/win.amd64/bin/libidl-0.6.dll | Bin 0 -> 162304 bytes tools/win.amd64/bin/libxml2.dll | Bin 0 -> 898560 bytes tools/win.amd64/bin/libxslt.dll | Bin 0 -> 282624 bytes tools/win.amd64/bin/msvcrt.dll | Bin 0 -> 266293 bytes tools/win.amd64/bin/xsltproc.exe | Bin 0 -> 25600 bytes tools/win.amd64/bin/yasm.exe | Bin 0 -> 790016 bytes tools/win.amd64/bin/zlib1.dll | Bin 0 -> 70656 bytes tools/win.x86/bin/as86.exe | Bin 0 -> 48640 bytes tools/win.x86/bin/doxygen.exe | Bin 0 -> 4997120 bytes tools/win.x86/bin/doxytag.exe | Bin 0 -> 315392 bytes tools/win.x86/bin/glib-1.2.dll | Bin 0 -> 112128 bytes tools/win.x86/bin/iasl.exe | Bin 0 -> 503808 bytes tools/win.x86/bin/iconv.dll | Bin 0 -> 888832 bytes tools/win.x86/bin/libexslt.dll | Bin 0 -> 102400 bytes tools/win.x86/bin/libidl-0.6.dll | Bin 0 -> 162304 bytes tools/win.x86/bin/libxml2.dll | Bin 0 -> 898560 bytes tools/win.x86/bin/libxslt.dll | Bin 0 -> 282624 bytes tools/win.x86/bin/msvcrt.dll | Bin 0 -> 266293 bytes tools/win.x86/bin/xsltproc.exe | Bin 0 -> 25600 bytes tools/win.x86/bin/yasm.exe | Bin 0 -> 621568 bytes tools/win.x86/bin/zlib1.dll | Bin 0 -> 70656 bytes 55 files changed, 3404 insertions(+) create mode 100644 tools/CommonFetch.kmk create mode 100644 tools/Makefile-ose.kmk create mode 100644 tools/bin/gen-slickedit-workspace.cmd create mode 100644 tools/bin/gen-slickedit-workspace.sh create mode 100755 tools/darwin.amd64/bin/iasl create mode 100755 tools/darwin.amd64/bin/yasm create mode 100755 tools/darwin.x86/bin/iasl create mode 100755 tools/darwin.x86/bin/yasm create mode 100755 tools/linux.amd64/bin/yasm create mode 100755 tools/linux.x86/bin/yasm create mode 100644 tools/os2.x86/bin/as86.exe create mode 100644 tools/os2.x86/bin/iasl.exe create mode 100644 tools/os2.x86/bin/libexslt.dll create mode 100644 tools/os2.x86/bin/libxml2.dll create mode 100644 tools/os2.x86/bin/libxslt.dll create mode 100644 tools/os2.x86/bin/xsltproc.exe create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/AUTHORS create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/CHANGES create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/COPYING create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/README create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/TODO create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/nasm.exe create mode 100644 tools/os2.x86/nasm/v0.98.39-bird/ndisasm.exe create mode 100755 tools/solaris.amd64/bin/iasl create mode 100755 tools/solaris.amd64/bin/yasm create mode 100755 tools/solaris.x86/bin/iasl create mode 100755 tools/solaris.x86/bin/yasm create mode 100755 tools/win.amd64/bin/as86.exe create mode 100755 tools/win.amd64/bin/doxygen.exe create mode 100755 tools/win.amd64/bin/doxytag.exe create mode 100644 tools/win.amd64/bin/glib-1.2.dll create mode 100755 tools/win.amd64/bin/iasl.exe create mode 100644 tools/win.amd64/bin/iconv.dll create mode 100644 tools/win.amd64/bin/libexslt.dll create mode 100644 tools/win.amd64/bin/libidl-0.6.dll create mode 100644 tools/win.amd64/bin/libxml2.dll create mode 100644 tools/win.amd64/bin/libxslt.dll create mode 100644 tools/win.amd64/bin/msvcrt.dll create mode 100755 tools/win.amd64/bin/xsltproc.exe create mode 100755 tools/win.amd64/bin/yasm.exe create mode 100644 tools/win.amd64/bin/zlib1.dll create mode 100755 tools/win.x86/bin/as86.exe create mode 100755 tools/win.x86/bin/doxygen.exe create mode 100755 tools/win.x86/bin/doxytag.exe create mode 100644 tools/win.x86/bin/glib-1.2.dll create mode 100755 tools/win.x86/bin/iasl.exe create mode 100644 tools/win.x86/bin/iconv.dll create mode 100644 tools/win.x86/bin/libexslt.dll create mode 100644 tools/win.x86/bin/libidl-0.6.dll create mode 100644 tools/win.x86/bin/libxml2.dll create mode 100644 tools/win.x86/bin/libxslt.dll create mode 100644 tools/win.x86/bin/msvcrt.dll create mode 100755 tools/win.x86/bin/xsltproc.exe create mode 100755 tools/win.x86/bin/yasm.exe create mode 100644 tools/win.x86/bin/zlib1.dll (limited to 'tools') diff --git a/tools/CommonFetch.kmk b/tools/CommonFetch.kmk new file mode 100644 index 00000000..ee380ff5 --- /dev/null +++ b/tools/CommonFetch.kmk @@ -0,0 +1,32 @@ +# $Id: CommonFetch.kmk $ +## @file +# Common Fetch. +# Included by both Makefile.kmk and Makefile-ose.kmk. +# + +# +# Copyright (C) 2006-2007 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + + +# +# OS/2 stuff. +# +if 0 +ifeq ($(KBUILD_TARGET),os2) +FETCHES += os2.x86.glibidl.20070521 +os2.x86.glibidl.20070521_TEMPLATE = VBOXFETCH +os2.x86.glibidl.20070521_INST = $(PATH_DEVTOOLS)/os2.x86/glibidl/20070521/ +os2.x86.glibidl.20070521_SOURCES = http://hobbes.nmsu.edu/download/pub/os2/dev/util/glibidl_20070521.zip +glibidl_20070521.zip_MD5 = 054646a49b96ab762e4d5e9451ca1b37 +glibidl_20070521.zip_SIZE = 611335 +endif # OS/2 stuff +endif diff --git a/tools/Makefile-ose.kmk b/tools/Makefile-ose.kmk new file mode 100644 index 00000000..922f48e6 --- /dev/null +++ b/tools/Makefile-ose.kmk @@ -0,0 +1,22 @@ +# $Id: Makefile-ose.kmk $ +## @file +# Fetch OSE tools. +# + +# +# Copyright (C) 2006-2007 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + +DEPTH = .. +include $(KBUILD_PATH)/header.kmk +include CommonFetch.kmk +include $(KBUILD_PATH)/footer.kmk + diff --git a/tools/bin/gen-slickedit-workspace.cmd b/tools/bin/gen-slickedit-workspace.cmd new file mode 100644 index 00000000..bcd6cca1 --- /dev/null +++ b/tools/bin/gen-slickedit-workspace.cmd @@ -0,0 +1,43 @@ +@echo off +rem $Id: gen-slickedit-workspace.cmd $ +rem rem @file +rem Windows NT batch script for launching gen-slickedit-workspace.sh +rem + +rem +rem Copyright (C) 2009-2011 Oracle Corporation +rem +rem This file is part of VirtualBox Open Source Edition (OSE), as +rem available from http://www.virtualbox.org. This file is free software; +rem you can redistribute it and/or modify it under the terms of the GNU +rem General Public License (GPL) as published by the Free Software +rem Foundation, in version 2 as it comes in the "COPYING" file of the +rem VirtualBox OSE distribution. VirtualBox OSE is distributed in the +rem hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +rem + + +setlocal ENABLEEXTENSIONS +setlocal + +rem +rem gen-slickedit-workspace.sh should be in the same directory as this script. +rem +set MY_SCRIPT=%~dp0gen-slickedit-workspace.sh +if exist "%MY_SCRIPT%" goto found +echo gen-slickedit-workspace.cmd: failed to find gen-slickedit-workspace.sh in "%~dp0". +goto end + +rem +rem Found it, convert slashes and tell kmk_ash to interpret it. +rem +:found +set MY_SCRIPT=%MY_SCRIPT:\=/% +set MY_ARGS=%* +if ".%MY_ARGS%." NEQ ".." set MY_ARGS=%MY_ARGS:\=/% +kmk_ash %MY_SCRIPT% --windows-host %MY_ARGS% + +:end +endlocal +endlocal + diff --git a/tools/bin/gen-slickedit-workspace.sh b/tools/bin/gen-slickedit-workspace.sh new file mode 100644 index 00000000..e4c19d97 --- /dev/null +++ b/tools/bin/gen-slickedit-workspace.sh @@ -0,0 +1,978 @@ +# !kmk_ash +# $Id: gen-slickedit-workspace.sh $ +## @file +# Script for generating a SlickEdit workspace. +# + +# +# Copyright (C) 2009-2011 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + +# +# Some constants. +# +MY_CAT="kmk_cat" +MY_CP="kmk_cp" +MY_MKDIR="kmk_mkdir" +MY_MV="kmk_mv" +MY_SED="kmk_sed" +MY_RM="kmk_rm" +MY_SLEEP="kmk_sleep" +MY_EXPR="kmk_expr" +MY_SVN="svn" + +#MY_SORT="kmk_cat" +MY_SORT="sort" + +# +# Globals. +# +MY_PROJECT_FILES="" +MY_OUT_DIRS="\ +out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/${KBUILD_TYPE} \ +out/${BUILD_TARGET}.${BUILD_TARGET_ARCH}/${BUILD_TYPE} \ +out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/debug \ +out/${BUILD_TARGET}.${BUILD_TARGET_ARCH}/debug \ +out/${KBUILD_TARGET}.${KBUILD_TARGET_ARCH}/release \ +out/${BUILD_TARGET}.${BUILD_TARGET_ARCH}/release \ +out/linux.amd64/debug \ +out/linux.x86/debug \ +out/win.amd64/debug \ +out/win.x86/debug \ +out/darwin.amd64/debug \ +out/darwin.x86/debug \ +out/solaris.amd64/debug \ +out/solaris.x86/debug"; + + +# +# Parameters w/ defaults. +# +MY_ROOT_DIR=".." +MY_OUT_DIR="SlickEdit" +MY_PRJ_PRF="VBox-" +MY_WS_NAME="VirtualBox.vpw" +MY_DBG="" +MY_WINDOWS_HOST="" +MY_OPT_MINIMAL="" + +#MY_KBUILD_PATH="${KBUILD_PATH}" +#test -z "${MY_KBUILD_PATH}" && MY_KBUILD_PATH="${PATH_KBUILD}" +#MY_KBUILD="" + + +## +# Gets the absolute path to an existing directory. +# +# @param $1 The path. +my_abs_dir() +{ + if test -n "${PWD}"; then + MY_ABS_DIR=`cd ${MY_ROOT_DIR}/${1} && echo ${PWD}` + else + # old cygwin shell has no PWD and need adjusting. + MY_ABS_DIR=`cd ${MY_ROOT_DIR}/${1} && pwd | ${MY_SED} -e 's,^/cygdrive/\(.\)/,\1:/,'` + fi + if test -z "${MY_ABS_DIR}"; then + MY_ABS_DIR="${1}" + fi +} + +## +# Gets the file name part of a path. +# +# @param $1 The path. +my_get_name() +{ + SAVED_IFS=$IFS + IFS=":/ " + set $1 + while test $# -gt 1 -a -n "${2}"; + do + shift; + done + + IFS=$SAVED_IFS + #echo "$1" + export MY_GET_NAME=$1 +} + +## +# Generate file entry for the specified file if it was found to be of interest. +# +# @param $1 The output file name base. +# @param $2 The file name. +my_file() +{ + # sort and filter by file type. + case "$2" in + # drop these. + *.kup|*~|*.pyc|*.exe|*.sys|*.dll|*.o|*.obj|*.lib|*.a|*.ko) + return 0 + ;; + + # by prefix or directory component. + tst*|*/testcase/*) + MY_FOLDER="$1-Testcases.lst" + ;; + + # by extension. + *.c|*.cpp|*.m|*.mm|*.pl|*.py|*.as|*.c.h|*.cpp.h) + MY_FOLDER="$1-Sources.lst" + ;; + + *.h|*.hpp|*.mm) + MY_FOLDER="$1-Headers.lst" + ;; + + *.asm|*.s|*.S|*.inc|*.mac) + MY_FOLDER="$1-Assembly.lst" + ;; + + *) + MY_FOLDER="$1-Others.lst" + ;; + esac + + ## @todo only files which are in subversion. +# if ${MY_SVN} info "${2}" > /dev/null 2>&1; then + my_get_name "${2}" + echo ' ' >> "${MY_FOLDER}" +# fi +} + +## +# Generate file entries for the specified sub-directory tree. +# +# @param $1 The output filename. +# @param $2 The sub-directory. +my_sub_tree() +{ + if test -n "$MY_DBG"; then echo "dbg: my_sub_tree: ${2}"; fi + + # Skip .svn directories. + case "$2" in + */.svn|*/.svn) + return 0 + ;; + esac + + # Process the files in the directory. + for f in $2/*; + do + if test -d "${f}"; + then + my_sub_tree "${1}" "${f}" + else + my_file "${1}" "${f}" + fi + done + return 0; +} + + +## +# Generate folders for the specified directories and files. +# +# @param $1 The output (base) file name. +# @param $2+ The files and directories to traverse. +my_generate_folder() +{ + MY_FILE="$1" + shift + + # Zap existing file collections. + > "${MY_FILE}-Sources.lst" + > "${MY_FILE}-Headers.lst" + > "${MY_FILE}-Assembly.lst" + > "${MY_FILE}-Testcases.lst" + > "${MY_FILE}-Others.lst" + + # Traverse the directories and files. + while test $# -ge 1 -a -n "${1}"; + do + for f in ${MY_ROOT_DIR}/$1; + do + if test -d "${f}"; + then + my_sub_tree "${MY_FILE}" "${f}" + else + my_file "${MY_FILE}" "${f}" + fi + done + shift + done + + # Generate the folders. + if test -s "${MY_FILE}-Sources.lst"; + then + echo ' ' >> "${MY_FILE}" + ${MY_SORT} "${MY_FILE}-Sources.lst" | ${MY_SED} -e 's/