libusb 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -2
  3. data/Gemfile +2 -0
  4. data/History.md +12 -0
  5. data/README.md +25 -14
  6. data/Rakefile +64 -109
  7. data/appveyor.yml +23 -0
  8. data/ext/extconf.rb +10 -12
  9. data/ext/libusb_recipe.rb +29 -0
  10. data/lib/libusb/call.rb +14 -11
  11. data/lib/libusb/compat.rb +9 -9
  12. data/lib/libusb/context.rb +16 -1
  13. data/lib/libusb/dependencies.rb +7 -0
  14. data/lib/libusb/dev_handle.rb +13 -3
  15. data/lib/libusb/eventmachine.rb +4 -4
  16. data/lib/libusb/transfer.rb +71 -10
  17. data/lib/libusb/version_gem.rb +1 -1
  18. data/libusb.gemspec +7 -5
  19. data/ports/archives/libusb-1.0.21.tar.bz2 +0 -0
  20. data/test/test_libusb_bulk_stream_transfer.rb +1 -1
  21. data/test/test_libusb_descriptors.rb +4 -4
  22. data/test/test_libusb_event_machine.rb +7 -7
  23. data/test/test_libusb_hotplug.rb +15 -3
  24. data/test/test_libusb_iso_transfer.rb +1 -1
  25. data/test/test_libusb_mass_storage.rb +19 -19
  26. data/test/test_libusb_mass_storage2.rb +1 -1
  27. data/test/test_libusb_structs.rb +13 -0
  28. data/test/test_libusb_threads.rb +2 -2
  29. data/wireshark-usb-sniffer.png +0 -0
  30. metadata +32 -156
  31. checksums.yaml.gz.sig +0 -0
  32. data.tar.gz.sig +0 -0
  33. data/ext/libusb-1.0.20/AUTHORS +0 -89
  34. data/ext/libusb-1.0.20/COPYING +0 -504
  35. data/ext/libusb-1.0.20/ChangeLog +0 -227
  36. data/ext/libusb-1.0.20/INSTALL +0 -234
  37. data/ext/libusb-1.0.20/Makefile.am +0 -28
  38. data/ext/libusb-1.0.20/Makefile.in +0 -897
  39. data/ext/libusb-1.0.20/NEWS +0 -2
  40. data/ext/libusb-1.0.20/PORTING +0 -94
  41. data/ext/libusb-1.0.20/README +0 -29
  42. data/ext/libusb-1.0.20/TODO +0 -2
  43. data/ext/libusb-1.0.20/Xcode/common.xcconfig +0 -49
  44. data/ext/libusb-1.0.20/Xcode/config.h +0 -28
  45. data/ext/libusb-1.0.20/Xcode/debug.xcconfig +0 -29
  46. data/ext/libusb-1.0.20/Xcode/libusb.xcconfig +0 -21
  47. data/ext/libusb-1.0.20/Xcode/libusb.xcodeproj/project.pbxproj +0 -865
  48. data/ext/libusb-1.0.20/Xcode/libusb_debug.xcconfig +0 -21
  49. data/ext/libusb-1.0.20/Xcode/libusb_release.xcconfig +0 -21
  50. data/ext/libusb-1.0.20/Xcode/release.xcconfig +0 -30
  51. data/ext/libusb-1.0.20/aclocal.m4 +0 -1193
  52. data/ext/libusb-1.0.20/android/README +0 -114
  53. data/ext/libusb-1.0.20/android/config.h +0 -81
  54. data/ext/libusb-1.0.20/android/jni/Android.mk +0 -23
  55. data/ext/libusb-1.0.20/android/jni/Application.mk +0 -24
  56. data/ext/libusb-1.0.20/android/jni/examples.mk +0 -134
  57. data/ext/libusb-1.0.20/android/jni/libusb.mk +0 -54
  58. data/ext/libusb-1.0.20/android/jni/tests.mk +0 -56
  59. data/ext/libusb-1.0.20/compile +0 -347
  60. data/ext/libusb-1.0.20/config.guess +0 -1421
  61. data/ext/libusb-1.0.20/config.h.in +0 -155
  62. data/ext/libusb-1.0.20/config.sub +0 -1807
  63. data/ext/libusb-1.0.20/configure +0 -15466
  64. data/ext/libusb-1.0.20/configure.ac +0 -326
  65. data/ext/libusb-1.0.20/depcomp +0 -791
  66. data/ext/libusb-1.0.20/doc/Makefile.am +0 -9
  67. data/ext/libusb-1.0.20/doc/Makefile.in +0 -456
  68. data/ext/libusb-1.0.20/doc/doxygen.cfg.in +0 -2334
  69. data/ext/libusb-1.0.20/examples/Makefile.am +0 -19
  70. data/ext/libusb-1.0.20/examples/Makefile.in +0 -713
  71. data/ext/libusb-1.0.20/examples/dpfp.c +0 -506
  72. data/ext/libusb-1.0.20/examples/dpfp_threaded.c +0 -549
  73. data/ext/libusb-1.0.20/examples/ezusb.c +0 -831
  74. data/ext/libusb-1.0.20/examples/ezusb.h +0 -120
  75. data/ext/libusb-1.0.20/examples/fxload.c +0 -308
  76. data/ext/libusb-1.0.20/examples/getopt/getopt.c +0 -1060
  77. data/ext/libusb-1.0.20/examples/getopt/getopt.h +0 -180
  78. data/ext/libusb-1.0.20/examples/getopt/getopt1.c +0 -188
  79. data/ext/libusb-1.0.20/examples/hotplugtest.c +0 -122
  80. data/ext/libusb-1.0.20/examples/listdevs.c +0 -71
  81. data/ext/libusb-1.0.20/examples/sam3u_benchmark.c +0 -193
  82. data/ext/libusb-1.0.20/examples/xusb.c +0 -1130
  83. data/ext/libusb-1.0.20/install-sh +0 -501
  84. data/ext/libusb-1.0.20/libusb-1.0.pc.in +0 -11
  85. data/ext/libusb-1.0.20/libusb/Makefile.am +0 -90
  86. data/ext/libusb-1.0.20/libusb/Makefile.in +0 -1053
  87. data/ext/libusb-1.0.20/libusb/core.c +0 -2452
  88. data/ext/libusb-1.0.20/libusb/descriptor.c +0 -1201
  89. data/ext/libusb-1.0.20/libusb/hotplug.c +0 -344
  90. data/ext/libusb-1.0.20/libusb/hotplug.h +0 -90
  91. data/ext/libusb-1.0.20/libusb/io.c +0 -2760
  92. data/ext/libusb-1.0.20/libusb/libusb-1.0.def +0 -168
  93. data/ext/libusb-1.0.20/libusb/libusb-1.0.rc +0 -61
  94. data/ext/libusb-1.0.20/libusb/libusb.h +0 -1999
  95. data/ext/libusb-1.0.20/libusb/libusbi.h +0 -1102
  96. data/ext/libusb-1.0.20/libusb/os/darwin_usb.c +0 -1969
  97. data/ext/libusb-1.0.20/libusb/os/darwin_usb.h +0 -158
  98. data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.am +0 -5
  99. data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.in +0 -810
  100. data/ext/libusb-1.0.20/libusb/os/haiku/aclocal.m4 +0 -1193
  101. data/ext/libusb-1.0.20/libusb/os/haiku/compile +0 -347
  102. data/ext/libusb-1.0.20/libusb/os/haiku/config.guess +0 -1421
  103. data/ext/libusb-1.0.20/libusb/os/haiku/config.sub +0 -1807
  104. data/ext/libusb-1.0.20/libusb/os/haiku/configure +0 -17579
  105. data/ext/libusb-1.0.20/libusb/os/haiku/configure.ac +0 -8
  106. data/ext/libusb-1.0.20/libusb/os/haiku/depcomp +0 -791
  107. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_pollfs.cpp +0 -378
  108. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb.h +0 -112
  109. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_backend.cpp +0 -550
  110. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.cpp +0 -255
  111. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.h +0 -180
  112. data/ext/libusb-1.0.20/libusb/os/haiku/install-sh +0 -501
  113. data/ext/libusb-1.0.20/libusb/os/haiku/ltmain.sh +0 -9655
  114. data/ext/libusb-1.0.20/libusb/os/haiku/m4/libtool.m4 +0 -7992
  115. data/ext/libusb-1.0.20/libusb/os/haiku/m4/ltoptions.m4 +0 -384
  116. data/ext/libusb-1.0.20/libusb/os/haiku/m4/ltsugar.m4 +0 -123
  117. data/ext/libusb-1.0.20/libusb/os/haiku/m4/ltversion.m4 +0 -23
  118. data/ext/libusb-1.0.20/libusb/os/haiku/m4/lt~obsolete.m4 +0 -98
  119. data/ext/libusb-1.0.20/libusb/os/haiku/missing +0 -215
  120. data/ext/libusb-1.0.20/libusb/os/linux_netlink.c +0 -369
  121. data/ext/libusb-1.0.20/libusb/os/linux_udev.c +0 -306
  122. data/ext/libusb-1.0.20/libusb/os/linux_usbfs.c +0 -2692
  123. data/ext/libusb-1.0.20/libusb/os/linux_usbfs.h +0 -192
  124. data/ext/libusb-1.0.20/libusb/os/netbsd_usb.c +0 -674
  125. data/ext/libusb-1.0.20/libusb/os/openbsd_usb.c +0 -768
  126. data/ext/libusb-1.0.20/libusb/os/poll_posix.c +0 -53
  127. data/ext/libusb-1.0.20/libusb/os/poll_posix.h +0 -11
  128. data/ext/libusb-1.0.20/libusb/os/poll_windows.c +0 -728
  129. data/ext/libusb-1.0.20/libusb/os/poll_windows.h +0 -131
  130. data/ext/libusb-1.0.20/libusb/os/threads_posix.c +0 -82
  131. data/ext/libusb-1.0.20/libusb/os/threads_posix.h +0 -50
  132. data/ext/libusb-1.0.20/libusb/os/threads_windows.c +0 -214
  133. data/ext/libusb-1.0.20/libusb/os/threads_windows.h +0 -87
  134. data/ext/libusb-1.0.20/libusb/os/wince_usb.c +0 -869
  135. data/ext/libusb-1.0.20/libusb/os/wince_usb.h +0 -131
  136. data/ext/libusb-1.0.20/libusb/os/windows_common.h +0 -108
  137. data/ext/libusb-1.0.20/libusb/os/windows_usb.c +0 -4643
  138. data/ext/libusb-1.0.20/libusb/os/windows_usb.h +0 -973
  139. data/ext/libusb-1.0.20/libusb/strerror.c +0 -202
  140. data/ext/libusb-1.0.20/libusb/sync.c +0 -308
  141. data/ext/libusb-1.0.20/libusb/version.h +0 -18
  142. data/ext/libusb-1.0.20/libusb/version_nano.h +0 -1
  143. data/ext/libusb-1.0.20/ltmain.sh +0 -9655
  144. data/ext/libusb-1.0.20/m4/libtool.m4 +0 -7992
  145. data/ext/libusb-1.0.20/m4/ltoptions.m4 +0 -384
  146. data/ext/libusb-1.0.20/m4/ltsugar.m4 +0 -123
  147. data/ext/libusb-1.0.20/m4/ltversion.m4 +0 -23
  148. data/ext/libusb-1.0.20/m4/lt~obsolete.m4 +0 -98
  149. data/ext/libusb-1.0.20/missing +0 -215
  150. data/ext/libusb-1.0.20/tests/Makefile.am +0 -6
  151. data/ext/libusb-1.0.20/tests/Makefile.in +0 -596
  152. data/ext/libusb-1.0.20/tests/libusb_testlib.h +0 -107
  153. data/ext/libusb-1.0.20/tests/stress.c +0 -160
  154. data/ext/libusb-1.0.20/tests/testlib.c +0 -277
  155. metadata.gz.sig +0 -0
@@ -1,28 +0,0 @@
1
- AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
2
- ACLOCAL_AMFLAGS = -I m4
3
- DISTCLEANFILES = libusb-1.0.pc
4
- EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \
5
- examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \
6
- android Xcode
7
- SUBDIRS = libusb doc
8
-
9
- if BUILD_EXAMPLES
10
- SUBDIRS += examples
11
- endif
12
-
13
- if BUILD_TESTS
14
- SUBDIRS += tests
15
- endif
16
-
17
- pkgconfigdir=$(libdir)/pkgconfig
18
- pkgconfig_DATA=libusb-1.0.pc
19
-
20
- .PHONY: dist-up
21
-
22
- reldir = .release/$(distdir)
23
- dist-up: dist
24
- rm -rf $(reldir)
25
- mkdir -p $(reldir)
26
- cp $(distdir).tar.bz2 $(reldir)
27
- rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
28
- rm -rf $(reldir)
@@ -1,897 +0,0 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
2
- # @configure_input@
3
-
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
-
6
- # This Makefile.in is free software; the Free Software Foundation
7
- # gives unlimited permission to copy and/or distribute it,
8
- # with or without modifications, as long as this notice is preserved.
9
-
10
- # This program is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
- # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
- # PARTICULAR PURPOSE.
14
-
15
- @SET_MAKE@
16
-
17
- VPATH = @srcdir@
18
- am__is_gnu_make = { \
19
- if test -z '$(MAKELEVEL)'; then \
20
- false; \
21
- elif test -n '$(MAKE_HOST)'; then \
22
- true; \
23
- elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24
- true; \
25
- else \
26
- false; \
27
- fi; \
28
- }
29
- am__make_running_with_option = \
30
- case $${target_option-} in \
31
- ?) ;; \
32
- *) echo "am__make_running_with_option: internal error: invalid" \
33
- "target option '$${target_option-}' specified" >&2; \
34
- exit 1;; \
35
- esac; \
36
- has_opt=no; \
37
- sane_makeflags=$$MAKEFLAGS; \
38
- if $(am__is_gnu_make); then \
39
- sane_makeflags=$$MFLAGS; \
40
- else \
41
- case $$MAKEFLAGS in \
42
- *\\[\ \ ]*) \
43
- bs=\\; \
44
- sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45
- | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46
- esac; \
47
- fi; \
48
- skip_next=no; \
49
- strip_trailopt () \
50
- { \
51
- flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52
- }; \
53
- for flg in $$sane_makeflags; do \
54
- test $$skip_next = yes && { skip_next=no; continue; }; \
55
- case $$flg in \
56
- *=*|--*) continue;; \
57
- -*I) strip_trailopt 'I'; skip_next=yes;; \
58
- -*I?*) strip_trailopt 'I';; \
59
- -*O) strip_trailopt 'O'; skip_next=yes;; \
60
- -*O?*) strip_trailopt 'O';; \
61
- -*l) strip_trailopt 'l'; skip_next=yes;; \
62
- -*l?*) strip_trailopt 'l';; \
63
- -[dEDm]) skip_next=yes;; \
64
- -[JT]) skip_next=yes;; \
65
- esac; \
66
- case $$flg in \
67
- *$$target_option*) has_opt=yes; break;; \
68
- esac; \
69
- done; \
70
- test $$has_opt = yes
71
- am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72
- am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73
- pkgdatadir = $(datadir)/@PACKAGE@
74
- pkgincludedir = $(includedir)/@PACKAGE@
75
- pkglibdir = $(libdir)/@PACKAGE@
76
- pkglibexecdir = $(libexecdir)/@PACKAGE@
77
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78
- install_sh_DATA = $(install_sh) -c -m 644
79
- install_sh_PROGRAM = $(install_sh) -c
80
- install_sh_SCRIPT = $(install_sh) -c
81
- INSTALL_HEADER = $(INSTALL_DATA)
82
- transform = $(program_transform_name)
83
- NORMAL_INSTALL = :
84
- PRE_INSTALL = :
85
- POST_INSTALL = :
86
- NORMAL_UNINSTALL = :
87
- PRE_UNINSTALL = :
88
- POST_UNINSTALL = :
89
- build_triplet = @build@
90
- host_triplet = @host@
91
- @BUILD_EXAMPLES_TRUE@am__append_1 = examples
92
- @BUILD_TESTS_TRUE@am__append_2 = tests
93
- subdir = .
94
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95
- am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
96
- $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
97
- $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
98
- $(top_srcdir)/libusb/version.h $(top_srcdir)/configure.ac
99
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100
- $(ACLOCAL_M4)
101
- DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
102
- $(am__configure_deps) $(am__DIST_COMMON)
103
- am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
104
- configure.lineno config.status.lineno
105
- mkinstalldirs = $(install_sh) -d
106
- CONFIG_HEADER = config.h
107
- CONFIG_CLEAN_FILES = libusb-1.0.pc
108
- CONFIG_CLEAN_VPATH_FILES =
109
- AM_V_P = $(am__v_P_@AM_V@)
110
- am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
111
- am__v_P_0 = false
112
- am__v_P_1 = :
113
- AM_V_GEN = $(am__v_GEN_@AM_V@)
114
- am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
115
- am__v_GEN_0 = @echo " GEN " $@;
116
- am__v_GEN_1 =
117
- AM_V_at = $(am__v_at_@AM_V@)
118
- am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
119
- am__v_at_0 = @
120
- am__v_at_1 =
121
- SOURCES =
122
- DIST_SOURCES =
123
- RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
124
- ctags-recursive dvi-recursive html-recursive info-recursive \
125
- install-data-recursive install-dvi-recursive \
126
- install-exec-recursive install-html-recursive \
127
- install-info-recursive install-pdf-recursive \
128
- install-ps-recursive install-recursive installcheck-recursive \
129
- installdirs-recursive pdf-recursive ps-recursive \
130
- tags-recursive uninstall-recursive
131
- am__can_run_installinfo = \
132
- case $$AM_UPDATE_INFO_DIR in \
133
- n|no|NO) false;; \
134
- *) (install-info --version) >/dev/null 2>&1;; \
135
- esac
136
- am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
137
- am__vpath_adj = case $$p in \
138
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
139
- *) f=$$p;; \
140
- esac;
141
- am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
142
- am__install_max = 40
143
- am__nobase_strip_setup = \
144
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
145
- am__nobase_strip = \
146
- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
147
- am__nobase_list = $(am__nobase_strip_setup); \
148
- for p in $$list; do echo "$$p $$p"; done | \
149
- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
150
- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
151
- if (++n[$$2] == $(am__install_max)) \
152
- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
153
- END { for (dir in files) print dir, files[dir] }'
154
- am__base_list = \
155
- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
156
- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
157
- am__uninstall_files_from_dir = { \
158
- test -z "$$files" \
159
- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
160
- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
161
- $(am__cd) "$$dir" && rm -f $$files; }; \
162
- }
163
- am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
164
- DATA = $(pkgconfig_DATA)
165
- RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
166
- distclean-recursive maintainer-clean-recursive
167
- am__recursive_targets = \
168
- $(RECURSIVE_TARGETS) \
169
- $(RECURSIVE_CLEAN_TARGETS) \
170
- $(am__extra_recursive_targets)
171
- AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
172
- cscope distdir dist dist-all distcheck
173
- am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
174
- $(LISP)config.h.in
175
- # Read a list of newline-separated strings from the standard input,
176
- # and print each of them once, without duplicates. Input order is
177
- # *not* preserved.
178
- am__uniquify_input = $(AWK) '\
179
- BEGIN { nonempty = 0; } \
180
- { items[$$0] = 1; nonempty = 1; } \
181
- END { if (nonempty) { for (i in items) print i; }; } \
182
- '
183
- # Make sure the list of sources is unique. This is necessary because,
184
- # e.g., the same source file might be shared among _SOURCES variables
185
- # for different programs/libraries.
186
- am__define_uniq_tagged_files = \
187
- list='$(am__tagged_files)'; \
188
- unique=`for i in $$list; do \
189
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
190
- done | $(am__uniquify_input)`
191
- ETAGS = etags
192
- CTAGS = ctags
193
- CSCOPE = cscope
194
- DIST_SUBDIRS = libusb doc examples tests
195
- am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
196
- $(srcdir)/libusb-1.0.pc.in AUTHORS COPYING ChangeLog INSTALL \
197
- NEWS README TODO compile config.guess config.sub depcomp \
198
- install-sh ltmain.sh missing
199
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
200
- distdir = $(PACKAGE)-$(VERSION)
201
- top_distdir = $(distdir)
202
- am__remove_distdir = \
203
- if test -d "$(distdir)"; then \
204
- find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
205
- && rm -rf "$(distdir)" \
206
- || { sleep 5 && rm -rf "$(distdir)"; }; \
207
- else :; fi
208
- am__post_remove_distdir = $(am__remove_distdir)
209
- am__relativize = \
210
- dir0=`pwd`; \
211
- sed_first='s,^\([^/]*\)/.*$$,\1,'; \
212
- sed_rest='s,^[^/]*/*,,'; \
213
- sed_last='s,^.*/\([^/]*\)$$,\1,'; \
214
- sed_butlast='s,/*[^/]*$$,,'; \
215
- while test -n "$$dir1"; do \
216
- first=`echo "$$dir1" | sed -e "$$sed_first"`; \
217
- if test "$$first" != "."; then \
218
- if test "$$first" = ".."; then \
219
- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
220
- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
221
- else \
222
- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
223
- if test "$$first2" = "$$first"; then \
224
- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
225
- else \
226
- dir2="../$$dir2"; \
227
- fi; \
228
- dir0="$$dir0"/"$$first"; \
229
- fi; \
230
- fi; \
231
- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
232
- done; \
233
- reldir="$$dir2"
234
- GZIP_ENV = --best
235
- DIST_ARCHIVES = $(distdir).tar.bz2
236
- DIST_TARGETS = dist-bzip2
237
- distuninstallcheck_listfiles = find . -type f -print
238
- am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
239
- | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
240
- distcleancheck_listfiles = find . -type f -print
241
- ACLOCAL = @ACLOCAL@
242
- AMTAR = @AMTAR@
243
- AM_CFLAGS = @AM_CFLAGS@
244
- AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
245
- AR = @AR@
246
- AUTOCONF = @AUTOCONF@
247
- AUTOHEADER = @AUTOHEADER@
248
- AUTOMAKE = @AUTOMAKE@
249
- AWK = @AWK@
250
- CC = @CC@
251
- CCDEPMODE = @CCDEPMODE@
252
- CFLAGS = @CFLAGS@
253
- CPP = @CPP@
254
- CPPFLAGS = @CPPFLAGS@
255
- CYGPATH_W = @CYGPATH_W@
256
- DEFS = @DEFS@
257
- DEPDIR = @DEPDIR@
258
- DLLTOOL = @DLLTOOL@
259
- DSYMUTIL = @DSYMUTIL@
260
- DUMPBIN = @DUMPBIN@
261
- ECHO_C = @ECHO_C@
262
- ECHO_N = @ECHO_N@
263
- ECHO_T = @ECHO_T@
264
- EGREP = @EGREP@
265
- EXEEXT = @EXEEXT@
266
- FGREP = @FGREP@
267
- GREP = @GREP@
268
- INSTALL = @INSTALL@
269
- INSTALL_DATA = @INSTALL_DATA@
270
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
271
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
272
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
273
- LD = @LD@
274
- LDFLAGS = @LDFLAGS@
275
- LIBOBJS = @LIBOBJS@
276
- LIBS = @LIBS@
277
- LIBTOOL = @LIBTOOL@
278
- LIPO = @LIPO@
279
- LN_S = @LN_S@
280
- LTLDFLAGS = @LTLDFLAGS@
281
- LTLIBOBJS = @LTLIBOBJS@
282
- MAINT = @MAINT@
283
- MAKEINFO = @MAKEINFO@
284
- MANIFEST_TOOL = @MANIFEST_TOOL@
285
- MKDIR_P = @MKDIR_P@
286
- NM = @NM@
287
- NMEDIT = @NMEDIT@
288
- OBJDUMP = @OBJDUMP@
289
- OBJEXT = @OBJEXT@
290
- OS_DARWIN = @OS_DARWIN@
291
- OS_HAIKU = @OS_HAIKU@
292
- OS_LINUX = @OS_LINUX@
293
- OS_NETBSD = @OS_NETBSD@
294
- OS_OPENBSD = @OS_OPENBSD@
295
- OS_WINDOWS = @OS_WINDOWS@
296
- OTOOL = @OTOOL@
297
- OTOOL64 = @OTOOL64@
298
- PACKAGE = @PACKAGE@
299
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
300
- PACKAGE_NAME = @PACKAGE_NAME@
301
- PACKAGE_STRING = @PACKAGE_STRING@
302
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
303
- PACKAGE_URL = @PACKAGE_URL@
304
- PACKAGE_VERSION = @PACKAGE_VERSION@
305
- PATH_SEPARATOR = @PATH_SEPARATOR@
306
- RANLIB = @RANLIB@
307
- RC = @RC@
308
- SED = @SED@
309
- SET_MAKE = @SET_MAKE@
310
- SHELL = @SHELL@
311
- STRIP = @STRIP@
312
- USE_UDEV = @USE_UDEV@
313
- VERSION = @VERSION@
314
- abs_builddir = @abs_builddir@
315
- abs_srcdir = @abs_srcdir@
316
- abs_top_builddir = @abs_top_builddir@
317
- abs_top_srcdir = @abs_top_srcdir@
318
- ac_ct_AR = @ac_ct_AR@
319
- ac_ct_CC = @ac_ct_CC@
320
- ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
321
- am__include = @am__include@
322
- am__leading_dot = @am__leading_dot@
323
- am__quote = @am__quote@
324
- am__tar = @am__tar@
325
- am__untar = @am__untar@
326
- bindir = @bindir@
327
- build = @build@
328
- build_alias = @build_alias@
329
- build_cpu = @build_cpu@
330
- build_os = @build_os@
331
- build_vendor = @build_vendor@
332
- builddir = @builddir@
333
- datadir = @datadir@
334
- datarootdir = @datarootdir@
335
- docdir = @docdir@
336
- dvidir = @dvidir@
337
- exec_prefix = @exec_prefix@
338
- host = @host@
339
- host_alias = @host_alias@
340
- host_cpu = @host_cpu@
341
- host_os = @host_os@
342
- host_vendor = @host_vendor@
343
- htmldir = @htmldir@
344
- includedir = @includedir@
345
- infodir = @infodir@
346
- install_sh = @install_sh@
347
- libdir = @libdir@
348
- libexecdir = @libexecdir@
349
- localedir = @localedir@
350
- localstatedir = @localstatedir@
351
- mandir = @mandir@
352
- mkdir_p = @mkdir_p@
353
- oldincludedir = @oldincludedir@
354
- pdfdir = @pdfdir@
355
- prefix = @prefix@
356
- program_transform_name = @program_transform_name@
357
- psdir = @psdir@
358
- sbindir = @sbindir@
359
- sharedstatedir = @sharedstatedir@
360
- srcdir = @srcdir@
361
- subdirs = @subdirs@
362
- sysconfdir = @sysconfdir@
363
- target_alias = @target_alias@
364
- top_build_prefix = @top_build_prefix@
365
- top_builddir = @top_builddir@
366
- top_srcdir = @top_srcdir@
367
- AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
368
- ACLOCAL_AMFLAGS = -I m4
369
- DISTCLEANFILES = libusb-1.0.pc
370
- EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \
371
- examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \
372
- android Xcode
373
-
374
- SUBDIRS = libusb doc $(am__append_1) $(am__append_2)
375
- pkgconfigdir = $(libdir)/pkgconfig
376
- pkgconfig_DATA = libusb-1.0.pc
377
- reldir = .release/$(distdir)
378
- all: config.h
379
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
380
-
381
- .SUFFIXES:
382
- am--refresh: Makefile
383
- @:
384
- $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
385
- @for dep in $?; do \
386
- case '$(am__configure_deps)' in \
387
- *$$dep*) \
388
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
389
- $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
390
- && exit 0; \
391
- exit 1;; \
392
- esac; \
393
- done; \
394
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
395
- $(am__cd) $(top_srcdir) && \
396
- $(AUTOMAKE) --gnu Makefile
397
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
398
- @case '$?' in \
399
- *config.status*) \
400
- echo ' $(SHELL) ./config.status'; \
401
- $(SHELL) ./config.status;; \
402
- *) \
403
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
404
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
405
- esac;
406
-
407
- $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
408
- $(SHELL) ./config.status --recheck
409
-
410
- $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
411
- $(am__cd) $(srcdir) && $(AUTOCONF)
412
- $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
413
- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
414
- $(am__aclocal_m4_deps):
415
-
416
- config.h: stamp-h1
417
- @test -f $@ || rm -f stamp-h1
418
- @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
419
-
420
- stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
421
- @rm -f stamp-h1
422
- cd $(top_builddir) && $(SHELL) ./config.status config.h
423
- $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
424
- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
425
- rm -f stamp-h1
426
- touch $@
427
-
428
- distclean-hdr:
429
- -rm -f config.h stamp-h1
430
- libusb-1.0.pc: $(top_builddir)/config.status $(srcdir)/libusb-1.0.pc.in
431
- cd $(top_builddir) && $(SHELL) ./config.status $@
432
-
433
- mostlyclean-libtool:
434
- -rm -f *.lo
435
-
436
- clean-libtool:
437
- -rm -rf .libs _libs
438
-
439
- distclean-libtool:
440
- -rm -f libtool config.lt
441
- install-pkgconfigDATA: $(pkgconfig_DATA)
442
- @$(NORMAL_INSTALL)
443
- @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
444
- if test -n "$$list"; then \
445
- echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
446
- $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
447
- fi; \
448
- for p in $$list; do \
449
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
450
- echo "$$d$$p"; \
451
- done | $(am__base_list) | \
452
- while read files; do \
453
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
454
- $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
455
- done
456
-
457
- uninstall-pkgconfigDATA:
458
- @$(NORMAL_UNINSTALL)
459
- @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
460
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
461
- dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
462
-
463
- # This directory's subdirectories are mostly independent; you can cd
464
- # into them and run 'make' without going through this Makefile.
465
- # To change the values of 'make' variables: instead of editing Makefiles,
466
- # (1) if the variable is set in 'config.status', edit 'config.status'
467
- # (which will cause the Makefiles to be regenerated when you run 'make');
468
- # (2) otherwise, pass the desired values on the 'make' command line.
469
- $(am__recursive_targets):
470
- @fail=; \
471
- if $(am__make_keepgoing); then \
472
- failcom='fail=yes'; \
473
- else \
474
- failcom='exit 1'; \
475
- fi; \
476
- dot_seen=no; \
477
- target=`echo $@ | sed s/-recursive//`; \
478
- case "$@" in \
479
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
480
- *) list='$(SUBDIRS)' ;; \
481
- esac; \
482
- for subdir in $$list; do \
483
- echo "Making $$target in $$subdir"; \
484
- if test "$$subdir" = "."; then \
485
- dot_seen=yes; \
486
- local_target="$$target-am"; \
487
- else \
488
- local_target="$$target"; \
489
- fi; \
490
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
491
- || eval $$failcom; \
492
- done; \
493
- if test "$$dot_seen" = "no"; then \
494
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
495
- fi; test -z "$$fail"
496
-
497
- ID: $(am__tagged_files)
498
- $(am__define_uniq_tagged_files); mkid -fID $$unique
499
- tags: tags-recursive
500
- TAGS: tags
501
-
502
- tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
503
- set x; \
504
- here=`pwd`; \
505
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
506
- include_option=--etags-include; \
507
- empty_fix=.; \
508
- else \
509
- include_option=--include; \
510
- empty_fix=; \
511
- fi; \
512
- list='$(SUBDIRS)'; for subdir in $$list; do \
513
- if test "$$subdir" = .; then :; else \
514
- test ! -f $$subdir/TAGS || \
515
- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
516
- fi; \
517
- done; \
518
- $(am__define_uniq_tagged_files); \
519
- shift; \
520
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
521
- test -n "$$unique" || unique=$$empty_fix; \
522
- if test $$# -gt 0; then \
523
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
524
- "$$@" $$unique; \
525
- else \
526
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
527
- $$unique; \
528
- fi; \
529
- fi
530
- ctags: ctags-recursive
531
-
532
- CTAGS: ctags
533
- ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
534
- $(am__define_uniq_tagged_files); \
535
- test -z "$(CTAGS_ARGS)$$unique" \
536
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
537
- $$unique
538
-
539
- GTAGS:
540
- here=`$(am__cd) $(top_builddir) && pwd` \
541
- && $(am__cd) $(top_srcdir) \
542
- && gtags -i $(GTAGS_ARGS) "$$here"
543
- cscope: cscope.files
544
- test ! -s cscope.files \
545
- || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
546
- clean-cscope:
547
- -rm -f cscope.files
548
- cscope.files: clean-cscope cscopelist
549
- cscopelist: cscopelist-recursive
550
-
551
- cscopelist-am: $(am__tagged_files)
552
- list='$(am__tagged_files)'; \
553
- case "$(srcdir)" in \
554
- [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
555
- *) sdir=$(subdir)/$(srcdir) ;; \
556
- esac; \
557
- for i in $$list; do \
558
- if test -f "$$i"; then \
559
- echo "$(subdir)/$$i"; \
560
- else \
561
- echo "$$sdir/$$i"; \
562
- fi; \
563
- done >> $(top_builddir)/cscope.files
564
-
565
- distclean-tags:
566
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
567
- -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
568
-
569
- distdir: $(DISTFILES)
570
- $(am__remove_distdir)
571
- test -d "$(distdir)" || mkdir "$(distdir)"
572
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
573
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
574
- list='$(DISTFILES)'; \
575
- dist_files=`for file in $$list; do echo $$file; done | \
576
- sed -e "s|^$$srcdirstrip/||;t" \
577
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
578
- case $$dist_files in \
579
- */*) $(MKDIR_P) `echo "$$dist_files" | \
580
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
581
- sort -u` ;; \
582
- esac; \
583
- for file in $$dist_files; do \
584
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
585
- if test -d $$d/$$file; then \
586
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
587
- if test -d "$(distdir)/$$file"; then \
588
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
589
- fi; \
590
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
591
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
592
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
593
- fi; \
594
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
595
- else \
596
- test -f "$(distdir)/$$file" \
597
- || cp -p $$d/$$file "$(distdir)/$$file" \
598
- || exit 1; \
599
- fi; \
600
- done
601
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
602
- if test "$$subdir" = .; then :; else \
603
- $(am__make_dryrun) \
604
- || test -d "$(distdir)/$$subdir" \
605
- || $(MKDIR_P) "$(distdir)/$$subdir" \
606
- || exit 1; \
607
- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
608
- $(am__relativize); \
609
- new_distdir=$$reldir; \
610
- dir1=$$subdir; dir2="$(top_distdir)"; \
611
- $(am__relativize); \
612
- new_top_distdir=$$reldir; \
613
- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
614
- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
615
- ($(am__cd) $$subdir && \
616
- $(MAKE) $(AM_MAKEFLAGS) \
617
- top_distdir="$$new_top_distdir" \
618
- distdir="$$new_distdir" \
619
- am__remove_distdir=: \
620
- am__skip_length_check=: \
621
- am__skip_mode_fix=: \
622
- distdir) \
623
- || exit 1; \
624
- fi; \
625
- done
626
- -test -n "$(am__skip_mode_fix)" \
627
- || find "$(distdir)" -type d ! -perm -755 \
628
- -exec chmod u+rwx,go+rx {} \; -o \
629
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
630
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
631
- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
632
- || chmod -R a+r "$(distdir)"
633
- dist-gzip: distdir
634
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
635
- $(am__post_remove_distdir)
636
- dist-bzip2: distdir
637
- tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
638
- $(am__post_remove_distdir)
639
-
640
- dist-lzip: distdir
641
- tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
642
- $(am__post_remove_distdir)
643
-
644
- dist-xz: distdir
645
- tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
646
- $(am__post_remove_distdir)
647
-
648
- dist-tarZ: distdir
649
- @echo WARNING: "Support for distribution archives compressed with" \
650
- "legacy program 'compress' is deprecated." >&2
651
- @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
652
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
653
- $(am__post_remove_distdir)
654
-
655
- dist-shar: distdir
656
- @echo WARNING: "Support for shar distribution archives is" \
657
- "deprecated." >&2
658
- @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
659
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
660
- $(am__post_remove_distdir)
661
-
662
- dist-zip: distdir
663
- -rm -f $(distdir).zip
664
- zip -rq $(distdir).zip $(distdir)
665
- $(am__post_remove_distdir)
666
-
667
- dist dist-all:
668
- $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
669
- $(am__post_remove_distdir)
670
-
671
- # This target untars the dist file and tries a VPATH configuration. Then
672
- # it guarantees that the distribution is self-contained by making another
673
- # tarfile.
674
- distcheck: dist
675
- case '$(DIST_ARCHIVES)' in \
676
- *.tar.gz*) \
677
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
678
- *.tar.bz2*) \
679
- bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
680
- *.tar.lz*) \
681
- lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
682
- *.tar.xz*) \
683
- xz -dc $(distdir).tar.xz | $(am__untar) ;;\
684
- *.tar.Z*) \
685
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
686
- *.shar.gz*) \
687
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
688
- *.zip*) \
689
- unzip $(distdir).zip ;;\
690
- esac
691
- chmod -R a-w $(distdir)
692
- chmod u+w $(distdir)
693
- mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
694
- chmod a-w $(distdir)
695
- test -d $(distdir)/_build || exit 0; \
696
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
697
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
698
- && am__cwd=`pwd` \
699
- && $(am__cd) $(distdir)/_build/sub \
700
- && ../../configure \
701
- $(AM_DISTCHECK_CONFIGURE_FLAGS) \
702
- $(DISTCHECK_CONFIGURE_FLAGS) \
703
- --srcdir=../.. --prefix="$$dc_install_base" \
704
- && $(MAKE) $(AM_MAKEFLAGS) \
705
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
706
- && $(MAKE) $(AM_MAKEFLAGS) check \
707
- && $(MAKE) $(AM_MAKEFLAGS) install \
708
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
709
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
710
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
711
- distuninstallcheck \
712
- && chmod -R a-w "$$dc_install_base" \
713
- && ({ \
714
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
715
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
716
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
717
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
718
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
719
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
720
- && rm -rf "$$dc_destdir" \
721
- && $(MAKE) $(AM_MAKEFLAGS) dist \
722
- && rm -rf $(DIST_ARCHIVES) \
723
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
724
- && cd "$$am__cwd" \
725
- || exit 1
726
- $(am__post_remove_distdir)
727
- @(echo "$(distdir) archives ready for distribution: "; \
728
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
729
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
730
- distuninstallcheck:
731
- @test -n '$(distuninstallcheck_dir)' || { \
732
- echo 'ERROR: trying to run $@ with an empty' \
733
- '$$(distuninstallcheck_dir)' >&2; \
734
- exit 1; \
735
- }; \
736
- $(am__cd) '$(distuninstallcheck_dir)' || { \
737
- echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
738
- exit 1; \
739
- }; \
740
- test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
741
- || { echo "ERROR: files left after uninstall:" ; \
742
- if test -n "$(DESTDIR)"; then \
743
- echo " (check DESTDIR support)"; \
744
- fi ; \
745
- $(distuninstallcheck_listfiles) ; \
746
- exit 1; } >&2
747
- distcleancheck: distclean
748
- @if test '$(srcdir)' = . ; then \
749
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
750
- exit 1 ; \
751
- fi
752
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
753
- || { echo "ERROR: files left in build directory after distclean:" ; \
754
- $(distcleancheck_listfiles) ; \
755
- exit 1; } >&2
756
- check-am: all-am
757
- check: check-recursive
758
- all-am: Makefile $(DATA) config.h
759
- installdirs: installdirs-recursive
760
- installdirs-am:
761
- for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
762
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
763
- done
764
- install: install-recursive
765
- install-exec: install-exec-recursive
766
- install-data: install-data-recursive
767
- uninstall: uninstall-recursive
768
-
769
- install-am: all-am
770
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
771
-
772
- installcheck: installcheck-recursive
773
- install-strip:
774
- if test -z '$(STRIP)'; then \
775
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
776
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
777
- install; \
778
- else \
779
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
780
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
781
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
782
- fi
783
- mostlyclean-generic:
784
-
785
- clean-generic:
786
-
787
- distclean-generic:
788
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
789
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
790
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
791
-
792
- maintainer-clean-generic:
793
- @echo "This command is intended for maintainers to use"
794
- @echo "it deletes files that may require special tools to rebuild."
795
- clean: clean-recursive
796
-
797
- clean-am: clean-generic clean-libtool mostlyclean-am
798
-
799
- distclean: distclean-recursive
800
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
801
- -rm -f Makefile
802
- distclean-am: clean-am distclean-generic distclean-hdr \
803
- distclean-libtool distclean-tags
804
-
805
- dvi: dvi-recursive
806
-
807
- dvi-am:
808
-
809
- html: html-recursive
810
-
811
- html-am:
812
-
813
- info: info-recursive
814
-
815
- info-am:
816
-
817
- install-data-am: install-pkgconfigDATA
818
-
819
- install-dvi: install-dvi-recursive
820
-
821
- install-dvi-am:
822
-
823
- install-exec-am:
824
-
825
- install-html: install-html-recursive
826
-
827
- install-html-am:
828
-
829
- install-info: install-info-recursive
830
-
831
- install-info-am:
832
-
833
- install-man:
834
-
835
- install-pdf: install-pdf-recursive
836
-
837
- install-pdf-am:
838
-
839
- install-ps: install-ps-recursive
840
-
841
- install-ps-am:
842
-
843
- installcheck-am:
844
-
845
- maintainer-clean: maintainer-clean-recursive
846
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
847
- -rm -rf $(top_srcdir)/autom4te.cache
848
- -rm -f Makefile
849
- maintainer-clean-am: distclean-am maintainer-clean-generic
850
-
851
- mostlyclean: mostlyclean-recursive
852
-
853
- mostlyclean-am: mostlyclean-generic mostlyclean-libtool
854
-
855
- pdf: pdf-recursive
856
-
857
- pdf-am:
858
-
859
- ps: ps-recursive
860
-
861
- ps-am:
862
-
863
- uninstall-am: uninstall-pkgconfigDATA
864
-
865
- .MAKE: $(am__recursive_targets) all install-am install-strip
866
-
867
- .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
868
- am--refresh check check-am clean clean-cscope clean-generic \
869
- clean-libtool cscope cscopelist-am ctags ctags-am dist \
870
- dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
871
- dist-xz dist-zip distcheck distclean distclean-generic \
872
- distclean-hdr distclean-libtool distclean-tags distcleancheck \
873
- distdir distuninstallcheck dvi dvi-am html html-am info \
874
- info-am install install-am install-data install-data-am \
875
- install-dvi install-dvi-am install-exec install-exec-am \
876
- install-html install-html-am install-info install-info-am \
877
- install-man install-pdf install-pdf-am install-pkgconfigDATA \
878
- install-ps install-ps-am install-strip installcheck \
879
- installcheck-am installdirs installdirs-am maintainer-clean \
880
- maintainer-clean-generic mostlyclean mostlyclean-generic \
881
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
882
- uninstall-am uninstall-pkgconfigDATA
883
-
884
- .PRECIOUS: Makefile
885
-
886
-
887
- .PHONY: dist-up
888
- dist-up: dist
889
- rm -rf $(reldir)
890
- mkdir -p $(reldir)
891
- cp $(distdir).tar.bz2 $(reldir)
892
- rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
893
- rm -rf $(reldir)
894
-
895
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
896
- # Otherwise a system limit (for SysV at least) may be exceeded.
897
- .NOEXPORT: