diff options
author | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2010-12-04 14:25:04 +0100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2010-12-04 14:25:04 +0100 |
commit | 46f2c1134d276944fb74584a61d90cc363aee7eb (patch) | |
tree | 6fa14b7ef509a3fb84305dec013dd24bcae6c17d /libusb-1.0/_bd.cmd | |
parent | Addresses: (diff) | |
download | Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.gz Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.bz2 Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.lz Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.xz Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.tar.zst Heimdall-46f2c1134d276944fb74584a61d90cc363aee7eb.zip |
Diffstat (limited to 'libusb-1.0/_bd.cmd')
-rw-r--r-- | libusb-1.0/_bd.cmd | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/libusb-1.0/_bd.cmd b/libusb-1.0/_bd.cmd new file mode 100644 index 0000000..7e148cd --- /dev/null +++ b/libusb-1.0/_bd.cmd @@ -0,0 +1,82 @@ +@echo off +rem produce the DDK binary files for snapshots +rem !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!! + +if NOT x%DDK_TARGET_OS%==xWinXP goto usage + +mkdir E:\dailies\%DATE% +for %%A in (MS32 MS64) do mkdir E:\dailies\%DATE%\%%A +for %%A in (MS32 MS64) do mkdir E:\dailies\%DATE%\%%A\static +for %%A in (MS32 MS64) do mkdir E:\dailies\%DATE%\%%A\dll +for %%A in (source bin32 bin64) do mkdir E:\dailies\%DATE%\examples\%%A +copy libusb\libusb.h E:\dailies\%DATE%\ +copy libusb\libusb-1.0.def E:\dailies\%DATE%\ +copy examples\lsusb.c E:\dailies\%DATE%\examples\source +copy examples\xusb.c E:\dailies\%DATE%\examples\source +copy msvc\stdint.h E:\dailies\%DATE%\examples\source +copy _README.txt E:\dailies\%DATE%\README.txt + +set ORG_BUILD_ALT_DIR=%BUILD_ALT_DIR% +set ORG_BUILDARCH=%_BUILDARCH% +set ORG_PATH=%PATH% +set ORG_BUILD_DEFAULT_TARGETS=%BUILD_DEFAULT_TARGETS% + +set 386=1 +set AMD64= +set BUILD_DEFAULT_TARGETS=-386 +set _AMD64bit= +set _BUILDARCH=x86 +set PATH=%BASEDIR%\bin\x86;%BASEDIR%\bin\x86\x86 + +cd msvc +call ddk_build +cd .. + +@echo off +copy Win32\Release\lib\libusb-1.0.lib E:\dailies\%DATE%\MS32\static +copy Win32\Release\examples\lsusb.exe E:\dailies\%DATE%\examples\bin32 +copy Win32\Release\examples\xusb.exe E:\dailies\%DATE%\examples\bin32 + +cd msvc +call ddk_build DLL +cd .. + +@echo off +copy Win32\Release\lib\libusb-1.0.lib E:\dailies\%DATE%\MS32\dll +copy Win32\Release\dll\libusb-1.0.dll E:\dailies\%DATE%\MS32\dll + +set 386= +set AMD64=1 +set BUILD_DEFAULT_TARGETS=-amd64 +set _AMD64bit=true +set _BUILDARCH=AMD64 +set PATH=%BASEDIR%\bin\x86\amd64;%BASEDIR%\bin\x86 + +cd msvc +call ddk_build +cd .. + +@echo off +copy x64\Release\lib\libusb-1.0.lib E:\dailies\%DATE%\MS64\static +copy x64\Release\examples\lsusb.exe E:\dailies\%DATE%\examples\bin64 +copy x64\Release\examples\xusb.exe E:\dailies\%DATE%\examples\bin64 + +cd msvc +call ddk_build DLL +cd .. + +@echo off +copy x64\Release\lib\libusb-1.0.lib E:\dailies\%DATE%\MS64\dll +copy x64\Release\dll\libusb-1.0.dll E:\dailies\%DATE%\MS64\dll + +set BUILD_ALT_DIR=%ORG_BUILD_ALT_DIR% +set _BUILDARCH=%ORG_BUILDARCH% +set PATH=%ORG_PATH% +set BUILD_DEFAULT_TARGETS=%ORG_BUILD_DEFAULT_TARGETS% + +goto done + +:usage +echo must be run in a WXP build environment! + +:done
\ No newline at end of file |