usb 2.1.3 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +19 -2
  3. package/dist/index.d.ts +2 -1
  4. package/dist/index.js +3 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/usb/bindings.d.ts +4 -0
  7. package/dist/usb/device.js +5 -0
  8. package/dist/usb/device.js.map +1 -1
  9. package/dist/usb/index.js +7 -16
  10. package/dist/usb/index.js.map +1 -1
  11. package/dist/webusb/webusb-device.d.ts +0 -1
  12. package/dist/webusb/webusb-device.js +149 -243
  13. package/dist/webusb/webusb-device.js.map +1 -1
  14. package/libusb/.gitattributes +2 -6
  15. package/libusb/.private/appveyor_build.sh +22 -0
  16. package/libusb/.private/bm.sh +1 -1
  17. package/libusb/.private/ci-build.sh +67 -0
  18. package/libusb/.private/ci-container-build.sh +70 -0
  19. package/libusb/.private/post-rewrite.sh +5 -1
  20. package/libusb/.private/pre-commit.sh +5 -1
  21. package/libusb/.private/wbs.txt +4 -19
  22. package/libusb/.travis.yml +32 -23
  23. package/libusb/AUTHORS +86 -3
  24. package/libusb/ChangeLog +54 -3
  25. package/libusb/INSTALL_WIN.txt +22 -44
  26. package/libusb/Makefile.am +32 -10
  27. package/libusb/{README.md → README} +2 -2
  28. package/libusb/README.git +3 -3
  29. package/libusb/Xcode/common.xcconfig +23 -19
  30. package/libusb/Xcode/config.h +25 -13
  31. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +511 -109
  32. package/libusb/android/README +90 -54
  33. package/libusb/android/config.h +23 -43
  34. package/libusb/android/examples/unrooted_android.c +300 -0
  35. package/libusb/android/examples/unrooted_android.h +36 -0
  36. package/libusb/android/jni/Android.mk +1 -1
  37. package/libusb/android/jni/Application.mk +16 -0
  38. package/libusb/android/jni/examples.mk +63 -29
  39. package/libusb/android/jni/libusb.mk +14 -8
  40. package/libusb/android/jni/tests.mk +13 -24
  41. package/libusb/appveyor.yml +73 -30
  42. package/libusb/autogen.sh +5 -3
  43. package/libusb/bootstrap.sh +6 -2
  44. package/libusb/configure.ac +314 -227
  45. package/libusb/doc/Makefile.in +22 -0
  46. package/libusb/doc/doxygen.cfg.in +460 -223
  47. package/libusb/examples/Makefile.am +6 -13
  48. package/libusb/examples/dpfp.c +276 -73
  49. package/libusb/examples/ezusb.c +18 -8
  50. package/libusb/examples/ezusb.h +6 -17
  51. package/libusb/examples/fxload.c +4 -5
  52. package/libusb/examples/hotplugtest.c +1 -1
  53. package/libusb/examples/sam3u_benchmark.c +59 -24
  54. package/libusb/examples/testlibusb.c +138 -104
  55. package/libusb/examples/xusb.c +26 -22
  56. package/libusb/libusb/Makefile.am +57 -70
  57. package/libusb/libusb/Makefile.am.extra +26 -0
  58. package/libusb/libusb/core.c +432 -423
  59. package/libusb/libusb/descriptor.c +365 -419
  60. package/libusb/libusb/hotplug.c +200 -104
  61. package/libusb/libusb/io.c +522 -535
  62. package/libusb/libusb/libusb-1.0.def +7 -3
  63. package/libusb/libusb/libusb-1.0.rc +1 -9
  64. package/libusb/libusb/libusb.h +302 -226
  65. package/libusb/libusb/libusbi.h +607 -316
  66. package/libusb/libusb/os/darwin_usb.c +703 -329
  67. package/libusb/libusb/os/darwin_usb.h +39 -15
  68. package/libusb/libusb/os/events_posix.c +300 -0
  69. package/libusb/libusb/os/events_posix.h +59 -0
  70. package/libusb/libusb/os/events_windows.c +214 -0
  71. package/libusb/{msvc/missing.h → libusb/os/events_windows.h} +25 -11
  72. package/libusb/libusb/os/haiku_pollfs.cpp +14 -9
  73. package/libusb/libusb/os/haiku_usb.h +12 -12
  74. package/libusb/libusb/os/haiku_usb_backend.cpp +36 -37
  75. package/libusb/libusb/os/haiku_usb_raw.cpp +80 -116
  76. package/libusb/libusb/os/linux_netlink.c +55 -63
  77. package/libusb/libusb/os/linux_udev.c +61 -69
  78. package/libusb/libusb/os/linux_usbfs.c +926 -1015
  79. package/libusb/libusb/os/linux_usbfs.h +74 -57
  80. package/libusb/libusb/os/netbsd_usb.c +103 -168
  81. package/libusb/libusb/os/null_usb.c +111 -0
  82. package/libusb/libusb/os/openbsd_usb.c +71 -120
  83. package/libusb/libusb/os/sunos_usb.c +289 -375
  84. package/libusb/libusb/os/sunos_usb.h +0 -1
  85. package/libusb/libusb/os/threads_posix.c +81 -32
  86. package/libusb/libusb/os/threads_posix.h +19 -23
  87. package/libusb/libusb/os/threads_windows.c +9 -95
  88. package/libusb/libusb/os/threads_windows.h +33 -31
  89. package/libusb/libusb/os/windows_common.c +915 -0
  90. package/libusb/libusb/os/windows_common.h +330 -42
  91. package/libusb/libusb/os/windows_usbdk.c +161 -267
  92. package/libusb/libusb/os/windows_usbdk.h +5 -2
  93. package/libusb/libusb/os/windows_winusb.c +1355 -1192
  94. package/libusb/libusb/os/windows_winusb.h +167 -167
  95. package/libusb/libusb/strerror.c +20 -30
  96. package/libusb/libusb/sync.c +20 -21
  97. package/libusb/libusb/version.h +1 -1
  98. package/libusb/libusb/version_nano.h +1 -1
  99. package/libusb/msvc/.gitattributes +3 -0
  100. package/libusb/msvc/config.h +27 -20
  101. package/libusb/msvc/{hotplugtest_2012.vcxproj → dpfp_2013.vcxproj} +14 -10
  102. package/libusb/msvc/dpfp_2013.vcxproj.filters +26 -0
  103. package/libusb/msvc/{hotplugtest_2010.vcxproj → dpfp_2015.vcxproj} +14 -9
  104. package/libusb/msvc/dpfp_2015.vcxproj.filters +26 -0
  105. package/libusb/msvc/dpfp_2017.vcxproj +106 -0
  106. package/libusb/msvc/dpfp_2017.vcxproj.filters +26 -0
  107. package/libusb/msvc/dpfp_2019.vcxproj +106 -0
  108. package/libusb/msvc/dpfp_2019.vcxproj.filters +26 -0
  109. package/libusb/msvc/dpfp_threaded_2013.vcxproj +87 -0
  110. package/libusb/msvc/dpfp_threaded_2013.vcxproj.filters +26 -0
  111. package/libusb/msvc/dpfp_threaded_2015.vcxproj +87 -0
  112. package/libusb/msvc/dpfp_threaded_2015.vcxproj.filters +26 -0
  113. package/libusb/msvc/dpfp_threaded_2017.vcxproj +106 -0
  114. package/libusb/msvc/dpfp_threaded_2017.vcxproj.filters +26 -0
  115. package/libusb/msvc/{fxload_2012.vcxproj → dpfp_threaded_2019.vcxproj} +32 -17
  116. package/libusb/msvc/dpfp_threaded_2019.vcxproj.filters +26 -0
  117. package/libusb/msvc/fxload_2013.vcxproj +6 -3
  118. package/libusb/msvc/fxload_2013.vcxproj.filters +35 -0
  119. package/libusb/msvc/fxload_2015.vcxproj +6 -3
  120. package/libusb/msvc/fxload_2015.vcxproj.filters +35 -0
  121. package/libusb/msvc/fxload_2017.vcxproj +6 -7
  122. package/libusb/msvc/fxload_2017.vcxproj.filters +35 -0
  123. package/libusb/msvc/{fxload_2010.vcxproj → fxload_2019.vcxproj} +29 -6
  124. package/libusb/msvc/fxload_2019.vcxproj.filters +35 -0
  125. package/libusb/{examples → msvc}/getopt/getopt.c +0 -0
  126. package/libusb/{examples → msvc}/getopt/getopt.h +0 -0
  127. package/libusb/{examples → msvc}/getopt/getopt1.c +0 -0
  128. package/libusb/msvc/getopt_2013.vcxproj +4 -5
  129. package/libusb/msvc/getopt_2013.vcxproj.filters +26 -0
  130. package/libusb/msvc/getopt_2015.vcxproj +4 -4
  131. package/libusb/msvc/getopt_2015.vcxproj.filters +26 -0
  132. package/libusb/msvc/getopt_2017.vcxproj +4 -10
  133. package/libusb/msvc/getopt_2017.vcxproj.filters +26 -0
  134. package/libusb/msvc/{getopt_2010.vcxproj → getopt_2019.vcxproj} +25 -5
  135. package/libusb/msvc/getopt_2019.vcxproj.filters +26 -0
  136. package/libusb/msvc/hotplugtest_2013.vcxproj +6 -3
  137. package/libusb/msvc/hotplugtest_2013.vcxproj.filters +23 -0
  138. package/libusb/msvc/hotplugtest_2015.vcxproj +6 -3
  139. package/libusb/msvc/hotplugtest_2015.vcxproj.filters +23 -0
  140. package/libusb/msvc/hotplugtest_2017.vcxproj +6 -7
  141. package/libusb/msvc/hotplugtest_2017.vcxproj.filters +23 -0
  142. package/libusb/msvc/hotplugtest_2019.vcxproj +105 -0
  143. package/libusb/msvc/hotplugtest_2019.vcxproj.filters +23 -0
  144. package/libusb/msvc/libusb_2013.sln +50 -20
  145. package/libusb/msvc/libusb_2015.sln +51 -21
  146. package/libusb/msvc/libusb_2017.sln +90 -36
  147. package/libusb/msvc/libusb_2019.sln +240 -0
  148. package/libusb/msvc/libusb_dll_2013.vcxproj +6 -9
  149. package/libusb/msvc/libusb_dll_2013.vcxproj.filters +94 -0
  150. package/libusb/msvc/libusb_dll_2015.vcxproj +6 -8
  151. package/libusb/msvc/libusb_dll_2015.vcxproj.filters +94 -0
  152. package/libusb/msvc/libusb_dll_2017.vcxproj +6 -16
  153. package/libusb/msvc/libusb_dll_2017.vcxproj.filters +94 -0
  154. package/libusb/msvc/{libusb_dll_2010.vcxproj → libusb_dll_2019.vcxproj} +27 -9
  155. package/libusb/msvc/libusb_dll_2019.vcxproj.filters +94 -0
  156. package/libusb/msvc/libusb_static_2013.vcxproj +5 -9
  157. package/libusb/msvc/libusb_static_2013.vcxproj.filters +80 -0
  158. package/libusb/msvc/libusb_static_2015.vcxproj +5 -8
  159. package/libusb/msvc/libusb_static_2015.vcxproj.filters +80 -0
  160. package/libusb/msvc/libusb_static_2017.vcxproj +5 -8
  161. package/libusb/msvc/libusb_static_2017.vcxproj.filters +80 -0
  162. package/libusb/msvc/{libusb_static_2010.vcxproj → libusb_static_2019.vcxproj} +26 -9
  163. package/libusb/msvc/libusb_static_2019.vcxproj.filters +80 -0
  164. package/libusb/msvc/listdevs_2013.vcxproj +6 -3
  165. package/libusb/msvc/listdevs_2013.vcxproj.filters +23 -0
  166. package/libusb/msvc/listdevs_2015.vcxproj +6 -3
  167. package/libusb/msvc/listdevs_2015.vcxproj.filters +23 -0
  168. package/libusb/msvc/listdevs_2017.vcxproj +6 -7
  169. package/libusb/msvc/listdevs_2017.vcxproj.filters +23 -0
  170. package/libusb/msvc/listdevs_2019.vcxproj +105 -0
  171. package/libusb/msvc/listdevs_2019.vcxproj.filters +23 -0
  172. package/libusb/msvc/{listdevs_2010.vcxproj → sam3u_benchmark_2013.vcxproj} +13 -8
  173. package/libusb/msvc/sam3u_benchmark_2013.vcxproj.filters +26 -0
  174. package/libusb/msvc/{listdevs_2012.vcxproj → sam3u_benchmark_2015.vcxproj} +13 -9
  175. package/libusb/msvc/sam3u_benchmark_2015.vcxproj.filters +26 -0
  176. package/libusb/msvc/sam3u_benchmark_2017.vcxproj +106 -0
  177. package/libusb/msvc/sam3u_benchmark_2017.vcxproj.filters +26 -0
  178. package/libusb/msvc/sam3u_benchmark_2019.vcxproj +106 -0
  179. package/libusb/msvc/sam3u_benchmark_2019.vcxproj.filters +26 -0
  180. package/libusb/msvc/stress_2013.vcxproj +4 -2
  181. package/libusb/msvc/stress_2013.vcxproj.filters +32 -0
  182. package/libusb/msvc/stress_2015.vcxproj +4 -2
  183. package/libusb/msvc/stress_2015.vcxproj.filters +32 -0
  184. package/libusb/msvc/stress_2017.vcxproj +4 -6
  185. package/libusb/msvc/stress_2017.vcxproj.filters +32 -0
  186. package/libusb/msvc/{stress_2010.vcxproj → stress_2019.vcxproj} +26 -4
  187. package/libusb/msvc/stress_2019.vcxproj.filters +32 -0
  188. package/libusb/msvc/testlibusb_2013.vcxproj +6 -3
  189. package/libusb/msvc/testlibusb_2013.vcxproj.filters +23 -0
  190. package/libusb/msvc/testlibusb_2015.vcxproj +6 -3
  191. package/libusb/msvc/testlibusb_2015.vcxproj.filters +23 -0
  192. package/libusb/msvc/testlibusb_2017.vcxproj +6 -7
  193. package/libusb/msvc/testlibusb_2017.vcxproj.filters +23 -0
  194. package/libusb/msvc/{testlibusb_2010.vcxproj → testlibusb_2019.vcxproj} +28 -5
  195. package/libusb/msvc/testlibusb_2019.vcxproj.filters +23 -0
  196. package/libusb/msvc/xusb_2013.vcxproj +6 -3
  197. package/libusb/msvc/xusb_2013.vcxproj.filters +23 -0
  198. package/libusb/msvc/xusb_2015.vcxproj +6 -3
  199. package/libusb/msvc/xusb_2015.vcxproj.filters +23 -0
  200. package/libusb/msvc/xusb_2017.vcxproj +6 -7
  201. package/libusb/msvc/xusb_2017.vcxproj.filters +23 -0
  202. package/libusb/msvc/{xusb_2010.vcxproj → xusb_2019.vcxproj} +28 -5
  203. package/libusb/msvc/xusb_2019.vcxproj.filters +23 -0
  204. package/libusb/tests/Makefile.am +13 -1
  205. package/libusb/tests/libusb_testlib.h +12 -43
  206. package/libusb/tests/stress.c +59 -50
  207. package/libusb/tests/testlib.c +78 -171
  208. package/libusb/tests/umockdev.c +1175 -0
  209. package/libusb.gypi +10 -11
  210. package/package.json +1 -1
  211. package/prebuilds/android-arm/node.napi.armv7.node +0 -0
  212. package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
  213. package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  214. package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
  215. package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
  216. package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
  217. package/prebuilds/linux-ia32/node.napi.node +0 -0
  218. package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  219. package/prebuilds/linux-x64/node.napi.musl.node +0 -0
  220. package/prebuilds/win32-ia32/node.napi.node +0 -0
  221. package/prebuilds/win32-x64/node.napi.node +0 -0
  222. package/src/device.cc +12 -7
  223. package/src/node_usb.cc +10 -0
  224. package/test/usb.coffee +6 -0
  225. package/tsc/index.ts +2 -0
  226. package/tsc/usb/bindings.ts +5 -0
  227. package/tsc/usb/device.ts +6 -0
  228. package/tsc/usb/index.ts +5 -8
  229. package/tsc/webusb/webusb-device.ts +67 -124
  230. package/dist/webusb/mutex.d.ts +0 -22
  231. package/dist/webusb/mutex.js +0 -89
  232. package/dist/webusb/mutex.js.map +0 -1
  233. package/libusb/.private/bd.cmd +0 -89
  234. package/libusb/.private/bwince.cmd +0 -57
  235. package/libusb/.private/wbs_wince.txt +0 -42
  236. package/libusb/Brewfile +0 -4
  237. package/libusb/appveyor_cygwin.bat +0 -11
  238. package/libusb/appveyor_minGW.bat +0 -19
  239. package/libusb/doc/Makefile.am +0 -9
  240. package/libusb/examples/dpfp_threaded.c +0 -557
  241. package/libusb/libusb/hotplug.h +0 -99
  242. package/libusb/libusb/os/poll_posix.c +0 -84
  243. package/libusb/libusb/os/poll_posix.h +0 -14
  244. package/libusb/libusb/os/poll_windows.c +0 -447
  245. package/libusb/libusb/os/poll_windows.h +0 -98
  246. package/libusb/libusb/os/wince_usb.c +0 -888
  247. package/libusb/libusb/os/wince_usb.h +0 -126
  248. package/libusb/libusb/os/windows_nt_common.c +0 -1010
  249. package/libusb/libusb/os/windows_nt_common.h +0 -110
  250. package/libusb/libusb/os/windows_nt_shared_types.h +0 -147
  251. package/libusb/msvc/appveyor.bat +0 -27
  252. package/libusb/msvc/ddk_build.cmd +0 -219
  253. package/libusb/msvc/errno.h +0 -102
  254. package/libusb/msvc/fxload_sources +0 -23
  255. package/libusb/msvc/getopt_2005.vcproj +0 -288
  256. package/libusb/msvc/getopt_2012.vcxproj +0 -73
  257. package/libusb/msvc/getopt_sources +0 -24
  258. package/libusb/msvc/hotplugtest_sources +0 -20
  259. package/libusb/msvc/inttypes.h +0 -295
  260. package/libusb/msvc/libusb.dsw +0 -71
  261. package/libusb/msvc/libusb_2005.sln +0 -95
  262. package/libusb/msvc/libusb_2010.sln +0 -105
  263. package/libusb/msvc/libusb_2012.sln +0 -105
  264. package/libusb/msvc/libusb_dll.dsp +0 -194
  265. package/libusb/msvc/libusb_dll_2005.vcproj +0 -464
  266. package/libusb/msvc/libusb_dll_2012.vcxproj +0 -107
  267. package/libusb/msvc/libusb_dll_wince.vcproj +0 -1251
  268. package/libusb/msvc/libusb_sources +0 -43
  269. package/libusb/msvc/libusb_static.dsp +0 -174
  270. package/libusb/msvc/libusb_static_2005.vcproj +0 -390
  271. package/libusb/msvc/libusb_static_2012.vcxproj +0 -98
  272. package/libusb/msvc/libusb_static_wince.vcproj +0 -1179
  273. package/libusb/msvc/libusb_wince.sln +0 -246
  274. package/libusb/msvc/listdevs.dsp +0 -103
  275. package/libusb/msvc/listdevs_2005.vcproj +0 -360
  276. package/libusb/msvc/listdevs_sources +0 -20
  277. package/libusb/msvc/listdevs_wince.vcproj +0 -1120
  278. package/libusb/msvc/missing.c +0 -80
  279. package/libusb/msvc/stdint.h +0 -256
  280. package/libusb/msvc/stress_2005.vcproj +0 -390
  281. package/libusb/msvc/stress_2012.vcxproj +0 -87
  282. package/libusb/msvc/stress_sources +0 -21
  283. package/libusb/msvc/stress_wince.vcproj +0 -1128
  284. package/libusb/msvc/testlibusb_2012.vcxproj +0 -83
  285. package/libusb/msvc/testlibusb_sources +0 -20
  286. package/libusb/msvc/xusb.dsp +0 -102
  287. package/libusb/msvc/xusb_2005.vcproj +0 -344
  288. package/libusb/msvc/xusb_2012.vcxproj +0 -83
  289. package/libusb/msvc/xusb_sources +0 -20
  290. package/libusb/msvc/xusb_wince.vcproj +0 -1120
  291. package/libusb/travis-autogen.sh +0 -39
  292. package/tsc/webusb/mutex.ts +0 -38
