libusb 0.2.2 → 0.3.0
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.
- data/.gitignore +8 -0
- data/.travis.yml +10 -0
- data/.yardopts +6 -1
- data/Gemfile +16 -0
- data/{History.txt → History.md} +28 -16
- data/README.md +144 -0
- data/Rakefile +28 -24
- data/ext/extconf.rb +33 -0
- data/ext/libusbx-1.0.14/AUTHORS +50 -0
- data/ext/libusbx-1.0.14/COPYING +504 -0
- data/ext/libusbx-1.0.14/ChangeLog +139 -0
- data/ext/libusbx-1.0.14/INSTALL +234 -0
- data/ext/libusbx-1.0.14/Makefile.am +23 -0
- data/ext/libusbx-1.0.14/Makefile.in +803 -0
- data/ext/libusbx-1.0.14/NEWS +2 -0
- data/ext/libusbx-1.0.14/PORTING +94 -0
- data/ext/libusbx-1.0.14/README +28 -0
- data/ext/libusbx-1.0.14/THANKS +7 -0
- data/ext/libusbx-1.0.14/TODO +2 -0
- data/ext/libusbx-1.0.14/aclocal.m4 +9480 -0
- data/ext/libusbx-1.0.14/compile +143 -0
- data/ext/libusbx-1.0.14/config.guess +1501 -0
- data/ext/libusbx-1.0.14/config.h.in +116 -0
- data/ext/libusbx-1.0.14/config.sub +1705 -0
- data/ext/libusbx-1.0.14/configure +14818 -0
- data/ext/libusbx-1.0.14/configure.ac +230 -0
- data/ext/libusbx-1.0.14/depcomp +630 -0
- data/ext/libusbx-1.0.14/doc/Makefile.am +9 -0
- data/ext/libusbx-1.0.14/doc/Makefile.in +380 -0
- data/ext/libusbx-1.0.14/doc/doxygen.cfg.in +1288 -0
- data/ext/libusbx-1.0.14/examples/Makefile.am +18 -0
- data/ext/libusbx-1.0.14/examples/Makefile.in +596 -0
- data/ext/libusbx-1.0.14/examples/dpfp.c +506 -0
- data/ext/libusbx-1.0.14/examples/dpfp_threaded.c +544 -0
- data/ext/libusbx-1.0.14/examples/ezusb.c +616 -0
- data/ext/libusbx-1.0.14/examples/ezusb.h +107 -0
- data/ext/libusbx-1.0.14/examples/fxload.c +261 -0
- data/ext/libusbx-1.0.14/examples/getopt/getopt.c +1060 -0
- data/ext/libusbx-1.0.14/examples/getopt/getopt.h +180 -0
- data/ext/libusbx-1.0.14/examples/getopt/getopt1.c +188 -0
- data/ext/libusbx-1.0.14/examples/listdevs.c +63 -0
- data/ext/libusbx-1.0.14/examples/xusb.c +1036 -0
- data/ext/libusbx-1.0.14/install-sh +520 -0
- data/ext/libusbx-1.0.14/libusb-1.0.pc.in +11 -0
- data/ext/libusbx-1.0.14/libusb/Makefile.am +56 -0
- data/ext/libusbx-1.0.14/libusb/Makefile.in +721 -0
- data/ext/libusbx-1.0.14/libusb/core.c +1951 -0
- data/ext/libusbx-1.0.14/libusb/descriptor.c +731 -0
- data/ext/libusbx-1.0.14/libusb/io.c +2450 -0
- data/ext/libusbx-1.0.14/libusb/libusb-1.0.def +126 -0
- data/ext/libusbx-1.0.14/libusb/libusb-1.0.rc +59 -0
- data/ext/libusbx-1.0.14/libusb/libusb.h +1506 -0
- data/ext/libusbx-1.0.14/libusb/libusbi.h +910 -0
- data/ext/libusbx-1.0.14/libusb/os/darwin_usb.c +1807 -0
- data/ext/libusbx-1.0.14/libusb/os/darwin_usb.h +169 -0
- data/ext/libusbx-1.0.14/libusb/os/linux_usbfs.c +2569 -0
- data/ext/libusbx-1.0.14/libusb/os/linux_usbfs.h +149 -0
- data/ext/libusbx-1.0.14/libusb/os/openbsd_usb.c +727 -0
- data/ext/libusbx-1.0.14/libusb/os/poll_posix.h +10 -0
- data/ext/libusbx-1.0.14/libusb/os/poll_windows.c +747 -0
- data/ext/libusbx-1.0.14/libusb/os/poll_windows.h +114 -0
- data/ext/libusbx-1.0.14/libusb/os/threads_posix.c +80 -0
- data/ext/libusbx-1.0.14/libusb/os/threads_posix.h +50 -0
- data/ext/libusbx-1.0.14/libusb/os/threads_windows.c +211 -0
- data/ext/libusbx-1.0.14/libusb/os/threads_windows.h +87 -0
- data/ext/libusbx-1.0.14/libusb/os/windows_usb.c +4369 -0
- data/ext/libusbx-1.0.14/libusb/os/windows_usb.h +979 -0
- data/ext/libusbx-1.0.14/libusb/sync.c +321 -0
- data/ext/libusbx-1.0.14/libusb/version.h +18 -0
- data/ext/libusbx-1.0.14/libusb/version_nano.h +1 -0
- data/ext/libusbx-1.0.14/ltmain.sh +9636 -0
- data/ext/libusbx-1.0.14/missing +376 -0
- data/lib/libusb.rb +2 -3
- data/lib/libusb/call.rb +49 -7
- data/lib/libusb/compat.rb +15 -9
- data/lib/libusb/configuration.rb +15 -3
- data/lib/libusb/constants.rb +19 -6
- data/lib/libusb/context.rb +181 -3
- data/lib/libusb/dev_handle.rb +91 -40
- data/lib/libusb/endpoint.rb +41 -14
- data/lib/libusb/eventmachine.rb +183 -0
- data/lib/libusb/transfer.rb +21 -8
- data/lib/libusb/version_gem.rb +19 -0
- data/lib/libusb/{version.rb → version_struct.rb} +0 -0
- data/libusb.gemspec +31 -0
- data/test/test_libusb_compat.rb +1 -1
- data/test/test_libusb_compat_mass_storage.rb +2 -2
- data/test/test_libusb_descriptors.rb +1 -1
- data/test/test_libusb_event_machine.rb +118 -0
- data/test/test_libusb_iso_transfer.rb +6 -1
- data/test/test_libusb_mass_storage.rb +9 -3
- data/test/test_libusb_mass_storage2.rb +1 -1
- data/test/test_libusb_structs.rb +45 -0
- data/test/test_libusb_threads.rb +89 -0
- data/test/test_libusb_version.rb +4 -0
- metadata +109 -44
- data/.autotest +0 -23
- data/.gemtest +0 -0
- data/Manifest.txt +0 -3
- data/README.rdoc +0 -115
- data/test/test_libusb_keyboard.rb +0 -50
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
For detailed information about the changes below, please see the git log or
|
|
2
|
+
visit: http://log.libusbx.org
|
|
3
|
+
|
|
4
|
+
2012-09-26: v1.0.14
|
|
5
|
+
* Reverts the previous API change with regards to bMaxPower.
|
|
6
|
+
If this doesn't matter to you, you are encouraged to keep using v1.0.13,
|
|
7
|
+
as it will use the same attribute as v2.0, to be released soon.
|
|
8
|
+
* Note that LIBUSBX_API_VERSION is *decreased* to 0x010000FF and the previous
|
|
9
|
+
guidelines with regards to concurent use of MaxPower/bMaxPower still apply.
|
|
10
|
+
|
|
11
|
+
2012-09-20: v1.0.13
|
|
12
|
+
* [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
|
|
13
|
+
MaxPower was used instead of bMaxPower, as defined in the specs. If your
|
|
14
|
+
application was accessing the MaxPower attribute, and you need to maintain
|
|
15
|
+
compatibility with libusb or older versions, see APPENDIX A below.
|
|
16
|
+
* Fix broken support for the 0.1 -> 1.0 libusb-compat layer
|
|
17
|
+
* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
|
|
18
|
+
* Fix handling of HID and composite devices on Windows
|
|
19
|
+
* Introduce LIBUSBX_API_VERSION macro
|
|
20
|
+
* Add Cypress FX/FX2 firmware upload sample, based on fxload from
|
|
21
|
+
http://linux-hotplug.sourceforge.net
|
|
22
|
+
* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
|
|
23
|
+
the drivers allow it, isochronous transfers are not supported yet in libusbx. Also
|
|
24
|
+
not supported yet is the use of libusb-win32 filter drivers on composite interfaces
|
|
25
|
+
* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
|
|
26
|
+
splitting of bulk transfers
|
|
27
|
+
* Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
|
|
28
|
+
* Harmonize the device number for root hubs across platforms
|
|
29
|
+
* Other bug fixes and improvements
|
|
30
|
+
|
|
31
|
+
2012-06-15: v1.0.12
|
|
32
|
+
* Fix a potential major regression with pthread on Linux
|
|
33
|
+
* Fix missing thread ID from debug log output on cygwin
|
|
34
|
+
* Fix possible crash when using longjmp and MinGW's gcc 4.6
|
|
35
|
+
* Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path()
|
|
36
|
+
* Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable
|
|
37
|
+
* Define log levels in libusb.h and set timestamp origin to first libusb_init() call
|
|
38
|
+
* All logging is now sent to to stderr (info was sent to stdout previously)
|
|
39
|
+
* Update log messages severity and avoid polluting log output on OS-X
|
|
40
|
+
* Add HID driver support on Windows
|
|
41
|
+
* Enable interchangeability of MSVC and MinGW DLLs
|
|
42
|
+
* Additional bug fixes and improvements
|
|
43
|
+
|
|
44
|
+
2012-05-08: v1.0.11
|
|
45
|
+
* Revert removal of critical Windows event handling that was introduced in 1.0.10
|
|
46
|
+
* Fix a possible deadlock in Windows when submitting transfers
|
|
47
|
+
* Add timestamped logging
|
|
48
|
+
* Add NetBSD support (experimental) and BSD libusb_get_device_speed() data
|
|
49
|
+
* Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure)
|
|
50
|
+
* Search for device nodes in /dev for Android support
|
|
51
|
+
* Other bug fixes
|
|
52
|
+
|
|
53
|
+
2012-04-17: v1.0.10
|
|
54
|
+
* Public release
|
|
55
|
+
* Add libusb_get_version
|
|
56
|
+
* Add Visual Studio 2010 project files
|
|
57
|
+
* Some Windows code cleanup
|
|
58
|
+
* Fix xusb sample warnings
|
|
59
|
+
|
|
60
|
+
2012-04-02: v1.0.9
|
|
61
|
+
* First libusbx release
|
|
62
|
+
* Add libusb_get_device_speed (all, except BSD) and libusb_error_name
|
|
63
|
+
* Add Windows support (WinUSB driver only)
|
|
64
|
+
* Add OpenBSD support
|
|
65
|
+
* Add xusb sample
|
|
66
|
+
* Tons of bug fixes
|
|
67
|
+
|
|
68
|
+
2010-05-07: v1.0.8
|
|
69
|
+
* Bug fixes
|
|
70
|
+
|
|
71
|
+
2010-04-19: v1.0.7
|
|
72
|
+
* Bug fixes and documentation tweaks
|
|
73
|
+
* Add more interface class definitions
|
|
74
|
+
|
|
75
|
+
2009-11-22: v1.0.6
|
|
76
|
+
* Bug fixes
|
|
77
|
+
* Increase libusb_handle_events() timeout to 60s for powersaving
|
|
78
|
+
|
|
79
|
+
2009-11-15: v1.0.5
|
|
80
|
+
* Use timerfd when available for timer management
|
|
81
|
+
* Small fixes/updates
|
|
82
|
+
|
|
83
|
+
2009-11-06: v1.0.4 release
|
|
84
|
+
* Bug fixes including transfer locking to fix some potential threading races
|
|
85
|
+
* More flexibility with clock types on Linux
|
|
86
|
+
* Use new bulk continuation tracking in Linux 2.6.32 for improved handling
|
|
87
|
+
of short/failed transfers
|
|
88
|
+
|
|
89
|
+
2009-08-27: v1.0.3 release
|
|
90
|
+
* Bug fixes
|
|
91
|
+
* Add libusb_get_max_iso_packet_size()
|
|
92
|
+
|
|
93
|
+
2009-06-13: v1.0.2 release
|
|
94
|
+
* Bug fixes
|
|
95
|
+
|
|
96
|
+
2009-05-12: v1.0.1 release
|
|
97
|
+
* Bug fixes
|
|
98
|
+
* Darwin backend
|
|
99
|
+
|
|
100
|
+
2008-12-13: v1.0.0 release
|
|
101
|
+
* Bug fixes
|
|
102
|
+
|
|
103
|
+
2008-11-21: v0.9.4 release
|
|
104
|
+
* Bug fixes
|
|
105
|
+
* Add libusb_attach_kernel_driver()
|
|
106
|
+
|
|
107
|
+
2008-08-23: v0.9.3 release
|
|
108
|
+
* Bug fixes
|
|
109
|
+
|
|
110
|
+
2008-07-19: v0.9.2 release
|
|
111
|
+
* Bug fixes
|
|
112
|
+
|
|
113
|
+
2008-06-28: v0.9.1 release
|
|
114
|
+
* Bug fixes
|
|
115
|
+
* Introduce contexts to the API
|
|
116
|
+
* Compatibility with new Linux kernel features
|
|
117
|
+
|
|
118
|
+
2008-05-25: v0.9.0 release
|
|
119
|
+
* First libusb-1.0 beta release
|
|
120
|
+
|
|
121
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
122
|
+
|
|
123
|
+
APPENDIX A - How to maintain code compatibility with versions of libusb and
|
|
124
|
+
libusbx that use MaxPower:
|
|
125
|
+
|
|
126
|
+
If you must to maintain compatibility with versions of the library that aren't
|
|
127
|
+
using the bMaxPower attribute in struct libusb_config_descriptor, the
|
|
128
|
+
recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef.
|
|
129
|
+
For instance, if your code was written as follows:
|
|
130
|
+
|
|
131
|
+
if (dev->config[0].MaxPower < 250)
|
|
132
|
+
|
|
133
|
+
Then you should modify it to have:
|
|
134
|
+
|
|
135
|
+
#if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100)
|
|
136
|
+
if (dev->config[0].bMaxPower < 250)
|
|
137
|
+
#else
|
|
138
|
+
if (dev->config[0].MaxPower < 250)
|
|
139
|
+
#endif
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
Installation Instructions
|
|
2
|
+
*************************
|
|
3
|
+
|
|
4
|
+
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
|
5
|
+
2006 Free Software Foundation, Inc.
|
|
6
|
+
|
|
7
|
+
This file is free documentation; the Free Software Foundation gives
|
|
8
|
+
unlimited permission to copy, distribute and modify it.
|
|
9
|
+
|
|
10
|
+
Basic Installation
|
|
11
|
+
==================
|
|
12
|
+
|
|
13
|
+
Briefly, the shell commands `./configure; make; make install' should
|
|
14
|
+
configure, build, and install this package. The following
|
|
15
|
+
more-detailed instructions are generic; see the `README' file for
|
|
16
|
+
instructions specific to this package.
|
|
17
|
+
|
|
18
|
+
The `configure' shell script attempts to guess correct values for
|
|
19
|
+
various system-dependent variables used during compilation. It uses
|
|
20
|
+
those values to create a `Makefile' in each directory of the package.
|
|
21
|
+
It may also create one or more `.h' files containing system-dependent
|
|
22
|
+
definitions. Finally, it creates a shell script `config.status' that
|
|
23
|
+
you can run in the future to recreate the current configuration, and a
|
|
24
|
+
file `config.log' containing compiler output (useful mainly for
|
|
25
|
+
debugging `configure').
|
|
26
|
+
|
|
27
|
+
It can also use an optional file (typically called `config.cache'
|
|
28
|
+
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
|
29
|
+
the results of its tests to speed up reconfiguring. Caching is
|
|
30
|
+
disabled by default to prevent problems with accidental use of stale
|
|
31
|
+
cache files.
|
|
32
|
+
|
|
33
|
+
If you need to do unusual things to compile the package, please try
|
|
34
|
+
to figure out how `configure' could check whether to do them, and mail
|
|
35
|
+
diffs or instructions to the address given in the `README' so they can
|
|
36
|
+
be considered for the next release. If you are using the cache, and at
|
|
37
|
+
some point `config.cache' contains results you don't want to keep, you
|
|
38
|
+
may remove or edit it.
|
|
39
|
+
|
|
40
|
+
The file `configure.ac' (or `configure.in') is used to create
|
|
41
|
+
`configure' by a program called `autoconf'. You need `configure.ac' if
|
|
42
|
+
you want to change it or regenerate `configure' using a newer version
|
|
43
|
+
of `autoconf'.
|
|
44
|
+
|
|
45
|
+
The simplest way to compile this package is:
|
|
46
|
+
|
|
47
|
+
1. `cd' to the directory containing the package's source code and type
|
|
48
|
+
`./configure' to configure the package for your system.
|
|
49
|
+
|
|
50
|
+
Running `configure' might take a while. While running, it prints
|
|
51
|
+
some messages telling which features it is checking for.
|
|
52
|
+
|
|
53
|
+
2. Type `make' to compile the package.
|
|
54
|
+
|
|
55
|
+
3. Optionally, type `make check' to run any self-tests that come with
|
|
56
|
+
the package.
|
|
57
|
+
|
|
58
|
+
4. Type `make install' to install the programs and any data files and
|
|
59
|
+
documentation.
|
|
60
|
+
|
|
61
|
+
5. You can remove the program binaries and object files from the
|
|
62
|
+
source code directory by typing `make clean'. To also remove the
|
|
63
|
+
files that `configure' created (so you can compile the package for
|
|
64
|
+
a different kind of computer), type `make distclean'. There is
|
|
65
|
+
also a `make maintainer-clean' target, but that is intended mainly
|
|
66
|
+
for the package's developers. If you use it, you may have to get
|
|
67
|
+
all sorts of other programs in order to regenerate files that came
|
|
68
|
+
with the distribution.
|
|
69
|
+
|
|
70
|
+
Compilers and Options
|
|
71
|
+
=====================
|
|
72
|
+
|
|
73
|
+
Some systems require unusual options for compilation or linking that the
|
|
74
|
+
`configure' script does not know about. Run `./configure --help' for
|
|
75
|
+
details on some of the pertinent environment variables.
|
|
76
|
+
|
|
77
|
+
You can give `configure' initial values for configuration parameters
|
|
78
|
+
by setting variables in the command line or in the environment. Here
|
|
79
|
+
is an example:
|
|
80
|
+
|
|
81
|
+
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
|
82
|
+
|
|
83
|
+
*Note Defining Variables::, for more details.
|
|
84
|
+
|
|
85
|
+
Compiling For Multiple Architectures
|
|
86
|
+
====================================
|
|
87
|
+
|
|
88
|
+
You can compile the package for more than one kind of computer at the
|
|
89
|
+
same time, by placing the object files for each architecture in their
|
|
90
|
+
own directory. To do this, you can use GNU `make'. `cd' to the
|
|
91
|
+
directory where you want the object files and executables to go and run
|
|
92
|
+
the `configure' script. `configure' automatically checks for the
|
|
93
|
+
source code in the directory that `configure' is in and in `..'.
|
|
94
|
+
|
|
95
|
+
With a non-GNU `make', it is safer to compile the package for one
|
|
96
|
+
architecture at a time in the source code directory. After you have
|
|
97
|
+
installed the package for one architecture, use `make distclean' before
|
|
98
|
+
reconfiguring for another architecture.
|
|
99
|
+
|
|
100
|
+
Installation Names
|
|
101
|
+
==================
|
|
102
|
+
|
|
103
|
+
By default, `make install' installs the package's commands under
|
|
104
|
+
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
|
105
|
+
can specify an installation prefix other than `/usr/local' by giving
|
|
106
|
+
`configure' the option `--prefix=PREFIX'.
|
|
107
|
+
|
|
108
|
+
You can specify separate installation prefixes for
|
|
109
|
+
architecture-specific files and architecture-independent files. If you
|
|
110
|
+
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
|
111
|
+
PREFIX as the prefix for installing programs and libraries.
|
|
112
|
+
Documentation and other data files still use the regular prefix.
|
|
113
|
+
|
|
114
|
+
In addition, if you use an unusual directory layout you can give
|
|
115
|
+
options like `--bindir=DIR' to specify different values for particular
|
|
116
|
+
kinds of files. Run `configure --help' for a list of the directories
|
|
117
|
+
you can set and what kinds of files go in them.
|
|
118
|
+
|
|
119
|
+
If the package supports it, you can cause programs to be installed
|
|
120
|
+
with an extra prefix or suffix on their names by giving `configure' the
|
|
121
|
+
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
|
122
|
+
|
|
123
|
+
Optional Features
|
|
124
|
+
=================
|
|
125
|
+
|
|
126
|
+
Some packages pay attention to `--enable-FEATURE' options to
|
|
127
|
+
`configure', where FEATURE indicates an optional part of the package.
|
|
128
|
+
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
|
129
|
+
is something like `gnu-as' or `x' (for the X Window System). The
|
|
130
|
+
`README' should mention any `--enable-' and `--with-' options that the
|
|
131
|
+
package recognizes.
|
|
132
|
+
|
|
133
|
+
For packages that use the X Window System, `configure' can usually
|
|
134
|
+
find the X include and library files automatically, but if it doesn't,
|
|
135
|
+
you can use the `configure' options `--x-includes=DIR' and
|
|
136
|
+
`--x-libraries=DIR' to specify their locations.
|
|
137
|
+
|
|
138
|
+
Specifying the System Type
|
|
139
|
+
==========================
|
|
140
|
+
|
|
141
|
+
There may be some features `configure' cannot figure out automatically,
|
|
142
|
+
but needs to determine by the type of machine the package will run on.
|
|
143
|
+
Usually, assuming the package is built to be run on the _same_
|
|
144
|
+
architectures, `configure' can figure that out, but if it prints a
|
|
145
|
+
message saying it cannot guess the machine type, give it the
|
|
146
|
+
`--build=TYPE' option. TYPE can either be a short name for the system
|
|
147
|
+
type, such as `sun4', or a canonical name which has the form:
|
|
148
|
+
|
|
149
|
+
CPU-COMPANY-SYSTEM
|
|
150
|
+
|
|
151
|
+
where SYSTEM can have one of these forms:
|
|
152
|
+
|
|
153
|
+
OS KERNEL-OS
|
|
154
|
+
|
|
155
|
+
See the file `config.sub' for the possible values of each field. If
|
|
156
|
+
`config.sub' isn't included in this package, then this package doesn't
|
|
157
|
+
need to know the machine type.
|
|
158
|
+
|
|
159
|
+
If you are _building_ compiler tools for cross-compiling, you should
|
|
160
|
+
use the option `--target=TYPE' to select the type of system they will
|
|
161
|
+
produce code for.
|
|
162
|
+
|
|
163
|
+
If you want to _use_ a cross compiler, that generates code for a
|
|
164
|
+
platform different from the build platform, you should specify the
|
|
165
|
+
"host" platform (i.e., that on which the generated programs will
|
|
166
|
+
eventually be run) with `--host=TYPE'.
|
|
167
|
+
|
|
168
|
+
Sharing Defaults
|
|
169
|
+
================
|
|
170
|
+
|
|
171
|
+
If you want to set default values for `configure' scripts to share, you
|
|
172
|
+
can create a site shell script called `config.site' that gives default
|
|
173
|
+
values for variables like `CC', `cache_file', and `prefix'.
|
|
174
|
+
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
|
175
|
+
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
|
176
|
+
`CONFIG_SITE' environment variable to the location of the site script.
|
|
177
|
+
A warning: not all `configure' scripts look for a site script.
|
|
178
|
+
|
|
179
|
+
Defining Variables
|
|
180
|
+
==================
|
|
181
|
+
|
|
182
|
+
Variables not defined in a site shell script can be set in the
|
|
183
|
+
environment passed to `configure'. However, some packages may run
|
|
184
|
+
configure again during the build, and the customized values of these
|
|
185
|
+
variables may be lost. In order to avoid this problem, you should set
|
|
186
|
+
them in the `configure' command line, using `VAR=value'. For example:
|
|
187
|
+
|
|
188
|
+
./configure CC=/usr/local2/bin/gcc
|
|
189
|
+
|
|
190
|
+
causes the specified `gcc' to be used as the C compiler (unless it is
|
|
191
|
+
overridden in the site shell script).
|
|
192
|
+
|
|
193
|
+
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
|
194
|
+
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
|
195
|
+
|
|
196
|
+
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
|
197
|
+
|
|
198
|
+
`configure' Invocation
|
|
199
|
+
======================
|
|
200
|
+
|
|
201
|
+
`configure' recognizes the following options to control how it operates.
|
|
202
|
+
|
|
203
|
+
`--help'
|
|
204
|
+
`-h'
|
|
205
|
+
Print a summary of the options to `configure', and exit.
|
|
206
|
+
|
|
207
|
+
`--version'
|
|
208
|
+
`-V'
|
|
209
|
+
Print the version of Autoconf used to generate the `configure'
|
|
210
|
+
script, and exit.
|
|
211
|
+
|
|
212
|
+
`--cache-file=FILE'
|
|
213
|
+
Enable the cache: use and save the results of the tests in FILE,
|
|
214
|
+
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
|
215
|
+
disable caching.
|
|
216
|
+
|
|
217
|
+
`--config-cache'
|
|
218
|
+
`-C'
|
|
219
|
+
Alias for `--cache-file=config.cache'.
|
|
220
|
+
|
|
221
|
+
`--quiet'
|
|
222
|
+
`--silent'
|
|
223
|
+
`-q'
|
|
224
|
+
Do not print messages saying which checks are being made. To
|
|
225
|
+
suppress all normal output, redirect it to `/dev/null' (any error
|
|
226
|
+
messages will still be shown).
|
|
227
|
+
|
|
228
|
+
`--srcdir=DIR'
|
|
229
|
+
Look for the package's source code in directory DIR. Usually
|
|
230
|
+
`configure' can determine that directory automatically.
|
|
231
|
+
|
|
232
|
+
`configure' also accepts some other, not widely useful, options. Run
|
|
233
|
+
`configure --help' for more details.
|
|
234
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
SUBDIRS = libusb doc
|
|
7
|
+
|
|
8
|
+
if BUILD_EXAMPLES
|
|
9
|
+
SUBDIRS += examples
|
|
10
|
+
endif
|
|
11
|
+
|
|
12
|
+
pkgconfigdir=$(libdir)/pkgconfig
|
|
13
|
+
pkgconfig_DATA=libusb-1.0.pc
|
|
14
|
+
|
|
15
|
+
.PHONY: dist-up
|
|
16
|
+
|
|
17
|
+
reldir = .release/$(distdir)
|
|
18
|
+
dist-up: dist
|
|
19
|
+
rm -rf $(reldir)
|
|
20
|
+
mkdir -p $(reldir)
|
|
21
|
+
cp $(distdir).tar.bz2 $(reldir)
|
|
22
|
+
rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
|
|
23
|
+
rm -rf $(reldir)
|
|
@@ -0,0 +1,803 @@
|
|
|
1
|
+
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
2
|
+
# @configure_input@
|
|
3
|
+
|
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
6
|
+
# Inc.
|
|
7
|
+
# This Makefile.in is free software; the Free Software Foundation
|
|
8
|
+
# gives unlimited permission to copy and/or distribute it,
|
|
9
|
+
# with or without modifications, as long as this notice is preserved.
|
|
10
|
+
|
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
|
12
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
13
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
14
|
+
# PARTICULAR PURPOSE.
|
|
15
|
+
|
|
16
|
+
@SET_MAKE@
|
|
17
|
+
|
|
18
|
+
VPATH = @srcdir@
|
|
19
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
|
20
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
|
21
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
|
22
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
23
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
24
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
|
25
|
+
install_sh_PROGRAM = $(install_sh) -c
|
|
26
|
+
install_sh_SCRIPT = $(install_sh) -c
|
|
27
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
|
28
|
+
transform = $(program_transform_name)
|
|
29
|
+
NORMAL_INSTALL = :
|
|
30
|
+
PRE_INSTALL = :
|
|
31
|
+
POST_INSTALL = :
|
|
32
|
+
NORMAL_UNINSTALL = :
|
|
33
|
+
PRE_UNINSTALL = :
|
|
34
|
+
POST_UNINSTALL = :
|
|
35
|
+
build_triplet = @build@
|
|
36
|
+
host_triplet = @host@
|
|
37
|
+
@BUILD_EXAMPLES_TRUE@am__append_1 = examples
|
|
38
|
+
subdir = .
|
|
39
|
+
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
|
40
|
+
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
|
41
|
+
$(srcdir)/libusb-1.0.pc.in $(top_srcdir)/configure AUTHORS \
|
|
42
|
+
COPYING ChangeLog INSTALL NEWS THANKS TODO compile \
|
|
43
|
+
config.guess config.sub depcomp install-sh ltmain.sh missing
|
|
44
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
45
|
+
am__aclocal_m4_deps = $(top_srcdir)/libusb/version.h \
|
|
46
|
+
$(top_srcdir)/configure.ac
|
|
47
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
48
|
+
$(ACLOCAL_M4)
|
|
49
|
+
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|
50
|
+
configure.lineno config.status.lineno
|
|
51
|
+
mkinstalldirs = $(install_sh) -d
|
|
52
|
+
CONFIG_HEADER = config.h
|
|
53
|
+
CONFIG_CLEAN_FILES = libusb-1.0.pc
|
|
54
|
+
CONFIG_CLEAN_VPATH_FILES =
|
|
55
|
+
AM_V_GEN = $(am__v_GEN_$(V))
|
|
56
|
+
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
|
57
|
+
am__v_GEN_0 = @echo " GEN " $@;
|
|
58
|
+
AM_V_at = $(am__v_at_$(V))
|
|
59
|
+
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
|
60
|
+
am__v_at_0 = @
|
|
61
|
+
SOURCES =
|
|
62
|
+
DIST_SOURCES =
|
|
63
|
+
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
64
|
+
html-recursive info-recursive install-data-recursive \
|
|
65
|
+
install-dvi-recursive install-exec-recursive \
|
|
66
|
+
install-html-recursive install-info-recursive \
|
|
67
|
+
install-pdf-recursive install-ps-recursive install-recursive \
|
|
68
|
+
installcheck-recursive installdirs-recursive pdf-recursive \
|
|
69
|
+
ps-recursive uninstall-recursive
|
|
70
|
+
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
71
|
+
am__vpath_adj = case $$p in \
|
|
72
|
+
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
73
|
+
*) f=$$p;; \
|
|
74
|
+
esac;
|
|
75
|
+
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
76
|
+
am__install_max = 40
|
|
77
|
+
am__nobase_strip_setup = \
|
|
78
|
+
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
79
|
+
am__nobase_strip = \
|
|
80
|
+
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
81
|
+
am__nobase_list = $(am__nobase_strip_setup); \
|
|
82
|
+
for p in $$list; do echo "$$p $$p"; done | \
|
|
83
|
+
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
84
|
+
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
85
|
+
if (++n[$$2] == $(am__install_max)) \
|
|
86
|
+
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
87
|
+
END { for (dir in files) print dir, files[dir] }'
|
|
88
|
+
am__base_list = \
|
|
89
|
+
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
90
|
+
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
91
|
+
am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
|
|
92
|
+
DATA = $(pkgconfig_DATA)
|
|
93
|
+
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|
94
|
+
distclean-recursive maintainer-clean-recursive
|
|
95
|
+
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
|
96
|
+
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
|
97
|
+
distdir dist dist-all distcheck
|
|
98
|
+
ETAGS = etags
|
|
99
|
+
CTAGS = ctags
|
|
100
|
+
DIST_SUBDIRS = libusb doc examples
|
|
101
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
102
|
+
distdir = $(PACKAGE)-$(VERSION)
|
|
103
|
+
top_distdir = $(distdir)
|
|
104
|
+
am__remove_distdir = \
|
|
105
|
+
{ test ! -d "$(distdir)" \
|
|
106
|
+
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|
107
|
+
&& rm -fr "$(distdir)"; }; }
|
|
108
|
+
am__relativize = \
|
|
109
|
+
dir0=`pwd`; \
|
|
110
|
+
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
|
111
|
+
sed_rest='s,^[^/]*/*,,'; \
|
|
112
|
+
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
|
113
|
+
sed_butlast='s,/*[^/]*$$,,'; \
|
|
114
|
+
while test -n "$$dir1"; do \
|
|
115
|
+
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
|
116
|
+
if test "$$first" != "."; then \
|
|
117
|
+
if test "$$first" = ".."; then \
|
|
118
|
+
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
|
119
|
+
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
|
120
|
+
else \
|
|
121
|
+
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
|
122
|
+
if test "$$first2" = "$$first"; then \
|
|
123
|
+
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
|
124
|
+
else \
|
|
125
|
+
dir2="../$$dir2"; \
|
|
126
|
+
fi; \
|
|
127
|
+
dir0="$$dir0"/"$$first"; \
|
|
128
|
+
fi; \
|
|
129
|
+
fi; \
|
|
130
|
+
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
|
131
|
+
done; \
|
|
132
|
+
reldir="$$dir2"
|
|
133
|
+
GZIP_ENV = --best
|
|
134
|
+
DIST_ARCHIVES = $(distdir).tar.bz2
|
|
135
|
+
distuninstallcheck_listfiles = find . -type f -print
|
|
136
|
+
distcleancheck_listfiles = find . -type f -print
|
|
137
|
+
ACLOCAL = @ACLOCAL@
|
|
138
|
+
AMTAR = @AMTAR@
|
|
139
|
+
AM_CFLAGS = @AM_CFLAGS@
|
|
140
|
+
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
|
141
|
+
AR = @AR@
|
|
142
|
+
AUTOCONF = @AUTOCONF@
|
|
143
|
+
AUTOHEADER = @AUTOHEADER@
|
|
144
|
+
AUTOMAKE = @AUTOMAKE@
|
|
145
|
+
AWK = @AWK@
|
|
146
|
+
CC = @CC@
|
|
147
|
+
CCDEPMODE = @CCDEPMODE@
|
|
148
|
+
CFLAGS = @CFLAGS@
|
|
149
|
+
CPP = @CPP@
|
|
150
|
+
CPPFLAGS = @CPPFLAGS@
|
|
151
|
+
CYGPATH_W = @CYGPATH_W@
|
|
152
|
+
DEFS = @DEFS@
|
|
153
|
+
DEPDIR = @DEPDIR@
|
|
154
|
+
DLLTOOL = @DLLTOOL@
|
|
155
|
+
DSYMUTIL = @DSYMUTIL@
|
|
156
|
+
DUMPBIN = @DUMPBIN@
|
|
157
|
+
ECHO_C = @ECHO_C@
|
|
158
|
+
ECHO_N = @ECHO_N@
|
|
159
|
+
ECHO_T = @ECHO_T@
|
|
160
|
+
EGREP = @EGREP@
|
|
161
|
+
EXEEXT = @EXEEXT@
|
|
162
|
+
FGREP = @FGREP@
|
|
163
|
+
GREP = @GREP@
|
|
164
|
+
INSTALL = @INSTALL@
|
|
165
|
+
INSTALL_DATA = @INSTALL_DATA@
|
|
166
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
167
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
168
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
169
|
+
LD = @LD@
|
|
170
|
+
LDFLAGS = @LDFLAGS@
|
|
171
|
+
LIBOBJS = @LIBOBJS@
|
|
172
|
+
LIBS = @LIBS@
|
|
173
|
+
LIBTOOL = @LIBTOOL@
|
|
174
|
+
LIPO = @LIPO@
|
|
175
|
+
LN_S = @LN_S@
|
|
176
|
+
LTLDFLAGS = @LTLDFLAGS@
|
|
177
|
+
LTLIBOBJS = @LTLIBOBJS@
|
|
178
|
+
MAINT = @MAINT@
|
|
179
|
+
MAKEINFO = @MAKEINFO@
|
|
180
|
+
MANIFEST_TOOL = @MANIFEST_TOOL@
|
|
181
|
+
MKDIR_P = @MKDIR_P@
|
|
182
|
+
NM = @NM@
|
|
183
|
+
NMEDIT = @NMEDIT@
|
|
184
|
+
OBJDUMP = @OBJDUMP@
|
|
185
|
+
OBJEXT = @OBJEXT@
|
|
186
|
+
OS_DARWIN = @OS_DARWIN@
|
|
187
|
+
OS_LINUX = @OS_LINUX@
|
|
188
|
+
OS_OPENBSD = @OS_OPENBSD@
|
|
189
|
+
OS_WINDOWS = @OS_WINDOWS@
|
|
190
|
+
OTOOL = @OTOOL@
|
|
191
|
+
OTOOL64 = @OTOOL64@
|
|
192
|
+
PACKAGE = @PACKAGE@
|
|
193
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
194
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
|
195
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
|
196
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
197
|
+
PACKAGE_URL = @PACKAGE_URL@
|
|
198
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
199
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
200
|
+
PC_LIBS_PRIVATE = @PC_LIBS_PRIVATE@
|
|
201
|
+
RANLIB = @RANLIB@
|
|
202
|
+
RC = @RC@
|
|
203
|
+
SED = @SED@
|
|
204
|
+
SET_MAKE = @SET_MAKE@
|
|
205
|
+
SHELL = @SHELL@
|
|
206
|
+
STRIP = @STRIP@
|
|
207
|
+
THREAD_CFLAGS = @THREAD_CFLAGS@
|
|
208
|
+
VERSION = @VERSION@
|
|
209
|
+
VISIBILITY_CFLAGS = @VISIBILITY_CFLAGS@
|
|
210
|
+
abs_builddir = @abs_builddir@
|
|
211
|
+
abs_srcdir = @abs_srcdir@
|
|
212
|
+
abs_top_builddir = @abs_top_builddir@
|
|
213
|
+
abs_top_srcdir = @abs_top_srcdir@
|
|
214
|
+
ac_ct_AR = @ac_ct_AR@
|
|
215
|
+
ac_ct_CC = @ac_ct_CC@
|
|
216
|
+
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
|
217
|
+
am__include = @am__include@
|
|
218
|
+
am__leading_dot = @am__leading_dot@
|
|
219
|
+
am__quote = @am__quote@
|
|
220
|
+
am__tar = @am__tar@
|
|
221
|
+
am__untar = @am__untar@
|
|
222
|
+
bindir = @bindir@
|
|
223
|
+
build = @build@
|
|
224
|
+
build_alias = @build_alias@
|
|
225
|
+
build_cpu = @build_cpu@
|
|
226
|
+
build_os = @build_os@
|
|
227
|
+
build_vendor = @build_vendor@
|
|
228
|
+
builddir = @builddir@
|
|
229
|
+
datadir = @datadir@
|
|
230
|
+
datarootdir = @datarootdir@
|
|
231
|
+
docdir = @docdir@
|
|
232
|
+
dvidir = @dvidir@
|
|
233
|
+
exec_prefix = @exec_prefix@
|
|
234
|
+
host = @host@
|
|
235
|
+
host_alias = @host_alias@
|
|
236
|
+
host_cpu = @host_cpu@
|
|
237
|
+
host_os = @host_os@
|
|
238
|
+
host_vendor = @host_vendor@
|
|
239
|
+
htmldir = @htmldir@
|
|
240
|
+
includedir = @includedir@
|
|
241
|
+
infodir = @infodir@
|
|
242
|
+
install_sh = @install_sh@
|
|
243
|
+
libdir = @libdir@
|
|
244
|
+
libexecdir = @libexecdir@
|
|
245
|
+
localedir = @localedir@
|
|
246
|
+
localstatedir = @localstatedir@
|
|
247
|
+
mandir = @mandir@
|
|
248
|
+
mkdir_p = @mkdir_p@
|
|
249
|
+
oldincludedir = @oldincludedir@
|
|
250
|
+
pdfdir = @pdfdir@
|
|
251
|
+
prefix = @prefix@
|
|
252
|
+
program_transform_name = @program_transform_name@
|
|
253
|
+
psdir = @psdir@
|
|
254
|
+
sbindir = @sbindir@
|
|
255
|
+
sharedstatedir = @sharedstatedir@
|
|
256
|
+
srcdir = @srcdir@
|
|
257
|
+
sysconfdir = @sysconfdir@
|
|
258
|
+
target_alias = @target_alias@
|
|
259
|
+
top_build_prefix = @top_build_prefix@
|
|
260
|
+
top_builddir = @top_builddir@
|
|
261
|
+
top_srcdir = @top_srcdir@
|
|
262
|
+
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
|
|
263
|
+
ACLOCAL_AMFLAGS = -I m4
|
|
264
|
+
DISTCLEANFILES = libusb-1.0.pc
|
|
265
|
+
EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \
|
|
266
|
+
examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h
|
|
267
|
+
|
|
268
|
+
SUBDIRS = libusb doc $(am__append_1)
|
|
269
|
+
pkgconfigdir = $(libdir)/pkgconfig
|
|
270
|
+
pkgconfig_DATA = libusb-1.0.pc
|
|
271
|
+
reldir = .release/$(distdir)
|
|
272
|
+
all: config.h
|
|
273
|
+
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
274
|
+
|
|
275
|
+
.SUFFIXES:
|
|
276
|
+
am--refresh:
|
|
277
|
+
@:
|
|
278
|
+
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
279
|
+
@for dep in $?; do \
|
|
280
|
+
case '$(am__configure_deps)' in \
|
|
281
|
+
*$$dep*) \
|
|
282
|
+
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
|
|
283
|
+
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
|
|
284
|
+
&& exit 0; \
|
|
285
|
+
exit 1;; \
|
|
286
|
+
esac; \
|
|
287
|
+
done; \
|
|
288
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
|
289
|
+
$(am__cd) $(top_srcdir) && \
|
|
290
|
+
$(AUTOMAKE) --gnu Makefile
|
|
291
|
+
.PRECIOUS: Makefile
|
|
292
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
293
|
+
@case '$?' in \
|
|
294
|
+
*config.status*) \
|
|
295
|
+
echo ' $(SHELL) ./config.status'; \
|
|
296
|
+
$(SHELL) ./config.status;; \
|
|
297
|
+
*) \
|
|
298
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
|
299
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
|
300
|
+
esac;
|
|
301
|
+
|
|
302
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
303
|
+
$(SHELL) ./config.status --recheck
|
|
304
|
+
|
|
305
|
+
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
306
|
+
$(am__cd) $(srcdir) && $(AUTOCONF)
|
|
307
|
+
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
308
|
+
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
309
|
+
$(am__aclocal_m4_deps):
|
|
310
|
+
|
|
311
|
+
config.h: stamp-h1
|
|
312
|
+
@if test ! -f $@; then \
|
|
313
|
+
rm -f stamp-h1; \
|
|
314
|
+
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
|
315
|
+
else :; fi
|
|
316
|
+
|
|
317
|
+
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
|
318
|
+
@rm -f stamp-h1
|
|
319
|
+
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
|
320
|
+
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
321
|
+
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
|
322
|
+
rm -f stamp-h1
|
|
323
|
+
touch $@
|
|
324
|
+
|
|
325
|
+
distclean-hdr:
|
|
326
|
+
-rm -f config.h stamp-h1
|
|
327
|
+
libusb-1.0.pc: $(top_builddir)/config.status $(srcdir)/libusb-1.0.pc.in
|
|
328
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
329
|
+
|
|
330
|
+
mostlyclean-libtool:
|
|
331
|
+
-rm -f *.lo
|
|
332
|
+
|
|
333
|
+
clean-libtool:
|
|
334
|
+
-rm -rf .libs _libs
|
|
335
|
+
|
|
336
|
+
distclean-libtool:
|
|
337
|
+
-rm -f libtool config.lt
|
|
338
|
+
install-pkgconfigDATA: $(pkgconfig_DATA)
|
|
339
|
+
@$(NORMAL_INSTALL)
|
|
340
|
+
test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
|
|
341
|
+
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
|
342
|
+
for p in $$list; do \
|
|
343
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
344
|
+
echo "$$d$$p"; \
|
|
345
|
+
done | $(am__base_list) | \
|
|
346
|
+
while read files; do \
|
|
347
|
+
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
|
|
348
|
+
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
|
|
349
|
+
done
|
|
350
|
+
|
|
351
|
+
uninstall-pkgconfigDATA:
|
|
352
|
+
@$(NORMAL_UNINSTALL)
|
|
353
|
+
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
|
354
|
+
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
|
355
|
+
test -n "$$files" || exit 0; \
|
|
356
|
+
echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
|
|
357
|
+
cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
|
|
358
|
+
|
|
359
|
+
# This directory's subdirectories are mostly independent; you can cd
|
|
360
|
+
# into them and run `make' without going through this Makefile.
|
|
361
|
+
# To change the values of `make' variables: instead of editing Makefiles,
|
|
362
|
+
# (1) if the variable is set in `config.status', edit `config.status'
|
|
363
|
+
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
364
|
+
# (2) otherwise, pass the desired values on the `make' command line.
|
|
365
|
+
$(RECURSIVE_TARGETS):
|
|
366
|
+
@fail= failcom='exit 1'; \
|
|
367
|
+
for f in x $$MAKEFLAGS; do \
|
|
368
|
+
case $$f in \
|
|
369
|
+
*=* | --[!k]*);; \
|
|
370
|
+
*k*) failcom='fail=yes';; \
|
|
371
|
+
esac; \
|
|
372
|
+
done; \
|
|
373
|
+
dot_seen=no; \
|
|
374
|
+
target=`echo $@ | sed s/-recursive//`; \
|
|
375
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
376
|
+
echo "Making $$target in $$subdir"; \
|
|
377
|
+
if test "$$subdir" = "."; then \
|
|
378
|
+
dot_seen=yes; \
|
|
379
|
+
local_target="$$target-am"; \
|
|
380
|
+
else \
|
|
381
|
+
local_target="$$target"; \
|
|
382
|
+
fi; \
|
|
383
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
384
|
+
|| eval $$failcom; \
|
|
385
|
+
done; \
|
|
386
|
+
if test "$$dot_seen" = "no"; then \
|
|
387
|
+
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
388
|
+
fi; test -z "$$fail"
|
|
389
|
+
|
|
390
|
+
$(RECURSIVE_CLEAN_TARGETS):
|
|
391
|
+
@fail= failcom='exit 1'; \
|
|
392
|
+
for f in x $$MAKEFLAGS; do \
|
|
393
|
+
case $$f in \
|
|
394
|
+
*=* | --[!k]*);; \
|
|
395
|
+
*k*) failcom='fail=yes';; \
|
|
396
|
+
esac; \
|
|
397
|
+
done; \
|
|
398
|
+
dot_seen=no; \
|
|
399
|
+
case "$@" in \
|
|
400
|
+
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
401
|
+
*) list='$(SUBDIRS)' ;; \
|
|
402
|
+
esac; \
|
|
403
|
+
rev=''; for subdir in $$list; do \
|
|
404
|
+
if test "$$subdir" = "."; then :; else \
|
|
405
|
+
rev="$$subdir $$rev"; \
|
|
406
|
+
fi; \
|
|
407
|
+
done; \
|
|
408
|
+
rev="$$rev ."; \
|
|
409
|
+
target=`echo $@ | sed s/-recursive//`; \
|
|
410
|
+
for subdir in $$rev; do \
|
|
411
|
+
echo "Making $$target in $$subdir"; \
|
|
412
|
+
if test "$$subdir" = "."; then \
|
|
413
|
+
local_target="$$target-am"; \
|
|
414
|
+
else \
|
|
415
|
+
local_target="$$target"; \
|
|
416
|
+
fi; \
|
|
417
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
418
|
+
|| eval $$failcom; \
|
|
419
|
+
done && test -z "$$fail"
|
|
420
|
+
tags-recursive:
|
|
421
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
422
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
423
|
+
done
|
|
424
|
+
ctags-recursive:
|
|
425
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
426
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
427
|
+
done
|
|
428
|
+
|
|
429
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
430
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
431
|
+
unique=`for i in $$list; do \
|
|
432
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
433
|
+
done | \
|
|
434
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
435
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
436
|
+
mkid -fID $$unique
|
|
437
|
+
tags: TAGS
|
|
438
|
+
|
|
439
|
+
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
|
440
|
+
$(TAGS_FILES) $(LISP)
|
|
441
|
+
set x; \
|
|
442
|
+
here=`pwd`; \
|
|
443
|
+
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
|
444
|
+
include_option=--etags-include; \
|
|
445
|
+
empty_fix=.; \
|
|
446
|
+
else \
|
|
447
|
+
include_option=--include; \
|
|
448
|
+
empty_fix=; \
|
|
449
|
+
fi; \
|
|
450
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
451
|
+
if test "$$subdir" = .; then :; else \
|
|
452
|
+
test ! -f $$subdir/TAGS || \
|
|
453
|
+
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
|
454
|
+
fi; \
|
|
455
|
+
done; \
|
|
456
|
+
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
|
457
|
+
unique=`for i in $$list; do \
|
|
458
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
459
|
+
done | \
|
|
460
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
461
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
462
|
+
shift; \
|
|
463
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
|
464
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
|
465
|
+
if test $$# -gt 0; then \
|
|
466
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
467
|
+
"$$@" $$unique; \
|
|
468
|
+
else \
|
|
469
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
470
|
+
$$unique; \
|
|
471
|
+
fi; \
|
|
472
|
+
fi
|
|
473
|
+
ctags: CTAGS
|
|
474
|
+
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
|
475
|
+
$(TAGS_FILES) $(LISP)
|
|
476
|
+
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
|
477
|
+
unique=`for i in $$list; do \
|
|
478
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
479
|
+
done | \
|
|
480
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
481
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
482
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
|
483
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
484
|
+
$$unique
|
|
485
|
+
|
|
486
|
+
GTAGS:
|
|
487
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
488
|
+
&& $(am__cd) $(top_srcdir) \
|
|
489
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
|
490
|
+
|
|
491
|
+
distclean-tags:
|
|
492
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
493
|
+
|
|
494
|
+
distdir: $(DISTFILES)
|
|
495
|
+
$(am__remove_distdir)
|
|
496
|
+
test -d "$(distdir)" || mkdir "$(distdir)"
|
|
497
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
498
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
499
|
+
list='$(DISTFILES)'; \
|
|
500
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
|
501
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
|
502
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
|
503
|
+
case $$dist_files in \
|
|
504
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
|
505
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
|
506
|
+
sort -u` ;; \
|
|
507
|
+
esac; \
|
|
508
|
+
for file in $$dist_files; do \
|
|
509
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
510
|
+
if test -d $$d/$$file; then \
|
|
511
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
512
|
+
if test -d "$(distdir)/$$file"; then \
|
|
513
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
514
|
+
fi; \
|
|
515
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
516
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
517
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
518
|
+
fi; \
|
|
519
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
520
|
+
else \
|
|
521
|
+
test -f "$(distdir)/$$file" \
|
|
522
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
|
523
|
+
|| exit 1; \
|
|
524
|
+
fi; \
|
|
525
|
+
done
|
|
526
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
527
|
+
if test "$$subdir" = .; then :; else \
|
|
528
|
+
test -d "$(distdir)/$$subdir" \
|
|
529
|
+
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
|
530
|
+
|| exit 1; \
|
|
531
|
+
fi; \
|
|
532
|
+
done
|
|
533
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
534
|
+
if test "$$subdir" = .; then :; else \
|
|
535
|
+
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
|
536
|
+
$(am__relativize); \
|
|
537
|
+
new_distdir=$$reldir; \
|
|
538
|
+
dir1=$$subdir; dir2="$(top_distdir)"; \
|
|
539
|
+
$(am__relativize); \
|
|
540
|
+
new_top_distdir=$$reldir; \
|
|
541
|
+
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
|
542
|
+
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
|
543
|
+
($(am__cd) $$subdir && \
|
|
544
|
+
$(MAKE) $(AM_MAKEFLAGS) \
|
|
545
|
+
top_distdir="$$new_top_distdir" \
|
|
546
|
+
distdir="$$new_distdir" \
|
|
547
|
+
am__remove_distdir=: \
|
|
548
|
+
am__skip_length_check=: \
|
|
549
|
+
am__skip_mode_fix=: \
|
|
550
|
+
distdir) \
|
|
551
|
+
|| exit 1; \
|
|
552
|
+
fi; \
|
|
553
|
+
done
|
|
554
|
+
-test -n "$(am__skip_mode_fix)" \
|
|
555
|
+
|| find "$(distdir)" -type d ! -perm -755 \
|
|
556
|
+
-exec chmod u+rwx,go+rx {} \; -o \
|
|
557
|
+
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
558
|
+
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
559
|
+
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
|
560
|
+
|| chmod -R a+r "$(distdir)"
|
|
561
|
+
dist-gzip: distdir
|
|
562
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
563
|
+
$(am__remove_distdir)
|
|
564
|
+
dist-bzip2: distdir
|
|
565
|
+
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
|
566
|
+
$(am__remove_distdir)
|
|
567
|
+
|
|
568
|
+
dist-lzma: distdir
|
|
569
|
+
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
|
570
|
+
$(am__remove_distdir)
|
|
571
|
+
|
|
572
|
+
dist-xz: distdir
|
|
573
|
+
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
|
|
574
|
+
$(am__remove_distdir)
|
|
575
|
+
|
|
576
|
+
dist-tarZ: distdir
|
|
577
|
+
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
|
578
|
+
$(am__remove_distdir)
|
|
579
|
+
|
|
580
|
+
dist-shar: distdir
|
|
581
|
+
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
|
582
|
+
$(am__remove_distdir)
|
|
583
|
+
|
|
584
|
+
dist-zip: distdir
|
|
585
|
+
-rm -f $(distdir).zip
|
|
586
|
+
zip -rq $(distdir).zip $(distdir)
|
|
587
|
+
$(am__remove_distdir)
|
|
588
|
+
|
|
589
|
+
dist dist-all: distdir
|
|
590
|
+
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
|
591
|
+
$(am__remove_distdir)
|
|
592
|
+
|
|
593
|
+
# This target untars the dist file and tries a VPATH configuration. Then
|
|
594
|
+
# it guarantees that the distribution is self-contained by making another
|
|
595
|
+
# tarfile.
|
|
596
|
+
distcheck: dist
|
|
597
|
+
case '$(DIST_ARCHIVES)' in \
|
|
598
|
+
*.tar.gz*) \
|
|
599
|
+
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
|
600
|
+
*.tar.bz2*) \
|
|
601
|
+
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
|
602
|
+
*.tar.lzma*) \
|
|
603
|
+
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
|
604
|
+
*.tar.xz*) \
|
|
605
|
+
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
|
606
|
+
*.tar.Z*) \
|
|
607
|
+
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
|
608
|
+
*.shar.gz*) \
|
|
609
|
+
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
|
610
|
+
*.zip*) \
|
|
611
|
+
unzip $(distdir).zip ;;\
|
|
612
|
+
esac
|
|
613
|
+
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
|
614
|
+
mkdir $(distdir)/_build
|
|
615
|
+
mkdir $(distdir)/_inst
|
|
616
|
+
chmod a-w $(distdir)
|
|
617
|
+
test -d $(distdir)/_build || exit 0; \
|
|
618
|
+
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
|
619
|
+
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
|
620
|
+
&& am__cwd=`pwd` \
|
|
621
|
+
&& $(am__cd) $(distdir)/_build \
|
|
622
|
+
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
|
623
|
+
$(DISTCHECK_CONFIGURE_FLAGS) \
|
|
624
|
+
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
625
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
626
|
+
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
627
|
+
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
628
|
+
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
629
|
+
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
|
630
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
|
631
|
+
distuninstallcheck \
|
|
632
|
+
&& chmod -R a-w "$$dc_install_base" \
|
|
633
|
+
&& ({ \
|
|
634
|
+
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
|
635
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
|
636
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
|
637
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
|
638
|
+
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
|
639
|
+
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
|
640
|
+
&& rm -rf "$$dc_destdir" \
|
|
641
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
|
642
|
+
&& rm -rf $(DIST_ARCHIVES) \
|
|
643
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
|
644
|
+
&& cd "$$am__cwd" \
|
|
645
|
+
|| exit 1
|
|
646
|
+
$(am__remove_distdir)
|
|
647
|
+
@(echo "$(distdir) archives ready for distribution: "; \
|
|
648
|
+
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
|
649
|
+
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
|
650
|
+
distuninstallcheck:
|
|
651
|
+
@$(am__cd) '$(distuninstallcheck_dir)' \
|
|
652
|
+
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
|
653
|
+
|| { echo "ERROR: files left after uninstall:" ; \
|
|
654
|
+
if test -n "$(DESTDIR)"; then \
|
|
655
|
+
echo " (check DESTDIR support)"; \
|
|
656
|
+
fi ; \
|
|
657
|
+
$(distuninstallcheck_listfiles) ; \
|
|
658
|
+
exit 1; } >&2
|
|
659
|
+
distcleancheck: distclean
|
|
660
|
+
@if test '$(srcdir)' = . ; then \
|
|
661
|
+
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
|
662
|
+
exit 1 ; \
|
|
663
|
+
fi
|
|
664
|
+
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
|
665
|
+
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
|
666
|
+
$(distcleancheck_listfiles) ; \
|
|
667
|
+
exit 1; } >&2
|
|
668
|
+
check-am: all-am
|
|
669
|
+
check: check-recursive
|
|
670
|
+
all-am: Makefile $(DATA) config.h
|
|
671
|
+
installdirs: installdirs-recursive
|
|
672
|
+
installdirs-am:
|
|
673
|
+
for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
|
|
674
|
+
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
|
675
|
+
done
|
|
676
|
+
install: install-recursive
|
|
677
|
+
install-exec: install-exec-recursive
|
|
678
|
+
install-data: install-data-recursive
|
|
679
|
+
uninstall: uninstall-recursive
|
|
680
|
+
|
|
681
|
+
install-am: all-am
|
|
682
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
683
|
+
|
|
684
|
+
installcheck: installcheck-recursive
|
|
685
|
+
install-strip:
|
|
686
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
687
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
688
|
+
`test -z '$(STRIP)' || \
|
|
689
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
690
|
+
mostlyclean-generic:
|
|
691
|
+
|
|
692
|
+
clean-generic:
|
|
693
|
+
|
|
694
|
+
distclean-generic:
|
|
695
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
696
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
697
|
+
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
698
|
+
|
|
699
|
+
maintainer-clean-generic:
|
|
700
|
+
@echo "This command is intended for maintainers to use"
|
|
701
|
+
@echo "it deletes files that may require special tools to rebuild."
|
|
702
|
+
clean: clean-recursive
|
|
703
|
+
|
|
704
|
+
clean-am: clean-generic clean-libtool mostlyclean-am
|
|
705
|
+
|
|
706
|
+
distclean: distclean-recursive
|
|
707
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
708
|
+
-rm -f Makefile
|
|
709
|
+
distclean-am: clean-am distclean-generic distclean-hdr \
|
|
710
|
+
distclean-libtool distclean-tags
|
|
711
|
+
|
|
712
|
+
dvi: dvi-recursive
|
|
713
|
+
|
|
714
|
+
dvi-am:
|
|
715
|
+
|
|
716
|
+
html: html-recursive
|
|
717
|
+
|
|
718
|
+
html-am:
|
|
719
|
+
|
|
720
|
+
info: info-recursive
|
|
721
|
+
|
|
722
|
+
info-am:
|
|
723
|
+
|
|
724
|
+
install-data-am: install-pkgconfigDATA
|
|
725
|
+
|
|
726
|
+
install-dvi: install-dvi-recursive
|
|
727
|
+
|
|
728
|
+
install-dvi-am:
|
|
729
|
+
|
|
730
|
+
install-exec-am:
|
|
731
|
+
|
|
732
|
+
install-html: install-html-recursive
|
|
733
|
+
|
|
734
|
+
install-html-am:
|
|
735
|
+
|
|
736
|
+
install-info: install-info-recursive
|
|
737
|
+
|
|
738
|
+
install-info-am:
|
|
739
|
+
|
|
740
|
+
install-man:
|
|
741
|
+
|
|
742
|
+
install-pdf: install-pdf-recursive
|
|
743
|
+
|
|
744
|
+
install-pdf-am:
|
|
745
|
+
|
|
746
|
+
install-ps: install-ps-recursive
|
|
747
|
+
|
|
748
|
+
install-ps-am:
|
|
749
|
+
|
|
750
|
+
installcheck-am:
|
|
751
|
+
|
|
752
|
+
maintainer-clean: maintainer-clean-recursive
|
|
753
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
754
|
+
-rm -rf $(top_srcdir)/autom4te.cache
|
|
755
|
+
-rm -f Makefile
|
|
756
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
757
|
+
|
|
758
|
+
mostlyclean: mostlyclean-recursive
|
|
759
|
+
|
|
760
|
+
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
|
761
|
+
|
|
762
|
+
pdf: pdf-recursive
|
|
763
|
+
|
|
764
|
+
pdf-am:
|
|
765
|
+
|
|
766
|
+
ps: ps-recursive
|
|
767
|
+
|
|
768
|
+
ps-am:
|
|
769
|
+
|
|
770
|
+
uninstall-am: uninstall-pkgconfigDATA
|
|
771
|
+
|
|
772
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
|
|
773
|
+
ctags-recursive install-am install-strip tags-recursive
|
|
774
|
+
|
|
775
|
+
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
|
776
|
+
all all-am am--refresh check check-am clean clean-generic \
|
|
777
|
+
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
|
778
|
+
dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
|
|
779
|
+
distcheck distclean distclean-generic distclean-hdr \
|
|
780
|
+
distclean-libtool distclean-tags distcleancheck distdir \
|
|
781
|
+
distuninstallcheck dvi dvi-am html html-am info info-am \
|
|
782
|
+
install install-am install-data install-data-am install-dvi \
|
|
783
|
+
install-dvi-am install-exec install-exec-am install-html \
|
|
784
|
+
install-html-am install-info install-info-am install-man \
|
|
785
|
+
install-pdf install-pdf-am install-pkgconfigDATA install-ps \
|
|
786
|
+
install-ps-am install-strip installcheck installcheck-am \
|
|
787
|
+
installdirs installdirs-am maintainer-clean \
|
|
788
|
+
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
|
789
|
+
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
|
|
790
|
+
uninstall uninstall-am uninstall-pkgconfigDATA
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
.PHONY: dist-up
|
|
794
|
+
dist-up: dist
|
|
795
|
+
rm -rf $(reldir)
|
|
796
|
+
mkdir -p $(reldir)
|
|
797
|
+
cp $(distdir).tar.bz2 $(reldir)
|
|
798
|
+
rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
|
|
799
|
+
rm -rf $(reldir)
|
|
800
|
+
|
|
801
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
802
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
803
|
+
.NOEXPORT:
|