libusb 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +2 -0
  3. data.tar.gz.sig +0 -0
  4. data/.travis.yml +3 -3
  5. data/History.md +8 -0
  6. data/README.md +1 -0
  7. data/Rakefile +14 -14
  8. data/ext/{libusb-1.0.18 → libusb-1.0.19}/AUTHORS +6 -0
  9. data/ext/{libusb-1.0.18 → libusb-1.0.19}/COPYING +0 -0
  10. data/ext/{libusb-1.0.18 → libusb-1.0.19}/ChangeLog +9 -2
  11. data/ext/{libusb-1.0.18 → libusb-1.0.19}/INSTALL +0 -0
  12. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Makefile.am +0 -0
  13. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Makefile.in +188 -156
  14. data/ext/{libusb-1.0.18 → libusb-1.0.19}/NEWS +0 -0
  15. data/ext/{libusb-1.0.18 → libusb-1.0.19}/PORTING +0 -0
  16. data/ext/{libusb-1.0.18 → libusb-1.0.19}/README +0 -0
  17. data/ext/{libusb-1.0.18 → libusb-1.0.19}/TODO +0 -0
  18. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/common.xcconfig +10 -1
  19. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/config.h +0 -0
  20. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/debug.xcconfig +0 -0
  21. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb.xcconfig +1 -1
  22. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb.xcodeproj/project.pbxproj +0 -0
  23. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb_debug.xcconfig +0 -0
  24. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/libusb_release.xcconfig +0 -0
  25. data/ext/{libusb-1.0.18 → libusb-1.0.19}/Xcode/release.xcconfig +1 -0
  26. data/ext/libusb-1.0.19/aclocal.m4 +1190 -0
  27. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/README +0 -0
  28. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/config.h +0 -0
  29. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/Android.mk +0 -0
  30. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/Application.mk +0 -0
  31. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/examples.mk +0 -0
  32. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/libusb.mk +0 -0
  33. data/ext/{libusb-1.0.18 → libusb-1.0.19}/android/jni/tests.mk +0 -0
  34. data/ext/{libusb-1.0.18 → libusb-1.0.19}/compile +7 -3
  35. data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.guess +116 -78
  36. data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.h.in +0 -3
  37. data/ext/{libusb-1.0.18 → libusb-1.0.19}/config.sub +66 -46
  38. data/ext/{libusb-1.0.18 → libusb-1.0.19}/configure +265 -208
  39. data/ext/{libusb-1.0.18 → libusb-1.0.19}/configure.ac +0 -0
  40. data/ext/{libusb-1.0.18 → libusb-1.0.19}/depcomp +269 -186
  41. data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/Makefile.am +0 -0
  42. data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/Makefile.in +72 -35
  43. data/ext/{libusb-1.0.18 → libusb-1.0.19}/doc/doxygen.cfg.in +1 -1
  44. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/Makefile.am +0 -0
  45. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/Makefile.in +134 -70
  46. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/dpfp.c +0 -0
  47. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/dpfp_threaded.c +0 -0
  48. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/ezusb.c +9 -5
  49. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/ezusb.h +0 -0
  50. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/fxload.c +1 -1
  51. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt.c +0 -0
  52. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt.h +0 -0
  53. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/getopt/getopt1.c +0 -0
  54. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/hotplugtest.c +0 -0
  55. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/listdevs.c +0 -0
  56. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/sam3u_benchmark.c +0 -0
  57. data/ext/{libusb-1.0.18 → libusb-1.0.19}/examples/xusb.c +22 -2
  58. data/ext/{libusb-1.0.18 → libusb-1.0.19}/install-sh +7 -7
  59. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb-1.0.pc.in +0 -0
  60. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/Makefile.am +0 -0
  61. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/Makefile.in +133 -93
  62. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/core.c +86 -15
  63. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/descriptor.c +0 -0
  64. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/hotplug.c +6 -1
  65. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/hotplug.h +0 -0
  66. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/io.c +54 -17
  67. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb-1.0.def +8 -0
  68. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb-1.0.rc +0 -0
  69. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusb.h +42 -2
  70. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/libusbi.h +10 -1
  71. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/darwin_usb.c +156 -53
  72. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/darwin_usb.h +1 -1
  73. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_netlink.c +26 -2
  74. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_udev.c +2 -1
  75. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_usbfs.c +93 -6
  76. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/linux_usbfs.h +12 -1
  77. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/netbsd_usb.c +6 -0
  78. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/openbsd_usb.c +6 -0
  79. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_posix.c +0 -0
  80. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_posix.h +0 -0
  81. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_windows.c +0 -0
  82. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/poll_windows.h +12 -6
  83. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_posix.c +0 -0
  84. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_posix.h +0 -0
  85. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_windows.c +0 -0
  86. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/threads_windows.h +0 -0
  87. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/wince_usb.c +8 -1
  88. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/wince_usb.h +0 -0
  89. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_common.h +0 -0
  90. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_usb.c +175 -42
  91. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/os/windows_usb.h +35 -0
  92. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/strerror.c +17 -2
  93. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/sync.c +0 -0
  94. data/ext/{libusb-1.0.18 → libusb-1.0.19}/libusb/version.h +1 -1
  95. data/ext/libusb-1.0.19/libusb/version_nano.h +1 -0
  96. data/ext/{libusb-1.0.18 → libusb-1.0.19}/ltmain.sh +3 -3
  97. data/ext/{libusb-1.0.18/aclocal.m4 → libusb-1.0.19/m4/libtool.m4} +36 -1734
  98. data/ext/libusb-1.0.19/m4/ltoptions.m4 +384 -0
  99. data/ext/libusb-1.0.19/m4/ltsugar.m4 +123 -0
  100. data/ext/libusb-1.0.19/m4/ltversion.m4 +23 -0
  101. data/ext/libusb-1.0.19/m4/lt~obsolete.m4 +98 -0
  102. data/ext/libusb-1.0.19/missing +215 -0
  103. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/Makefile.am +0 -0
  104. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/Makefile.in +128 -70
  105. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/libusb_testlib.h +0 -0
  106. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/stress.c +0 -0
  107. data/ext/{libusb-1.0.18 → libusb-1.0.19}/tests/testlib.c +0 -0
  108. data/lib/libusb.rb +3 -1
  109. data/lib/libusb/bos.rb +306 -0
  110. data/lib/libusb/call.rb +84 -0
  111. data/lib/libusb/constants.rb +4 -0
  112. data/lib/libusb/dev_handle.rb +77 -0
  113. data/lib/libusb/endpoint.rb +20 -0
  114. data/lib/libusb/ss_companion.rb +69 -0
  115. data/lib/libusb/transfer.rb +34 -0
  116. data/lib/libusb/version_gem.rb +1 -1
  117. data/libusb.gemspec +1 -0
  118. data/test/test_libusb_bos.rb +118 -0
  119. data/test/test_libusb_bulk_stream_transfer.rb +50 -0
  120. data/test/test_libusb_descriptors.rb +29 -0
  121. data/test/test_libusb_hotplug.rb +1 -1
  122. data/test/test_libusb_threads.rb +1 -1
  123. metadata +146 -124
  124. metadata.gz.sig +0 -0
  125. data/ext/libusb-1.0.18/libusb/version_nano.h +0 -1
  126. data/ext/libusb-1.0.18/missing +0 -331