@@ -1,43 +0,0 @@
1
- #TARGETTYPE is not defined, to allow selection between static lib or DLL with ddk_build
2
- TARGETNAME=libusb-1.0
3
- DLLDEF=..\libusb-1.0.def
4
-
5
- _NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
6
-
7
- !IFNDEF MSC_WARNING_LEVEL
8
- MSC_WARNING_LEVEL=/W3
9
- !ENDIF
10
-
11
- !IFDEF STATIC_LIBC
12
- USE_LIBCMT=1
13
- !ELSE
14
- USE_MSVCRT=1
15
- !ENDIF
16
-
17
- INCLUDES=..;..\..\msvc;$(DDK_INC_PATH)
18
- C_DEFINES=$(C_DEFINES) $(LIBUSB_DEFINES) /DDDKBUILD
19
-
20
- # http://jpassing.com/2009/10/21/ltcg-issues-with-the-win7amd64-environment-of-wdk-7600/
21
- # prevents the following error when using the 64 bit static lib with Visual Studio 2010:
22
- # "fatal error C1001: An internal error has occurred in the compiler.
23
- # (compiler file 'f:\dd\vctools\compiler\utc\src\p2\p2symtab.c', line 1823)"
24
- # and the following with Visual Studio 2010:
25
- # "fatal error C1047: The object or library file 'libusb-1.0.lib' was created with
26
- # an older compiler than other objects; rebuild old objects and libraries"
27
- USER_C_FLAGS=/GL-
28
-
29
- TARGETLIBS=$(SDK_LIB_PATH)\advapi32.lib \
30
- $(SDK_LIB_PATH)\kernel32.lib
31
-
32
- SOURCES=..\core.c \
33
- ..\descriptor.c \
34
- ..\hotplug.c \
35
- ..\io.c \
36
- poll_windows.c \
37
- ..\strerror.c \
38
- ..\sync.c \
39
- threads_windows.c \
40
- windows_nt_common.c \
41
- windows_usbdk.c \
42
- windows_winusb.c \
43
- ..\libusb-1.0.rc
@@ -1,174 +0,0 @@
1
- # Microsoft Developer Studio Project File - Name="libusb_static" - Package Owner=<4>
2
- # Microsoft Developer Studio Generated Build File, Format Version 6.00
3
- # ** DO NOT EDIT **
4
-
5
- # TARGTYPE "Win32 (x86) Static Library" 0x0104
6
-
7
- CFG=libusb_static - Win32 Debug
8
- !MESSAGE This is not a valid makefile. To build this project using NMAKE,
9
- !MESSAGE use the Export Makefile command and run
10
- !MESSAGE
11
- !MESSAGE NMAKE /f "libusb_static.mak".
12
- !MESSAGE
13
- !MESSAGE You can specify a configuration when running NMAKE
14
- !MESSAGE by defining the macro CFG on the command line. For example:
15
- !MESSAGE
16
- !MESSAGE NMAKE /f "libusb_static.mak" CFG="libusb_static - Win32 Debug"
17
- !MESSAGE
18
- !MESSAGE Possible choices for configuration are:
19
- !MESSAGE
20
- !MESSAGE "libusb_static - Win32 Release" (based on "Win32 (x86) Static Library")
21
- !MESSAGE "libusb_static - Win32 Debug" (based on "Win32 (x86) Static Library")
22
- !MESSAGE
23
-
24
- # Begin Project
25
- # PROP AllowPerConfigDependencies 0
26
- # PROP Scc_ProjName ""
27
- # PROP Scc_LocalPath ""
28
- CPP=cl.exe
29
- RSC=rc.exe
30
-
31
- !IF "$(CFG)" == "libusb_static - Win32 Release"
32
-
33
- # PROP BASE Use_MFC 0
34
- # PROP BASE Use_Debug_Libraries 0
35
- # PROP BASE Output_Dir "Release"
36
- # PROP BASE Intermediate_Dir "Release"
37
- # PROP BASE Target_Dir ""
38
- # PROP Use_MFC 0
39
- # PROP Use_Debug_Libraries 0
40
- # PROP Output_Dir "../Win32/Release/lib"
41
- # PROP Intermediate_Dir "../Win32/Release/lib"
42
- # PROP Target_Dir ""
43
- # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_LIB" /YX /FD /c
44
- # 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
45
- # ADD BASE RSC /l 0x409 /d "NDEBUG"
46
- # ADD RSC /l 0x409 /d "NDEBUG"
47
- BSC32=bscmake.exe
48
- # ADD BASE BSC32 /nologo
49
- # ADD BSC32 /nologo
50
- LIB32=link.exe -lib
51
- # ADD BASE LIB32 /nologo
52
- # ADD LIB32 /nologo /out:"../Win32/Release/lib/libusb-1.0.lib"
53
-
54
- !ELSEIF "$(CFG)" == "libusb_static - Win32 Debug"
55
-
56
- # PROP BASE Use_MFC 0
57
- # PROP BASE Use_Debug_Libraries 1
58
- # PROP BASE Output_Dir "Debug"
59
- # PROP BASE Intermediate_Dir "Debug"
60
- # PROP BASE Target_Dir ""
61
- # PROP Use_MFC 0
62
- # PROP Use_Debug_Libraries 1
63
- # PROP Output_Dir "../Win32/Debug/lib"
64
- # PROP Intermediate_Dir "../Win32/Debug/lib"
65
- # PROP Target_Dir ""
66
- # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_LIB" /YX /FD /GZ /c
67
- # 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
68
- # ADD BASE RSC /l 0x409 /d "_DEBUG"
69
- # ADD RSC /l 0x409 /d "_DEBUG"
70
- BSC32=bscmake.exe
71
- # ADD BASE BSC32 /nologo
72
- # ADD BSC32 /nologo /n
73
- LIB32=link.exe -lib
74
- # ADD BASE LIB32 /nologo
75
- # ADD LIB32 /nologo /out:"../Win32/Debug/lib/libusb-1.0.lib"
76
-
77
- !ENDIF
78
-
79
- # Begin Target
80
-
81
- # Name "libusb_static - Win32 Release"
82
- # Name "libusb_static - Win32 Debug"
83
- # Begin Group "Source Files"
84
-
85
- # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
86
- # Begin Source File
87
-
88
- SOURCE=..\libusb\core.c
89
- # End Source File
90
- # Begin Source File
91
-
92
- SOURCE=..\libusb\os\darwin_usb.c
93
- # PROP Exclude_From_Build 1
94
- # End Source File
95
- # Begin Source File
96
-
97
- SOURCE=..\libusb\descriptor.c
98
- # End Source File
99
- # Begin Source File
100
-
101
- SOURCE=..\libusb\io.c
102
- # End Source File
103
- # Begin Source File
104
-
105
- SOURCE=..\libusb\os\linux_usbfs.c
106
- # PROP Exclude_From_Build 1
107
- # End Source File
108
- # Begin Source File
109
-
110
- SOURCE=..\libusb\os\poll_windows.c
111
- # End Source File
112
- # Begin Source File
113
-
114
- SOURCE=..\libusb\sync.c
115
- # End Source File
116
- # Begin Source File
117
-
118
- SOURCE=..\libusb\os\threads_windows.c
119
- # End Source File
120
- # Begin Source File
121
-
122
- SOURCE=..\libusb\os\windows_winusb.c
123
- # End Source File
124
- # End Group
125
- # Begin Group "Header Files"
126
-
127
- # PROP Default_Filter "h;hpp;hxx;hm;inl"
128
- # Begin Source File
129
-
130
- SOURCE=.\config.h
131
- # End Source File
132
- # Begin Source File
133
-
134
- SOURCE=..\libusb\os\darwin_usb.h
135
- # End Source File
136
- # Begin Source File
137
-
138
- SOURCE=..\libusb\libusb.h
139
- # End Source File
140
- # Begin Source File
141
-
142
- SOURCE=..\libusb\libusbi.h
143
- # End Source File
144
- # Begin Source File
145
-
146
- SOURCE=..\libusb\os\linux_usbfs.h
147
- # End Source File
148
- # Begin Source File
149
-
150
- SOURCE=..\libusb\os\poll_posix.h
151
- # End Source File
152
- # Begin Source File
153
-
154
- SOURCE=..\libusb\os\poll_windows.h
155
- # End Source File
156
- # Begin Source File
157
-
158
- SOURCE=..\libusb\os\threads_posix.h
159
- # End Source File
160
- # Begin Source File
161
-
162
- SOURCE=..\libusb\os\threads_windows.h
163
- # End Source File
164
- # Begin Source File
165
-
166
- SOURCE=..\libusb\os\windows_winusb.h
167
- # End Source File
168
- # Begin Source File
169
-
170
- SOURCE=..\libusb\os\windows_common.h
171
- # End Source File
172
- # End Group
173
- # End Target
174
- # End Project
@@ -1,390 +0,0 @@
1
- <?xml version="1.0" encoding="Windows-1252"?>
2
- <VisualStudioProject
3
- ProjectType="Visual C++"
4
- Version="8.00"
5
- Name="libusb-1.0 (static)"
6
- ProjectGUID="{5AB6B770-1925-48D5-ABC2-930F3259C020}"
7
- RootNamespace="libusb"
8
- Keyword="Win32Proj"
9
- >
10
- <Platforms>
11
- <Platform
12
- Name="Win32"
13
- />
14
- <Platform
15
- Name="x64"
16
- />
17
- </Platforms>
18
- <ToolFiles>
19
- </ToolFiles>
20
- <Configurations>
21
- <Configuration
22
- Name="Debug|Win32"
23
- OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib"
24
- IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0"
25
- ConfigurationType="4"
26
- CharacterSet="1"
27
- >
28
- <Tool
29
- Name="VCPreBuildEventTool"
30
- />
31
- <Tool
32
- Name="VCCustomBuildTool"
33
- />
34
- <Tool
35
- Name="VCXMLDataGeneratorTool"
36
- />
37
- <Tool
38
- Name="VCWebServiceProxyGeneratorTool"
39
- />
40
- <Tool
41
- Name="VCMIDLTool"
42
- />
43
- <Tool
44
- Name="VCCLCompilerTool"
45
- Optimization="0"
46
- AdditionalIncludeDirectories=".;..\libusb"
47
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
48
- MinimalRebuild="true"
49
- BasicRuntimeChecks="3"
50
- RuntimeLibrary="3"
51
- UsePrecompiledHeader="0"
52
- WarningLevel="3"
53
- Detect64BitPortabilityProblems="false"
54
- DebugInformationFormat="4"
55
- />
56
- <Tool
57
- Name="VCManagedResourceCompilerTool"
58
- />
59
- <Tool
60
- Name="VCResourceCompilerTool"
61
- />
62
- <Tool
63
- Name="VCPreLinkEventTool"
64
- />
65
- <Tool
66
- Name="VCLibrarianTool"
67
- OutputFile="$(OutDir)\libusb-1.0.lib"
68
- />
69
- <Tool
70
- Name="VCALinkTool"
71
- />
72
- <Tool
73
- Name="VCXDCMakeTool"
74
- />
75
- <Tool
76
- Name="VCBscMakeTool"
77
- />
78
- <Tool
79
- Name="VCFxCopTool"
80
- />
81
- <Tool
82
- Name="VCPostBuildEventTool"
83
- />
84
- </Configuration>
85
- <Configuration
86
- Name="Release|Win32"
87
- OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib"
88
- IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0"
89
- ConfigurationType="4"
90
- CharacterSet="1"
91
- WholeProgramOptimization="1"
92
- >
93
- <Tool
94
- Name="VCPreBuildEventTool"
95
- />
96
- <Tool
97
- Name="VCCustomBuildTool"
98
- />
99
- <Tool
100
- Name="VCXMLDataGeneratorTool"
101
- />
102
- <Tool
103
- Name="VCWebServiceProxyGeneratorTool"
104
- />
105
- <Tool
106
- Name="VCMIDLTool"
107
- />
108
- <Tool
109
- Name="VCCLCompilerTool"
110
- AdditionalIncludeDirectories=".;..\libusb"
111
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
112
- RuntimeLibrary="2"
113
- UsePrecompiledHeader="0"
114
- WarningLevel="3"
115
- Detect64BitPortabilityProblems="false"
116
- DebugInformationFormat="3"
117
- />
118
- <Tool
119
- Name="VCManagedResourceCompilerTool"
120
- />
121
- <Tool
122
- Name="VCResourceCompilerTool"
123
- />
124
- <Tool
125
- Name="VCPreLinkEventTool"
126
- />
127
- <Tool
128
- Name="VCLibrarianTool"
129
- OutputFile="$(OutDir)\libusb-1.0.lib"
130
- />
131
- <Tool
132
- Name="VCALinkTool"
133
- />
134
- <Tool
135
- Name="VCXDCMakeTool"
136
- />
137
- <Tool
138
- Name="VCBscMakeTool"
139
- />
140
- <Tool
141
- Name="VCFxCopTool"
142
- />
143
- <Tool
144
- Name="VCPostBuildEventTool"
145
- />
146
- </Configuration>
147
- <Configuration
148
- Name="Debug|x64"
149
- OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib"
150
- IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0"
151
- ConfigurationType="4"
152
- CharacterSet="1"
153
- >
154
- <Tool
155
- Name="VCPreBuildEventTool"
156
- />
157
- <Tool
158
- Name="VCCustomBuildTool"
159
- />
160
- <Tool
161
- Name="VCXMLDataGeneratorTool"
162
- />
163
- <Tool
164
- Name="VCWebServiceProxyGeneratorTool"
165
- />
166
- <Tool
167
- Name="VCMIDLTool"
168
- TargetEnvironment="3"
169
- />
170
- <Tool
171
- Name="VCCLCompilerTool"
172
- Optimization="0"
173
- AdditionalIncludeDirectories=".;..\libusb"
174
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
175
- MinimalRebuild="true"
176
- BasicRuntimeChecks="3"
177
- RuntimeLibrary="3"
178
- UsePrecompiledHeader="0"
179
- WarningLevel="3"
180
- Detect64BitPortabilityProblems="false"
181
- DebugInformationFormat="3"
182
- />
183
- <Tool
184
- Name="VCManagedResourceCompilerTool"
185
- />
186
- <Tool
187
- Name="VCResourceCompilerTool"
188
- />
189
- <Tool
190
- Name="VCPreLinkEventTool"
191
- />
192
- <Tool
193
- Name="VCLibrarianTool"
194
- OutputFile="$(OutDir)\libusb-1.0.lib"
195
- />
196
- <Tool
197
- Name="VCALinkTool"
198
- />
199
- <Tool
200
- Name="VCXDCMakeTool"
201
- />
202
- <Tool
203
- Name="VCBscMakeTool"
204
- />
205
- <Tool
206
- Name="VCFxCopTool"
207
- />
208
- <Tool
209
- Name="VCPostBuildEventTool"
210
- />
211
- </Configuration>
212
- <Configuration
213
- Name="Release|x64"
214
- OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\lib"
215
- IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0"
216
- ConfigurationType="4"
217
- CharacterSet="1"
218
- WholeProgramOptimization="1"
219
- >
220
- <Tool
221
- Name="VCPreBuildEventTool"
222
- />
223
- <Tool
224
- Name="VCCustomBuildTool"
225
- />
226
- <Tool
227
- Name="VCXMLDataGeneratorTool"
228
- />
229
- <Tool
230
- Name="VCWebServiceProxyGeneratorTool"
231
- />
232
- <Tool
233
- Name="VCMIDLTool"
234
- TargetEnvironment="3"
235
- />
236
- <Tool
237
- Name="VCCLCompilerTool"
238
- AdditionalIncludeDirectories=".;..\libusb"
239
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
240
- RuntimeLibrary="2"
241
- UsePrecompiledHeader="0"
242
- WarningLevel="3"
243
- Detect64BitPortabilityProblems="false"
244
- DebugInformationFormat="3"
245
- />
246
- <Tool
247
- Name="VCManagedResourceCompilerTool"
248
- />
249
- <Tool
250
- Name="VCResourceCompilerTool"
251
- />
252
- <Tool
253
- Name="VCPreLinkEventTool"
254
- />
255
- <Tool
256
- Name="VCLibrarianTool"
257
- OutputFile="$(OutDir)\libusb-1.0.lib"
258
- />
259
- <Tool
260
- Name="VCALinkTool"
261
- />
262
- <Tool
263
- Name="VCXDCMakeTool"
264
- />
265
- <Tool
266
- Name="VCBscMakeTool"
267
- />
268
- <Tool
269
- Name="VCFxCopTool"
270
- />
271
- <Tool
272
- Name="VCPostBuildEventTool"
273
- />
274
- </Configuration>
275
- </Configurations>
276
- <References>
277
- </References>
278
- <Files>
279
- <Filter
280
- Name="Source Files"
281
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
282
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
283
- >
284
- <File
285
- RelativePath="..\libusb\core.c"
286
- >
287
- </File>
288
- <File
289
- RelativePath="..\libusb\descriptor.c"
290
- >
291
- </File>
292
- <File
293
- RelativePath="..\libusb\hotplug.c"
294
- >
295
- </File>
296
- <File
297
- RelativePath="..\libusb\io.c"
298
- >
299
- </File>
300
- <File
301
- RelativePath="..\libusb\os\poll_windows.c"
302
- >
303
- </File>
304
- <File
305
- RelativePath="..\libusb\strerror.c"
306
- >
307
- </File>
308
- <File
309
- RelativePath="..\libusb\sync.c"
310
- >
311
- </File>
312
- <File
313
- RelativePath="..\libusb\os\threads_windows.c"
314
- >
315
- </File>
316
- <File
317
- RelativePath="..\libusb\os\windows_nt_common.c"
318
- >
319
- </File>
320
- <File
321
- RelativePath="..\libusb\os\windows_usbdk.c"
322
- >
323
- </File>
324
- <File
325
- RelativePath="..\libusb\os\windows_winusb.c"
326
- >
327
- </File>
328
- </Filter>
329
- <Filter
330
- Name="Header Files"
331
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
332
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
333
- >
334
- <File
335
- RelativePath=".\config.h"
336
- >
337
- </File>
338
- <File
339
- RelativePath="..\libusb\hotplug.h"
340
- >
341
- </File>
342
- <File
343
- RelativePath="..\libusb\libusb.h"
344
- >
345
- </File>
346
- <File
347
- RelativePath="..\libusb\libusbi.h"
348
- >
349
- </File>
350
- <File
351
- RelativePath="..\libusb\os\poll_windows.h"
352
- >
353
- </File>
354
- <File
355
- RelativePath="..\libusb\os\threads_windows.h"
356
- >
357
- </File>
358
- <File
359
- RelativePath="..\libusb\version.h"
360
- >
361
- </File>
362
- <File
363
- RelativePath="..\libusb\version_nano.h"
364
- >
365
- </File>
366
- <File
367
- RelativePath="..\libusb\os\windows_common.h"
368
- >
369
- </File>
370
- <File
371
- RelativePath="..\libusb\os\windows_nt_common.h"
372
- >
373
- </File>
374
- <File
375
- RelativePath="..\libusb\os\windows_nt_shared_types.h"
376
- >
377
- </File>
378
- <File
379
- RelativePath="..\libusb\os\windows_usbdk.h"
380
- >
381
- </File>
382
- <File
383
- RelativePath="..\libusb\os\windows_winusb.h"
384
- >
385
- </File>
386
- </Filter>
387
- </Files>
388
- <Globals>
389
- </Globals>
390
- </VisualStudioProject>
@@ -1,98 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <ItemGroup Label="ProjectConfigurations">
4
- <ProjectConfiguration Include="Debug|Win32">
5
- <Configuration>Debug</Configuration>
6
- <Platform>Win32</Platform>
7
- </ProjectConfiguration>
8
- <ProjectConfiguration Include="Debug|x64">
9
- <Configuration>Debug</Configuration>
10
- <Platform>x64</Platform>
11
- </ProjectConfiguration>
12
- <ProjectConfiguration Include="Release|Win32">
13
- <Configuration>Release</Configuration>
14
- <Platform>Win32</Platform>
15
- </ProjectConfiguration>
16
- <ProjectConfiguration Include="Release|x64">
17
- <Configuration>Release</Configuration>
18
- <Platform>x64</Platform>
19
- </ProjectConfiguration>
20
- </ItemGroup>
21
- <PropertyGroup Label="Globals">
22
- <ProjectName>libusb-1.0 (static)</ProjectName>
23
- <ProjectGuid>{349EE8F9-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
24
- <RootNamespace>libusb</RootNamespace>
25
- </PropertyGroup>
26
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27
- <PropertyGroup Label="Configuration">
28
- <ConfigurationType>StaticLibrary</ConfigurationType>
29
- <CharacterSet>Unicode</CharacterSet>
30
- <PlatformToolset>v110</PlatformToolset>
31
- <WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
32
- </PropertyGroup>
33
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34
- <ImportGroup Label="ExtensionSettings">
35
- </ImportGroup>
36
- <ImportGroup Label="PropertySheets">
37
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
- </ImportGroup>
39
- <PropertyGroup Label="UserMacros" />
40
- <PropertyGroup>
41
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
42
- <IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\lib\$(TargetName)\</IntDir>
43
- <OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
44
- <TargetName>libusb-1.0</TargetName>
45
- </PropertyGroup>
46
- <ItemDefinitionGroup>
47
- <ClCompile>
48
- <AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
49
- <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
50
- <PreprocessorDefinitions>WINVER=0x0501;_WIN32_WINNT=0x0501;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
51
- <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
52
- <WarningLevel>Level4</WarningLevel>
53
- </ClCompile>
54
- <ClCompile Condition="'$(Configuration)'=='Debug'">
55
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
56
- <Optimization>Disabled</Optimization>
57
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
58
- </ClCompile>
59
- <ClCompile Condition="'$(Configuration)'=='Release'">
60
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
61
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
62
- </ClCompile>
63
- <Lib>
64
- <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
65
- </Lib>
66
- </ItemDefinitionGroup>
67
- <ItemGroup>
68
- <ClCompile Include="..\libusb\core.c" />
69
- <ClCompile Include="..\libusb\descriptor.c" />
70
- <ClCompile Include="..\libusb\hotplug.c" />
71
- <ClCompile Include="..\libusb\io.c" />
72
- <ClCompile Include="..\libusb\os\poll_windows.c" />
73
- <ClCompile Include="..\libusb\strerror.c" />
74
- <ClCompile Include="..\libusb\sync.c" />
75
- <ClCompile Include="..\libusb\os\threads_windows.c" />
76
- <ClCompile Include="..\libusb\os\windows_nt_common.c" />
77
- <ClCompile Include="..\libusb\os\windows_usbdk.c" />
78
- <ClCompile Include="..\libusb\os\windows_winusb.c" />
79
- </ItemGroup>
80
- <ItemGroup>
81
- <ClInclude Include=".\config.h" />
82
- <ClInclude Include="..\libusb\hotplug.h" />
83
- <ClInclude Include="..\libusb\libusb.h" />
84
- <ClInclude Include="..\libusb\libusbi.h" />
85
- <ClInclude Include="..\libusb\os\poll_windows.h" />
86
- <ClInclude Include="..\libusb\os\threads_windows.h" />
87
- <ClInclude Include="..\libusb\version.h" />
88
- <ClInclude Include="..\libusb\version_nano.h" />
89
- <ClInclude Include="..\libusb\os\windows_common.h" />
90
- <ClInclude Include="..\libusb\os\windows_nt_common.h" />
91
- <ClInclude Include="..\libusb\os\windows_nt_shared_types.h" />
92
- <ClInclude Include="..\libusb\os\windows_usbdk.h" />
93
- <ClInclude Include="..\libusb\os\windows_winusb.h" />
94
- </ItemGroup>
95
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
96
- <ImportGroup Label="ExtensionTargets">
97
- </ImportGroup>
98
- </Project>