mirror of https://github.com/GOSTSec/sgminer
ckolivas
11 years ago
committed by
Con Kolivas
22 changed files with 0 additions and 8125 deletions
@ -1,106 +0,0 @@
@@ -1,106 +0,0 @@
|
||||
@rem default builds static library. |
||||
@rem you can pass the following arguments (case insensitive): |
||||
@rem - "DLL" to build a DLL instead of a static library |
||||
@rem - "/MT" to build a static library compatible with MSVC's /MT option (LIBCMT vs MSVCRT) |
||||
@echo off |
||||
|
||||
if Test%BUILD_ALT_DIR%==Test goto usage |
||||
|
||||
rem process commandline parameters |
||||
set TARGET=LIBRARY |
||||
set STATIC_LIBC= |
||||
set version=1.0 |
||||
|
||||
if "%1" == "" goto no_more_args |
||||
rem /I for case insensitive |
||||
if /I Test%1==TestDLL set TARGET=DYNLINK |
||||
if /I Test%1==Test/MT set STATIC_LIBC=1 |
||||
:no_more_args |
||||
|
||||
cd ..\libusb\os |
||||
echo TARGETTYPE=%TARGET% > target |
||||
copy target+..\..\msvc\libusb_sources sources >NUL 2>&1 |
||||
del target |
||||
@echo on |
||||
build -cwgZ |
||||
@echo off |
||||
if errorlevel 1 goto builderror |
||||
cd ..\.. |
||||
|
||||
set cpudir=i386 |
||||
set destType=Win32 |
||||
if %_BUILDARCH%==x86 goto isI386 |
||||
set cpudir=amd64 |
||||
set destType=x64 |
||||
:isI386 |
||||
|
||||
set srcPath=libusb\os\obj%BUILD_ALT_DIR%\%cpudir% |
||||
|
||||
set dstPath=%destType%\Debug |
||||
if %DDKBUILDENV%==chk goto isDebug |
||||
set dstPath=%destType%\Release |
||||
:isDebug |
||||
|
||||
if exist %destType% goto md2 |
||||
mkdir %destType% |
||||
:md2 |
||||
if exist %dstPath% goto md3 |
||||
mkdir %dstPath% |
||||
:md3 |
||||
if exist %dstPath%\dll goto md4 |
||||
mkdir %dstPath%\dll |
||||
:md4 |
||||
if exist %dstPath%\lib goto md5 |
||||
md %dstPath%\lib |
||||
:md5 |
||||
if exist %dstPath%\examples goto md6 |
||||
md %dstPath%\examples |
||||
:md6 |
||||
@echo on |
||||
|
||||
@if /I NOT Test%1==TestDLL goto copylib |
||||
copy %srcPath%\libusb-%version%.dll %dstPath%\dll |
||||
copy %srcPath%\libusb-%version%.pdb %dstPath%\dll |
||||
:copylib |
||||
copy %srcPath%\libusb-%version%.lib %dstPath%\lib |
||||
|
||||
@echo off |
||||
|
||||
if exist examples\listdevs_ddkbuild goto md7 |
||||
md examples\listdevs_ddkbuild |
||||
:md7 |
||||
|
||||
cd examples\listdevs_ddkbuild |
||||
copy ..\..\msvc\listdevs_sources sources >NUL 2>&1 |
||||
@echo on |
||||
build -cwgZ |
||||
@echo off |
||||
if errorlevel 1 goto buildlistdevserror |
||||
cd ..\.. |
||||
|
||||
set srcPath=examples\listdevs_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir% |
||||
@echo on |
||||
|
||||
copy %srcPath%\listdevs.exe %dstPath%\examples |
||||
copy %srcPath%\listdevs.pdb %dstPath%\examples |
||||
|
||||
cd msvc |
||||
goto done |
||||
|
||||
|
||||
:builderror |
||||
cd ..\..\msvc |
||||
echo Build failed |
||||
goto done |
||||
|
||||
:buildlistdevserror |
||||
cd ..\..\msvc |
||||
echo listdevs build failed |
||||
goto done |
||||
|
||||
:usage |
||||
echo ddk_build must be run in a WDK build environment |
||||
pause |
||||
goto done |
||||
|
||||
:done |
@ -1,142 +0,0 @@
@@ -1,142 +0,0 @@
|
||||
@rem default builds static library. |
||||
@rem you can pass the following arguments (case insensitive): |
||||
@rem - "DLL" to build a DLL instead of a static library |
||||
@rem - "/MT" to build a static library compatible with MSVC's /MT option (LIBCMT vs MSVCRT) |
||||
@echo off |
||||
|
||||
if Test%BUILD_ALT_DIR%==Test goto usage |
||||
|
||||
rem process commandline parameters |
||||
set TARGET=LIBRARY |
||||
set STATIC_LIBC= |
||||
set version=1.0 |
||||
|
||||
if "%1" == "" goto no_more_args |
||||
rem /I for case insensitive |
||||
if /I Test%1==TestDLL set TARGET=DYNLINK |
||||
if /I Test%1==Test/MT set STATIC_LIBC=1 |
||||
:no_more_args |
||||
|
||||
cd ..\libusb\os |
||||
echo TARGETTYPE=%TARGET% > target |
||||
copy target+..\..\msvc\libusb_sources sources >NUL 2>&1 |
||||
del target |
||||
@echo on |
||||
build -cwgZ |
||||
@echo off |
||||
if errorlevel 1 goto builderror |
||||
cd ..\.. |
||||
|
||||
set cpudir=i386 |
||||
set destType=Win32 |
||||
if %_BUILDARCH%==x86 goto isI386 |
||||
set cpudir=amd64 |
||||
set destType=x64 |
||||
:isI386 |
||||
|
||||
set srcPath=libusb\os\obj%BUILD_ALT_DIR%\%cpudir% |
||||
|
||||
set dstPath=%destType%\Debug |
||||
if %DDKBUILDENV%==chk goto isDebug |
||||
set dstPath=%destType%\Release |
||||
:isDebug |
||||
|
||||
if exist %destType% goto md2 |
||||
mkdir %destType% |
||||
:md2 |
||||
if exist %dstPath% goto md3 |
||||
mkdir %dstPath% |
||||
:md3 |
||||
if exist %dstPath%\dll goto md4 |
||||
mkdir %dstPath%\dll |
||||
:md4 |
||||
if exist %dstPath%\lib goto md5 |
||||
md %dstPath%\lib |
||||
:md5 |
||||
if exist %dstPath%\examples goto md6 |
||||
md %dstPath%\examples |
||||
:md6 |
||||
@echo on |
||||
|
||||
@if /I NOT Test%1==TestDLL goto copylib |
||||
copy %srcPath%\libusb-%version%.dll %dstPath%\dll |
||||
copy %srcPath%\libusb-%version%.pdb %dstPath%\dll |
||||
:copylib |
||||
copy %srcPath%\libusb-%version%.lib %dstPath%\lib |
||||
|
||||
@echo off |
||||
|
||||
if exist examples\listdevs_ddkbuild goto md7 |
||||
md examples\listdevs_ddkbuild |
||||
:md7 |
||||
|
||||
cd examples\listdevs_ddkbuild |
||||
copy ..\..\msvc\listdevs_sources sources >NUL 2>&1 |
||||
@echo on |
||||
build -cwgZ |
||||
@echo off |
||||
if errorlevel 1 goto buildlistdevserror |
||||
cd ..\.. |
||||
|
||||
set srcPath=examples\listdevs_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir% |
||||
@echo on |
||||
|
||||
copy %srcPath%\listdevs.exe %dstPath%\examples |
||||
copy %srcPath%\listdevs.pdb %dstPath%\examples |
||||
|
||||
cd msvc |
||||
goto done |
||||
|
||||
|
||||
:builderror |
||||
cd ..\..\msvc |
||||
echo Build failed |
||||
goto done |
||||
|
||||
<<<<<<< HEAD |
||||
:buildlistdevserror |
||||
cd ..\..\msvc |
||||
echo listdevs build failed |
||||
======= |
||||
if exist examples\getopt\getopt_ddkbuild goto md9 |
||||
md examples\getopt\getopt_ddkbuild |
||||
:md9 |
||||
|
||||
cd examples\getopt\getopt_ddkbuild |
||||
copy ..\..\..\msvc\getopt_sources sources >NUL 2>&1 |
||||
@echo on |
||||
%BUILD_CMD% |
||||
@echo off |
||||
if errorlevel 1 goto builderror |
||||
cd ..\..\.. |
||||
|
||||
if exist examples\fxload_ddkbuild goto md8 |
||||
md examples\fxload_ddkbuild |
||||
:md8 |
||||
|
||||
cd examples\fxload_ddkbuild |
||||
copy ..\..\msvc\fxload_sources sources >NUL 2>&1 |
||||
@echo on |
||||
%BUILD_CMD% |
||||
@echo off |
||||
if errorlevel 1 goto builderror |
||||
cd ..\.. |
||||
|
||||
set srcPath=examples\fxload_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir% |
||||
@echo on |
||||
|
||||
copy %srcPath%\fxload.exe %dstPath%\examples |
||||
copy %srcPath%\fxload.pdb %dstPath%\examples |
||||
|
||||
@echo off |
||||
|
||||
cd msvc |
||||
>>>>>>> 0597533... Samples: Add fxload sample for Cypress EZ-USB chips |
||||
goto done |
||||
|
||||
:usage |
||||
echo ddk_build must be run in a WDK build environment |
||||
pause |
||||
goto done |
||||
|
||||
:done |
@ -1,56 +0,0 @@
@@ -1,56 +0,0 @@
|
||||
Microsoft Developer Studio Workspace File, Format Version 6.00 |
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! |
||||
|
||||
############################################################################### |
||||
|
||||
Project: "libusb_dll"=".\libusb_dll.dsp" - Package Owner=<4> |
||||
|
||||
Package=<5> |
||||
{{{ |
||||
}}} |
||||
|
||||
Package=<4> |
||||
{{{ |
||||
}}} |
||||
|
||||
############################################################################### |
||||
|
||||
Project: "libusb_static"=".\libusb_static.dsp" - Package Owner=<4> |
||||
|
||||
Package=<5> |
||||
{{{ |
||||
}}} |
||||
|
||||
Package=<4> |
||||
{{{ |
||||
}}} |
||||
|
||||
############################################################################### |
||||
|
||||
Project: "listdevs"=".\listdevs.dsp" - Package Owner=<4> |
||||
|
||||
Package=<5> |
||||
{{{ |
||||
}}} |
||||
|
||||
Package=<4> |
||||
{{{ |
||||
Begin Project Dependency |
||||
Project_Dep_Name libusb_static |
||||
End Project Dependency |
||||
}}} |
||||
|
||||
############################################################################### |
||||
|
||||
Global: |
||||
|
||||
Package=<5> |
||||
{{{ |
||||
}}} |
||||
|
||||
Package=<3> |
||||
{{{ |
||||
}}} |
||||
|
||||
############################################################################### |
||||
|
@ -1,190 +0,0 @@
@@ -1,190 +0,0 @@
|
||||
# Microsoft Developer Studio Project File - Name="libusb_dll" - Package Owner=<4> |
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 |
||||
# ** DO NOT EDIT ** |
||||
|
||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 |
||||
|
||||
CFG=libusb_dll - Win32 Debug |
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, |
||||
!MESSAGE use the Export Makefile command and run |
||||
!MESSAGE |
||||
!MESSAGE NMAKE /f "libusb_dll.mak". |
||||
!MESSAGE |
||||
!MESSAGE You can specify a configuration when running NMAKE |
||||
!MESSAGE by defining the macro CFG on the command line. For example: |
||||
!MESSAGE |
||||
!MESSAGE NMAKE /f "libusb_dll.mak" CFG="libusb_dll - Win32 Debug" |
||||
!MESSAGE |
||||
!MESSAGE Possible choices for configuration are: |
||||
!MESSAGE |
||||
!MESSAGE "libusb_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") |
||||
!MESSAGE "libusb_dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") |
||||
!MESSAGE |
||||
|
||||
# Begin Project |
||||
# PROP AllowPerConfigDependencies 0 |
||||
# PROP Scc_ProjName "" |
||||
# PROP Scc_LocalPath "" |
||||
CPP=cl.exe |
||||
MTL=midl.exe |
||||
RSC=rc.exe |
||||
|
||||
!IF "$(CFG)" == "libusb_dll - Win32 Release" |
||||
|
||||
# PROP BASE Use_MFC 0 |
||||
# PROP BASE Use_Debug_Libraries 0 |
||||
# PROP BASE Output_Dir "Release" |
||||
# PROP BASE Intermediate_Dir "Release" |
||||
# PROP BASE Target_Dir "" |
||||
# PROP Use_MFC 0 |
||||
# PROP Use_Debug_Libraries 0 |
||||
# PROP Output_Dir "../Win32/Release/dll" |
||||
# PROP Intermediate_Dir "../Win32/Release/dll" |
||||
# PROP Ignore_Export_Lib 0 |
||||
# PROP Target_Dir "" |
||||
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "LIBUSB_DLL_EXPORTS" /YX /FD /c |
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "../libusb" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /D "_USRDLL" /FR /FD /EHsc /c |
||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 |
||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 |
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG" |
||||
# ADD RSC /l 0x409 /d "NDEBUG" |
||||
BSC32=bscmake.exe |
||||
# ADD BASE BSC32 /nologo |
||||
# ADD BSC32 /nologo |
||||
LINK32=link.exe |
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 |
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"Win32/Release/dll/libusb-1.0.dll" |
||||
|
||||
!ELSEIF "$(CFG)" == "libusb_dll - Win32 Debug" |
||||
|
||||
# PROP BASE Use_MFC 0 |
||||
# PROP BASE Use_Debug_Libraries 1 |
||||
# PROP BASE Output_Dir "Debug" |
||||
# PROP BASE Intermediate_Dir "Debug" |
||||
# PROP BASE Target_Dir "" |
||||
# PROP Use_MFC 0 |
||||
# PROP Use_Debug_Libraries 1 |
||||
# PROP Output_Dir "../Win32/Debug/dll" |
||||
# PROP Intermediate_Dir "../Win32/Debug/dll" |
||||
# PROP Ignore_Export_Lib 0 |
||||
# PROP Target_Dir "" |
||||
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "LIBUSB_DLL_EXPORTS" /YX /FD /GZ /c |
||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "../libusb" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /D "_USRDLL" /FR /FD /EHsc /c |
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 |
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 |
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" |
||||
# ADD RSC /l 0x409 /d "_DEBUG" |
||||
BSC32=bscmake.exe |
||||
# ADD BASE BSC32 /nologo |
||||
# ADD BSC32 /nologo /n |
||||
LINK32=link.exe |
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept |
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"Win32/Debug/dll/libusb-1.0.dll" |
||||
# SUBTRACT LINK32 /pdb:none /incremental:no |
||||
|
||||
!ENDIF |
||||
|
||||
# Begin Target |
||||
|
||||
# Name "libusb_dll - Win32 Release" |
||||
# Name "libusb_dll - Win32 Debug" |
||||
# Begin Group "Source Files" |
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\core.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\darwin_usb.c |
||||
# PROP Exclude_From_Build 1 |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\descriptor.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\io.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE="..\libusb\libusb-1.0.rc" |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE="..\libusb\libusb-1.0.def" |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\linux_usbfs.c |
||||
# PROP Exclude_From_Build 1 |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\poll_windows.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\sync.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\threads_windows.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\windows_usb.c |
||||
# End Source File |
||||
# End Group |
||||
# Begin Group "Header Files" |
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl" |
||||
# Begin Source File |
||||
|
||||
SOURCE=.\config.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\darwin_usb.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\libusb.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\libusbi.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\linux_usbfs.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\poll_posix.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\poll_windows.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\threads_posix.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\threads_windows.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\windows_usb.h |
||||
# End Source File |
||||
# End Group |
||||
# Begin Group "Resource Files" |
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" |
||||
# End Group |
||||
# End Target |
||||
# End Project |
@ -1,421 +0,0 @@
@@ -1,421 +0,0 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<VisualStudioProject |
||||
ProjectType="Visual C++" |
||||
Version="8.00" |
||||
Name="libusb-1.0 (dll)" |
||||
ProjectGUID="{8224C054-5968-4238-832C-167155E7ECC3}" |
||||
RootNamespace="libusbdll" |
||||
Keyword="Win32Proj" |
||||
> |
||||
<Platforms> |
||||
<Platform |
||||
Name="Win32" |
||||
/> |
||||
<Platform |
||||
Name="x64" |
||||
/> |
||||
</Platforms> |
||||
<ToolFiles> |
||||
</ToolFiles> |
||||
<Configurations> |
||||
<Configuration |
||||
Name="Debug|Win32" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\dll" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\dll\libusb-1.0" |
||||
ConfigurationType="2" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="4" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.dll" |
||||
LinkIncremental="2" |
||||
ModuleDefinitionFile="..\libusb\libusb-1.0.def" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="2" |
||||
TargetMachine="1" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|Win32" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\dll" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\dll\libusb-1.0" |
||||
ConfigurationType="2" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.dll" |
||||
LinkIncremental="1" |
||||
ModuleDefinitionFile="..\libusb\libusb-1.0.def" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="2" |
||||
OptimizeReferences="2" |
||||
EnableCOMDATFolding="2" |
||||
TargetMachine="1" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Debug|x64" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\dll" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\dll\libusb-1.0" |
||||
ConfigurationType="2" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.dll" |
||||
LinkIncremental="2" |
||||
ModuleDefinitionFile="..\libusb\libusb-1.0.def" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="2" |
||||
TargetMachine="17" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|x64" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\dll" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\dll\libusb-1.0" |
||||
ConfigurationType="2" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.dll" |
||||
LinkIncremental="1" |
||||
ModuleDefinitionFile="..\libusb\libusb-1.0.def" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="2" |
||||
OptimizeReferences="2" |
||||
EnableCOMDATFolding="2" |
||||
TargetMachine="17" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
</Configurations> |
||||
<References> |
||||
</References> |
||||
<Files> |
||||
<Filter |
||||
Name="Source Files" |
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" |
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" |
||||
> |
||||
<File |
||||
RelativePath="..\libusb\core.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\descriptor.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\io.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\libusb-1.0.def" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\sync.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\threads_windows.c" |
||||
> |
||||
</File> |
||||
|
||||
<File |
||||
RelativePath="..\libusb\os\poll_windows.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\windows_usb.c" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Header Files" |
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd" |
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" |
||||
> |
||||
<File |
||||
RelativePath=".\config.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\libusb.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\libusbi.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\threads_windows.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\poll_windows.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\windows_usb.h" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Resource Files" |
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" |
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" |
||||
> |
||||
<File |
||||
RelativePath="..\libusb\libusb-1.0.rc" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
</Files> |
||||
<Globals> |
||||
</Globals> |
||||
</VisualStudioProject> |
@ -1,36 +0,0 @@
@@ -1,36 +0,0 @@
|
||||
#TARGETTYPE is not defined, to allow selection between static lib or DLL with ddk_build |
||||
TARGETNAME=libusb-1.0 |
||||
DLLDEF=..\libusb-1.0.def |
||||
|
||||
!IFNDEF MSC_WARNING_LEVEL |
||||
MSC_WARNING_LEVEL=/W3 |
||||
!ENDIF |
||||
|
||||
!IFDEF STATIC_LIBC |
||||
USE_LIBCMT=1 |
||||
!ELSE |
||||
USE_MSVCRT=1 |
||||
!ENDIF |
||||
|
||||
INCLUDES=..;..\..\msvc;$(DDK_INC_PATH) |
||||
C_DEFINES= $(C_DEFINES) $(LIBUSB_DEFINES) /DDDKBUILD |
||||
|
||||
# http://jpassing.com/2009/10/21/ltcg-issues-with-the-win7amd64-environment-of-wdk-7600/ |
||||
# prevents the following error when using the 64 bit static lib with Visual Studio 2010: |
||||
# "fatal error C1001: An internal error has occurred in the compiler. |
||||
# (compiler file 'f:\dd\vctools\compiler\utc\src\p2\p2symtab.c', line 1823)" |
||||
# and the following with Visual Studio 2010: |
||||
# "fatal error C1047: The object or library file 'libusb-1.0.lib' was created with |
||||
# an older compiler than other objects; rebuild old objects and libraries" |
||||
USER_C_FLAGS=/GL- |
||||
|
||||
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib |
||||
|
||||
SOURCES=..\core.c \ |
||||
..\descriptor.c \ |
||||
..\io.c \ |
||||
..\sync.c \ |
||||
threads_windows.c \ |
||||
poll_windows.c \ |
||||
windows_usb.c \ |
||||
..\libusb-1.0.rc |
@ -1,170 +0,0 @@
@@ -1,170 +0,0 @@
|
||||
# Microsoft Developer Studio Project File - Name="libusb_static" - Package Owner=<4> |
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 |
||||
# ** DO NOT EDIT ** |
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104 |
||||
|
||||
CFG=libusb_static - Win32 Debug |
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, |
||||
!MESSAGE use the Export Makefile command and run |
||||
!MESSAGE |
||||
!MESSAGE NMAKE /f "libusb_static.mak". |
||||
!MESSAGE |
||||
!MESSAGE You can specify a configuration when running NMAKE |
||||
!MESSAGE by defining the macro CFG on the command line. For example: |
||||
!MESSAGE |
||||
!MESSAGE NMAKE /f "libusb_static.mak" CFG="libusb_static - Win32 Debug" |
||||
!MESSAGE |
||||
!MESSAGE Possible choices for configuration are: |
||||
!MESSAGE |
||||
!MESSAGE "libusb_static - Win32 Release" (based on "Win32 (x86) Static Library") |
||||
!MESSAGE "libusb_static - Win32 Debug" (based on "Win32 (x86) Static Library") |
||||
!MESSAGE |
||||
|
||||
# Begin Project |
||||
# PROP AllowPerConfigDependencies 0 |
||||
# PROP Scc_ProjName "" |
||||
# PROP Scc_LocalPath "" |
||||
CPP=cl.exe |
||||
RSC=rc.exe |
||||
|
||||
!IF "$(CFG)" == "libusb_static - Win32 Release" |
||||
|
||||
# PROP BASE Use_MFC 0 |
||||
# PROP BASE Use_Debug_Libraries 0 |
||||
# PROP BASE Output_Dir "Release" |
||||
# PROP BASE Intermediate_Dir "Release" |
||||
# PROP BASE Target_Dir "" |
||||
# PROP Use_MFC 0 |
||||
# PROP Use_Debug_Libraries 0 |
||||
# PROP Output_Dir "../Win32/Release/lib" |
||||
# PROP Intermediate_Dir "../Win32/Release/lib" |
||||
# PROP Target_Dir "" |
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_LIB" /YX /FD /c |
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "../libusb" /D "WIN32" /D "NDEBUG" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /D "_LIB" /FR /FD /EHsc /c |
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG" |
||||
# ADD RSC /l 0x409 /d "NDEBUG" |
||||
BSC32=bscmake.exe |
||||
# ADD BASE BSC32 /nologo |
||||
# ADD BSC32 /nologo |
||||
LIB32=link.exe -lib |
||||
# ADD BASE LIB32 /nologo |
||||
# ADD LIB32 /nologo /out:"../Win32/Release/lib/libusb-1.0.lib" |
||||
|
||||
!ELSEIF "$(CFG)" == "libusb_static - Win32 Debug" |
||||
|
||||
# PROP BASE Use_MFC 0 |
||||
# PROP BASE Use_Debug_Libraries 1 |
||||
# PROP BASE Output_Dir "Debug" |
||||
# PROP BASE Intermediate_Dir "Debug" |
||||
# PROP BASE Target_Dir "" |
||||
# PROP Use_MFC 0 |
||||
# PROP Use_Debug_Libraries 1 |
||||
# PROP Output_Dir "../Win32/Debug/lib" |
||||
# PROP Intermediate_Dir "../Win32/Debug/lib" |
||||
# PROP Target_Dir "" |
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_LIB" /YX /FD /GZ /c |
||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "../libusb" /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /D "_LIB" /FR /FD /GZ /EHsc /c |
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" |
||||
# ADD RSC /l 0x409 /d "_DEBUG" |
||||
BSC32=bscmake.exe |
||||
# ADD BASE BSC32 /nologo |
||||
# ADD BSC32 /nologo /n |
||||
LIB32=link.exe -lib |
||||
# ADD BASE LIB32 /nologo |
||||
# ADD LIB32 /nologo /out:"../Win32/Debug/lib/libusb-1.0.lib" |
||||
|
||||
!ENDIF |
||||
|
||||
# Begin Target |
||||
|
||||
# Name "libusb_static - Win32 Release" |
||||
# Name "libusb_static - Win32 Debug" |
||||
# Begin Group "Source Files" |
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\core.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\darwin_usb.c |
||||
# PROP Exclude_From_Build 1 |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\descriptor.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\io.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\linux_usbfs.c |
||||
# PROP Exclude_From_Build 1 |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\poll_windows.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\sync.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\threads_windows.c |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\windows_usb.c |
||||
# End Source File |
||||
# End Group |
||||
# Begin Group "Header Files" |
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl" |
||||
# Begin Source File |
||||
|
||||
SOURCE=.\config.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\darwin_usb.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\libusb.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\libusbi.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\linux_usbfs.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\poll_posix.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\poll_windows.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\threads_posix.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\threads_windows.h |
||||
# End Source File |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\libusb\os\windows_usb.h |
||||
# End Source File |
||||
# End Group |
||||
# End Target |
||||
# End Project |
@ -1,346 +0,0 @@
@@ -1,346 +0,0 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<VisualStudioProject |
||||
ProjectType="Visual C++" |
||||
Version="8.00" |
||||
Name="libusb-1.0 (static)" |
||||
ProjectGUID="{5AB6B770-1925-48D5-ABC2-930F3259C020}" |
||||
RootNamespace="libusb" |
||||
Keyword="Win32Proj" |
||||
> |
||||
<Platforms> |
||||
<Platform |
||||
Name="Win32" |
||||
/> |
||||
<Platform |
||||
Name="x64" |
||||
/> |
||||
</Platforms> |
||||
<ToolFiles> |
||||
</ToolFiles> |
||||
<Configurations> |
||||
<Configuration |
||||
Name="Debug|Win32" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="4" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.lib" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|Win32" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.lib" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Debug|x64" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.lib" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|x64" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=".;..\libusb" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
OutputFile="$(OutDir)\libusb-1.0.lib" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
</Configurations> |
||||
<References> |
||||
</References> |
||||
<Files> |
||||
<Filter |
||||
Name="Source Files" |
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" |
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" |
||||
> |
||||
<File |
||||
RelativePath="..\libusb\core.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\descriptor.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\io.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\sync.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\threads_windows.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\poll_windows.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\windows_usb.c" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Header Files" |
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd" |
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" |
||||
> |
||||
<File |
||||
RelativePath=".\config.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\libusb.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\libusbi.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\threads_windows.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\poll_windows.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\libusb\os\windows_usb.h" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
</Files> |
||||
<Globals> |
||||
</Globals> |
||||
</VisualStudioProject> |
@ -1,49 +0,0 @@
@@ -1,49 +0,0 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00 |
||||
# Visual Studio 2010 |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (static)", "libusb_static.vcxproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (dll)", "libusb_dll.vcxproj", "{349EE8FA-7D25-4909-AAF5-FF3FADE72187}" |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "listdevs", "listdevs.vcxproj", "{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}" |
||||
EndProject |
||||
Global |
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
||||
Debug|Win32 = Debug|Win32 |
||||
Debug|x64 = Debug|x64 |
||||
Release|Win32 = Release|Win32 |
||||
Release|x64 = Release|x64 |
||||
EndGlobalSection |
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.Build.0 = Debug|x64 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.Build.0 = Release|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.Build.0 = Release|x64 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|x64.Build.0 = Debug|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.Build.0 = Release|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|x64.ActiveCfg = Release|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|x64.Build.0 = Release|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|x64.Build.0 = Debug|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.Build.0 = Release|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|x64.ActiveCfg = Release|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|x64.Build.0 = Release|x64 |
||||
EndGlobalSection |
||||
GlobalSection(SolutionProperties) = preSolution |
||||
HideSolutionNode = FALSE |
||||
EndGlobalSection |
||||
EndGlobal |
@ -1,77 +0,0 @@
@@ -1,77 +0,0 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00 |
||||
# Visual Studio 2010 |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (static)", "libusb_static.vcxproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (dll)", "libusb_dll.vcxproj", "{349EE8FA-7D25-4909-AAF5-FF3FADE72187}" |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "listdevs", "listdevs.vcxproj", "{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}" |
||||
EndProject |
||||
<<<<<<< HEAD:msvc/libusb_vs2010.sln |
||||
======= |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xusb", "xusb.vcxproj", "{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}" |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fxload", "fxload.vcxproj", "{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E} = {AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E} |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "getopt", "getopt.vcxproj", "{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}" |
||||
EndProject |
||||
>>>>>>> 0597533... Samples: Add fxload sample for Cypress EZ-USB chips:msvc/libusb_2010.sln |
||||
Global |
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
||||
Debug|Win32 = Debug|Win32 |
||||
Debug|x64 = Debug|x64 |
||||
Release|Win32 = Release|Win32 |
||||
Release|x64 = Release|x64 |
||||
EndGlobalSection |
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.Build.0 = Debug|x64 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.Build.0 = Release|Win32 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64 |
||||
{349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.Build.0 = Release|x64 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{349EE8FA-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|x64.Build.0 = Debug|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.Build.0 = Release|Win32 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|x64.ActiveCfg = Release|x64 |
||||
{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|x64.Build.0 = Release|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|x64.Build.0 = Debug|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.Build.0 = Release|Win32 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|x64.ActiveCfg = Release|x64 |
||||
{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|x64.Build.0 = Release|x64 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Debug|x64.Build.0 = Debug|x64 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Release|Win32.Build.0 = Release|Win32 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Release|x64.ActiveCfg = Release|x64 |
||||
{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}.Release|x64.Build.0 = Release|x64 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Debug|x64.Build.0 = Debug|x64 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Release|Win32.Build.0 = Release|Win32 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Release|x64.ActiveCfg = Release|x64 |
||||
{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}.Release|x64.Build.0 = Release|x64 |
||||
EndGlobalSection |
||||
GlobalSection(SolutionProperties) = preSolution |
||||
HideSolutionNode = FALSE |
||||
EndGlobalSection |
||||
EndGlobal |
@ -1,103 +0,0 @@
@@ -1,103 +0,0 @@
|
||||
# Microsoft Developer Studio Project File - Name="listdevs" - Package Owner=<4> |
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00 |
||||
# ** DO NOT EDIT ** |
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103 |
||||
|
||||
CFG=listdevs - Win32 Debug |
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE, |
||||
!MESSAGE use the Export Makefile command and run |
||||
!MESSAGE |
||||
!MESSAGE NMAKE /f "listdevs.mak". |
||||
!MESSAGE |
||||
!MESSAGE You can specify a configuration when running NMAKE |
||||
!MESSAGE by defining the macro CFG on the command line. For example: |
||||
!MESSAGE |
||||
!MESSAGE NMAKE /f "listdevs.mak" CFG="listdevs - Win32 Debug" |
||||
!MESSAGE |
||||
!MESSAGE Possible choices for configuration are: |
||||
!MESSAGE |
||||
!MESSAGE "listdevs - Win32 Release" (based on "Win32 (x86) Console Application") |
||||
!MESSAGE "listdevs - Win32 Debug" (based on "Win32 (x86) Console Application") |
||||
!MESSAGE |
||||
|
||||
# Begin Project |
||||
# PROP AllowPerConfigDependencies 0 |
||||
# PROP Scc_ProjName "" |
||||
# PROP Scc_LocalPath "" |
||||
CPP=cl.exe |
||||
RSC=rc.exe |
||||
|
||||
!IF "$(CFG)" == "listdevs - Win32 Release" |
||||
|
||||
# PROP BASE Use_MFC 0 |
||||
# PROP BASE Use_Debug_Libraries 0 |
||||
# PROP BASE Output_Dir "Release" |
||||
# PROP BASE Intermediate_Dir "Release" |
||||
# PROP BASE Target_Dir "" |
||||
# PROP Use_MFC 0 |
||||
# PROP Use_Debug_Libraries 0 |
||||
# PROP Output_Dir "../Win32/Release/examples" |
||||
# PROP Intermediate_Dir "../Win32/Release/examples/listdevs" |
||||
# PROP Ignore_Export_Lib 0 |
||||
# PROP Target_Dir "" |
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c |
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "../libusb" /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /FR /FD /EHsc /c |
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG" |
||||
# ADD RSC /l 0x409 /d "NDEBUG" |
||||
BSC32=bscmake.exe |
||||
# ADD BASE BSC32 /nologo |
||||
# ADD BSC32 /nologo |
||||
LINK32=link.exe |
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 |
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 |
||||
|
||||
!ELSEIF "$(CFG)" == "listdevs - Win32 Debug" |
||||
|
||||
# PROP BASE Use_MFC 0 |
||||
# PROP BASE Use_Debug_Libraries 1 |
||||
# PROP BASE Output_Dir "Debug" |
||||
# PROP BASE Intermediate_Dir "Debug" |
||||
# PROP BASE Target_Dir "" |
||||
# PROP Use_MFC 0 |
||||
# PROP Use_Debug_Libraries 1 |
||||
# PROP Output_Dir "../Win32/Debug/examples" |
||||
# PROP Intermediate_Dir "../Win32/Debug/examples/listdevs" |
||||
# PROP Ignore_Export_Lib 0 |
||||
# PROP Target_Dir "" |
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /GZ /c |
||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../libusb" /I "." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /FR /FD /GZ /EHsc /c |
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" |
||||
# ADD RSC /l 0x409 /d "_DEBUG" |
||||
BSC32=bscmake.exe |
||||
# ADD BASE BSC32 /nologo |
||||
# ADD BSC32 /nologo /n "../Win32/Debug/dll/core.sbr" "../Win32/Debug/dll/descriptor.sbr" "../Win32/Debug/dll/io.sbr" "../Win32/Debug/dll/sync.sbr" "../Win32/Debug/dll/poll_windows.sbr" "../Win32/Debug/dll/threads_windows.sbr" "../Win32/Debug/dll/windows_usb.sbr" |
||||
LINK32=link.exe |
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept |
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 |
||||
# SUBTRACT LINK32 /pdb:none |
||||
|
||||
!ENDIF |
||||
|
||||
# Begin Target |
||||
|
||||
# Name "listdevs - Win32 Release" |
||||
# Name "listdevs - Win32 Debug" |
||||
# Begin Group "Source Files" |
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" |
||||
# Begin Source File |
||||
|
||||
SOURCE=..\examples\listdevs.c |
||||
# End Source File |
||||
# End Group |
||||
# Begin Group "Header Files" |
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl" |
||||
# End Group |
||||
# Begin Group "Resource Files" |
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" |
||||
# End Group |
||||
# End Target |
||||
# End Project |
@ -1,360 +0,0 @@
@@ -1,360 +0,0 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<VisualStudioProject |
||||
ProjectType="Visual C++" |
||||
Version="8.00" |
||||
Name="listdevs" |
||||
ProjectGUID="{98CFD8FA-EE20-40D5-AF13-F8C4856D6CA5}" |
||||
RootNamespace="examples" |
||||
Keyword="Win32Proj" |
||||
> |
||||
<Platforms> |
||||
<Platform |
||||
Name="Win32" |
||||
/> |
||||
<Platform |
||||
Name="x64" |
||||
/> |
||||
</Platforms> |
||||
<ToolFiles> |
||||
</ToolFiles> |
||||
<Configurations> |
||||
<Configuration |
||||
Name="Debug|Win32" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" |
||||
ConfigurationType="1" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories="..\libusb" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="4" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
LinkIncremental="2" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="1" |
||||
TargetMachine="1" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|Win32" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" |
||||
ConfigurationType="1" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories="..\libusb" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
LinkIncremental="1" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="1" |
||||
OptimizeReferences="2" |
||||
EnableCOMDATFolding="2" |
||||
TargetMachine="1" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Debug|x64" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" |
||||
ConfigurationType="1" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories="..\libusb" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
LinkIncremental="2" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="1" |
||||
TargetMachine="17" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|x64" |
||||
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples" |
||||
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" |
||||
ConfigurationType="1" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories="..\libusb" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
LinkIncremental="1" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="1" |
||||
OptimizeReferences="2" |
||||
EnableCOMDATFolding="2" |
||||
TargetMachine="17" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
</Configurations> |
||||
<References> |
||||
</References> |
||||
<Files> |
||||
<Filter |
||||
Name="Source Files" |
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" |
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" |
||||
> |
||||
<File |
||||
RelativePath="..\examples\listdevs.c" |
||||
> |
||||
<FileConfiguration |
||||
Name="Release|Win32" |
||||
> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Detect64BitPortabilityProblems="false" |
||||
/> |
||||
</FileConfiguration> |
||||
<FileConfiguration |
||||
Name="Release|x64" |
||||
> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Detect64BitPortabilityProblems="false" |
||||
/> |
||||
</FileConfiguration> |
||||
</File> |
||||
</Filter> |
||||
</Files> |
||||
<Globals> |
||||
</Globals> |
||||
</VisualStudioProject> |
@ -1,19 +0,0 @@
@@ -1,19 +0,0 @@
|
||||
TARGETNAME=listdevs |
||||
TARGETTYPE=PROGRAM |
||||
386_STDCALL=0 |
||||
|
||||
_NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) |
||||
!IFNDEF MSC_WARNING_LEVEL |
||||
MSC_WARNING_LEVEL=/W3 |
||||
!ENDIF |
||||
|
||||
!IFDEF STATIC_LIBC |
||||
USE_LIBCMT=1 |
||||
!ELSE |
||||
USE_MSVCRT=1 |
||||
!ENDIF |
||||
|
||||
UMTYPE=console |
||||
INCLUDES=..\..\libusb;$(DDK_INC_PATH) |
||||
UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib |
||||
SOURCES=..\listdevs.c |
@ -1,256 +0,0 @@
@@ -1,256 +0,0 @@
|
||||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain. |
||||
* This file was originally part of the w64 mingw-runtime package. |
||||
*/ |
||||
|
||||
/* ISO C9x 7.18 Integer types <stdint.h>
|
||||
* Based on ISO/IEC SC22/WG14 9899 Committee draft (SC22 N2794) |
||||
* |
||||
* THIS SOFTWARE IS NOT COPYRIGHTED |
||||
* |
||||
* Contributor: Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
||||
* Modified for libusb/MSVC: Pete Batard <pbatard@gmail.com> |
||||
* |
||||
* This source code is offered for use in the public domain. You may |
||||
* use, modify or distribute it freely. |
||||
* |
||||
* This code is distributed in the hope that it will be useful but |
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY |
||||
* DISCLAIMED. This includes but is not limited to warranties of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||||
* |
||||
* Date: 2010-04-02 |
||||
*/ |
||||
|
||||
#ifndef _MSC_VER |
||||
#error This header should only be used with Microsoft compilers |
||||
#endif |
||||
|
||||
#ifndef _STDINT_H |
||||
#define _STDINT_H |
||||
|
||||
#ifndef _INTPTR_T_DEFINED |
||||
#define _INTPTR_T_DEFINED |
||||
#ifndef __intptr_t_defined |
||||
#define __intptr_t_defined |
||||
#undef intptr_t |
||||
#ifdef _WIN64 |
||||
typedef __int64 intptr_t; |
||||
#else |
||||
typedef int intptr_t; |
||||
#endif /* _WIN64 */ |
||||
#endif /* __intptr_t_defined */ |
||||
#endif /* _INTPTR_T_DEFINED */ |
||||
|
||||
#ifndef _UINTPTR_T_DEFINED |
||||
#define _UINTPTR_T_DEFINED |
||||
#ifndef __uintptr_t_defined |
||||
#define __uintptr_t_defined |
||||
#undef uintptr_t |
||||
#ifdef _WIN64 |
||||
typedef unsigned __int64 uintptr_t; |
||||
#else |
||||
typedef unsigned int uintptr_t; |
||||
#endif /* _WIN64 */ |
||||
#endif /* __uintptr_t_defined */ |
||||
#endif /* _UINTPTR_T_DEFINED */ |
||||
|
||||
#ifndef _PTRDIFF_T_DEFINED |
||||
#define _PTRDIFF_T_DEFINED |
||||
#ifndef _PTRDIFF_T_ |
||||
#define _PTRDIFF_T_ |
||||
#undef ptrdiff_t |
||||
#ifdef _WIN64 |
||||
typedef __int64 ptrdiff_t; |
||||
#else |
||||
typedef int ptrdiff_t; |
||||
#endif /* _WIN64 */ |
||||
#endif /* _PTRDIFF_T_ */ |
||||
#endif /* _PTRDIFF_T_DEFINED */ |
||||
|
||||
#ifndef _WCHAR_T_DEFINED |
||||
#define _WCHAR_T_DEFINED |
||||
#ifndef __cplusplus |
||||
typedef unsigned short wchar_t; |
||||
#endif /* C++ */ |
||||
#endif /* _WCHAR_T_DEFINED */ |
||||
|
||||
#ifndef _WCTYPE_T_DEFINED |
||||
#define _WCTYPE_T_DEFINED |
||||
#ifndef _WINT_T |
||||
#define _WINT_T |
||||
typedef unsigned short wint_t; |
||||
typedef unsigned short wctype_t; |
||||
#endif /* _WINT_T */ |
||||
#endif /* _WCTYPE_T_DEFINED */ |
||||
|
||||
/* 7.18.1.1 Exact-width integer types */ |
||||
typedef __int8 int8_t; |
||||
typedef unsigned __int8 uint8_t; |
||||
typedef __int16 int16_t; |
||||
typedef unsigned __int16 uint16_t; |
||||
typedef __int32 int32_t; |
||||
typedef unsigned __int32 uint32_t; |
||||
typedef __int64 int64_t; |
||||
typedef unsigned __int64 uint64_t; |
||||
|
||||
/* 7.18.1.2 Minimum-width integer types */ |
||||
typedef signed char int_least8_t; |
||||
typedef unsigned char uint_least8_t; |
||||
typedef short int_least16_t; |
||||
typedef unsigned short uint_least16_t; |
||||
typedef int int_least32_t; |
||||
typedef unsigned uint_least32_t; |
||||
typedef __int64 int_least64_t; |
||||
typedef unsigned __int64 uint_least64_t; |
||||
|
||||
/* 7.18.1.3 Fastest minimum-width integer types
|
||||
* Not actually guaranteed to be fastest for all purposes |
||||
* Here we use the exact-width types for 8 and 16-bit ints. |
||||
*/ |
||||
typedef __int8 int_fast8_t; |
||||
typedef unsigned __int8 uint_fast8_t; |
||||
typedef __int16 int_fast16_t; |
||||
typedef unsigned __int16 uint_fast16_t; |
||||
typedef __int32 int_fast32_t; |
||||
typedef unsigned __int32 uint_fast32_t; |
||||
typedef __int64 int_fast64_t; |
||||
typedef unsigned __int64 uint_fast64_t; |
||||
|
||||
/* 7.18.1.5 Greatest-width integer types */ |
||||
typedef __int64 intmax_t; |
||||
typedef unsigned __int64 uintmax_t; |
||||
|
||||
/* 7.18.2 Limits of specified-width integer types */ |
||||
|
||||
/* 7.18.2.1 Limits of exact-width integer types */ |
||||
#define INT8_MIN (-128) |
||||
#define INT16_MIN (-32768) |
||||
#define INT32_MIN (-2147483647 - 1) |
||||
#define INT64_MIN (-9223372036854775807LL - 1) |
||||
|
||||
#define INT8_MAX 127 |
||||
#define INT16_MAX 32767 |
||||
#define INT32_MAX 2147483647 |
||||
#define INT64_MAX 9223372036854775807LL |
||||
|
||||
#define UINT8_MAX 255 |
||||
#define UINT16_MAX 65535 |
||||
#define UINT32_MAX 0xffffffffU /* 4294967295U */ |
||||
#define UINT64_MAX 0xffffffffffffffffULL /* 18446744073709551615ULL */ |
||||
|
||||
/* 7.18.2.2 Limits of minimum-width integer types */ |
||||
#define INT_LEAST8_MIN INT8_MIN |
||||
#define INT_LEAST16_MIN INT16_MIN |
||||
#define INT_LEAST32_MIN INT32_MIN |
||||
#define INT_LEAST64_MIN INT64_MIN |
||||
|
||||
#define INT_LEAST8_MAX INT8_MAX |
||||
#define INT_LEAST16_MAX INT16_MAX |
||||
#define INT_LEAST32_MAX INT32_MAX |
||||
#define INT_LEAST64_MAX INT64_MAX |
||||
|
||||
#define UINT_LEAST8_MAX UINT8_MAX |
||||
#define UINT_LEAST16_MAX UINT16_MAX |
||||
#define UINT_LEAST32_MAX UINT32_MAX |
||||
#define UINT_LEAST64_MAX UINT64_MAX |
||||
|
||||
/* 7.18.2.3 Limits of fastest minimum-width integer types */ |
||||
#define INT_FAST8_MIN INT8_MIN |
||||
#define INT_FAST16_MIN INT16_MIN |
||||
#define INT_FAST32_MIN INT32_MIN |
||||
#define INT_FAST64_MIN INT64_MIN |
||||
|
||||
#define INT_FAST8_MAX INT8_MAX |
||||
#define INT_FAST16_MAX INT16_MAX |
||||
#define INT_FAST32_MAX INT32_MAX |
||||
#define INT_FAST64_MAX INT64_MAX |
||||
|
||||
#define UINT_FAST8_MAX UINT8_MAX |
||||
#define UINT_FAST16_MAX UINT16_MAX |
||||
#define UINT_FAST32_MAX UINT32_MAX |
||||
#define UINT_FAST64_MAX UINT64_MAX |
||||
|
||||
/* 7.18.2.4 Limits of integer types capable of holding
|
||||
object pointers */ |
||||
#ifdef _WIN64 |
||||
#define INTPTR_MIN INT64_MIN |
||||
#define INTPTR_MAX INT64_MAX |
||||
#define UINTPTR_MAX UINT64_MAX |
||||
#else |
||||
#define INTPTR_MIN INT32_MIN |
||||
#define INTPTR_MAX INT32_MAX |
||||
#define UINTPTR_MAX UINT32_MAX |
||||
#endif |
||||
|
||||
/* 7.18.2.5 Limits of greatest-width integer types */ |
||||
#define INTMAX_MIN INT64_MIN |
||||
#define INTMAX_MAX INT64_MAX |
||||
#define UINTMAX_MAX UINT64_MAX |
||||
|
||||
/* 7.18.3 Limits of other integer types */ |
||||
#ifdef _WIN64 |
||||
#define PTRDIFF_MIN INT64_MIN |
||||
#define PTRDIFF_MAX INT64_MAX |
||||
#else |
||||
#define PTRDIFF_MIN INT32_MIN |
||||
#define PTRDIFF_MAX INT32_MAX |
||||
#endif |
||||
|
||||
#define SIG_ATOMIC_MIN INT32_MIN |
||||
#define SIG_ATOMIC_MAX INT32_MAX |
||||
|
||||
#ifndef SIZE_MAX |
||||
#ifdef _WIN64 |
||||
#define SIZE_MAX UINT64_MAX |
||||
#else |
||||
#define SIZE_MAX UINT32_MAX |
||||
#endif |
||||
#endif |
||||
|
||||
#ifndef WCHAR_MIN /* also in wchar.h */ |
||||
#define WCHAR_MIN 0U |
||||
#define WCHAR_MAX 0xffffU |
||||
#endif |
||||
|
||||
/*
|
||||
* wint_t is unsigned short for compatibility with MS runtime |
||||
*/ |
||||
#define WINT_MIN 0U |
||||
#define WINT_MAX 0xffffU |
||||
|
||||
|
||||
/* 7.18.4 Macros for integer constants */ |
||||
|
||||
/* 7.18.4.1 Macros for minimum-width integer constants
|
||||
|
||||
Accoding to Douglas Gwyn <gwyn@arl.mil>: |
||||
"This spec was changed in ISO/IEC 9899:1999 TC1; in ISO/IEC |
||||
9899:1999 as initially published, the expansion was required |
||||
to be an integer constant of precisely matching type, which |
||||
is impossible to accomplish for the shorter types on most |
||||
platforms, because C99 provides no standard way to designate |
||||
an integer constant with width less than that of type int. |
||||
TC1 changed this to require just an integer constant |
||||
*expression* with *promoted* type." |
||||
|
||||
The trick used here is from Clive D W Feather. |
||||
*/ |
||||
|
||||
#define INT8_C(val) (INT_LEAST8_MAX-INT_LEAST8_MAX+(val)) |
||||
#define INT16_C(val) (INT_LEAST16_MAX-INT_LEAST16_MAX+(val)) |
||||
#define INT32_C(val) (INT_LEAST32_MAX-INT_LEAST32_MAX+(val)) |
||||
/* The 'trick' doesn't work in C89 for long long because, without
|
||||
suffix, (val) will be evaluated as int, not intmax_t */ |
||||
#define INT64_C(val) val##i64 |
||||
|
||||
#define UINT8_C(val) (val) |
||||
#define UINT16_C(val) (val) |
||||
#define UINT32_C(val) (val##i32) |
||||
#define UINT64_C(val) val##ui64 |
||||
|
||||
/* 7.18.4.2 Macros for greatest-width integer constants */ |
||||
#define INTMAX_C(val) val##i64 |
||||
#define UINTMAX_C(val) val##ui64 |
||||
|
||||
#endif |
Loading…
Reference in new issue