@@ -1,9 +1,8 @@
1
- # Makefile.in generated by automake 1.11.5 from Makefile.am.
1
+ # Makefile.in generated by automake 1.14.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
- # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
- # Foundation, Inc.
4
+ # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
+
7
6
  # This Makefile.in is free software; the Free Software Foundation
8
7
  # gives unlimited permission to copy and/or distribute it,
9
8
  # with or without modifications, as long as this notice is preserved.
@@ -15,23 +14,51 @@
15
14
 
16
15
  @SET_MAKE@
17
16
  VPATH = @srcdir@
18
- am__make_dryrun = \
19
- { \
20
- am__dry=no; \
17
+ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
18
+ am__make_running_with_option = \
19
+ case $${target_option-} in \
20
+ ?) ;; \
21
+ *) echo "am__make_running_with_option: internal error: invalid" \
22
+ "target option '$${target_option-}' specified" >&2; \
23
+ exit 1;; \
24
+ esac; \
25
+ has_opt=no; \
26
+ sane_makeflags=$$MAKEFLAGS; \
27
+ if $(am__is_gnu_make); then \
28
+ sane_makeflags=$$MFLAGS; \
29
+ else \
21
30
  case $$MAKEFLAGS in \
22
31
  *\\[\ \ ]*) \
23
- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24
- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25
- *) \
26
- for am__flg in $$MAKEFLAGS; do \
27
- case $$am__flg in \
28
- *=*|--*) ;; \
29
- *n*) am__dry=yes; break;; \
30
- esac; \
31
- done;; \
32
+ bs=\\; \
33
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
34
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
35
+ esac; \
36
+ fi; \
37
+ skip_next=no; \
38
+ strip_trailopt () \
39
+ { \
40
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
41
+ }; \
42
+ for flg in $$sane_makeflags; do \
43
+ test $$skip_next = yes && { skip_next=no; continue; }; \
44
+ case $$flg in \
45
+ *=*|--*) continue;; \
46
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
47
+ -*I?*) strip_trailopt 'I';; \
48
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
49
+ -*O?*) strip_trailopt 'O';; \
50
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
51
+ -*l?*) strip_trailopt 'l';; \
52
+ -[dEDm]) skip_next=yes;; \
53
+ -[JT]) skip_next=yes;; \
54
+ esac; \
55
+ case $$flg in \
56
+ *$$target_option*) has_opt=yes; break;; \
32
57
  esac; \
33
- test $$am__dry = yes; \
34
- }
58
+ done; \
59
+ test $$has_opt = yes
60
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
61
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
35
62
  pkgdatadir = $(datadir)/@PACKAGE@
36
63
  pkgincludedir = $(includedir)/@PACKAGE@
37
64
  pkglibdir = $(libdir)/@PACKAGE@
@@ -51,23 +78,31 @@ POST_UNINSTALL = :
51
78
  build_triplet = @build@
52
79
  host_triplet = @host@
53
80
  subdir = doc
54
- DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
81
+ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
55
82
  $(srcdir)/doxygen.cfg.in
56
83
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57
- am__aclocal_m4_deps = $(top_srcdir)/libusb/version.h \
58
- $(top_srcdir)/configure.ac
84
+ am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
85
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
86
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
87
+ $(top_srcdir)/libusb/version.h $(top_srcdir)/configure.ac
59
88
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60
89
  $(ACLOCAL_M4)
61
90
  mkinstalldirs = $(install_sh) -d
62
91
  CONFIG_HEADER = $(top_builddir)/config.h
63
92
  CONFIG_CLEAN_FILES = doxygen.cfg
64
93
  CONFIG_CLEAN_VPATH_FILES =
94
+ AM_V_P = $(am__v_P_@AM_V@)
95
+ am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
96
+ am__v_P_0 = false
97
+ am__v_P_1 = :
65
98
  AM_V_GEN = $(am__v_GEN_@AM_V@)
66
99
  am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
67
- am__v_GEN_0 = @echo " GEN " $@;
100
+ am__v_GEN_0 = @echo " GEN " $@;
101
+ am__v_GEN_1 =
68
102
  AM_V_at = $(am__v_at_@AM_V@)
69
103
  am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
70
104
  am__v_at_0 = @
105
+ am__v_at_1 =
71
106
  SOURCES =
72
107
  DIST_SOURCES =
73
108
  am__can_run_installinfo = \
@@ -75,6 +110,7 @@ am__can_run_installinfo = \
75
110
  n|no|NO) false;; \
76
111
  *) (install-info --version) >/dev/null 2>&1;; \
77
112
  esac
113
+ am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
78
114
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
79
115
  ACLOCAL = @ACLOCAL@
80
116
  AMTAR = @AMTAR@
@@ -242,11 +278,11 @@ mostlyclean-libtool:
242
278
 
243
279
  clean-libtool:
244
280
  -rm -rf .libs _libs
245
- tags: TAGS
246
- TAGS:
281
+ tags TAGS:
282
+
283
+ ctags CTAGS:
247
284
 
248
- ctags: CTAGS
249
- CTAGS:
285
+ cscope cscopelist:
250
286
 
251
287
 
252
288
  distdir: $(DISTFILES)
@@ -382,15 +418,16 @@ uninstall-am:
382
418
  .MAKE: install-am install-strip
383
419
 
384
420
  .PHONY: all all-am check check-am clean clean-generic clean-libtool \
385
- distclean distclean-generic distclean-libtool distdir dvi \
386
- dvi-am html html-am info info-am install install-am \
387
- install-data install-data-am install-dvi install-dvi-am \
388
- install-exec install-exec-am install-html install-html-am \
389
- install-info install-info-am install-man install-pdf \
390
- install-pdf-am install-ps install-ps-am install-strip \
391
- installcheck installcheck-am installdirs maintainer-clean \
392
- maintainer-clean-generic mostlyclean mostlyclean-generic \
393
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
421
+ cscopelist-am ctags-am distclean distclean-generic \
422
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
423
+ install install-am install-data install-data-am install-dvi \
424
+ install-dvi-am install-exec install-exec-am install-html \
425
+ install-html-am install-info install-info-am install-man \
426
+ install-pdf install-pdf-am install-ps install-ps-am \
427
+ install-strip installcheck installcheck-am installdirs \
428
+ maintainer-clean maintainer-clean-generic mostlyclean \
429
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
430
+ tags-am uninstall uninstall-am
394
431
 
395
432
 
396
433
  docs: doxygen.cfg
@@ -37,7 +37,7 @@ PROJECT_NUMBER =
37
37
  # for a project that appears at the top of each page and should give viewer a
38
38
  # quick idea about the purpose of the project. Keep the description short.
39
39
 
40
- PROJECT_BRIEF = "eXpand your USB potential"
40
+ PROJECT_BRIEF = "A cross-platform user library to access USB devices"
41
41
 
42
42
  # With the PROJECT_LOGO tag one can specify an logo or icon that is included
43
43
  # in the documentation. The maximum height of the logo should not exceed 55
@@ -1,9 +1,8 @@
1
- # Makefile.in generated by automake 1.11.5 from Makefile.am.
1
+ # Makefile.in generated by automake 1.14.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
- # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
- # Foundation, Inc.
4
+ # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
+
7
6
  # This Makefile.in is free software; the Free Software Foundation
8
7
  # gives unlimited permission to copy and/or distribute it,
9
8
  # with or without modifications, as long as this notice is preserved.
@@ -16,23 +15,51 @@
16
15
  @SET_MAKE@
17
16
 
18
17
  VPATH = @srcdir@
19
- am__make_dryrun = \
20
- { \
21
- am__dry=no; \
18
+ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19
+ am__make_running_with_option = \
20
+ case $${target_option-} in \
21
+ ?) ;; \
22
+ *) echo "am__make_running_with_option: internal error: invalid" \
23
+ "target option '$${target_option-}' specified" >&2; \
24
+ exit 1;; \
25
+ esac; \
26
+ has_opt=no; \
27
+ sane_makeflags=$$MAKEFLAGS; \
28
+ if $(am__is_gnu_make); then \
29
+ sane_makeflags=$$MFLAGS; \
30
+ else \
22
31
  case $$MAKEFLAGS in \
23
32
  *\\[\ \ ]*) \
24
- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
25
- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
26
- *) \
27
- for am__flg in $$MAKEFLAGS; do \
28
- case $$am__flg in \
29
- *=*|--*) ;; \
30
- *n*) am__dry=yes; break;; \
31
- esac; \
32
- done;; \
33
+ bs=\\; \
34
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
36
+ esac; \
37
+ fi; \
38
+ skip_next=no; \
39
+ strip_trailopt () \
40
+ { \
41
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42
+ }; \
43
+ for flg in $$sane_makeflags; do \
44
+ test $$skip_next = yes && { skip_next=no; continue; }; \
45
+ case $$flg in \
46
+ *=*|--*) continue;; \
47
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
48
+ -*I?*) strip_trailopt 'I';; \
49
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
50
+ -*O?*) strip_trailopt 'O';; \
51
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
52
+ -*l?*) strip_trailopt 'l';; \
53
+ -[dEDm]) skip_next=yes;; \
54
+ -[JT]) skip_next=yes;; \
33
55
  esac; \
34
- test $$am__dry = yes; \
35
- }
56
+ case $$flg in \
57
+ *$$target_option*) has_opt=yes; break;; \
58
+ esac; \
59
+ done; \
60
+ test $$has_opt = yes
61
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
36
63
  pkgdatadir = $(datadir)/@PACKAGE@
37
64
  pkgincludedir = $(includedir)/@PACKAGE@
38
65
  pkglibdir = $(libdir)/@PACKAGE@
@@ -58,10 +85,13 @@ noinst_PROGRAMS = listdevs$(EXEEXT) xusb$(EXEEXT) fxload$(EXEEXT) \
58
85
  @HAVE_SIGACTION_TRUE@@THREADS_POSIX_TRUE@am__append_2 = dpfp_threaded
59
86
  @HAVE_SIGACTION_TRUE@am__append_3 = sam3u_benchmark
60
87
  subdir = examples
61
- DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
88
+ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
89
+ $(top_srcdir)/depcomp
62
90
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63
- am__aclocal_m4_deps = $(top_srcdir)/libusb/version.h \
64
- $(top_srcdir)/configure.ac
91
+ am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
92
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
93
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
94
+ $(top_srcdir)/libusb/version.h $(top_srcdir)/configure.ac
65
95
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66
96
  $(ACLOCAL_M4)
67
97
  mkinstalldirs = $(install_sh) -d
@@ -79,6 +109,7 @@ dpfp_DEPENDENCIES = ../libusb/libusb-1.0.la
79
109
  AM_V_lt = $(am__v_lt_@AM_V@)
80
110
  am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
81
111
  am__v_lt_0 = --silent
112
+ am__v_lt_1 =
82
113
  dpfp_threaded_SOURCES = dpfp_threaded.c
83
114
  dpfp_threaded_OBJECTS = dpfp_threaded-dpfp_threaded.$(OBJEXT)
84
115
  dpfp_threaded_LDADD = $(LDADD)
@@ -111,6 +142,18 @@ xusb_SOURCES = xusb.c
111
142
  xusb_OBJECTS = xusb.$(OBJEXT)
112
143
  xusb_LDADD = $(LDADD)
113
144
  xusb_DEPENDENCIES = ../libusb/libusb-1.0.la
145
+ AM_V_P = $(am__v_P_@AM_V@)
146
+ am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
147
+ am__v_P_0 = false
148
+ am__v_P_1 = :
149
+ AM_V_GEN = $(am__v_GEN_@AM_V@)
150
+ am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
151
+ am__v_GEN_0 = @echo " GEN " $@;
152
+ am__v_GEN_1 =
153
+ AM_V_at = $(am__v_at_@AM_V@)
154
+ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
155
+ am__v_at_0 = @
156
+ am__v_at_1 =
114
157
  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
115
158
  depcomp = $(SHELL) $(top_srcdir)/depcomp
116
159
  am__depfiles_maybe = depfiles
@@ -123,20 +166,16 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
123
166
  $(AM_CFLAGS) $(CFLAGS)
124
167
  AM_V_CC = $(am__v_CC_@AM_V@)
125
168
  am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
126
- am__v_CC_0 = @echo " CC " $@;
127
- AM_V_at = $(am__v_at_@AM_V@)
128
- am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
129
- am__v_at_0 = @
169
+ am__v_CC_0 = @echo " CC " $@;
170
+ am__v_CC_1 =
130
171
  CCLD = $(CC)
131
172
  LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
132
173
  $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
133
174
  $(AM_LDFLAGS) $(LDFLAGS) -o $@
134
175
  AM_V_CCLD = $(am__v_CCLD_@AM_V@)
135
176
  am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
136
- am__v_CCLD_0 = @echo " CCLD " $@;
137
- AM_V_GEN = $(am__v_GEN_@AM_V@)
138
- am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
139
- am__v_GEN_0 = @echo " GEN " $@;
177
+ am__v_CCLD_0 = @echo " CCLD " $@;
178
+ am__v_CCLD_1 =
140
179
  SOURCES = dpfp.c dpfp_threaded.c $(fxload_SOURCES) hotplugtest.c \
141
180
  listdevs.c $(sam3u_benchmark_SOURCES) xusb.c
142
181
  DIST_SOURCES = dpfp.c dpfp_threaded.c $(fxload_SOURCES) hotplugtest.c \
@@ -146,6 +185,23 @@ am__can_run_installinfo = \
146
185
  n|no|NO) false;; \
147
186
  *) (install-info --version) >/dev/null 2>&1;; \
148
187
  esac
188
+ am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
189
+ # Read a list of newline-separated strings from the standard input,
190
+ # and print each of them once, without duplicates. Input order is
191
+ # *not* preserved.
192
+ am__uniquify_input = $(AWK) '\
193
+ BEGIN { nonempty = 0; } \
194
+ { items[$$0] = 1; nonempty = 1; } \
195
+ END { if (nonempty) { for (i in items) print i; }; } \
196
+ '
197
+ # Make sure the list of sources is unique. This is necessary because,
198
+ # e.g., the same source file might be shared among _SOURCES variables
199
+ # for different programs/libraries.
200
+ am__define_uniq_tagged_files = \
201
+ list='$(am__tagged_files)'; \
202
+ unique=`for i in $$list; do \
203
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
204
+ done | $(am__uniquify_input)`
149
205
  ETAGS = etags
150
206
  CTAGS = ctags
151
207
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -322,24 +378,31 @@ clean-noinstPROGRAMS:
322
378
  list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
323
379
  echo " rm -f" $$list; \
324
380
  rm -f $$list
381
+
325
382
  dpfp$(EXEEXT): $(dpfp_OBJECTS) $(dpfp_DEPENDENCIES) $(EXTRA_dpfp_DEPENDENCIES)
326
383
  @rm -f dpfp$(EXEEXT)
327
384
  $(AM_V_CCLD)$(LINK) $(dpfp_OBJECTS) $(dpfp_LDADD) $(LIBS)
385
+
328
386
  dpfp_threaded$(EXEEXT): $(dpfp_threaded_OBJECTS) $(dpfp_threaded_DEPENDENCIES) $(EXTRA_dpfp_threaded_DEPENDENCIES)
329
387
  @rm -f dpfp_threaded$(EXEEXT)
330
388
  $(AM_V_CCLD)$(dpfp_threaded_LINK) $(dpfp_threaded_OBJECTS) $(dpfp_threaded_LDADD) $(LIBS)
389
+
331
390
  fxload$(EXEEXT): $(fxload_OBJECTS) $(fxload_DEPENDENCIES) $(EXTRA_fxload_DEPENDENCIES)
332
391
  @rm -f fxload$(EXEEXT)
333
392
  $(AM_V_CCLD)$(fxload_LINK) $(fxload_OBJECTS) $(fxload_LDADD) $(LIBS)
393
+
334
394
  hotplugtest$(EXEEXT): $(hotplugtest_OBJECTS) $(hotplugtest_DEPENDENCIES) $(EXTRA_hotplugtest_DEPENDENCIES)
335
395
  @rm -f hotplugtest$(EXEEXT)
336
396
  $(AM_V_CCLD)$(LINK) $(hotplugtest_OBJECTS) $(hotplugtest_LDADD) $(LIBS)
397
+
337
398
  listdevs$(EXEEXT): $(listdevs_OBJECTS) $(listdevs_DEPENDENCIES) $(EXTRA_listdevs_DEPENDENCIES)
338
399
  @rm -f listdevs$(EXEEXT)
339
400
  $(AM_V_CCLD)$(LINK) $(listdevs_OBJECTS) $(listdevs_LDADD) $(LIBS)
401
+
340
402
  sam3u_benchmark$(EXEEXT): $(sam3u_benchmark_OBJECTS) $(sam3u_benchmark_DEPENDENCIES) $(EXTRA_sam3u_benchmark_DEPENDENCIES)
341
403
  @rm -f sam3u_benchmark$(EXEEXT)
342
404
  $(AM_V_CCLD)$(LINK) $(sam3u_benchmark_OBJECTS) $(sam3u_benchmark_LDADD) $(LIBS)
405
+
343
406
  xusb$(EXEEXT): $(xusb_OBJECTS) $(xusb_DEPENDENCIES) $(EXTRA_xusb_DEPENDENCIES)
344
407
  @rm -f xusb$(EXEEXT)
345
408
  $(AM_V_CCLD)$(LINK) $(xusb_OBJECTS) $(xusb_LDADD) $(LIBS)
@@ -364,14 +427,14 @@ distclean-compile:
364
427
  @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
365
428
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
366
429
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
367
- @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
430
+ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
368
431
 
369
432
  .c.obj:
370
433
  @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
371
434
  @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
372
435
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
373
436
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
374
- @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
437
+ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
375
438
 
376
439
  .c.lo:
377
440
  @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -428,26 +491,15 @@ mostlyclean-libtool:
428
491
  clean-libtool:
429
492
  -rm -rf .libs _libs
430
493
 
431
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
432
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
433
- unique=`for i in $$list; do \
434
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
435
- done | \
436
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
437
- END { if (nonempty) { for (i in files) print i; }; }'`; \
438
- mkid -fID $$unique
439
- tags: TAGS
440
-
441
- TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
442
- $(TAGS_FILES) $(LISP)
494
+ ID: $(am__tagged_files)
495
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
496
+ tags: tags-am
497
+ TAGS: tags
498
+
499
+ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
443
500
  set x; \
444
501
  here=`pwd`; \
445
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
446
- unique=`for i in $$list; do \
447
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
448
- done | \
449
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
450
- END { if (nonempty) { for (i in files) print i; }; }'`; \
502
+ $(am__define_uniq_tagged_files); \
451
503
  shift; \
452
504
  if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
453
505
  test -n "$$unique" || unique=$$empty_fix; \
@@ -459,15 +511,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
459
511
  $$unique; \
460
512
  fi; \
461
513
  fi
462
- ctags: CTAGS
463
- CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
464
- $(TAGS_FILES) $(LISP)
465
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
466
- unique=`for i in $$list; do \
467
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
468
- done | \
469
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
470
- END { if (nonempty) { for (i in files) print i; }; }'`; \
514
+ ctags: ctags-am
515
+
516
+ CTAGS: ctags
517
+ ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
518
+ $(am__define_uniq_tagged_files); \
471
519
  test -z "$(CTAGS_ARGS)$$unique" \
472
520
  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
473
521
  $$unique
@@ -476,6 +524,21 @@ GTAGS:
476
524
  here=`$(am__cd) $(top_builddir) && pwd` \
477
525
  && $(am__cd) $(top_srcdir) \
478
526
  && gtags -i $(GTAGS_ARGS) "$$here"
527
+ cscopelist: cscopelist-am
528
+
529
+ cscopelist-am: $(am__tagged_files)
530
+ list='$(am__tagged_files)'; \
531
+ case "$(srcdir)" in \
532
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
533
+ *) sdir=$(subdir)/$(srcdir) ;; \
534
+ esac; \
535
+ for i in $$list; do \
536
+ if test -f "$$i"; then \
537
+ echo "$(subdir)/$$i"; \
538
+ else \
539
+ echo "$$sdir/$$i"; \
540
+ fi; \
541
+ done >> $(top_builddir)/cscope.files
479
542
 
480
543
  distclean-tags:
481
544
  -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
@@ -617,18 +680,19 @@ uninstall-am:
617
680
 
618
681
  .MAKE: install-am install-strip
619
682
 
620
- .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
621
- clean-libtool clean-noinstPROGRAMS ctags distclean \
622
- distclean-compile distclean-generic distclean-libtool \
623
- distclean-tags distdir dvi dvi-am html html-am info info-am \
624
- install install-am install-data install-data-am install-dvi \
625
- install-dvi-am install-exec install-exec-am install-html \
626
- install-html-am install-info install-info-am install-man \
627
- install-pdf install-pdf-am install-ps install-ps-am \
628
- install-strip installcheck installcheck-am installdirs \
629
- maintainer-clean maintainer-clean-generic mostlyclean \
630
- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
631
- pdf pdf-am ps ps-am tags uninstall uninstall-am
683
+ .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
684
+ clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \
685
+ ctags-am distclean distclean-compile distclean-generic \
686
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
687
+ html-am info info-am install install-am install-data \
688
+ install-data-am install-dvi install-dvi-am install-exec \
689
+ install-exec-am install-html install-html-am install-info \
690
+ install-info-am install-man install-pdf install-pdf-am \
691
+ install-ps install-ps-am install-strip installcheck \
692
+ installcheck-am installdirs maintainer-clean \
693
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
694
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
695
+ tags tags-am uninstall uninstall-am
632
696
 
633
697
 
634
698
  # Tell versions [3.59,3.63) of GNU make to not export all variables.