libusb 0.5.1 → 0.6.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.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -2
  3. data/Gemfile +2 -0
  4. data/History.md +12 -0
  5. data/README.md +25 -14
  6. data/Rakefile +64 -109
  7. data/appveyor.yml +23 -0
  8. data/ext/extconf.rb +10 -12
  9. data/ext/libusb_recipe.rb +29 -0
  10. data/lib/libusb/call.rb +14 -11
  11. data/lib/libusb/compat.rb +9 -9
  12. data/lib/libusb/context.rb +16 -1
  13. data/lib/libusb/dependencies.rb +7 -0
  14. data/lib/libusb/dev_handle.rb +13 -3
  15. data/lib/libusb/eventmachine.rb +4 -4
  16. data/lib/libusb/transfer.rb +71 -10
  17. data/lib/libusb/version_gem.rb +1 -1
  18. data/libusb.gemspec +7 -5
  19. data/ports/archives/libusb-1.0.21.tar.bz2 +0 -0
  20. data/test/test_libusb_bulk_stream_transfer.rb +1 -1
  21. data/test/test_libusb_descriptors.rb +4 -4
  22. data/test/test_libusb_event_machine.rb +7 -7
  23. data/test/test_libusb_hotplug.rb +15 -3
  24. data/test/test_libusb_iso_transfer.rb +1 -1
  25. data/test/test_libusb_mass_storage.rb +19 -19
  26. data/test/test_libusb_mass_storage2.rb +1 -1
  27. data/test/test_libusb_structs.rb +13 -0
  28. data/test/test_libusb_threads.rb +2 -2
  29. data/wireshark-usb-sniffer.png +0 -0
  30. metadata +32 -156
  31. checksums.yaml.gz.sig +0 -0
  32. data.tar.gz.sig +0 -0
  33. data/ext/libusb-1.0.20/AUTHORS +0 -89
  34. data/ext/libusb-1.0.20/COPYING +0 -504
  35. data/ext/libusb-1.0.20/ChangeLog +0 -227
  36. data/ext/libusb-1.0.20/INSTALL +0 -234
  37. data/ext/libusb-1.0.20/Makefile.am +0 -28
  38. data/ext/libusb-1.0.20/Makefile.in +0 -897
  39. data/ext/libusb-1.0.20/NEWS +0 -2
  40. data/ext/libusb-1.0.20/PORTING +0 -94
  41. data/ext/libusb-1.0.20/README +0 -29
  42. data/ext/libusb-1.0.20/TODO +0 -2
  43. data/ext/libusb-1.0.20/Xcode/common.xcconfig +0 -49
  44. data/ext/libusb-1.0.20/Xcode/config.h +0 -28
  45. data/ext/libusb-1.0.20/Xcode/debug.xcconfig +0 -29
  46. data/ext/libusb-1.0.20/Xcode/libusb.xcconfig +0 -21
  47. data/ext/libusb-1.0.20/Xcode/libusb.xcodeproj/project.pbxproj +0 -865
  48. data/ext/libusb-1.0.20/Xcode/libusb_debug.xcconfig +0 -21
  49. data/ext/libusb-1.0.20/Xcode/libusb_release.xcconfig +0 -21
  50. data/ext/libusb-1.0.20/Xcode/release.xcconfig +0 -30
  51. data/ext/libusb-1.0.20/aclocal.m4 +0 -1193
  52. data/ext/libusb-1.0.20/android/README +0 -114
  53. data/ext/libusb-1.0.20/android/config.h +0 -81
  54. data/ext/libusb-1.0.20/android/jni/Android.mk +0 -23
  55. data/ext/libusb-1.0.20/android/jni/Application.mk +0 -24
  56. data/ext/libusb-1.0.20/android/jni/examples.mk +0 -134
  57. data/ext/libusb-1.0.20/android/jni/libusb.mk +0 -54
  58. data/ext/libusb-1.0.20/android/jni/tests.mk +0 -56
  59. data/ext/libusb-1.0.20/compile +0 -347
  60. data/ext/libusb-1.0.20/config.guess +0 -1421
  61. data/ext/libusb-1.0.20/config.h.in +0 -155
  62. data/ext/libusb-1.0.20/config.sub +0 -1807
  63. data/ext/libusb-1.0.20/configure +0 -15466
  64. data/ext/libusb-1.0.20/configure.ac +0 -326
  65. data/ext/libusb-1.0.20/depcomp +0 -791
  66. data/ext/libusb-1.0.20/doc/Makefile.am +0 -9
  67. data/ext/libusb-1.0.20/doc/Makefile.in +0 -456
  68. data/ext/libusb-1.0.20/doc/doxygen.cfg.in +0 -2334
  69. data/ext/libusb-1.0.20/examples/Makefile.am +0 -19
  70. data/ext/libusb-1.0.20/examples/Makefile.in +0 -713
  71. data/ext/libusb-1.0.20/examples/dpfp.c +0 -506
  72. data/ext/libusb-1.0.20/examples/dpfp_threaded.c +0 -549
  73. data/ext/libusb-1.0.20/examples/ezusb.c +0 -831
  74. data/ext/libusb-1.0.20/examples/ezusb.h +0 -120
  75. data/ext/libusb-1.0.20/examples/fxload.c +0 -308
  76. data/ext/libusb-1.0.20/examples/getopt/getopt.c +0 -1060
  77. data/ext/libusb-1.0.20/examples/getopt/getopt.h +0 -180
  78. data/ext/libusb-1.0.20/examples/getopt/getopt1.c +0 -188
  79. data/ext/libusb-1.0.20/examples/hotplugtest.c +0 -122
  80. data/ext/libusb-1.0.20/examples/listdevs.c +0 -71
  81. data/ext/libusb-1.0.20/examples/sam3u_benchmark.c +0 -193
  82. data/ext/libusb-1.0.20/examples/xusb.c +0 -1130
  83. data/ext/libusb-1.0.20/install-sh +0 -501
  84. data/ext/libusb-1.0.20/libusb-1.0.pc.in +0 -11
  85. data/ext/libusb-1.0.20/libusb/Makefile.am +0 -90
  86. data/ext/libusb-1.0.20/libusb/Makefile.in +0 -1053
  87. data/ext/libusb-1.0.20/libusb/core.c +0 -2452
  88. data/ext/libusb-1.0.20/libusb/descriptor.c +0 -1201
  89. data/ext/libusb-1.0.20/libusb/hotplug.c +0 -344
  90. data/ext/libusb-1.0.20/libusb/hotplug.h +0 -90
  91. data/ext/libusb-1.0.20/libusb/io.c +0 -2760
  92. data/ext/libusb-1.0.20/libusb/libusb-1.0.def +0 -168
  93. data/ext/libusb-1.0.20/libusb/libusb-1.0.rc +0 -61
  94. data/ext/libusb-1.0.20/libusb/libusb.h +0 -1999
  95. data/ext/libusb-1.0.20/libusb/libusbi.h +0 -1102
  96. data/ext/libusb-1.0.20/libusb/os/darwin_usb.c +0 -1969
  97. data/ext/libusb-1.0.20/libusb/os/darwin_usb.h +0 -158
  98. data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.am +0 -5
  99. data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.in +0 -810
  100. data/ext/libusb-1.0.20/libusb/os/haiku/aclocal.m4 +0 -1193
  101. data/ext/libusb-1.0.20/libusb/os/haiku/compile +0 -347
  102. data/ext/libusb-1.0.20/libusb/os/haiku/config.guess +0 -1421
  103. data/ext/libusb-1.0.20/libusb/os/haiku/config.sub +0 -1807
  104. data/ext/libusb-1.0.20/libusb/os/haiku/configure +0 -17579
  105. data/ext/libusb-1.0.20/libusb/os/haiku/configure.ac +0 -8
  106. data/ext/libusb-1.0.20/libusb/os/haiku/depcomp +0 -791
  107. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_pollfs.cpp +0 -378
  108. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb.h +0 -112
  109. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_backend.cpp +0 -550
  110. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.cpp +0 -255
  111. data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.h +0 -180
  112. data/ext/libusb-1.0.20/libusb/os/haiku/install-sh +0 -501
  113. data/ext/libusb-1.0.20/libusb/os/haiku/ltmain.sh +0 -9655
  114. data/ext/libusb-1.0.20/libusb/os/haiku/m4/libtool.m4 +0 -7992
  115. data/ext/libusb-1.0.20/libusb/os/haiku/m4/ltoptions.m4 +0 -384
  116. data/ext/libusb-1.0.20/libusb/os/haiku/m4/ltsugar.m4 +0 -123
  117. data/ext/libusb-1.0.20/libusb/os/haiku/m4/ltversion.m4 +0 -23
  118. data/ext/libusb-1.0.20/libusb/os/haiku/m4/lt~obsolete.m4 +0 -98
  119. data/ext/libusb-1.0.20/libusb/os/haiku/missing +0 -215
  120. data/ext/libusb-1.0.20/libusb/os/linux_netlink.c +0 -369
  121. data/ext/libusb-1.0.20/libusb/os/linux_udev.c +0 -306
  122. data/ext/libusb-1.0.20/libusb/os/linux_usbfs.c +0 -2692
  123. data/ext/libusb-1.0.20/libusb/os/linux_usbfs.h +0 -192
  124. data/ext/libusb-1.0.20/libusb/os/netbsd_usb.c +0 -674
  125. data/ext/libusb-1.0.20/libusb/os/openbsd_usb.c +0 -768
  126. data/ext/libusb-1.0.20/libusb/os/poll_posix.c +0 -53
  127. data/ext/libusb-1.0.20/libusb/os/poll_posix.h +0 -11
  128. data/ext/libusb-1.0.20/libusb/os/poll_windows.c +0 -728
  129. data/ext/libusb-1.0.20/libusb/os/poll_windows.h +0 -131
  130. data/ext/libusb-1.0.20/libusb/os/threads_posix.c +0 -82
  131. data/ext/libusb-1.0.20/libusb/os/threads_posix.h +0 -50
  132. data/ext/libusb-1.0.20/libusb/os/threads_windows.c +0 -214
  133. data/ext/libusb-1.0.20/libusb/os/threads_windows.h +0 -87
  134. data/ext/libusb-1.0.20/libusb/os/wince_usb.c +0 -869
  135. data/ext/libusb-1.0.20/libusb/os/wince_usb.h +0 -131
  136. data/ext/libusb-1.0.20/libusb/os/windows_common.h +0 -108
  137. data/ext/libusb-1.0.20/libusb/os/windows_usb.c +0 -4643
  138. data/ext/libusb-1.0.20/libusb/os/windows_usb.h +0 -973
  139. data/ext/libusb-1.0.20/libusb/strerror.c +0 -202
  140. data/ext/libusb-1.0.20/libusb/sync.c +0 -308
  141. data/ext/libusb-1.0.20/libusb/version.h +0 -18
  142. data/ext/libusb-1.0.20/libusb/version_nano.h +0 -1
  143. data/ext/libusb-1.0.20/ltmain.sh +0 -9655
  144. data/ext/libusb-1.0.20/m4/libtool.m4 +0 -7992
  145. data/ext/libusb-1.0.20/m4/ltoptions.m4 +0 -384
  146. data/ext/libusb-1.0.20/m4/ltsugar.m4 +0 -123
  147. data/ext/libusb-1.0.20/m4/ltversion.m4 +0 -23
  148. data/ext/libusb-1.0.20/m4/lt~obsolete.m4 +0 -98
  149. data/ext/libusb-1.0.20/missing +0 -215
  150. data/ext/libusb-1.0.20/tests/Makefile.am +0 -6
  151. data/ext/libusb-1.0.20/tests/Makefile.in +0 -596
  152. data/ext/libusb-1.0.20/tests/libusb_testlib.h +0 -107
  153. data/ext/libusb-1.0.20/tests/stress.c +0 -160
  154. data/ext/libusb-1.0.20/tests/testlib.c +0 -277
  155. metadata.gz.sig +0 -0
@@ -1,23 +0,0 @@
1
- # ltversion.m4 -- version numbers -*- Autoconf -*-
2
- #
3
- # Copyright (C) 2004 Free Software Foundation, Inc.
4
- # Written by Scott James Remnant, 2004
5
- #
6
- # This file is free software; the Free Software Foundation gives
7
- # unlimited permission to copy and/or distribute it, with or without
8
- # modifications, as long as this notice is preserved.
9
-
10
- # @configure_input@
11
-
12
- # serial 3337 ltversion.m4
13
- # This file is part of GNU Libtool
14
-
15
- m4_define([LT_PACKAGE_VERSION], [2.4.2])
16
- m4_define([LT_PACKAGE_REVISION], [1.3337])
17
-
18
- AC_DEFUN([LTVERSION_VERSION],
19
- [macro_version='2.4.2'
20
- macro_revision='1.3337'
21
- _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
22
- _LT_DECL(, macro_revision, 0)
23
- ])
@@ -1,98 +0,0 @@
1
- # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
2
- #
3
- # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
4
- # Written by Scott James Remnant, 2004.
5
- #
6
- # This file is free software; the Free Software Foundation gives
7
- # unlimited permission to copy and/or distribute it, with or without
8
- # modifications, as long as this notice is preserved.
9
-
10
- # serial 5 lt~obsolete.m4
11
-
12
- # These exist entirely to fool aclocal when bootstrapping libtool.
13
- #
14
- # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
15
- # which have later been changed to m4_define as they aren't part of the
16
- # exported API, or moved to Autoconf or Automake where they belong.
17
- #
18
- # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
19
- # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
20
- # using a macro with the same name in our local m4/libtool.m4 it'll
21
- # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
22
- # and doesn't know about Autoconf macros at all.)
23
- #
24
- # So we provide this file, which has a silly filename so it's always
25
- # included after everything else. This provides aclocal with the
26
- # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
27
- # because those macros already exist, or will be overwritten later.
28
- # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
29
- #
30
- # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
31
- # Yes, that means every name once taken will need to remain here until
32
- # we give up compatibility with versions before 1.7, at which point
33
- # we need to keep only those names which we still refer to.
34
-
35
- # This is to help aclocal find these macros, as it can't see m4_define.
36
- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
37
-
38
- m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
39
- m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
40
- m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
41
- m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
42
- m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
43
- m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
44
- m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
45
- m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
46
- m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
47
- m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
48
- m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
49
- m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
50
- m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
51
- m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
52
- m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
53
- m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
54
- m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
55
- m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
56
- m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
57
- m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
58
- m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
59
- m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
60
- m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
61
- m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
62
- m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
63
- m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
64
- m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
65
- m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
66
- m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
67
- m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
68
- m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
69
- m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
70
- m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
71
- m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
72
- m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
73
- m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
74
- m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
75
- m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
76
- m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
77
- m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
78
- m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
79
- m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
80
- m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
81
- m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
82
- m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
83
- m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
84
- m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
85
- m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
86
- m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
87
- m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
88
- m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
89
- m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
90
- m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
91
- m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
92
- m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
93
- m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
94
- m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
95
- m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
96
- m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
97
- m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
98
- m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
@@ -1,215 +0,0 @@
1
- #! /bin/sh
2
- # Common wrapper for a few potentially missing GNU programs.
3
-
4
- scriptversion=2013-10-28.13; # UTC
5
-
6
- # Copyright (C) 1996-2014 Free Software Foundation, Inc.
7
- # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
8
-
9
- # This program is free software; you can redistribute it and/or modify
10
- # it under the terms of the GNU General Public License as published by
11
- # the Free Software Foundation; either version 2, or (at your option)
12
- # any later version.
13
-
14
- # This program is distributed in the hope that it will be useful,
15
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- # GNU General Public License for more details.
18
-
19
- # You should have received a copy of the GNU General Public License
20
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
21
-
22
- # As a special exception to the GNU General Public License, if you
23
- # distribute this file as part of a program that contains a
24
- # configuration script generated by Autoconf, you may include it under
25
- # the same distribution terms that you use for the rest of that program.
26
-
27
- if test $# -eq 0; then
28
- echo 1>&2 "Try '$0 --help' for more information"
29
- exit 1
30
- fi
31
-
32
- case $1 in
33
-
34
- --is-lightweight)
35
- # Used by our autoconf macros to check whether the available missing
36
- # script is modern enough.
37
- exit 0
38
- ;;
39
-
40
- --run)
41
- # Back-compat with the calling convention used by older automake.
42
- shift
43
- ;;
44
-
45
- -h|--h|--he|--hel|--help)
46
- echo "\
47
- $0 [OPTION]... PROGRAM [ARGUMENT]...
48
-
49
- Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
50
- to PROGRAM being missing or too old.
51
-
52
- Options:
53
- -h, --help display this help and exit
54
- -v, --version output version information and exit
55
-
56
- Supported PROGRAM values:
57
- aclocal autoconf autoheader autom4te automake makeinfo
58
- bison yacc flex lex help2man
59
-
60
- Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
61
- 'g' are ignored when checking the name.
62
-
63
- Send bug reports to <bug-automake@gnu.org>."
64
- exit $?
65
- ;;
66
-
67
- -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
68
- echo "missing $scriptversion (GNU Automake)"
69
- exit $?
70
- ;;
71
-
72
- -*)
73
- echo 1>&2 "$0: unknown '$1' option"
74
- echo 1>&2 "Try '$0 --help' for more information"
75
- exit 1
76
- ;;
77
-
78
- esac
79
-
80
- # Run the given program, remember its exit status.
81
- "$@"; st=$?
82
-
83
- # If it succeeded, we are done.
84
- test $st -eq 0 && exit 0
85
-
86
- # Also exit now if we it failed (or wasn't found), and '--version' was
87
- # passed; such an option is passed most likely to detect whether the
88
- # program is present and works.
89
- case $2 in --version|--help) exit $st;; esac
90
-
91
- # Exit code 63 means version mismatch. This often happens when the user
92
- # tries to use an ancient version of a tool on a file that requires a
93
- # minimum version.
94
- if test $st -eq 63; then
95
- msg="probably too old"
96
- elif test $st -eq 127; then
97
- # Program was missing.
98
- msg="missing on your system"
99
- else
100
- # Program was found and executed, but failed. Give up.
101
- exit $st
102
- fi
103
-
104
- perl_URL=http://www.perl.org/
105
- flex_URL=http://flex.sourceforge.net/
106
- gnu_software_URL=http://www.gnu.org/software
107
-
108
- program_details ()
109
- {
110
- case $1 in
111
- aclocal|automake)
112
- echo "The '$1' program is part of the GNU Automake package:"
113
- echo "<$gnu_software_URL/automake>"
114
- echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
115
- echo "<$gnu_software_URL/autoconf>"
116
- echo "<$gnu_software_URL/m4/>"
117
- echo "<$perl_URL>"
118
- ;;
119
- autoconf|autom4te|autoheader)
120
- echo "The '$1' program is part of the GNU Autoconf package:"
121
- echo "<$gnu_software_URL/autoconf/>"
122
- echo "It also requires GNU m4 and Perl in order to run:"
123
- echo "<$gnu_software_URL/m4/>"
124
- echo "<$perl_URL>"
125
- ;;
126
- esac
127
- }
128
-
129
- give_advice ()
130
- {
131
- # Normalize program name to check for.
132
- normalized_program=`echo "$1" | sed '
133
- s/^gnu-//; t
134
- s/^gnu//; t
135
- s/^g//; t'`
136
-
137
- printf '%s\n' "'$1' is $msg."
138
-
139
- configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
140
- case $normalized_program in
141
- autoconf*)
142
- echo "You should only need it if you modified 'configure.ac',"
143
- echo "or m4 files included by it."
144
- program_details 'autoconf'
145
- ;;
146
- autoheader*)
147
- echo "You should only need it if you modified 'acconfig.h' or"
148
- echo "$configure_deps."
149
- program_details 'autoheader'
150
- ;;
151
- automake*)
152
- echo "You should only need it if you modified 'Makefile.am' or"
153
- echo "$configure_deps."
154
- program_details 'automake'
155
- ;;
156
- aclocal*)
157
- echo "You should only need it if you modified 'acinclude.m4' or"
158
- echo "$configure_deps."
159
- program_details 'aclocal'
160
- ;;
161
- autom4te*)
162
- echo "You might have modified some maintainer files that require"
163
- echo "the 'autom4te' program to be rebuilt."
164
- program_details 'autom4te'
165
- ;;
166
- bison*|yacc*)
167
- echo "You should only need it if you modified a '.y' file."
168
- echo "You may want to install the GNU Bison package:"
169
- echo "<$gnu_software_URL/bison/>"
170
- ;;
171
- lex*|flex*)
172
- echo "You should only need it if you modified a '.l' file."
173
- echo "You may want to install the Fast Lexical Analyzer package:"
174
- echo "<$flex_URL>"
175
- ;;
176
- help2man*)
177
- echo "You should only need it if you modified a dependency" \
178
- "of a man page."
179
- echo "You may want to install the GNU Help2man package:"
180
- echo "<$gnu_software_URL/help2man/>"
181
- ;;
182
- makeinfo*)
183
- echo "You should only need it if you modified a '.texi' file, or"
184
- echo "any other file indirectly affecting the aspect of the manual."
185
- echo "You might want to install the Texinfo package:"
186
- echo "<$gnu_software_URL/texinfo/>"
187
- echo "The spurious makeinfo call might also be the consequence of"
188
- echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
189
- echo "want to install GNU make:"
190
- echo "<$gnu_software_URL/make/>"
191
- ;;
192
- *)
193
- echo "You might have modified some files without having the proper"
194
- echo "tools for further handling them. Check the 'README' file, it"
195
- echo "often tells you about the needed prerequisites for installing"
196
- echo "this package. You may also peek at any GNU archive site, in"
197
- echo "case some other package contains this missing '$1' program."
198
- ;;
199
- esac
200
- }
201
-
202
- give_advice "$1" | sed -e '1s/^/WARNING: /' \
203
- -e '2,$s/^/ /' >&2
204
-
205
- # Propagate the correct exit status (expected to be 127 for a program
206
- # not found, 63 for a program that failed due to version mismatch).
207
- exit $st
208
-
209
- # Local variables:
210
- # eval: (add-hook 'write-file-hooks 'time-stamp)
211
- # time-stamp-start: "scriptversion="
212
- # time-stamp-format: "%:y-%02m-%02d.%02H"
213
- # time-stamp-time-zone: "UTC"
214
- # time-stamp-end: "; # UTC"
215
- # End:
@@ -1,6 +0,0 @@
1
- AM_CPPFLAGS = -I$(top_srcdir)/libusb
2
- LDADD = ../libusb/libusb-1.0.la
3
-
4
- noinst_PROGRAMS = stress
5
-
6
- stress_SOURCES = stress.c libusb_testlib.h testlib.c
@@ -1,596 +0,0 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
2
- # @configure_input@
3
-
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
-
6
- # This Makefile.in is free software; the Free Software Foundation
7
- # gives unlimited permission to copy and/or distribute it,
8
- # with or without modifications, as long as this notice is preserved.
9
-
10
- # This program is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
- # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
- # PARTICULAR PURPOSE.
14
-
15
- @SET_MAKE@
16
-
17
- VPATH = @srcdir@
18
- am__is_gnu_make = { \
19
- if test -z '$(MAKELEVEL)'; then \
20
- false; \
21
- elif test -n '$(MAKE_HOST)'; then \
22
- true; \
23
- elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24
- true; \
25
- else \
26
- false; \
27
- fi; \
28
- }
29
- am__make_running_with_option = \
30
- case $${target_option-} in \
31
- ?) ;; \
32
- *) echo "am__make_running_with_option: internal error: invalid" \
33
- "target option '$${target_option-}' specified" >&2; \
34
- exit 1;; \
35
- esac; \
36
- has_opt=no; \
37
- sane_makeflags=$$MAKEFLAGS; \
38
- if $(am__is_gnu_make); then \
39
- sane_makeflags=$$MFLAGS; \
40
- else \
41
- case $$MAKEFLAGS in \
42
- *\\[\ \ ]*) \
43
- bs=\\; \
44
- sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45
- | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46
- esac; \
47
- fi; \
48
- skip_next=no; \
49
- strip_trailopt () \
50
- { \
51
- flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52
- }; \
53
- for flg in $$sane_makeflags; do \
54
- test $$skip_next = yes && { skip_next=no; continue; }; \
55
- case $$flg in \
56
- *=*|--*) continue;; \
57
- -*I) strip_trailopt 'I'; skip_next=yes;; \
58
- -*I?*) strip_trailopt 'I';; \
59
- -*O) strip_trailopt 'O'; skip_next=yes;; \
60
- -*O?*) strip_trailopt 'O';; \
61
- -*l) strip_trailopt 'l'; skip_next=yes;; \
62
- -*l?*) strip_trailopt 'l';; \
63
- -[dEDm]) skip_next=yes;; \
64
- -[JT]) skip_next=yes;; \
65
- esac; \
66
- case $$flg in \
67
- *$$target_option*) has_opt=yes; break;; \
68
- esac; \
69
- done; \
70
- test $$has_opt = yes
71
- am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72
- am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73
- pkgdatadir = $(datadir)/@PACKAGE@
74
- pkgincludedir = $(includedir)/@PACKAGE@
75
- pkglibdir = $(libdir)/@PACKAGE@
76
- pkglibexecdir = $(libexecdir)/@PACKAGE@
77
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78
- install_sh_DATA = $(install_sh) -c -m 644
79
- install_sh_PROGRAM = $(install_sh) -c
80
- install_sh_SCRIPT = $(install_sh) -c
81
- INSTALL_HEADER = $(INSTALL_DATA)
82
- transform = $(program_transform_name)
83
- NORMAL_INSTALL = :
84
- PRE_INSTALL = :
85
- POST_INSTALL = :
86
- NORMAL_UNINSTALL = :
87
- PRE_UNINSTALL = :
88
- POST_UNINSTALL = :
89
- build_triplet = @build@
90
- host_triplet = @host@
91
- noinst_PROGRAMS = stress$(EXEEXT)
92
- subdir = tests
93
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94
- am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
95
- $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
96
- $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
97
- $(top_srcdir)/libusb/version.h $(top_srcdir)/configure.ac
98
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99
- $(ACLOCAL_M4)
100
- DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
101
- mkinstalldirs = $(install_sh) -d
102
- CONFIG_HEADER = $(top_builddir)/config.h
103
- CONFIG_CLEAN_FILES =
104
- CONFIG_CLEAN_VPATH_FILES =
105
- PROGRAMS = $(noinst_PROGRAMS)
106
- am_stress_OBJECTS = stress.$(OBJEXT) testlib.$(OBJEXT)
107
- stress_OBJECTS = $(am_stress_OBJECTS)
108
- stress_LDADD = $(LDADD)
109
- stress_DEPENDENCIES = ../libusb/libusb-1.0.la
110
- AM_V_lt = $(am__v_lt_@AM_V@)
111
- am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
112
- am__v_lt_0 = --silent
113
- am__v_lt_1 =
114
- AM_V_P = $(am__v_P_@AM_V@)
115
- am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
116
- am__v_P_0 = false
117
- am__v_P_1 = :
118
- AM_V_GEN = $(am__v_GEN_@AM_V@)
119
- am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
120
- am__v_GEN_0 = @echo " GEN " $@;
121
- am__v_GEN_1 =
122
- AM_V_at = $(am__v_at_@AM_V@)
123
- am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
124
- am__v_at_0 = @
125
- am__v_at_1 =
126
- DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
127
- depcomp = $(SHELL) $(top_srcdir)/depcomp
128
- am__depfiles_maybe = depfiles
129
- am__mv = mv -f
130
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
131
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
132
- LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
133
- $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
134
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
135
- $(AM_CFLAGS) $(CFLAGS)
136
- AM_V_CC = $(am__v_CC_@AM_V@)
137
- am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
138
- am__v_CC_0 = @echo " CC " $@;
139
- am__v_CC_1 =
140
- CCLD = $(CC)
141
- LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
142
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
143
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
144
- AM_V_CCLD = $(am__v_CCLD_@AM_V@)
145
- am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
146
- am__v_CCLD_0 = @echo " CCLD " $@;
147
- am__v_CCLD_1 =
148
- SOURCES = $(stress_SOURCES)
149
- DIST_SOURCES = $(stress_SOURCES)
150
- am__can_run_installinfo = \
151
- case $$AM_UPDATE_INFO_DIR in \
152
- n|no|NO) false;; \
153
- *) (install-info --version) >/dev/null 2>&1;; \
154
- esac
155
- am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
156
- # Read a list of newline-separated strings from the standard input,
157
- # and print each of them once, without duplicates. Input order is
158
- # *not* preserved.
159
- am__uniquify_input = $(AWK) '\
160
- BEGIN { nonempty = 0; } \
161
- { items[$$0] = 1; nonempty = 1; } \
162
- END { if (nonempty) { for (i in items) print i; }; } \
163
- '
164
- # Make sure the list of sources is unique. This is necessary because,
165
- # e.g., the same source file might be shared among _SOURCES variables
166
- # for different programs/libraries.
167
- am__define_uniq_tagged_files = \
168
- list='$(am__tagged_files)'; \
169
- unique=`for i in $$list; do \
170
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
171
- done | $(am__uniquify_input)`
172
- ETAGS = etags
173
- CTAGS = ctags
174
- am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
175
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
176
- ACLOCAL = @ACLOCAL@
177
- AMTAR = @AMTAR@
178
- AM_CFLAGS = @AM_CFLAGS@
179
- AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
180
- AR = @AR@
181
- AUTOCONF = @AUTOCONF@
182
- AUTOHEADER = @AUTOHEADER@
183
- AUTOMAKE = @AUTOMAKE@
184
- AWK = @AWK@
185
- CC = @CC@
186
- CCDEPMODE = @CCDEPMODE@
187
- CFLAGS = @CFLAGS@
188
- CPP = @CPP@
189
- CPPFLAGS = @CPPFLAGS@
190
- CYGPATH_W = @CYGPATH_W@
191
- DEFS = @DEFS@
192
- DEPDIR = @DEPDIR@
193
- DLLTOOL = @DLLTOOL@
194
- DSYMUTIL = @DSYMUTIL@
195
- DUMPBIN = @DUMPBIN@
196
- ECHO_C = @ECHO_C@
197
- ECHO_N = @ECHO_N@
198
- ECHO_T = @ECHO_T@
199
- EGREP = @EGREP@
200
- EXEEXT = @EXEEXT@
201
- FGREP = @FGREP@
202
- GREP = @GREP@
203
- INSTALL = @INSTALL@
204
- INSTALL_DATA = @INSTALL_DATA@
205
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
206
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
207
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
208
- LD = @LD@
209
- LDFLAGS = @LDFLAGS@
210
- LIBOBJS = @LIBOBJS@
211
- LIBS = @LIBS@
212
- LIBTOOL = @LIBTOOL@
213
- LIPO = @LIPO@
214
- LN_S = @LN_S@
215
- LTLDFLAGS = @LTLDFLAGS@
216
- LTLIBOBJS = @LTLIBOBJS@
217
- MAINT = @MAINT@
218
- MAKEINFO = @MAKEINFO@
219
- MANIFEST_TOOL = @MANIFEST_TOOL@
220
- MKDIR_P = @MKDIR_P@
221
- NM = @NM@
222
- NMEDIT = @NMEDIT@
223
- OBJDUMP = @OBJDUMP@
224
- OBJEXT = @OBJEXT@
225
- OS_DARWIN = @OS_DARWIN@
226
- OS_HAIKU = @OS_HAIKU@
227
- OS_LINUX = @OS_LINUX@
228
- OS_NETBSD = @OS_NETBSD@
229
- OS_OPENBSD = @OS_OPENBSD@
230
- OS_WINDOWS = @OS_WINDOWS@
231
- OTOOL = @OTOOL@
232
- OTOOL64 = @OTOOL64@
233
- PACKAGE = @PACKAGE@
234
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
235
- PACKAGE_NAME = @PACKAGE_NAME@
236
- PACKAGE_STRING = @PACKAGE_STRING@
237
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
238
- PACKAGE_URL = @PACKAGE_URL@
239
- PACKAGE_VERSION = @PACKAGE_VERSION@
240
- PATH_SEPARATOR = @PATH_SEPARATOR@
241
- RANLIB = @RANLIB@
242
- RC = @RC@
243
- SED = @SED@
244
- SET_MAKE = @SET_MAKE@
245
- SHELL = @SHELL@
246
- STRIP = @STRIP@
247
- USE_UDEV = @USE_UDEV@
248
- VERSION = @VERSION@
249
- abs_builddir = @abs_builddir@
250
- abs_srcdir = @abs_srcdir@
251
- abs_top_builddir = @abs_top_builddir@
252
- abs_top_srcdir = @abs_top_srcdir@
253
- ac_ct_AR = @ac_ct_AR@
254
- ac_ct_CC = @ac_ct_CC@
255
- ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
256
- am__include = @am__include@
257
- am__leading_dot = @am__leading_dot@
258
- am__quote = @am__quote@
259
- am__tar = @am__tar@
260
- am__untar = @am__untar@
261
- bindir = @bindir@
262
- build = @build@
263
- build_alias = @build_alias@
264
- build_cpu = @build_cpu@
265
- build_os = @build_os@
266
- build_vendor = @build_vendor@
267
- builddir = @builddir@
268
- datadir = @datadir@
269
- datarootdir = @datarootdir@
270
- docdir = @docdir@
271
- dvidir = @dvidir@
272
- exec_prefix = @exec_prefix@
273
- host = @host@
274
- host_alias = @host_alias@
275
- host_cpu = @host_cpu@
276
- host_os = @host_os@
277
- host_vendor = @host_vendor@
278
- htmldir = @htmldir@
279
- includedir = @includedir@
280
- infodir = @infodir@
281
- install_sh = @install_sh@
282
- libdir = @libdir@
283
- libexecdir = @libexecdir@
284
- localedir = @localedir@
285
- localstatedir = @localstatedir@
286
- mandir = @mandir@
287
- mkdir_p = @mkdir_p@
288
- oldincludedir = @oldincludedir@
289
- pdfdir = @pdfdir@
290
- prefix = @prefix@
291
- program_transform_name = @program_transform_name@
292
- psdir = @psdir@
293
- sbindir = @sbindir@
294
- sharedstatedir = @sharedstatedir@
295
- srcdir = @srcdir@
296
- subdirs = @subdirs@
297
- sysconfdir = @sysconfdir@
298
- target_alias = @target_alias@
299
- top_build_prefix = @top_build_prefix@
300
- top_builddir = @top_builddir@
301
- top_srcdir = @top_srcdir@
302
- AM_CPPFLAGS = -I$(top_srcdir)/libusb
303
- LDADD = ../libusb/libusb-1.0.la
304
- stress_SOURCES = stress.c libusb_testlib.h testlib.c
305
- all: all-am
306
-
307
- .SUFFIXES:
308
- .SUFFIXES: .c .lo .o .obj
309
- $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
310
- @for dep in $?; do \
311
- case '$(am__configure_deps)' in \
312
- *$$dep*) \
313
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
314
- && { if test -f $@; then exit 0; else break; fi; }; \
315
- exit 1;; \
316
- esac; \
317
- done; \
318
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
319
- $(am__cd) $(top_srcdir) && \
320
- $(AUTOMAKE) --gnu tests/Makefile
321
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
322
- @case '$?' in \
323
- *config.status*) \
324
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
325
- *) \
326
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
327
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
328
- esac;
329
-
330
- $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
331
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
332
-
333
- $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
334
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
335
- $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
336
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
337
- $(am__aclocal_m4_deps):
338
-
339
- clean-noinstPROGRAMS:
340
- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
341
- echo " rm -f" $$list; \
342
- rm -f $$list || exit $$?; \
343
- test -n "$(EXEEXT)" || exit 0; \
344
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
345
- echo " rm -f" $$list; \
346
- rm -f $$list
347
-
348
- stress$(EXEEXT): $(stress_OBJECTS) $(stress_DEPENDENCIES) $(EXTRA_stress_DEPENDENCIES)
349
- @rm -f stress$(EXEEXT)
350
- $(AM_V_CCLD)$(LINK) $(stress_OBJECTS) $(stress_LDADD) $(LIBS)
351
-
352
- mostlyclean-compile:
353
- -rm -f *.$(OBJEXT)
354
-
355
- distclean-compile:
356
- -rm -f *.tab.c
357
-
358
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stress.Po@am__quote@
359
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testlib.Po@am__quote@
360
-
361
- .c.o:
362
- @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
363
- @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
364
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
365
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
366
- @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
367
-
368
- .c.obj:
369
- @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
370
- @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
371
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
372
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
373
- @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
374
-
375
- .c.lo:
376
- @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
377
- @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
378
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
379
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
380
- @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
381
-
382
- mostlyclean-libtool:
383
- -rm -f *.lo
384
-
385
- clean-libtool:
386
- -rm -rf .libs _libs
387
-
388
- ID: $(am__tagged_files)
389
- $(am__define_uniq_tagged_files); mkid -fID $$unique
390
- tags: tags-am
391
- TAGS: tags
392
-
393
- tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
394
- set x; \
395
- here=`pwd`; \
396
- $(am__define_uniq_tagged_files); \
397
- shift; \
398
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
399
- test -n "$$unique" || unique=$$empty_fix; \
400
- if test $$# -gt 0; then \
401
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
402
- "$$@" $$unique; \
403
- else \
404
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
405
- $$unique; \
406
- fi; \
407
- fi
408
- ctags: ctags-am
409
-
410
- CTAGS: ctags
411
- ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
412
- $(am__define_uniq_tagged_files); \
413
- test -z "$(CTAGS_ARGS)$$unique" \
414
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
415
- $$unique
416
-
417
- GTAGS:
418
- here=`$(am__cd) $(top_builddir) && pwd` \
419
- && $(am__cd) $(top_srcdir) \
420
- && gtags -i $(GTAGS_ARGS) "$$here"
421
- cscopelist: cscopelist-am
422
-
423
- cscopelist-am: $(am__tagged_files)
424
- list='$(am__tagged_files)'; \
425
- case "$(srcdir)" in \
426
- [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
427
- *) sdir=$(subdir)/$(srcdir) ;; \
428
- esac; \
429
- for i in $$list; do \
430
- if test -f "$$i"; then \
431
- echo "$(subdir)/$$i"; \
432
- else \
433
- echo "$$sdir/$$i"; \
434
- fi; \
435
- done >> $(top_builddir)/cscope.files
436
-
437
- distclean-tags:
438
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
439
-
440
- distdir: $(DISTFILES)
441
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
442
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
443
- list='$(DISTFILES)'; \
444
- dist_files=`for file in $$list; do echo $$file; done | \
445
- sed -e "s|^$$srcdirstrip/||;t" \
446
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
447
- case $$dist_files in \
448
- */*) $(MKDIR_P) `echo "$$dist_files" | \
449
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
450
- sort -u` ;; \
451
- esac; \
452
- for file in $$dist_files; do \
453
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
454
- if test -d $$d/$$file; then \
455
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
456
- if test -d "$(distdir)/$$file"; then \
457
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
458
- fi; \
459
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
460
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
461
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
462
- fi; \
463
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
464
- else \
465
- test -f "$(distdir)/$$file" \
466
- || cp -p $$d/$$file "$(distdir)/$$file" \
467
- || exit 1; \
468
- fi; \
469
- done
470
- check-am: all-am
471
- check: check-am
472
- all-am: Makefile $(PROGRAMS)
473
- installdirs:
474
- install: install-am
475
- install-exec: install-exec-am
476
- install-data: install-data-am
477
- uninstall: uninstall-am
478
-
479
- install-am: all-am
480
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
481
-
482
- installcheck: installcheck-am
483
- install-strip:
484
- if test -z '$(STRIP)'; then \
485
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
486
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
487
- install; \
488
- else \
489
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
490
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
491
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
492
- fi
493
- mostlyclean-generic:
494
-
495
- clean-generic:
496
-
497
- distclean-generic:
498
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
499
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
500
-
501
- maintainer-clean-generic:
502
- @echo "This command is intended for maintainers to use"
503
- @echo "it deletes files that may require special tools to rebuild."
504
- clean: clean-am
505
-
506
- clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
507
- mostlyclean-am
508
-
509
- distclean: distclean-am
510
- -rm -rf ./$(DEPDIR)
511
- -rm -f Makefile
512
- distclean-am: clean-am distclean-compile distclean-generic \
513
- distclean-tags
514
-
515
- dvi: dvi-am
516
-
517
- dvi-am:
518
-
519
- html: html-am
520
-
521
- html-am:
522
-
523
- info: info-am
524
-
525
- info-am:
526
-
527
- install-data-am:
528
-
529
- install-dvi: install-dvi-am
530
-
531
- install-dvi-am:
532
-
533
- install-exec-am:
534
-
535
- install-html: install-html-am
536
-
537
- install-html-am:
538
-
539
- install-info: install-info-am
540
-
541
- install-info-am:
542
-
543
- install-man:
544
-
545
- install-pdf: install-pdf-am
546
-
547
- install-pdf-am:
548
-
549
- install-ps: install-ps-am
550
-
551
- install-ps-am:
552
-
553
- installcheck-am:
554
-
555
- maintainer-clean: maintainer-clean-am
556
- -rm -rf ./$(DEPDIR)
557
- -rm -f Makefile
558
- maintainer-clean-am: distclean-am maintainer-clean-generic
559
-
560
- mostlyclean: mostlyclean-am
561
-
562
- mostlyclean-am: mostlyclean-compile mostlyclean-generic \
563
- mostlyclean-libtool
564
-
565
- pdf: pdf-am
566
-
567
- pdf-am:
568
-
569
- ps: ps-am
570
-
571
- ps-am:
572
-
573
- uninstall-am:
574
-
575
- .MAKE: install-am install-strip
576
-
577
- .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
578
- clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \
579
- ctags-am distclean distclean-compile distclean-generic \
580
- distclean-libtool distclean-tags distdir dvi dvi-am html \
581
- html-am info info-am install install-am install-data \
582
- install-data-am install-dvi install-dvi-am install-exec \
583
- install-exec-am install-html install-html-am install-info \
584
- install-info-am install-man install-pdf install-pdf-am \
585
- install-ps install-ps-am install-strip installcheck \
586
- installcheck-am installdirs maintainer-clean \
587
- maintainer-clean-generic mostlyclean mostlyclean-compile \
588
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
589
- tags tags-am uninstall uninstall-am
590
-
591
- .PRECIOUS: Makefile
592
-
593
-
594
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
595
- # Otherwise a system limit (for SysV at least) may be exceeded.
596
- .NOEXPORT: