diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-21 15:39:34 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-21 15:39:34 -0800 |
commit | 28630ad489bfc81ee683ddf569e9d9e0f4da95f7 (patch) | |
tree | 91aa6f65a84b73ea04e939aa148f750104859cf8 /.private | |
parent | de4a59af87bf0b6df04d9f1c9439c957681f5e53 (diff) | |
download | libusb-28630ad489bfc81ee683ddf569e9d9e0f4da95f7.tar.gz |
Misc: Remove obsolete Windows DDK build files
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to '.private')
-rw-r--r-- | .private/.gitattributes | 2 | ||||
-rw-r--r-- | .private/bd.cmd | 89 | ||||
-rw-r--r-- | .private/wbs.txt | 20 |
3 files changed, 1 insertions, 110 deletions
diff --git a/.private/.gitattributes b/.private/.gitattributes deleted file mode 100644 index 47dacb3..0000000 --- a/.private/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -bd.cmd eol=crlf -wbs.txt eol=crlf diff --git a/.private/bd.cmd b/.private/bd.cmd deleted file mode 100644 index d02ce23..0000000 --- a/.private/bd.cmd +++ /dev/null @@ -1,89 +0,0 @@ -@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 - -set IWD=%~dp0 -cd .. -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 examples\listdevs.c E:\dailies\%DATE%\examples\source -copy examples\xusb.c E:\dailies\%DATE%\examples\source -copy examples\ezusb.? E:\dailies\%DATE%\examples\source -copy examples\fxload.c E:\dailies\%DATE%\examples\source -copy msvc\stdint.h E:\dailies\%DATE%\examples\source -copy .private\wbs.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\listdevs.exe E:\dailies\%DATE%\examples\bin32 -copy Win32\Release\examples\xusb.exe E:\dailies\%DATE%\examples\bin32 -copy Win32\Release\examples\fxload.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 -copy Win32\Release\dll\libusb-1.0.pdb 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\listdevs.exe E:\dailies\%DATE%\examples\bin64 -copy x64\Release\examples\xusb.exe E:\dailies\%DATE%\examples\bin64 -copy x64\Release\examples\fxload.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 -copy x64\Release\dll\libusb-1.0.pdb 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 -cd %IWD%
\ No newline at end of file diff --git a/.private/wbs.txt b/.private/wbs.txt index 7a12424..cbf376b 100644 --- a/.private/wbs.txt +++ b/.private/wbs.txt @@ -24,24 +24,6 @@ o Visual Studio: remember that you need to have a copy of the DLL either in the runtime directory or in system32 -o WDK/DDK: - - The following is an example of a sources files that you can use to compile - a libusb 1.0 based console application. In this sample ..\libusb\ is the - directory where you would have copied libusb.h as well as the relevant - libusb-1.0.lib - - TARGETNAME=your_app - TARGETTYPE=PROGRAM - USE_MSVCRT=1 - UMTYPE=console - INCLUDES=..\libusb;$(DDK_INC_PATH) - TARGETLIBS=..\libusb\libusb-1.0.lib - SOURCES=your_app.c - - - Note that if you plan to use libCMT instead of MSVCRT (USE_LIBCMT=1 instead - of USE_MSVCRT=1), you will need to recompile libusb to use libCMT. This can - easily be achieved, in the DDK environment, by running 'ddk_build /MT' - o MinGW/cygwin - Copy libusb.h, from include/libusb-1.0/ to your default include directory, and copy the MinGW32/ or MinGW64/ .a files to your default library directory. @@ -58,4 +40,4 @@ o Additional information: - The MinGW and MS generated DLLs are fully interchangeable, provided that you use the import libs provided or generate one from the .def also provided. - If you find any issue, please visit http://libusb.info/ and check the - Support section
\ No newline at end of file + Support section |