libusb 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -2
- data/Gemfile +0 -8
- data/History.md +5 -0
- data/README.md +6 -6
- data/Rakefile +9 -9
- data/ext/extconf.rb +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/AUTHORS +10 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/COPYING +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/ChangeLog +17 -9
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/INSTALL +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Makefile.am +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Makefile.in +153 -178
- data/ext/libusb-1.0.18/NEWS +2 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/PORTING +13 -13
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/README +9 -11
- data/ext/libusb-1.0.18/TODO +2 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/common.xcconfig +3 -3
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/config.h +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/debug.xcconfig +2 -2
- data/ext/{libusbx-1.0.17/Xcode/libusbx.xcconfig → libusb-1.0.18/Xcode/libusb.xcconfig} +2 -2
- data/ext/libusb-1.0.18/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
- data/ext/{libusbx-1.0.17/Xcode/libusbx_debug.xcconfig → libusb-1.0.18/Xcode/libusb_debug.xcconfig} +3 -3
- data/ext/{libusbx-1.0.17/Xcode/libusbx_release.xcconfig → libusb-1.0.18/Xcode/libusb_release.xcconfig} +3 -3
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/Xcode/release.xcconfig +2 -2
- data/ext/{libusbx-1.0.17/m4/libtool.m4 → libusb-1.0.18/aclocal.m4} +1731 -27
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/README +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/config.h +1 -10
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/Android.mk +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/Application.mk +6 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/examples.mk +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/libusb.mk +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/android/jni/tests.mk +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/compile +3 -7
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.guess +19 -24
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.h.in +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/config.sub +30 -47
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/configure +118 -172
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/configure.ac +24 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/depcomp +186 -268
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/Makefile.am +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/Makefile.in +36 -73
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/doc/doxygen.cfg.in +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/Makefile.am +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/Makefile.in +68 -132
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/dpfp.c +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/dpfp_threaded.c +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/ezusb.c +57 -26
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/ezusb.h +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/fxload.c +3 -3
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt.c +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt.h +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/getopt/getopt1.c +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/hotplugtest.c +9 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/listdevs.c +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/sam3u_benchmark.c +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/examples/xusb.c +20 -4
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/install-sh +7 -7
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb-1.0.pc.in +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/Makefile.am +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/Makefile.in +94 -134
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/core.c +95 -74
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/descriptor.c +2 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/hotplug.c +3 -3
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/hotplug.h +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/io.c +127 -116
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb-1.0.def +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb-1.0.rc +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusb.h +42 -39
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/libusbi.h +20 -11
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/darwin_usb.c +20 -16
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/darwin_usb.h +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_netlink.c +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_udev.c +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_usbfs.c +15 -12
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/linux_usbfs.h +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/netbsd_usb.c +2 -4
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/openbsd_usb.c +5 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_posix.c +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_posix.h +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_windows.c +2 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/poll_windows.h +0 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_posix.c +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_posix.h +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_windows.c +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/threads_windows.h +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/wince_usb.c +1 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/wince_usb.h +2 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_common.h +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_usb.c +53 -33
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/os/windows_usb.h +6 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/strerror.c +2 -2
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/sync.c +6 -6
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/libusb/version.h +1 -1
- data/ext/libusb-1.0.18/libusb/version_nano.h +1 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/ltmain.sh +3 -3
- data/ext/libusb-1.0.18/missing +331 -0
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/Makefile.am +1 -1
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/Makefile.in +69 -127
- data/ext/{libusbx-1.0.17/tests/libusbx_testlib.h → libusb-1.0.18/tests/libusb_testlib.h} +15 -15
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/stress.c +16 -16
- data/ext/{libusbx-1.0.17 → libusb-1.0.18}/tests/testlib.c +21 -20
- data/lib/libusb/version_gem.rb +1 -1
- data/libusb.gemspec +1 -6
- metadata +117 -135
- checksums.yaml +0 -7
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ext/libusbx-1.0.17/NEWS +0 -2
- data/ext/libusbx-1.0.17/TODO +0 -2
- data/ext/libusbx-1.0.17/Xcode/libusbx.xcodeproj/project.pbxproj +0 -864
- data/ext/libusbx-1.0.17/aclocal.m4 +0 -1112
- data/ext/libusbx-1.0.17/libusb/version_nano.h +0 -1
- data/ext/libusbx-1.0.17/m4/ltoptions.m4 +0 -384
- data/ext/libusbx-1.0.17/m4/ltsugar.m4 +0 -123
- data/ext/libusbx-1.0.17/m4/ltversion.m4 +0 -23
- data/ext/libusbx-1.0.17/m4/lt~obsolete.m4 +0 -98
- data/ext/libusbx-1.0.17/missing +0 -215
- metadata.gz.sig +0 -0
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -7,11 +7,3 @@ group :test do
|
|
7
7
|
gem 'eventmachine'
|
8
8
|
gem 'minitest'
|
9
9
|
end
|
10
|
-
|
11
|
-
platforms :rbx do
|
12
|
-
# travis currently runs a slightly older version of rbx,
|
13
|
-
# that needs this special ffi version.
|
14
|
-
if ENV['TRAVIS']
|
15
|
-
gem 'ffi', :git => "git://github.com/ffi/ffi.git", :ref => '5f31908'
|
16
|
-
end
|
17
|
-
end
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -7,8 +7,8 @@ Access USB devices from Ruby
|
|
7
7
|
|
8
8
|
LIBUSB is a Ruby binding that gives Ruby programmers access to arbitrary USB devices.
|
9
9
|
|
10
|
-
* [libusb](http://
|
11
|
-
* This Ruby binding supports the API version 1.0 of [libusb](http://
|
10
|
+
* [libusb](http://libusb.info) is a library that gives full access to devices connected via the USB bus. No special kernel driver is thus necessary for accessing USB devices.
|
11
|
+
* This Ruby binding supports the API version 1.0 of [libusb](http://libusb.info). Note that the old "legacy" version 0.1.x of libusb uses a completely different API that is covered by the ruby extension [ruby-usb](http://www.a-k-r.org/ruby-usb/) .
|
12
12
|
|
13
13
|
|
14
14
|
LIBUSB for Ruby is covered by the GNU Lesser General Public License version 3.
|
@@ -59,16 +59,16 @@ Prerequisites
|
|
59
59
|
-------------
|
60
60
|
|
61
61
|
* Linux, MacOSX or Windows system with Ruby MRI 1.8.7/1.9/2.0, JRuby or recent version of Rubinius
|
62
|
-
* Optionally: [libusb](http://libusb.
|
62
|
+
* Optionally: [libusb](http://libusb.info) or [libusbx](http://libusbx.org) library version 1.0.8+ :
|
63
63
|
* Debian or Ubuntu:
|
64
64
|
|
65
65
|
```
|
66
66
|
$ sudo apt-get install libusb-1.0-0-dev
|
67
67
|
```
|
68
|
-
* OS-X: install with homebrew
|
68
|
+
* OS-X: install with homebrew:
|
69
69
|
|
70
70
|
```
|
71
|
-
$ brew install
|
71
|
+
$ brew install libusb
|
72
72
|
```
|
73
73
|
or macports:
|
74
74
|
|
@@ -83,7 +83,7 @@ Install
|
|
83
83
|
$ gem install libusb
|
84
84
|
|
85
85
|
While ```gem install``` the system is checked for a usable libusb(x) library installation.
|
86
|
-
If none could be found, a bundled
|
86
|
+
If none could be found, a bundled libusb version is built and used, instead.
|
87
87
|
|
88
88
|
Latest code can be used in this way:
|
89
89
|
|
data/Rakefile
CHANGED
@@ -25,9 +25,9 @@ COMPILE_HOME = Pathname( "./tmp" ).expand_path
|
|
25
25
|
STATIC_SOURCESDIR = COMPILE_HOME + 'sources'
|
26
26
|
|
27
27
|
# Fetch tarball from sourceforge
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.18'
|
29
|
+
LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-#{LIBUSB_VERSION}/libusb-#{LIBUSB_VERSION}.tar.bz2" )
|
30
|
+
LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
|
31
31
|
|
32
32
|
# Fetch tarball from git repo
|
33
33
|
# LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '295c9d1'
|
@@ -35,9 +35,9 @@ STATIC_SOURCESDIR = COMPILE_HOME + 'sources'
|
|
35
35
|
# LIBUSB_TARBALL = STATIC_SOURCESDIR + "libusb-#{LIBUSB_VERSION}.tar.bz2"
|
36
36
|
|
37
37
|
# Fetch tarball from libusbx
|
38
|
-
LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.17'
|
39
|
-
LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusbx/releases/#{LIBUSB_VERSION[/^\d+\.\d+\.\d+/]}/source/libusbx-#{LIBUSB_VERSION}.tar.bz2" )
|
40
|
-
LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
|
38
|
+
# LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.17'
|
39
|
+
# LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusbx/releases/#{LIBUSB_VERSION[/^\d+\.\d+\.\d+/]}/source/libusbx-#{LIBUSB_VERSION}.tar.bz2" )
|
40
|
+
# LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
|
41
41
|
|
42
42
|
# Fetch tarball from Pete Batard's git repo
|
43
43
|
# LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '4cc72d0'
|
@@ -172,10 +172,10 @@ CrossLibraries = [
|
|
172
172
|
CrossLibrary.new ruby_platform, host_platform
|
173
173
|
end
|
174
174
|
|
175
|
-
desc "Download and update bundled libusb
|
175
|
+
desc "Download and update bundled libusb"
|
176
176
|
task :update_libusb => LIBUSB_TARBALL do
|
177
|
-
sh 'rm', '-r', (EXT_BUILDDIR + "
|
178
|
-
sh 'git', 'rm', '-rfq', (EXT_BUILDDIR + "
|
177
|
+
sh 'rm', '-r', (EXT_BUILDDIR + "libusb-*").to_s do end
|
178
|
+
sh 'git', 'rm', '-rfq', (EXT_BUILDDIR + "libusb-*").to_s do end
|
179
179
|
sh 'tar', '-xjf', LIBUSB_TARBALL.to_s, '-C', EXT_LIBUSB_BUILDDIR.parent.to_s
|
180
180
|
drops = %w[msvc].map{|f| (EXT_LIBUSB_BUILDDIR+f).to_s }
|
181
181
|
sh 'rm', '-r', '-f', *drops
|
data/ext/extconf.rb
CHANGED
@@ -28,7 +28,7 @@ rescue LoadError
|
|
28
28
|
# Unable to load libusb library on this system,
|
29
29
|
# so we build our bundled version:
|
30
30
|
|
31
|
-
libusb_dir = Dir[File.expand_path('../../ext/
|
31
|
+
libusb_dir = Dir[File.expand_path('../../ext/libusb-*', __FILE__)].first
|
32
32
|
root_dir = File.expand_path('../..', __FILE__)
|
33
33
|
raise "could not find embedded libusb sources" unless libusb_dir
|
34
34
|
|
@@ -13,10 +13,12 @@ Other contributors:
|
|
13
13
|
Alan Ott
|
14
14
|
Alan Stern
|
15
15
|
Alex Vatchenko
|
16
|
+
Andrew Fernandes
|
16
17
|
Anthony Clay
|
17
18
|
Artem Egorkine
|
18
19
|
Aurelien Jarno
|
19
20
|
Bastien Nocera
|
21
|
+
Bei Zhang
|
20
22
|
Benjamin Dobell
|
21
23
|
Chris Dickens
|
22
24
|
Colin Walters
|
@@ -28,20 +30,27 @@ Federico Manzan
|
|
28
30
|
Felipe Balbi
|
29
31
|
Florian Albrechtskirchinger
|
30
32
|
Francesco Montorsi
|
33
|
+
Francisco Facioni
|
31
34
|
Graeme Gill
|
35
|
+
Gustavo Zacarias
|
32
36
|
Hans Ulrich Niedermann
|
33
37
|
Hector Martin
|
34
38
|
Hoi-Ho Chan
|
35
39
|
Ilya Konstantinov
|
36
40
|
James Hanko
|
41
|
+
Joshua Blake
|
42
|
+
Karsten Koenig
|
37
43
|
Konrad Rzepecki
|
44
|
+
Kuangye Guo
|
38
45
|
Lars Wirzenius
|
39
46
|
Luca Longinotti
|
40
47
|
Martin Koegler
|
41
48
|
Matthias Bolte
|
42
49
|
Mike Frysinger
|
43
50
|
Mikhail Gusarov
|
51
|
+
Moritz Fischer
|
44
52
|
Nicholas Corgan
|
53
|
+
Omri Iluz
|
45
54
|
Orin Eman
|
46
55
|
Paul Fertser
|
47
56
|
Pekka Nikander
|
@@ -60,3 +69,4 @@ Vitali Lovich
|
|
60
69
|
Xiaofan Chen
|
61
70
|
Zoltán Kovács
|
62
71
|
Роман Донченко
|
72
|
+
xantares
|
File without changes
|
@@ -1,5 +1,13 @@
|
|
1
1
|
For detailed information about the changes below, please see the git log or
|
2
|
-
visit: http://log.
|
2
|
+
visit: http://log.libusb.info
|
3
|
+
|
4
|
+
2014-01-25: v1.0.18
|
5
|
+
* Fix multiple memory leaks
|
6
|
+
* Fix a crash when HID transfers return no data on Windows
|
7
|
+
* Ensure all pending events are consumed
|
8
|
+
* Improve Android and ucLinux support
|
9
|
+
* Multiple Windows improvements (error logging, VS2013, VIA xHCI support)
|
10
|
+
* Multiple OS X improvements (broken compilation, SIGFPE, 64bit support)
|
3
11
|
|
4
12
|
2013-09-06: v1.0.17
|
5
13
|
* Hotplug callbacks now always get passed a libusb_context, even if it is
|
@@ -11,11 +19,11 @@ visit: http://log.libusbx.org
|
|
11
19
|
* Darwin: Add Xcode project
|
12
20
|
* Darwin: Fix crash on unplug (#121)
|
13
21
|
* Linux: Fix hang (deadlock) on libusb_exit
|
14
|
-
* Linux: Fix
|
22
|
+
* Linux: Fix libusb build failure with --disable-udev (#124)
|
15
23
|
* Linux: Fix libusb_get_device_list() hang with --disable-udev (#130)
|
16
24
|
* OpenBSD: Update OpenBSD backend with support for control transfers to
|
17
25
|
non-ugen(4) devices and make get_configuration() no longer generate I/O.
|
18
|
-
Note that using this
|
26
|
+
Note that using this libusb version on OpenBSD requires using
|
19
27
|
OpenBSD 5.3-current or later. Users of older OpenBSD versions are advised
|
20
28
|
to stay with the libusb shipped with OpenBSD (mpi)
|
21
29
|
* Windows: fix libusb_dll_2010.vcxproj link errors (#129)
|
@@ -62,7 +70,7 @@ https://github.com/libusbx/libusbx/issues/9
|
|
62
70
|
* Reverts the previous API change with regards to bMaxPower.
|
63
71
|
If this doesn't matter to you, you are encouraged to keep using v1.0.13,
|
64
72
|
as it will use the same attribute as v2.0, to be released soon.
|
65
|
-
* Note that
|
73
|
+
* Note that LIBUSB_API_VERSION is *decreased* to 0x010000FF and the previous
|
66
74
|
guidelines with regards to concurrent use of MaxPower/bMaxPower still apply.
|
67
75
|
|
68
76
|
2012-09-20: v1.0.13
|
@@ -73,11 +81,11 @@ https://github.com/libusbx/libusbx/issues/9
|
|
73
81
|
* Fix broken support for the 0.1 -> 1.0 libusb-compat layer
|
74
82
|
* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
|
75
83
|
* Fix handling of HID and composite devices on Windows
|
76
|
-
* Introduce
|
84
|
+
* Introduce LIBUSB_API_VERSION macro
|
77
85
|
* Add Cypress FX/FX2 firmware upload sample, based on fxload from
|
78
86
|
http://linux-hotplug.sourceforge.net
|
79
87
|
* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
|
80
|
-
the drivers allow it, isochronous transfers are not supported yet in
|
88
|
+
the drivers allow it, isochronous transfers are not supported yet in libusb. Also
|
81
89
|
not supported yet is the use of libusb-win32 filter drivers on composite interfaces
|
82
90
|
* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
|
83
91
|
splitting of bulk transfers
|
@@ -178,18 +186,18 @@ https://github.com/libusbx/libusbx/issues/9
|
|
178
186
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
179
187
|
|
180
188
|
APPENDIX A - How to maintain code compatibility with versions of libusb and
|
181
|
-
|
189
|
+
libusb that use MaxPower:
|
182
190
|
|
183
191
|
If you must to maintain compatibility with versions of the library that aren't
|
184
192
|
using the bMaxPower attribute in struct libusb_config_descriptor, the
|
185
|
-
recommended way is to use the new
|
193
|
+
recommended way is to use the new LIBUSB_API_VERSION macro with an #ifdef.
|
186
194
|
For instance, if your code was written as follows:
|
187
195
|
|
188
196
|
if (dev->config[0].MaxPower < 250)
|
189
197
|
|
190
198
|
Then you should modify it to have:
|
191
199
|
|
192
|
-
#if defined(
|
200
|
+
#if defined(LIBUSB_API_VERSION) && (LIBUSB_API_VERSION >= 0x01000100)
|
193
201
|
if (dev->config[0].bMaxPower < 250)
|
194
202
|
#else
|
195
203
|
if (dev->config[0].MaxPower < 250)
|
File without changes
|
File without changes
|
@@ -1,8 +1,9 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.11.5 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994
|
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
|
-
|
19
|
-
|
20
|
-
|
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
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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
|
-
|
57
|
-
|
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@
|
@@ -81,17 +54,14 @@ host_triplet = @host@
|
|
81
54
|
@BUILD_EXAMPLES_TRUE@am__append_1 = examples
|
82
55
|
@BUILD_TESTS_TRUE@am__append_2 = tests
|
83
56
|
subdir = .
|
84
|
-
DIST_COMMON =
|
85
|
-
$(srcdir)/Makefile.in $(srcdir)/
|
86
|
-
$(
|
87
|
-
|
88
|
-
|
89
|
-
ltmain.sh
|
57
|
+
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
58
|
+
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
59
|
+
$(srcdir)/libusb-1.0.pc.in $(top_srcdir)/configure AUTHORS \
|
60
|
+
COPYING ChangeLog INSTALL NEWS TODO compile config.guess \
|
61
|
+
config.sub depcomp install-sh ltmain.sh missing
|
90
62
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
91
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
92
|
-
$(top_srcdir)/
|
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
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
@@ -100,28 +70,21 @@ mkinstalldirs = $(install_sh) -d
|
|
100
70
|
CONFIG_HEADER = config.h
|
101
71
|
CONFIG_CLEAN_FILES = libusb-1.0.pc
|
102
72
|
CONFIG_CLEAN_VPATH_FILES =
|
103
|
-
AM_V_P = $(am__v_P_@AM_V@)
|
104
|
-
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
105
|
-
am__v_P_0 = false
|
106
|
-
am__v_P_1 = :
|
107
73
|
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
108
74
|
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
109
|
-
am__v_GEN_0 = @echo " GEN
|
110
|
-
am__v_GEN_1 =
|
75
|
+
am__v_GEN_0 = @echo " GEN " $@;
|
111
76
|
AM_V_at = $(am__v_at_@AM_V@)
|
112
77
|
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
113
78
|
am__v_at_0 = @
|
114
|
-
am__v_at_1 =
|
115
79
|
SOURCES =
|
116
80
|
DIST_SOURCES =
|
117
|
-
RECURSIVE_TARGETS = all-recursive check-recursive
|
118
|
-
|
119
|
-
install-
|
120
|
-
install-
|
121
|
-
install-
|
122
|
-
|
123
|
-
|
124
|
-
tags-recursive uninstall-recursive
|
81
|
+
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
82
|
+
html-recursive info-recursive install-data-recursive \
|
83
|
+
install-dvi-recursive install-exec-recursive \
|
84
|
+
install-html-recursive install-info-recursive \
|
85
|
+
install-pdf-recursive install-ps-recursive install-recursive \
|
86
|
+
installcheck-recursive installdirs-recursive pdf-recursive \
|
87
|
+
ps-recursive uninstall-recursive
|
125
88
|
am__can_run_installinfo = \
|
126
89
|
case $$AM_UPDATE_INFO_DIR in \
|
127
90
|
n|no|NO) false;; \
|
@@ -158,33 +121,11 @@ am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
|
|
158
121
|
DATA = $(pkgconfig_DATA)
|
159
122
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
160
123
|
distclean-recursive maintainer-clean-recursive
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
$(am__extra_recursive_targets)
|
165
|
-
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
166
|
-
cscope distdir dist dist-all distcheck
|
167
|
-
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
168
|
-
$(LISP)config.h.in
|
169
|
-
# Read a list of newline-separated strings from the standard input,
|
170
|
-
# and print each of them once, without duplicates. Input order is
|
171
|
-
# *not* preserved.
|
172
|
-
am__uniquify_input = $(AWK) '\
|
173
|
-
BEGIN { nonempty = 0; } \
|
174
|
-
{ items[$$0] = 1; nonempty = 1; } \
|
175
|
-
END { if (nonempty) { for (i in items) print i; }; } \
|
176
|
-
'
|
177
|
-
# Make sure the list of sources is unique. This is necessary because,
|
178
|
-
# e.g., the same source file might be shared among _SOURCES variables
|
179
|
-
# for different programs/libraries.
|
180
|
-
am__define_uniq_tagged_files = \
|
181
|
-
list='$(am__tagged_files)'; \
|
182
|
-
unique=`for i in $$list; do \
|
183
|
-
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
184
|
-
done | $(am__uniquify_input)`
|
124
|
+
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
125
|
+
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
126
|
+
distdir dist dist-all distcheck
|
185
127
|
ETAGS = etags
|
186
128
|
CTAGS = ctags
|
187
|
-
CSCOPE = cscope
|
188
129
|
DIST_SUBDIRS = libusb doc examples tests
|
189
130
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
190
131
|
distdir = $(PACKAGE)-$(VERSION)
|
@@ -195,7 +136,6 @@ am__remove_distdir = \
|
|
195
136
|
&& rm -rf "$(distdir)" \
|
196
137
|
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
197
138
|
else :; fi
|
198
|
-
am__post_remove_distdir = $(am__remove_distdir)
|
199
139
|
am__relativize = \
|
200
140
|
dir0=`pwd`; \
|
201
141
|
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
@@ -223,7 +163,6 @@ am__relativize = \
|
|
223
163
|
reldir="$$dir2"
|
224
164
|
GZIP_ENV = --best
|
225
165
|
DIST_ARCHIVES = $(distdir).tar.bz2
|
226
|
-
DIST_TARGETS = dist-bzip2
|
227
166
|
distuninstallcheck_listfiles = find . -type f -print
|
228
167
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
229
168
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
@@ -450,25 +389,22 @@ uninstall-pkgconfigDATA:
|
|
450
389
|
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
|
451
390
|
|
452
391
|
# This directory's subdirectories are mostly independent; you can cd
|
453
|
-
# into them and run
|
454
|
-
# To change the values of
|
455
|
-
# (1) if the variable is set in
|
456
|
-
# (which will cause the Makefiles to be regenerated when you run
|
457
|
-
# (2) otherwise, pass the desired values on the
|
458
|
-
$(
|
459
|
-
@fail
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
392
|
+
# into them and run `make' without going through this Makefile.
|
393
|
+
# To change the values of `make' variables: instead of editing Makefiles,
|
394
|
+
# (1) if the variable is set in `config.status', edit `config.status'
|
395
|
+
# (which will cause the Makefiles to be regenerated when you run `make');
|
396
|
+
# (2) otherwise, pass the desired values on the `make' command line.
|
397
|
+
$(RECURSIVE_TARGETS):
|
398
|
+
@fail= failcom='exit 1'; \
|
399
|
+
for f in x $$MAKEFLAGS; do \
|
400
|
+
case $$f in \
|
401
|
+
*=* | --[!k]*);; \
|
402
|
+
*k*) failcom='fail=yes';; \
|
403
|
+
esac; \
|
404
|
+
done; \
|
465
405
|
dot_seen=no; \
|
466
406
|
target=`echo $@ | sed s/-recursive//`; \
|
467
|
-
|
468
|
-
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
469
|
-
*) list='$(SUBDIRS)' ;; \
|
470
|
-
esac; \
|
471
|
-
for subdir in $$list; do \
|
407
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
472
408
|
echo "Making $$target in $$subdir"; \
|
473
409
|
if test "$$subdir" = "."; then \
|
474
410
|
dot_seen=yes; \
|
@@ -483,12 +419,57 @@ $(am__recursive_targets):
|
|
483
419
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
484
420
|
fi; test -z "$$fail"
|
485
421
|
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
422
|
+
$(RECURSIVE_CLEAN_TARGETS):
|
423
|
+
@fail= failcom='exit 1'; \
|
424
|
+
for f in x $$MAKEFLAGS; do \
|
425
|
+
case $$f in \
|
426
|
+
*=* | --[!k]*);; \
|
427
|
+
*k*) failcom='fail=yes';; \
|
428
|
+
esac; \
|
429
|
+
done; \
|
430
|
+
dot_seen=no; \
|
431
|
+
case "$@" in \
|
432
|
+
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
433
|
+
*) list='$(SUBDIRS)' ;; \
|
434
|
+
esac; \
|
435
|
+
rev=''; for subdir in $$list; do \
|
436
|
+
if test "$$subdir" = "."; then :; else \
|
437
|
+
rev="$$subdir $$rev"; \
|
438
|
+
fi; \
|
439
|
+
done; \
|
440
|
+
rev="$$rev ."; \
|
441
|
+
target=`echo $@ | sed s/-recursive//`; \
|
442
|
+
for subdir in $$rev; do \
|
443
|
+
echo "Making $$target in $$subdir"; \
|
444
|
+
if test "$$subdir" = "."; then \
|
445
|
+
local_target="$$target-am"; \
|
446
|
+
else \
|
447
|
+
local_target="$$target"; \
|
448
|
+
fi; \
|
449
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
450
|
+
|| eval $$failcom; \
|
451
|
+
done && test -z "$$fail"
|
452
|
+
tags-recursive:
|
453
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
454
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
455
|
+
done
|
456
|
+
ctags-recursive:
|
457
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
458
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
459
|
+
done
|
490
460
|
|
491
|
-
|
461
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
462
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
463
|
+
unique=`for i in $$list; do \
|
464
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
465
|
+
done | \
|
466
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
467
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
468
|
+
mkid -fID $$unique
|
469
|
+
tags: TAGS
|
470
|
+
|
471
|
+
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
472
|
+
$(TAGS_FILES) $(LISP)
|
492
473
|
set x; \
|
493
474
|
here=`pwd`; \
|
494
475
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
@@ -504,7 +485,12 @@ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
|
504
485
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
505
486
|
fi; \
|
506
487
|
done; \
|
507
|
-
$(
|
488
|
+
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
489
|
+
unique=`for i in $$list; do \
|
490
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
491
|
+
done | \
|
492
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
493
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
508
494
|
shift; \
|
509
495
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
510
496
|
test -n "$$unique" || unique=$$empty_fix; \
|
@@ -516,11 +502,15 @@ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
|
516
502
|
$$unique; \
|
517
503
|
fi; \
|
518
504
|
fi
|
519
|
-
ctags:
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
505
|
+
ctags: CTAGS
|
506
|
+
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
507
|
+
$(TAGS_FILES) $(LISP)
|
508
|
+
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
509
|
+
unique=`for i in $$list; do \
|
510
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
511
|
+
done | \
|
512
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
513
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
524
514
|
test -z "$(CTAGS_ARGS)$$unique" \
|
525
515
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
526
516
|
$$unique
|
@@ -529,31 +519,9 @@ GTAGS:
|
|
529
519
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
530
520
|
&& $(am__cd) $(top_srcdir) \
|
531
521
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
532
|
-
cscope: cscope.files
|
533
|
-
test ! -s cscope.files \
|
534
|
-
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
535
|
-
clean-cscope:
|
536
|
-
-rm -f cscope.files
|
537
|
-
cscope.files: clean-cscope cscopelist
|
538
|
-
cscopelist: cscopelist-recursive
|
539
|
-
|
540
|
-
cscopelist-am: $(am__tagged_files)
|
541
|
-
list='$(am__tagged_files)'; \
|
542
|
-
case "$(srcdir)" in \
|
543
|
-
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
544
|
-
*) sdir=$(subdir)/$(srcdir) ;; \
|
545
|
-
esac; \
|
546
|
-
for i in $$list; do \
|
547
|
-
if test -f "$$i"; then \
|
548
|
-
echo "$(subdir)/$$i"; \
|
549
|
-
else \
|
550
|
-
echo "$$sdir/$$i"; \
|
551
|
-
fi; \
|
552
|
-
done >> $(top_builddir)/cscope.files
|
553
522
|
|
554
523
|
distclean-tags:
|
555
524
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
556
|
-
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
557
525
|
|
558
526
|
distdir: $(DISTFILES)
|
559
527
|
$(am__remove_distdir)
|
@@ -621,35 +589,39 @@ distdir: $(DISTFILES)
|
|
621
589
|
|| chmod -R a+r "$(distdir)"
|
622
590
|
dist-gzip: distdir
|
623
591
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
624
|
-
$(
|
592
|
+
$(am__remove_distdir)
|
625
593
|
dist-bzip2: distdir
|
626
594
|
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
627
|
-
$(
|
595
|
+
$(am__remove_distdir)
|
628
596
|
|
629
597
|
dist-lzip: distdir
|
630
598
|
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
631
|
-
$(
|
599
|
+
$(am__remove_distdir)
|
600
|
+
|
601
|
+
dist-lzma: distdir
|
602
|
+
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
603
|
+
$(am__remove_distdir)
|
632
604
|
|
633
605
|
dist-xz: distdir
|
634
606
|
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
635
|
-
$(
|
607
|
+
$(am__remove_distdir)
|
636
608
|
|
637
609
|
dist-tarZ: distdir
|
638
610
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
639
|
-
$(
|
611
|
+
$(am__remove_distdir)
|
640
612
|
|
641
613
|
dist-shar: distdir
|
642
614
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
643
|
-
$(
|
615
|
+
$(am__remove_distdir)
|
644
616
|
|
645
617
|
dist-zip: distdir
|
646
618
|
-rm -f $(distdir).zip
|
647
619
|
zip -rq $(distdir).zip $(distdir)
|
648
|
-
$(
|
620
|
+
$(am__remove_distdir)
|
649
621
|
|
650
|
-
dist dist-all:
|
651
|
-
|
652
|
-
$(
|
622
|
+
dist dist-all: distdir
|
623
|
+
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
624
|
+
$(am__remove_distdir)
|
653
625
|
|
654
626
|
# This target untars the dist file and tries a VPATH configuration. Then
|
655
627
|
# it guarantees that the distribution is self-contained by making another
|
@@ -660,6 +632,8 @@ distcheck: dist
|
|
660
632
|
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
661
633
|
*.tar.bz2*) \
|
662
634
|
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
635
|
+
*.tar.lzma*) \
|
636
|
+
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
663
637
|
*.tar.lz*) \
|
664
638
|
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
665
639
|
*.tar.xz*) \
|
@@ -671,9 +645,9 @@ distcheck: dist
|
|
671
645
|
*.zip*) \
|
672
646
|
unzip $(distdir).zip ;;\
|
673
647
|
esac
|
674
|
-
chmod -R a-w $(distdir)
|
675
|
-
|
676
|
-
mkdir $(distdir)/
|
648
|
+
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
649
|
+
mkdir $(distdir)/_build
|
650
|
+
mkdir $(distdir)/_inst
|
677
651
|
chmod a-w $(distdir)
|
678
652
|
test -d $(distdir)/_build || exit 0; \
|
679
653
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
@@ -705,7 +679,7 @@ distcheck: dist
|
|
705
679
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
706
680
|
&& cd "$$am__cwd" \
|
707
681
|
|| exit 1
|
708
|
-
$(
|
682
|
+
$(am__remove_distdir)
|
709
683
|
@(echo "$(distdir) archives ready for distribution: "; \
|
710
684
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
711
685
|
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
@@ -844,24 +818,25 @@ ps-am:
|
|
844
818
|
|
845
819
|
uninstall-am: uninstall-pkgconfigDATA
|
846
820
|
|
847
|
-
.MAKE: $(
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
dist-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
install
|
858
|
-
install-
|
859
|
-
install-
|
860
|
-
install-
|
861
|
-
|
821
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
|
822
|
+
ctags-recursive install-am install-strip tags-recursive
|
823
|
+
|
824
|
+
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
825
|
+
all all-am am--refresh check check-am clean clean-generic \
|
826
|
+
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
827
|
+
dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
|
828
|
+
dist-zip distcheck distclean distclean-generic distclean-hdr \
|
829
|
+
distclean-libtool distclean-tags distcleancheck distdir \
|
830
|
+
distuninstallcheck dvi dvi-am html html-am info info-am \
|
831
|
+
install install-am install-data install-data-am install-dvi \
|
832
|
+
install-dvi-am install-exec install-exec-am install-html \
|
833
|
+
install-html-am install-info install-info-am install-man \
|
834
|
+
install-pdf install-pdf-am install-pkgconfigDATA install-ps \
|
835
|
+
install-ps-am install-strip installcheck installcheck-am \
|
836
|
+
installdirs installdirs-am maintainer-clean \
|
862
837
|
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
863
|
-
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-
|
864
|
-
uninstall-am uninstall-pkgconfigDATA
|
838
|
+
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
|
839
|
+
uninstall uninstall-am uninstall-pkgconfigDATA
|
865
840
|
|
866
841
|
|
867
842
|
.PHONY: dist-up
|