nutcracker 0.2.3 → 0.2.4.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. data/README.md +53 -5
  2. data/Rakefile +14 -19
  3. data/bin/nutcracker +6 -1
  4. data/ext/nutcracker/ChangeLog +9 -0
  5. data/ext/nutcracker/LICENSE +0 -0
  6. data/ext/nutcracker/Makefile +643 -0
  7. data/ext/nutcracker/Makefile.am +0 -0
  8. data/ext/nutcracker/Makefile.in +66 -149
  9. data/ext/nutcracker/NOTICE +0 -0
  10. data/ext/nutcracker/README.md +13 -11
  11. data/ext/nutcracker/aclocal.m4 +112 -201
  12. data/ext/nutcracker/autom4te.cache/output.0 +18664 -0
  13. data/ext/nutcracker/autom4te.cache/output.1 +18664 -0
  14. data/ext/nutcracker/autom4te.cache/output.2 +18664 -0
  15. data/ext/nutcracker/autom4te.cache/requests +494 -0
  16. data/ext/nutcracker/autom4te.cache/traces.0 +2415 -0
  17. data/ext/nutcracker/autom4te.cache/traces.1 +945 -0
  18. data/ext/nutcracker/autom4te.cache/traces.2 +2415 -0
  19. data/ext/nutcracker/conf/nutcracker.leaf.yml +0 -0
  20. data/ext/nutcracker/conf/nutcracker.root.yml +0 -0
  21. data/ext/nutcracker/conf/nutcracker.yml +0 -0
  22. data/ext/nutcracker/config.h +332 -0
  23. data/ext/nutcracker/config.h.in +15 -0
  24. data/ext/nutcracker/config.log +2684 -0
  25. data/ext/nutcracker/config.status +2317 -0
  26. data/ext/nutcracker/config/config.guess +23 -84
  27. data/ext/nutcracker/config/config.sub +23 -93
  28. data/ext/nutcracker/config/depcomp +35 -81
  29. data/ext/nutcracker/config/install-sh +109 -122
  30. data/ext/nutcracker/config/ltmain.sh +1053 -721
  31. data/ext/nutcracker/config/missing +20 -29
  32. data/ext/nutcracker/configure +2122 -2320
  33. data/ext/nutcracker/configure.ac +35 -3
  34. data/ext/nutcracker/contrib/Makefile +494 -0
  35. data/ext/nutcracker/contrib/Makefile.am +0 -0
  36. data/ext/nutcracker/contrib/Makefile.in +41 -107
  37. data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
  38. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +736 -0
  39. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +13102 -0
  40. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +13085 -0
  41. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +13085 -0
  42. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +476 -0
  43. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +2339 -0
  44. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +545 -0
  45. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +2339 -0
  46. data/ext/nutcracker/contrib/yaml-0.1.4/config.h +81 -0
  47. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +80 -0
  48. data/ext/nutcracker/contrib/yaml-0.1.4/config.log +688 -0
  49. data/ext/nutcracker/contrib/yaml-0.1.4/config.status +2032 -0
  50. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +51 -0
  51. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/bc_s.png +0 -0
  52. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/classes.html +41 -0
  53. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/closed.png +0 -0
  54. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.css +656 -0
  55. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.png +0 -0
  56. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/files.html +40 -0
  57. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +91 -0
  58. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +84 -0
  59. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +87 -0
  60. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +83 -0
  61. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +110 -0
  62. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +79 -0
  63. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +80 -0
  64. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +92 -0
  65. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +71 -0
  66. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +88 -0
  67. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +96 -0
  68. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +71 -0
  69. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +80 -0
  70. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +100 -0
  71. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +71 -0
  72. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +87 -0
  73. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +163 -0
  74. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +115 -0
  75. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +71 -0
  76. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +80 -0
  77. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +77 -0
  78. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +91 -0
  79. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +84 -0
  80. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +87 -0
  81. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +83 -0
  82. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +110 -0
  83. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +79 -0
  84. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +80 -0
  85. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +92 -0
  86. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +71 -0
  87. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +88 -0
  88. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +96 -0
  89. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +71 -0
  90. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +80 -0
  91. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +100 -0
  92. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +71 -0
  93. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +87 -0
  94. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +163 -0
  95. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +115 -0
  96. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +71 -0
  97. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +80 -0
  98. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +77 -0
  99. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +667 -0
  100. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +81 -0
  101. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +78 -0
  102. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +373 -0
  103. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +196 -0
  104. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +126 -0
  105. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +320 -0
  106. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +819 -0
  107. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +664 -0
  108. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +60 -0
  109. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +795 -0
  110. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +606 -0
  111. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +222 -0
  112. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +246 -0
  113. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +106 -0
  114. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +31 -0
  115. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +42 -0
  116. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_f.png +0 -0
  117. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_h.png +0 -0
  118. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/open.png +0 -0
  119. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__alias__data__s.html +108 -0
  120. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +235 -0
  121. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +1300 -0
  122. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +496 -0
  123. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +108 -0
  124. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +91 -0
  125. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +420 -0
  126. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +1229 -0
  127. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +97 -0
  128. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +91 -0
  129. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +413 -0
  130. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +91 -0
  131. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_a.png +0 -0
  132. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_b.png +0 -0
  133. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_h.png +0 -0
  134. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_s.png +0 -0
  135. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tabs.css +59 -0
  136. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +525 -0
  137. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +17 -0
  138. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +470 -0
  139. data/ext/nutcracker/contrib/yaml-0.1.4/libtool +8890 -0
  140. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +484 -0
  141. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +12 -0
  142. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
  143. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +12 -0
  144. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
  145. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +12 -0
  146. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
  147. data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +41 -0
  148. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +12 -0
  149. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
  150. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +12 -0
  151. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
  152. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +12 -0
  153. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
  154. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +12 -0
  155. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
  156. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +12 -0
  157. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
  158. data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +1 -0
  159. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +675 -0
  160. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor +0 -0
  161. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt +0 -0
  162. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.o +0 -0
  163. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.o +0 -0
  164. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter +0 -0
  165. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt +0 -0
  166. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.o +0 -0
  167. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.o +0 -0
  168. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper +0 -0
  169. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.o +0 -0
  170. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter +0 -0
  171. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.o +0 -0
  172. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader +0 -0
  173. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.o +0 -0
  174. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser +0 -0
  175. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.o +0 -0
  176. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner +0 -0
  177. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.o +0 -0
  178. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc +10 -0
  179. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +10 -0
  180. data/ext/nutcracker/extconf.rb +0 -5
  181. data/ext/nutcracker/libtool +9403 -0
  182. data/ext/nutcracker/m4/libtool.m4 +553 -492
  183. data/ext/nutcracker/m4/ltoptions.m4 +7 -6
  184. data/ext/nutcracker/m4/ltversion.m4 +5 -5
  185. data/ext/nutcracker/m4/lt~obsolete.m4 +9 -3
  186. data/ext/nutcracker/notes/c-styleguide.txt +0 -0
  187. data/ext/nutcracker/notes/debug.txt +0 -0
  188. data/ext/nutcracker/notes/memcache.txt +0 -0
  189. data/ext/nutcracker/notes/recommendation.md +21 -2
  190. data/ext/nutcracker/notes/redis.md +9 -9
  191. data/ext/nutcracker/notes/socket.txt +0 -0
  192. data/ext/nutcracker/scripts/nutcracker.init +0 -0
  193. data/ext/nutcracker/scripts/nutcracker.spec +0 -0
  194. data/ext/nutcracker/scripts/redis-check.py +0 -0
  195. data/ext/nutcracker/scripts/redis-check.sh +9 -0
  196. data/ext/nutcracker/src/Makefile +647 -0
  197. data/ext/nutcracker/src/Makefile.am +1 -1
  198. data/ext/nutcracker/src/Makefile.in +74 -153
  199. data/ext/nutcracker/src/hashkit/Makefile +476 -0
  200. data/ext/nutcracker/src/hashkit/Makefile.am +1 -0
  201. data/ext/nutcracker/src/hashkit/Makefile.in +39 -64
  202. data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
  203. data/ext/nutcracker/src/hashkit/nc_crc16.c +66 -0
  204. data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
  205. data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
  206. data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
  207. data/ext/nutcracker/src/hashkit/nc_fnv.c +0 -0
  208. data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
  209. data/ext/nutcracker/src/hashkit/nc_hashkit.h +2 -0
  210. data/ext/nutcracker/src/hashkit/nc_hsieh.c +0 -0
  211. data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
  212. data/ext/nutcracker/src/hashkit/nc_jenkins.c +0 -0
  213. data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
  214. data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
  215. data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
  216. data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
  217. data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
  218. data/ext/nutcracker/src/hashkit/nc_modula.c +18 -6
  219. data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
  220. data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
  221. data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
  222. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
  223. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
  224. data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
  225. data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
  226. data/ext/nutcracker/src/nc.c +0 -0
  227. data/ext/nutcracker/src/nc.o +0 -0
  228. data/ext/nutcracker/src/nc_array.c +0 -0
  229. data/ext/nutcracker/src/nc_array.h +0 -0
  230. data/ext/nutcracker/src/nc_array.o +0 -0
  231. data/ext/nutcracker/src/nc_client.c +0 -0
  232. data/ext/nutcracker/src/nc_client.h +0 -0
  233. data/ext/nutcracker/src/nc_client.o +0 -0
  234. data/ext/nutcracker/src/nc_conf.c +14 -35
  235. data/ext/nutcracker/src/nc_conf.h +1 -1
  236. data/ext/nutcracker/src/nc_conf.o +0 -0
  237. data/ext/nutcracker/src/nc_connection.c +0 -0
  238. data/ext/nutcracker/src/nc_connection.h +0 -0
  239. data/ext/nutcracker/src/nc_connection.o +0 -0
  240. data/ext/nutcracker/src/nc_core.c +29 -26
  241. data/ext/nutcracker/src/nc_core.h +13 -5
  242. data/ext/nutcracker/src/nc_core.o +0 -0
  243. data/ext/nutcracker/src/{nc_event.c → nc_epoll.c} +94 -30
  244. data/ext/nutcracker/src/nc_epoll.o +0 -0
  245. data/ext/nutcracker/src/nc_event.h +33 -13
  246. data/ext/nutcracker/src/nc_kqueue.c +296 -0
  247. data/ext/nutcracker/src/nc_kqueue.o +0 -0
  248. data/ext/nutcracker/src/nc_log.c +0 -0
  249. data/ext/nutcracker/src/nc_log.h +0 -0
  250. data/ext/nutcracker/src/nc_log.o +0 -0
  251. data/ext/nutcracker/src/nc_mbuf.c +0 -0
  252. data/ext/nutcracker/src/nc_mbuf.h +0 -0
  253. data/ext/nutcracker/src/nc_mbuf.o +0 -0
  254. data/ext/nutcracker/src/nc_message.c +0 -0
  255. data/ext/nutcracker/src/nc_message.h +2 -0
  256. data/ext/nutcracker/src/nc_message.o +0 -0
  257. data/ext/nutcracker/src/nc_proxy.c +8 -8
  258. data/ext/nutcracker/src/nc_proxy.h +0 -0
  259. data/ext/nutcracker/src/nc_proxy.o +0 -0
  260. data/ext/nutcracker/src/nc_queue.h +0 -0
  261. data/ext/nutcracker/src/nc_rbtree.c +0 -0
  262. data/ext/nutcracker/src/nc_rbtree.h +0 -0
  263. data/ext/nutcracker/src/nc_rbtree.o +0 -0
  264. data/ext/nutcracker/src/nc_request.c +3 -3
  265. data/ext/nutcracker/src/nc_request.o +0 -0
  266. data/ext/nutcracker/src/nc_response.c +4 -6
  267. data/ext/nutcracker/src/nc_response.o +0 -0
  268. data/ext/nutcracker/src/nc_server.c +14 -12
  269. data/ext/nutcracker/src/nc_server.h +0 -0
  270. data/ext/nutcracker/src/nc_server.o +0 -0
  271. data/ext/nutcracker/src/nc_signal.c +0 -0
  272. data/ext/nutcracker/src/nc_signal.h +0 -0
  273. data/ext/nutcracker/src/nc_signal.o +0 -0
  274. data/ext/nutcracker/src/nc_stats.c +16 -21
  275. data/ext/nutcracker/src/nc_stats.h +3 -4
  276. data/ext/nutcracker/src/nc_stats.o +0 -0
  277. data/ext/nutcracker/src/nc_string.c +0 -0
  278. data/ext/nutcracker/src/nc_string.h +0 -0
  279. data/ext/nutcracker/src/nc_string.o +0 -0
  280. data/ext/nutcracker/src/nc_util.c +16 -0
  281. data/ext/nutcracker/src/nc_util.h +1 -0
  282. data/ext/nutcracker/src/nc_util.o +0 -0
  283. data/ext/nutcracker/src/nutcracker +0 -0
  284. data/ext/nutcracker/src/proto/Makefile +454 -0
  285. data/ext/nutcracker/src/proto/Makefile.am +0 -0
  286. data/ext/nutcracker/src/proto/Makefile.in +32 -60
  287. data/ext/nutcracker/src/proto/libproto.a +0 -0
  288. data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
  289. data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
  290. data/ext/nutcracker/src/proto/nc_proto.h +0 -0
  291. data/ext/nutcracker/src/proto/nc_redis.c +17 -4
  292. data/ext/nutcracker/src/proto/nc_redis.o +0 -0
  293. data/ext/nutcracker/stamp-h1 +1 -0
  294. data/lib/nutcracker.rb +64 -2
  295. data/lib/nutcracker/version.rb +1 -1
  296. metadata +237 -9
@@ -29,7 +29,7 @@ nutcracker_SOURCES = \
29
29
  nc_request.c \
30
30
  nc_response.c \
31
31
  nc_mbuf.c nc_mbuf.h \
32
- nc_event.c nc_event.h \
32
+ nc_epoll.c nc_kqueue.c nc_event.h \
33
33
  nc_conf.c nc_conf.h \
34
34
  nc_stats.c nc_stats.h \
35
35
  nc_signal.c nc_signal.h \
@@ -1,9 +1,8 @@
1
- # Makefile.in generated by automake 1.11 from Makefile.am.
1
+ # Makefile.in generated by automake 1.10 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
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.
5
+ # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
6
  # This Makefile.in is free software; the Free Software Foundation
8
7
  # gives unlimited permission to copy and/or distribute it,
9
8
  # with or without modifications, as long as this notice is preserved.
@@ -17,9 +16,8 @@
17
16
 
18
17
  VPATH = @srcdir@
19
18
  pkgdatadir = $(datadir)/@PACKAGE@
20
- pkgincludedir = $(includedir)/@PACKAGE@
21
19
  pkglibdir = $(libdir)/@PACKAGE@
22
- pkglibexecdir = $(libexecdir)/@PACKAGE@
20
+ pkgincludedir = $(includedir)/@PACKAGE@
23
21
  am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
22
  install_sh_DATA = $(install_sh) -c -m 644
25
23
  install_sh_PROGRAM = $(install_sh) -c
@@ -47,24 +45,24 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47
45
  mkinstalldirs = $(install_sh) -d
48
46
  CONFIG_HEADER = $(top_builddir)/config.h
49
47
  CONFIG_CLEAN_FILES =
50
- CONFIG_CLEAN_VPATH_FILES =
51
48
  am__installdirs = "$(DESTDIR)$(bindir)"
49
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
52
50
  PROGRAMS = $(bin_PROGRAMS)
53
51
  am_nutcracker_OBJECTS = nc_core.$(OBJEXT) nc_connection.$(OBJEXT) \
54
52
  nc_client.$(OBJEXT) nc_server.$(OBJEXT) nc_proxy.$(OBJEXT) \
55
53
  nc_message.$(OBJEXT) nc_request.$(OBJEXT) \
56
- nc_response.$(OBJEXT) nc_mbuf.$(OBJEXT) nc_event.$(OBJEXT) \
57
- nc_conf.$(OBJEXT) nc_stats.$(OBJEXT) nc_signal.$(OBJEXT) \
58
- nc_rbtree.$(OBJEXT) nc_log.$(OBJEXT) nc_string.$(OBJEXT) \
59
- nc_array.$(OBJEXT) nc_util.$(OBJEXT) nc.$(OBJEXT)
54
+ nc_response.$(OBJEXT) nc_mbuf.$(OBJEXT) nc_epoll.$(OBJEXT) \
55
+ nc_kqueue.$(OBJEXT) nc_conf.$(OBJEXT) nc_stats.$(OBJEXT) \
56
+ nc_signal.$(OBJEXT) nc_rbtree.$(OBJEXT) nc_log.$(OBJEXT) \
57
+ nc_string.$(OBJEXT) nc_array.$(OBJEXT) nc_util.$(OBJEXT) \
58
+ nc.$(OBJEXT)
60
59
  nutcracker_OBJECTS = $(am_nutcracker_OBJECTS)
61
60
  nutcracker_DEPENDENCIES = $(top_builddir)/src/hashkit/libhashkit.a \
62
61
  $(top_builddir)/src/proto/libproto.a \
63
62
  $(top_builddir)/contrib/yaml-0.1.4/src/.libs/libyaml.a
64
- DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
63
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
65
64
  depcomp = $(SHELL) $(top_srcdir)/config/depcomp
66
65
  am__depfiles_maybe = depfiles
67
- am__mv = mv -f
68
66
  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
69
67
  $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
70
68
  LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
@@ -85,38 +83,10 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
85
83
  ps-recursive uninstall-recursive
86
84
  RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
87
85
  distclean-recursive maintainer-clean-recursive
88
- AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
89
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
90
- distdir
91
86
  ETAGS = etags
92
87
  CTAGS = ctags
93
88
  DIST_SUBDIRS = $(SUBDIRS)
94
89
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
95
- am__relativize = \
96
- dir0=`pwd`; \
97
- sed_first='s,^\([^/]*\)/.*$$,\1,'; \
98
- sed_rest='s,^[^/]*/*,,'; \
99
- sed_last='s,^.*/\([^/]*\)$$,\1,'; \
100
- sed_butlast='s,/*[^/]*$$,,'; \
101
- while test -n "$$dir1"; do \
102
- first=`echo "$$dir1" | sed -e "$$sed_first"`; \
103
- if test "$$first" != "."; then \
104
- if test "$$first" = ".."; then \
105
- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
106
- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
107
- else \
108
- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
109
- if test "$$first2" = "$$first"; then \
110
- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
111
- else \
112
- dir2="../$$dir2"; \
113
- fi; \
114
- dir0="$$dir0"/"$$first"; \
115
- fi; \
116
- fi; \
117
- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
118
- done; \
119
- reldir="$$dir2"
120
90
  ACLOCAL = @ACLOCAL@
121
91
  AMTAR = @AMTAR@
122
92
  AR = @AR@
@@ -217,7 +187,6 @@ libdir = @libdir@
217
187
  libexecdir = @libexecdir@
218
188
  localedir = @localedir@
219
189
  localstatedir = @localstatedir@
220
- lt_ECHO = @lt_ECHO@
221
190
  mandir = @mandir@
222
191
  mkdir_p = @mkdir_p@
223
192
  oldincludedir = @oldincludedir@
@@ -255,7 +224,7 @@ nutcracker_SOURCES = \
255
224
  nc_request.c \
256
225
  nc_response.c \
257
226
  nc_mbuf.c nc_mbuf.h \
258
- nc_event.c nc_event.h \
227
+ nc_epoll.c nc_kqueue.c nc_event.h \
259
228
  nc_conf.c nc_conf.h \
260
229
  nc_stats.c nc_stats.h \
261
230
  nc_signal.c nc_signal.h \
@@ -278,14 +247,14 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
278
247
  @for dep in $?; do \
279
248
  case '$(am__configure_deps)' in \
280
249
  *$$dep*) \
281
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
282
- && { if test -f $@; then exit 0; else break; fi; }; \
250
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
251
+ && exit 0; \
283
252
  exit 1;; \
284
253
  esac; \
285
254
  done; \
286
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
287
- $(am__cd) $(top_srcdir) && \
288
- $(AUTOMAKE) --foreign src/Makefile
255
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
256
+ cd $(top_srcdir) && \
257
+ $(AUTOMAKE) --foreign src/Makefile
289
258
  .PRECIOUS: Makefile
290
259
  Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
291
260
  @case '$?' in \
@@ -303,50 +272,34 @@ $(top_srcdir)/configure: $(am__configure_deps)
303
272
  cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
304
273
  $(ACLOCAL_M4): $(am__aclocal_m4_deps)
305
274
  cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
306
- $(am__aclocal_m4_deps):
307
275
  install-binPROGRAMS: $(bin_PROGRAMS)
308
276
  @$(NORMAL_INSTALL)
309
277
  test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
310
- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
311
- for p in $$list; do echo "$$p $$p"; done | \
312
- sed 's/$(EXEEXT)$$//' | \
313
- while read p p1; do if test -f $$p || test -f $$p1; \
314
- then echo "$$p"; echo "$$p"; else :; fi; \
315
- done | \
316
- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
317
- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
318
- sed 'N;N;N;s,\n, ,g' | \
319
- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
320
- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
321
- if ($$2 == $$4) files[d] = files[d] " " $$1; \
322
- else { print "f", $$3 "/" $$4, $$1; } } \
323
- END { for (d in files) print "f", d, files[d] }' | \
324
- while read type dir files; do \
325
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
326
- test -z "$$files" || { \
327
- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
328
- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
329
- } \
330
- ; done
278
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
279
+ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
280
+ if test -f $$p \
281
+ || test -f $$p1 \
282
+ ; then \
283
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
284
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
285
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
286
+ else :; fi; \
287
+ done
331
288
 
332
289
  uninstall-binPROGRAMS:
333
290
  @$(NORMAL_UNINSTALL)
334
- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
335
- files=`for p in $$list; do echo "$$p"; done | \
336
- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
337
- -e 's/$$/$(EXEEXT)/' `; \
338
- test -n "$$list" || exit 0; \
339
- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
340
- cd "$(DESTDIR)$(bindir)" && rm -f $$files
291
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
292
+ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
293
+ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
294
+ rm -f "$(DESTDIR)$(bindir)/$$f"; \
295
+ done
341
296
 
342
297
  clean-binPROGRAMS:
343
- @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
344
- echo " rm -f" $$list; \
345
- rm -f $$list || exit $$?; \
346
- test -n "$(EXEEXT)" || exit 0; \
347
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
348
- echo " rm -f" $$list; \
349
- rm -f $$list
298
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
299
+ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
300
+ echo " rm -f $$p $$f"; \
301
+ rm -f $$p $$f ; \
302
+ done
350
303
  nutcracker$(EXEEXT): $(nutcracker_OBJECTS) $(nutcracker_DEPENDENCIES)
351
304
  @rm -f nutcracker$(EXEEXT)
352
305
  $(LINK) $(nutcracker_OBJECTS) $(nutcracker_LDADD) $(LIBS)
@@ -363,7 +316,8 @@ distclean-compile:
363
316
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_conf.Po@am__quote@
364
317
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_connection.Po@am__quote@
365
318
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_core.Po@am__quote@
366
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_event.Po@am__quote@
319
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_epoll.Po@am__quote@
320
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_kqueue.Po@am__quote@
367
321
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_log.Po@am__quote@
368
322
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_mbuf.Po@am__quote@
369
323
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_message.Po@am__quote@
@@ -379,21 +333,21 @@ distclean-compile:
379
333
 
380
334
  .c.o:
381
335
  @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
382
- @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
336
+ @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
383
337
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
384
338
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
385
339
  @am__fastdepCC_FALSE@ $(COMPILE) -c $<
386
340
 
387
341
  .c.obj:
388
342
  @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
389
- @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
343
+ @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
390
344
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
391
345
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
392
346
  @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
393
347
 
394
348
  .c.lo:
395
349
  @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
396
- @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
350
+ @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
397
351
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
398
352
  @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
399
353
  @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
@@ -428,7 +382,7 @@ $(RECURSIVE_TARGETS):
428
382
  else \
429
383
  local_target="$$target"; \
430
384
  fi; \
431
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
385
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
432
386
  || eval $$failcom; \
433
387
  done; \
434
388
  if test "$$dot_seen" = "no"; then \
@@ -462,16 +416,16 @@ $(RECURSIVE_CLEAN_TARGETS):
462
416
  else \
463
417
  local_target="$$target"; \
464
418
  fi; \
465
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
419
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
466
420
  || eval $$failcom; \
467
421
  done && test -z "$$fail"
468
422
  tags-recursive:
469
423
  list='$(SUBDIRS)'; for subdir in $$list; do \
470
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
424
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
471
425
  done
472
426
  ctags-recursive:
473
427
  list='$(SUBDIRS)'; for subdir in $$list; do \
474
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
428
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
475
429
  done
476
430
 
477
431
  ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -479,14 +433,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
479
433
  unique=`for i in $$list; do \
480
434
  if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
481
435
  done | \
482
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
483
- END { if (nonempty) { for (i in files) print i; }; }'`; \
436
+ $(AWK) ' { files[$$0] = 1; } \
437
+ END { for (i in files) print i; }'`; \
484
438
  mkid -fID $$unique
485
439
  tags: TAGS
486
440
 
487
441
  TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
488
442
  $(TAGS_FILES) $(LISP)
489
- set x; \
443
+ tags=; \
490
444
  here=`pwd`; \
491
445
  if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
492
446
  include_option=--etags-include; \
@@ -498,43 +452,39 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
498
452
  list='$(SUBDIRS)'; for subdir in $$list; do \
499
453
  if test "$$subdir" = .; then :; else \
500
454
  test ! -f $$subdir/TAGS || \
501
- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
455
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
502
456
  fi; \
503
457
  done; \
504
458
  list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
505
459
  unique=`for i in $$list; do \
506
460
  if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
507
461
  done | \
508
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
509
- END { if (nonempty) { for (i in files) print i; }; }'`; \
510
- shift; \
511
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
462
+ $(AWK) ' { files[$$0] = 1; } \
463
+ END { for (i in files) print i; }'`; \
464
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
512
465
  test -n "$$unique" || unique=$$empty_fix; \
513
- if test $$# -gt 0; then \
514
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
515
- "$$@" $$unique; \
516
- else \
517
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
518
- $$unique; \
519
- fi; \
466
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
467
+ $$tags $$unique; \
520
468
  fi
521
469
  ctags: CTAGS
522
470
  CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
523
471
  $(TAGS_FILES) $(LISP)
472
+ tags=; \
473
+ here=`pwd`; \
524
474
  list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
525
475
  unique=`for i in $$list; do \
526
476
  if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
527
477
  done | \
528
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
529
- END { if (nonempty) { for (i in files) print i; }; }'`; \
530
- test -z "$(CTAGS_ARGS)$$unique" \
478
+ $(AWK) ' { files[$$0] = 1; } \
479
+ END { for (i in files) print i; }'`; \
480
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
531
481
  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
532
- $$unique
482
+ $$tags $$unique
533
483
 
534
484
  GTAGS:
535
485
  here=`$(am__cd) $(top_builddir) && pwd` \
536
- && $(am__cd) $(top_srcdir) \
537
- && gtags -i $(GTAGS_ARGS) "$$here"
486
+ && cd $(top_srcdir) \
487
+ && gtags -i $(GTAGS_ARGS) $$here
538
488
 
539
489
  distclean-tags:
540
490
  -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
@@ -555,44 +505,29 @@ distdir: $(DISTFILES)
555
505
  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
556
506
  if test -d $$d/$$file; then \
557
507
  dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
558
- if test -d "$(distdir)/$$file"; then \
559
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
560
- fi; \
561
508
  if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
562
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
563
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
509
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
564
510
  fi; \
565
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
511
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
566
512
  else \
567
- test -f "$(distdir)/$$file" \
568
- || cp -p $$d/$$file "$(distdir)/$$file" \
513
+ test -f $(distdir)/$$file \
514
+ || cp -p $$d/$$file $(distdir)/$$file \
569
515
  || exit 1; \
570
516
  fi; \
571
517
  done
572
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
518
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
573
519
  if test "$$subdir" = .; then :; else \
574
520
  test -d "$(distdir)/$$subdir" \
575
521
  || $(MKDIR_P) "$(distdir)/$$subdir" \
576
522
  || exit 1; \
577
- fi; \
578
- done
579
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
580
- if test "$$subdir" = .; then :; else \
581
- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
582
- $(am__relativize); \
583
- new_distdir=$$reldir; \
584
- dir1=$$subdir; dir2="$(top_distdir)"; \
585
- $(am__relativize); \
586
- new_top_distdir=$$reldir; \
587
- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
588
- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
589
- ($(am__cd) $$subdir && \
523
+ distdir=`$(am__cd) $(distdir) && pwd`; \
524
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
525
+ (cd $$subdir && \
590
526
  $(MAKE) $(AM_MAKEFLAGS) \
591
- top_distdir="$$new_top_distdir" \
592
- distdir="$$new_distdir" \
527
+ top_distdir="$$top_distdir" \
528
+ distdir="$$distdir/$$subdir" \
593
529
  am__remove_distdir=: \
594
530
  am__skip_length_check=: \
595
- am__skip_mode_fix=: \
596
531
  distdir) \
597
532
  || exit 1; \
598
533
  fi; \
@@ -625,7 +560,6 @@ clean-generic:
625
560
 
626
561
  distclean-generic:
627
562
  -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
628
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
629
563
 
630
564
  maintainer-clean-generic:
631
565
  @echo "This command is intended for maintainers to use"
@@ -647,8 +581,6 @@ dvi-am:
647
581
 
648
582
  html: html-recursive
649
583
 
650
- html-am:
651
-
652
584
  info: info-recursive
653
585
 
654
586
  info-am:
@@ -657,28 +589,18 @@ install-data-am:
657
589
 
658
590
  install-dvi: install-dvi-recursive
659
591
 
660
- install-dvi-am:
661
-
662
592
  install-exec-am: install-binPROGRAMS
663
593
 
664
594
  install-html: install-html-recursive
665
595
 
666
- install-html-am:
667
-
668
596
  install-info: install-info-recursive
669
597
 
670
- install-info-am:
671
-
672
598
  install-man:
673
599
 
674
600
  install-pdf: install-pdf-recursive
675
601
 
676
- install-pdf-am:
677
-
678
602
  install-ps: install-ps-recursive
679
603
 
680
- install-ps-am:
681
-
682
604
  installcheck-am:
683
605
 
684
606
  maintainer-clean: maintainer-clean-recursive
@@ -701,8 +623,8 @@ ps-am:
701
623
 
702
624
  uninstall-am: uninstall-binPROGRAMS
703
625
 
704
- .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
705
- install-am install-strip tags-recursive
626
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
627
+ install-strip
706
628
 
707
629
  .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
708
630
  all all-am check check-am clean clean-binPROGRAMS \
@@ -720,7 +642,6 @@ uninstall-am: uninstall-binPROGRAMS
720
642
  tags tags-recursive uninstall uninstall-am \
721
643
  uninstall-binPROGRAMS
722
644
 
723
-
724
645
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
725
646
  # Otherwise a system limit (for SysV at least) may be exceeded.
726
647
  .NOEXPORT: