libusb 0.4.0 → 0.4.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 (118) hide show
  1. data/.travis.yml +2 -2
  2. data/Gemfile +0 -8
  3. data/History.md +5 -0
  4. data/README.md +6 -6
  5. data/Rakefile +9 -9
  6. data/ext/extconf.rb +1 -1
  7. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/AUTHORS +10 -0
  8. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/COPYING +0 -0
  9. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/ChangeLog +17 -9
  10. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/INSTALL +0 -0
  11. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Makefile.am +0 -0
  12. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Makefile.in +153 -178
  13. data/ext/libusb-1.0.18/NEWS +2 -0
  14. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/PORTING +13 -13
  15. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/README +9 -11
  16. data/ext/libusb-1.0.18/TODO +2 -0
  17. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/common.xcconfig +3 -3
  18. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/config.h +0 -0
  19. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/debug.xcconfig +2 -2
  20. data/ext/{libusbx-1.0.17/Xcode/libusbx.xcconfig → libusb-1.0.18/Xcode/libusb.xcconfig} +2 -2
  21. data/ext/libusb-1.0.18/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
  22. data/ext/{libusbx-1.0.17/Xcode/libusbx_debug.xcconfig → libusb-1.0.18/Xcode/libusb_debug.xcconfig} +3 -3
  23. data/ext/{libusbx-1.0.17/Xcode/libusbx_release.xcconfig → libusb-1.0.18/Xcode/libusb_release.xcconfig} +3 -3
  24. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/release.xcconfig +2 -2
  25. data/ext/{libusbx-1.0.17/m4/libtool.m4 → libusb-1.0.18/aclocal.m4} +1731 -27
  26. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/README +0 -0
  27. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/config.h +1 -10
  28. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/Android.mk +0 -0
  29. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/Application.mk +6 -1
  30. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/examples.mk +0 -0
  31. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/libusb.mk +0 -0
  32. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/tests.mk +0 -0
  33. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/compile +3 -7
  34. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.guess +19 -24
  35. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.h.in +0 -0
  36. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.sub +30 -47
  37. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/configure +118 -172
  38. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/configure.ac +24 -2
  39. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/depcomp +186 -268
  40. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/Makefile.am +1 -1
  41. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/Makefile.in +36 -73
  42. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/doxygen.cfg.in +1 -1
  43. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/Makefile.am +0 -0
  44. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/Makefile.in +68 -132
  45. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/dpfp.c +1 -1
  46. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/dpfp_threaded.c +1 -1
  47. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/ezusb.c +57 -26
  48. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/ezusb.h +0 -0
  49. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/fxload.c +3 -3
  50. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt.c +0 -0
  51. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt.h +0 -0
  52. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt1.c +0 -0
  53. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/hotplugtest.c +9 -2
  54. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/listdevs.c +1 -1
  55. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/sam3u_benchmark.c +0 -0
  56. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/xusb.c +20 -4
  57. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/install-sh +7 -7
  58. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb-1.0.pc.in +1 -1
  59. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/Makefile.am +1 -1
  60. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/Makefile.in +94 -134
  61. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/core.c +95 -74
  62. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/descriptor.c +2 -2
  63. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/hotplug.c +3 -3
  64. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/hotplug.h +1 -1
  65. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/io.c +127 -116
  66. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb-1.0.def +0 -0
  67. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb-1.0.rc +1 -1
  68. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb.h +42 -39
  69. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusbi.h +20 -11
  70. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/darwin_usb.c +20 -16
  71. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/darwin_usb.h +1 -1
  72. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_netlink.c +0 -0
  73. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_udev.c +0 -0
  74. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_usbfs.c +15 -12
  75. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_usbfs.h +0 -0
  76. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/netbsd_usb.c +2 -4
  77. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/openbsd_usb.c +5 -2
  78. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_posix.c +0 -0
  79. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_posix.h +0 -0
  80. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_windows.c +2 -2
  81. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_windows.h +0 -0
  82. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_posix.c +1 -1
  83. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_posix.h +1 -1
  84. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_windows.c +1 -1
  85. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_windows.h +1 -1
  86. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/wince_usb.c +1 -2
  87. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/wince_usb.h +2 -2
  88. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_common.h +1 -1
  89. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_usb.c +53 -33
  90. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_usb.h +6 -1
  91. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/strerror.c +2 -2
  92. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/sync.c +6 -6
  93. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/version.h +1 -1
  94. data/ext/libusb-1.0.18/libusb/version_nano.h +1 -0
  95. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/ltmain.sh +3 -3
  96. data/ext/libusb-1.0.18/missing +331 -0
  97. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/Makefile.am +1 -1
  98. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/Makefile.in +69 -127
  99. data/ext/{libusbx-1.0.17/tests/libusbx_testlib.h → libusb-1.0.18/tests/libusb_testlib.h} +15 -15
  100. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/stress.c +16 -16
  101. data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/testlib.c +21 -20
  102. data/lib/libusb/version_gem.rb +1 -1
  103. data/libusb.gemspec +1 -6
  104. metadata +117 -135
  105. checksums.yaml +0 -7
  106. checksums.yaml.gz.sig +0 -0
  107. data.tar.gz.sig +0 -0
  108. data/ext/libusbx-1.0.17/NEWS +0 -2
  109. data/ext/libusbx-1.0.17/TODO +0 -2
  110. data/ext/libusbx-1.0.17/Xcode/libusbx.xcodeproj/project.pbxproj +0 -864
  111. data/ext/libusbx-1.0.17/aclocal.m4 +0 -1112
  112. data/ext/libusbx-1.0.17/libusb/version_nano.h +0 -1
  113. data/ext/libusbx-1.0.17/m4/ltoptions.m4 +0 -384
  114. data/ext/libusbx-1.0.17/m4/ltsugar.m4 +0 -123
  115. data/ext/libusbx-1.0.17/m4/ltversion.m4 +0 -23
  116. data/ext/libusbx-1.0.17/m4/lt~obsolete.m4 +0 -98
  117. data/ext/libusbx-1.0.17/missing +0 -215
  118. metadata.gz.sig +0 -0
@@ -5,5 +5,5 @@ docs: doxygen.cfg
5
5
 
6
6
  docs-upload: docs
7
7
  ln -s html api-1.0
8
- scp -r api-1.0 pbatard@web.sourceforge.net:/home/project-web/libusbx/htdocs
8
+ scp -r api-1.0 pbatard@web.sourceforge.net:/home/project-web/libusb/htdocs
9
9
  rm -f api-1.0
@@ -1,8 +1,9 @@
1
- # Makefile.in generated by automake 1.13.4 from Makefile.am.
1
+ # Makefile.in generated by automake 1.11.5 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
-
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.
6
7
  # This Makefile.in is free software; the Free Software Foundation
7
8
  # gives unlimited permission to copy and/or distribute it,
8
9
  # with or without modifications, as long as this notice is preserved.
@@ -14,51 +15,23 @@
14
15
 
15
16
  @SET_MAKE@
16
17
  VPATH = @srcdir@
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 \
18
+ am__make_dryrun = \
19
+ { \
20
+ am__dry=no; \
30
21
  case $$MAKEFLAGS in \
31
22
  *\\[\ \ ]*) \
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;; \
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;; \
57
32
  esac; \
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))
33
+ test $$am__dry = yes; \
34
+ }
62
35
  pkgdatadir = $(datadir)/@PACKAGE@
63
36
  pkgincludedir = $(includedir)/@PACKAGE@
64
37
  pkglibdir = $(libdir)/@PACKAGE@
@@ -78,31 +51,23 @@ POST_UNINSTALL = :
78
51
  build_triplet = @build@
79
52
  host_triplet = @host@
80
53
  subdir = doc
81
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
54
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
82
55
  $(srcdir)/doxygen.cfg.in
83
56
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
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
57
+ am__aclocal_m4_deps = $(top_srcdir)/libusb/version.h \
58
+ $(top_srcdir)/configure.ac
88
59
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89
60
  $(ACLOCAL_M4)
90
61
  mkinstalldirs = $(install_sh) -d
91
62
  CONFIG_HEADER = $(top_builddir)/config.h
92
63
  CONFIG_CLEAN_FILES = doxygen.cfg
93
64
  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 = :
98
65
  AM_V_GEN = $(am__v_GEN_@AM_V@)
99
66
  am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
100
- am__v_GEN_0 = @echo " GEN " $@;
101
- am__v_GEN_1 =
67
+ am__v_GEN_0 = @echo " GEN " $@;
102
68
  AM_V_at = $(am__v_at_@AM_V@)
103
69
  am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
104
70
  am__v_at_0 = @
105
- am__v_at_1 =
106
71
  SOURCES =
107
72
  DIST_SOURCES =
108
73
  am__can_run_installinfo = \
@@ -110,7 +75,6 @@ am__can_run_installinfo = \
110
75
  n|no|NO) false;; \
111
76
  *) (install-info --version) >/dev/null 2>&1;; \
112
77
  esac
113
- am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
114
78
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
115
79
  ACLOCAL = @ACLOCAL@
116
80
  AMTAR = @AMTAR@
@@ -278,11 +242,11 @@ mostlyclean-libtool:
278
242
 
279
243
  clean-libtool:
280
244
  -rm -rf .libs _libs
281
- tags TAGS:
282
-
283
- ctags CTAGS:
245
+ tags: TAGS
246
+ TAGS:
284
247
 
285
- cscope cscopelist:
248
+ ctags: CTAGS
249
+ CTAGS:
286
250
 
287
251
 
288
252
  distdir: $(DISTFILES)
@@ -418,16 +382,15 @@ uninstall-am:
418
382
  .MAKE: install-am install-strip
419
383
 
420
384
  .PHONY: all all-am check check-am clean clean-generic clean-libtool \
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
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
431
394
 
432
395
 
433
396
  docs: doxygen.cfg
@@ -435,7 +398,7 @@ docs: doxygen.cfg
435
398
 
436
399
  docs-upload: docs
437
400
  ln -s html api-1.0
438
- scp -r api-1.0 pbatard@web.sourceforge.net:/home/project-web/libusbx/htdocs
401
+ scp -r api-1.0 pbatard@web.sourceforge.net:/home/project-web/libusb/htdocs
439
402
  rm -f api-1.0
440
403
 
441
404
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
@@ -44,7 +44,7 @@ PROJECT_BRIEF = "eXpand your USB potential"
44
44
  # pixels and the maximum width should not exceed 200 pixels. Doxygen will
45
45
  # copy the logo to the output directory.
46
46
 
47
- PROJECT_LOGO = libusbx.png
47
+ PROJECT_LOGO = libusb.png
48
48
 
49
49
  # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
50
50
  # base path where the generated documentation will be put.
@@ -1,8 +1,9 @@
1
- # Makefile.in generated by automake 1.13.4 from Makefile.am.
1
+ # Makefile.in generated by automake 1.11.5 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
-
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.
6
7
  # This Makefile.in is free software; the Free Software Foundation
7
8
  # gives unlimited permission to copy and/or distribute it,
8
9
  # with or without modifications, as long as this notice is preserved.
@@ -15,51 +16,23 @@
15
16
  @SET_MAKE@
16
17
 
17
18
  VPATH = @srcdir@
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 \
19
+ am__make_dryrun = \
20
+ { \
21
+ am__dry=no; \
31
22
  case $$MAKEFLAGS in \
32
23
  *\\[\ \ ]*) \
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;; \
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;; \
55
33
  esac; \
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))
34
+ test $$am__dry = yes; \
35
+ }
63
36
  pkgdatadir = $(datadir)/@PACKAGE@
64
37
  pkgincludedir = $(includedir)/@PACKAGE@
65
38
  pkglibdir = $(libdir)/@PACKAGE@
@@ -85,13 +58,10 @@ noinst_PROGRAMS = listdevs$(EXEEXT) xusb$(EXEEXT) fxload$(EXEEXT) \
85
58
  @HAVE_SIGACTION_TRUE@@THREADS_POSIX_TRUE@am__append_2 = dpfp_threaded
86
59
  @HAVE_SIGACTION_TRUE@am__append_3 = sam3u_benchmark
87
60
  subdir = examples
88
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
89
- $(top_srcdir)/depcomp
61
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
90
62
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
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
63
+ am__aclocal_m4_deps = $(top_srcdir)/libusb/version.h \
64
+ $(top_srcdir)/configure.ac
95
65
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
96
66
  $(ACLOCAL_M4)
97
67
  mkinstalldirs = $(install_sh) -d
@@ -109,7 +79,6 @@ dpfp_DEPENDENCIES = ../libusb/libusb-1.0.la
109
79
  AM_V_lt = $(am__v_lt_@AM_V@)
110
80
  am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
111
81
  am__v_lt_0 = --silent
112
- am__v_lt_1 =
113
82
  dpfp_threaded_SOURCES = dpfp_threaded.c
114
83
  dpfp_threaded_OBJECTS = dpfp_threaded-dpfp_threaded.$(OBJEXT)
115
84
  dpfp_threaded_LDADD = $(LDADD)
@@ -142,18 +111,6 @@ xusb_SOURCES = xusb.c
142
111
  xusb_OBJECTS = xusb.$(OBJEXT)
143
112
  xusb_LDADD = $(LDADD)
144
113
  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 =
157
114
  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
158
115
  depcomp = $(SHELL) $(top_srcdir)/depcomp
159
116
  am__depfiles_maybe = depfiles
@@ -166,16 +123,20 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
166
123
  $(AM_CFLAGS) $(CFLAGS)
167
124
  AM_V_CC = $(am__v_CC_@AM_V@)
168
125
  am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
169
- am__v_CC_0 = @echo " CC " $@;
170
- am__v_CC_1 =
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 = @
171
130
  CCLD = $(CC)
172
131
  LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
173
132
  $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
174
133
  $(AM_LDFLAGS) $(LDFLAGS) -o $@
175
134
  AM_V_CCLD = $(am__v_CCLD_@AM_V@)
176
135
  am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
177
- am__v_CCLD_0 = @echo " CCLD " $@;
178
- am__v_CCLD_1 =
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 " $@;
179
140
  SOURCES = dpfp.c dpfp_threaded.c $(fxload_SOURCES) hotplugtest.c \
180
141
  listdevs.c $(sam3u_benchmark_SOURCES) xusb.c
181
142
  DIST_SOURCES = dpfp.c dpfp_threaded.c $(fxload_SOURCES) hotplugtest.c \
@@ -185,23 +146,6 @@ am__can_run_installinfo = \
185
146
  n|no|NO) false;; \
186
147
  *) (install-info --version) >/dev/null 2>&1;; \
187
148
  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)`
205
149
  ETAGS = etags
206
150
  CTAGS = ctags
207
151
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -378,31 +322,24 @@ clean-noinstPROGRAMS:
378
322
  list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
379
323
  echo " rm -f" $$list; \
380
324
  rm -f $$list
381
-
382
325
  dpfp$(EXEEXT): $(dpfp_OBJECTS) $(dpfp_DEPENDENCIES) $(EXTRA_dpfp_DEPENDENCIES)
383
326
  @rm -f dpfp$(EXEEXT)
384
327
  $(AM_V_CCLD)$(LINK) $(dpfp_OBJECTS) $(dpfp_LDADD) $(LIBS)
385
-
386
328
  dpfp_threaded$(EXEEXT): $(dpfp_threaded_OBJECTS) $(dpfp_threaded_DEPENDENCIES) $(EXTRA_dpfp_threaded_DEPENDENCIES)
387
329
  @rm -f dpfp_threaded$(EXEEXT)
388
330
  $(AM_V_CCLD)$(dpfp_threaded_LINK) $(dpfp_threaded_OBJECTS) $(dpfp_threaded_LDADD) $(LIBS)
389
-
390
331
  fxload$(EXEEXT): $(fxload_OBJECTS) $(fxload_DEPENDENCIES) $(EXTRA_fxload_DEPENDENCIES)
391
332
  @rm -f fxload$(EXEEXT)
392
333
  $(AM_V_CCLD)$(fxload_LINK) $(fxload_OBJECTS) $(fxload_LDADD) $(LIBS)
393
-
394
334
  hotplugtest$(EXEEXT): $(hotplugtest_OBJECTS) $(hotplugtest_DEPENDENCIES) $(EXTRA_hotplugtest_DEPENDENCIES)
395
335
  @rm -f hotplugtest$(EXEEXT)
396
336
  $(AM_V_CCLD)$(LINK) $(hotplugtest_OBJECTS) $(hotplugtest_LDADD) $(LIBS)
397
-
398
337
  listdevs$(EXEEXT): $(listdevs_OBJECTS) $(listdevs_DEPENDENCIES) $(EXTRA_listdevs_DEPENDENCIES)
399
338
  @rm -f listdevs$(EXEEXT)
400
339
  $(AM_V_CCLD)$(LINK) $(listdevs_OBJECTS) $(listdevs_LDADD) $(LIBS)
401
-
402
340
  sam3u_benchmark$(EXEEXT): $(sam3u_benchmark_OBJECTS) $(sam3u_benchmark_DEPENDENCIES) $(EXTRA_sam3u_benchmark_DEPENDENCIES)
403
341
  @rm -f sam3u_benchmark$(EXEEXT)
404
342
  $(AM_V_CCLD)$(LINK) $(sam3u_benchmark_OBJECTS) $(sam3u_benchmark_LDADD) $(LIBS)
405
-
406
343
  xusb$(EXEEXT): $(xusb_OBJECTS) $(xusb_DEPENDENCIES) $(EXTRA_xusb_DEPENDENCIES)
407
344
  @rm -f xusb$(EXEEXT)
408
345
  $(AM_V_CCLD)$(LINK) $(xusb_OBJECTS) $(xusb_LDADD) $(LIBS)
@@ -491,15 +428,26 @@ mostlyclean-libtool:
491
428
  clean-libtool:
492
429
  -rm -rf .libs _libs
493
430
 
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)
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)
500
443
  set x; \
501
444
  here=`pwd`; \
502
- $(am__define_uniq_tagged_files); \
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; }; }'`; \
503
451
  shift; \
504
452
  if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
505
453
  test -n "$$unique" || unique=$$empty_fix; \
@@ -511,11 +459,15 @@ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
511
459
  $$unique; \
512
460
  fi; \
513
461
  fi
514
- ctags: ctags-am
515
-
516
- CTAGS: ctags
517
- ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
518
- $(am__define_uniq_tagged_files); \
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; }; }'`; \
519
471
  test -z "$(CTAGS_ARGS)$$unique" \
520
472
  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
521
473
  $$unique
@@ -524,21 +476,6 @@ GTAGS:
524
476
  here=`$(am__cd) $(top_builddir) && pwd` \
525
477
  && $(am__cd) $(top_srcdir) \
526
478
  && 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
542
479
 
543
480
  distclean-tags:
544
481
  -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
@@ -680,19 +617,18 @@ uninstall-am:
680
617
 
681
618
  .MAKE: install-am install-strip
682
619
 
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
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
696
632
 
697
633
 
698
634
  # Tell versions [3.59,3.63) of GNU make to not export all variables.