prestogres 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (393) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +20 -0
  4. data/LICENSE +202 -0
  5. data/NOTICE +22 -0
  6. data/README.md +217 -0
  7. data/Rakefile +13 -0
  8. data/VERSION +1 -0
  9. data/bin/prestogres +254 -0
  10. data/config/pcp.conf.sample +28 -0
  11. data/config/pgpool.conf +678 -0
  12. data/config/pool_hba.conf +84 -0
  13. data/config/pool_passwd +0 -0
  14. data/config/postgresql.conf +2 -0
  15. data/ext/.gitignore +6 -0
  16. data/ext/depend +26 -0
  17. data/ext/extconf.rb +4 -0
  18. data/ext/prestogres_config.c +12 -0
  19. data/pgpool2/.gitignore +36 -0
  20. data/pgpool2/AUTHORS +4 -0
  21. data/pgpool2/COPYING +12 -0
  22. data/pgpool2/ChangeLog +1 -0
  23. data/pgpool2/INSTALL +1 -0
  24. data/pgpool2/Makefile.am +159 -0
  25. data/pgpool2/Makefile.in +1187 -0
  26. data/pgpool2/NEWS +4960 -0
  27. data/pgpool2/README +1 -0
  28. data/pgpool2/README.euc_jp +1 -0
  29. data/pgpool2/README.online-recovery +62 -0
  30. data/pgpool2/TODO +103 -0
  31. data/pgpool2/ac_func_accept_argtypes.m4 +85 -0
  32. data/pgpool2/aclocal.m4 +1088 -0
  33. data/pgpool2/c-compiler.m4 +134 -0
  34. data/pgpool2/c-library.m4 +325 -0
  35. data/pgpool2/child.c +2097 -0
  36. data/pgpool2/config.guess +1532 -0
  37. data/pgpool2/config.h.in +332 -0
  38. data/pgpool2/config.sub +1640 -0
  39. data/pgpool2/configure +15752 -0
  40. data/pgpool2/configure.in +392 -0
  41. data/pgpool2/depcomp +522 -0
  42. data/pgpool2/doc/basebackup.sh +17 -0
  43. data/pgpool2/doc/pgpool-de.html +4220 -0
  44. data/pgpool2/doc/pgpool-en.html +5738 -0
  45. data/pgpool2/doc/pgpool-fr.html +4118 -0
  46. data/pgpool2/doc/pgpool-ja.css +198 -0
  47. data/pgpool2/doc/pgpool-ja.html +11279 -0
  48. data/pgpool2/doc/pgpool-zh_cn.html +4445 -0
  49. data/pgpool2/doc/pgpool.css +280 -0
  50. data/pgpool2/doc/pgpool_remote_start +13 -0
  51. data/pgpool2/doc/recovery.conf.sample +117 -0
  52. data/pgpool2/doc/tutorial-en.html +707 -0
  53. data/pgpool2/doc/tutorial-ja.html +422 -0
  54. data/pgpool2/doc/tutorial-memqcache-en.html +325 -0
  55. data/pgpool2/doc/tutorial-memqcache-ja.html +370 -0
  56. data/pgpool2/doc/tutorial-memqcache-zh_cn.html +322 -0
  57. data/pgpool2/doc/tutorial-watchdog-en.html +306 -0
  58. data/pgpool2/doc/tutorial-watchdog-ja.html +343 -0
  59. data/pgpool2/doc/tutorial-watchdog-zh_cn.html +301 -0
  60. data/pgpool2/doc/tutorial-zh_cn.html +537 -0
  61. data/pgpool2/doc/watchdog.png +0 -0
  62. data/pgpool2/doc/wd-en.html +236 -0
  63. data/pgpool2/doc/wd-en.jpg +0 -0
  64. data/pgpool2/doc/wd-ja.html +219 -0
  65. data/pgpool2/doc/wd-ja.jpg +0 -0
  66. data/pgpool2/doc/wd-zh_cn.html +201 -0
  67. data/pgpool2/doc/where_to_send_queries.odg +0 -0
  68. data/pgpool2/doc/where_to_send_queries.pdf +0 -0
  69. data/pgpool2/general.m4 +166 -0
  70. data/pgpool2/getopt_long.c +200 -0
  71. data/pgpool2/getopt_long.h +44 -0
  72. data/pgpool2/install-sh +251 -0
  73. data/pgpool2/ltmain.sh +8406 -0
  74. data/pgpool2/m4/libtool.m4 +7360 -0
  75. data/pgpool2/m4/ltoptions.m4 +368 -0
  76. data/pgpool2/m4/ltsugar.m4 +123 -0
  77. data/pgpool2/m4/ltversion.m4 +23 -0
  78. data/pgpool2/m4/lt~obsolete.m4 +92 -0
  79. data/pgpool2/main.c +2971 -0
  80. data/pgpool2/md5.c +444 -0
  81. data/pgpool2/md5.h +28 -0
  82. data/pgpool2/missing +360 -0
  83. data/pgpool2/mkinstalldirs +40 -0
  84. data/pgpool2/parser/Makefile.am +50 -0
  85. data/pgpool2/parser/Makefile.in +559 -0
  86. data/pgpool2/parser/copyfuncs.c +3310 -0
  87. data/pgpool2/parser/gram.c +39100 -0
  88. data/pgpool2/parser/gram.h +940 -0
  89. data/pgpool2/parser/gram.y +13408 -0
  90. data/pgpool2/parser/gramparse.h +74 -0
  91. data/pgpool2/parser/keywords.c +32 -0
  92. data/pgpool2/parser/keywords.h +39 -0
  93. data/pgpool2/parser/kwlist.h +425 -0
  94. data/pgpool2/parser/kwlookup.c +88 -0
  95. data/pgpool2/parser/list.c +1156 -0
  96. data/pgpool2/parser/makefuncs.c +518 -0
  97. data/pgpool2/parser/makefuncs.h +83 -0
  98. data/pgpool2/parser/memnodes.h +79 -0
  99. data/pgpool2/parser/nodes.c +29 -0
  100. data/pgpool2/parser/nodes.h +609 -0
  101. data/pgpool2/parser/outfuncs.c +5790 -0
  102. data/pgpool2/parser/parsenodes.h +2615 -0
  103. data/pgpool2/parser/parser.c +262 -0
  104. data/pgpool2/parser/parser.h +46 -0
  105. data/pgpool2/parser/pg_class.h +158 -0
  106. data/pgpool2/parser/pg_config_manual.h +273 -0
  107. data/pgpool2/parser/pg_list.h +352 -0
  108. data/pgpool2/parser/pg_trigger.h +147 -0
  109. data/pgpool2/parser/pg_wchar.h +492 -0
  110. data/pgpool2/parser/pool_memory.c +342 -0
  111. data/pgpool2/parser/pool_memory.h +77 -0
  112. data/pgpool2/parser/pool_parser.h +222 -0
  113. data/pgpool2/parser/pool_string.c +121 -0
  114. data/pgpool2/parser/pool_string.h +37 -0
  115. data/pgpool2/parser/primnodes.h +1280 -0
  116. data/pgpool2/parser/scan.c +4094 -0
  117. data/pgpool2/parser/scan.l +1451 -0
  118. data/pgpool2/parser/scanner.h +120 -0
  119. data/pgpool2/parser/scansup.c +221 -0
  120. data/pgpool2/parser/scansup.h +28 -0
  121. data/pgpool2/parser/snprintf.c +1102 -0
  122. data/pgpool2/parser/stringinfo.c +294 -0
  123. data/pgpool2/parser/stringinfo.h +178 -0
  124. data/pgpool2/parser/value.c +78 -0
  125. data/pgpool2/parser/value.h +62 -0
  126. data/pgpool2/parser/wchar.c +2048 -0
  127. data/pgpool2/pcp.conf.sample +28 -0
  128. data/pgpool2/pcp/Makefile.am +40 -0
  129. data/pgpool2/pcp/Makefile.in +771 -0
  130. data/pgpool2/pcp/libpcp_ext.h +250 -0
  131. data/pgpool2/pcp/md5.c +444 -0
  132. data/pgpool2/pcp/md5.h +28 -0
  133. data/pgpool2/pcp/pcp.c +1652 -0
  134. data/pgpool2/pcp/pcp.h +61 -0
  135. data/pgpool2/pcp/pcp_attach_node.c +172 -0
  136. data/pgpool2/pcp/pcp_detach_node.c +185 -0
  137. data/pgpool2/pcp/pcp_error.c +87 -0
  138. data/pgpool2/pcp/pcp_node_count.c +160 -0
  139. data/pgpool2/pcp/pcp_node_info.c +198 -0
  140. data/pgpool2/pcp/pcp_pool_status.c +166 -0
  141. data/pgpool2/pcp/pcp_proc_count.c +166 -0
  142. data/pgpool2/pcp/pcp_proc_info.c +261 -0
  143. data/pgpool2/pcp/pcp_promote_node.c +185 -0
  144. data/pgpool2/pcp/pcp_recovery_node.c +172 -0
  145. data/pgpool2/pcp/pcp_stop_pgpool.c +179 -0
  146. data/pgpool2/pcp/pcp_stream.c +385 -0
  147. data/pgpool2/pcp/pcp_stream.h +52 -0
  148. data/pgpool2/pcp/pcp_systemdb_info.c +194 -0
  149. data/pgpool2/pcp/pcp_watchdog_info.c +211 -0
  150. data/pgpool2/pcp_child.c +1493 -0
  151. data/pgpool2/pg_md5.c +305 -0
  152. data/pgpool2/pgpool.8.in +121 -0
  153. data/pgpool2/pgpool.conf +553 -0
  154. data/pgpool2/pgpool.conf.sample +666 -0
  155. data/pgpool2/pgpool.conf.sample-master-slave +665 -0
  156. data/pgpool2/pgpool.conf.sample-replication +664 -0
  157. data/pgpool2/pgpool.conf.sample-stream +664 -0
  158. data/pgpool2/pgpool.spec +264 -0
  159. data/pgpool2/pgpool_adm/TODO +7 -0
  160. data/pgpool2/pgpool_adm/pgpool_adm--1.0.sql +85 -0
  161. data/pgpool2/pgpool_adm/pgpool_adm.c +558 -0
  162. data/pgpool2/pgpool_adm/pgpool_adm.control +5 -0
  163. data/pgpool2/pgpool_adm/pgpool_adm.h +46 -0
  164. data/pgpool2/pgpool_adm/pgpool_adm.sql.in +85 -0
  165. data/pgpool2/pool.h +655 -0
  166. data/pgpool2/pool_auth.c +1390 -0
  167. data/pgpool2/pool_config.c +5007 -0
  168. data/pgpool2/pool_config.h +284 -0
  169. data/pgpool2/pool_config.l +3281 -0
  170. data/pgpool2/pool_config_md5.c +29 -0
  171. data/pgpool2/pool_connection_pool.c +812 -0
  172. data/pgpool2/pool_error.c +242 -0
  173. data/pgpool2/pool_globals.c +27 -0
  174. data/pgpool2/pool_hba.c +1723 -0
  175. data/pgpool2/pool_hba.conf.sample +67 -0
  176. data/pgpool2/pool_ip.c +567 -0
  177. data/pgpool2/pool_ip.h +65 -0
  178. data/pgpool2/pool_ipc.h +38 -0
  179. data/pgpool2/pool_lobj.c +242 -0
  180. data/pgpool2/pool_lobj.h +32 -0
  181. data/pgpool2/pool_memqcache.c +3818 -0
  182. data/pgpool2/pool_memqcache.h +268 -0
  183. data/pgpool2/pool_params.c +163 -0
  184. data/pgpool2/pool_passwd.c +249 -0
  185. data/pgpool2/pool_passwd.h +41 -0
  186. data/pgpool2/pool_path.c +193 -0
  187. data/pgpool2/pool_path.h +81 -0
  188. data/pgpool2/pool_process_context.c +247 -0
  189. data/pgpool2/pool_process_context.h +62 -0
  190. data/pgpool2/pool_process_query.c +5001 -0
  191. data/pgpool2/pool_process_reporting.c +1671 -0
  192. data/pgpool2/pool_process_reporting.h +44 -0
  193. data/pgpool2/pool_proto2.c +671 -0
  194. data/pgpool2/pool_proto_modules.c +3524 -0
  195. data/pgpool2/pool_proto_modules.h +185 -0
  196. data/pgpool2/pool_query_cache.c +1020 -0
  197. data/pgpool2/pool_query_context.c +1871 -0
  198. data/pgpool2/pool_query_context.h +105 -0
  199. data/pgpool2/pool_relcache.c +284 -0
  200. data/pgpool2/pool_relcache.h +78 -0
  201. data/pgpool2/pool_rewrite_outfuncs.c +9060 -0
  202. data/pgpool2/pool_rewrite_query.c +715 -0
  203. data/pgpool2/pool_rewrite_query.h +192 -0
  204. data/pgpool2/pool_select_walker.c +1150 -0
  205. data/pgpool2/pool_select_walker.h +68 -0
  206. data/pgpool2/pool_sema.c +161 -0
  207. data/pgpool2/pool_session_context.c +952 -0
  208. data/pgpool2/pool_session_context.h +203 -0
  209. data/pgpool2/pool_shmem.c +185 -0
  210. data/pgpool2/pool_signal.c +158 -0
  211. data/pgpool2/pool_signal.h +61 -0
  212. data/pgpool2/pool_ssl.c +339 -0
  213. data/pgpool2/pool_stream.c +962 -0
  214. data/pgpool2/pool_stream.h +61 -0
  215. data/pgpool2/pool_system.c +659 -0
  216. data/pgpool2/pool_timestamp.c +1215 -0
  217. data/pgpool2/pool_timestamp.h +38 -0
  218. data/pgpool2/pool_type.h +171 -0
  219. data/pgpool2/pool_worker_child.c +384 -0
  220. data/pgpool2/ps_status.c +404 -0
  221. data/pgpool2/recovery.c +435 -0
  222. data/pgpool2/redhat/pgpool.conf.sample.patch +52 -0
  223. data/pgpool2/redhat/pgpool.init +201 -0
  224. data/pgpool2/redhat/pgpool.sysconfig +7 -0
  225. data/pgpool2/redhat/rpm_installer/basebackup-replication.sh +53 -0
  226. data/pgpool2/redhat/rpm_installer/basebackup-stream.sh +55 -0
  227. data/pgpool2/redhat/rpm_installer/config_for_script +17 -0
  228. data/pgpool2/redhat/rpm_installer/failover.sh +64 -0
  229. data/pgpool2/redhat/rpm_installer/getsources.sh +141 -0
  230. data/pgpool2/redhat/rpm_installer/install.sh +1363 -0
  231. data/pgpool2/redhat/rpm_installer/pgpool_recovery_pitr +47 -0
  232. data/pgpool2/redhat/rpm_installer/pgpool_remote_start +15 -0
  233. data/pgpool2/redhat/rpm_installer/recovery.conf +4 -0
  234. data/pgpool2/redhat/rpm_installer/uninstall.sh +57 -0
  235. data/pgpool2/sample/dist_def_pgbench.sql +73 -0
  236. data/pgpool2/sample/pgpool.pam +3 -0
  237. data/pgpool2/sample/pgpool_recovery +20 -0
  238. data/pgpool2/sample/pgpool_recovery_pitr +19 -0
  239. data/pgpool2/sample/pgpool_remote_start +13 -0
  240. data/pgpool2/sample/replicate_def_pgbench.sql +18 -0
  241. data/pgpool2/sql/insert_lock.sql +15 -0
  242. data/pgpool2/sql/pgpool-recovery/pgpool-recovery.c +280 -0
  243. data/pgpool2/sql/pgpool-recovery/pgpool-recovery.sql.in +19 -0
  244. data/pgpool2/sql/pgpool-recovery/pgpool_recovery--1.0.sql +24 -0
  245. data/pgpool2/sql/pgpool-recovery/pgpool_recovery.control +5 -0
  246. data/pgpool2/sql/pgpool-recovery/uninstall_pgpool-recovery.sql +3 -0
  247. data/pgpool2/sql/pgpool-regclass/pgpool-regclass.c +206 -0
  248. data/pgpool2/sql/pgpool-regclass/pgpool-regclass.sql.in +4 -0
  249. data/pgpool2/sql/pgpool-regclass/pgpool_regclass--1.0.sql +7 -0
  250. data/pgpool2/sql/pgpool-regclass/pgpool_regclass.control +5 -0
  251. data/pgpool2/sql/pgpool-regclass/uninstall_pgpool-regclass.sql +1 -0
  252. data/pgpool2/sql/system_db.sql +38 -0
  253. data/pgpool2/strlcpy.c +85 -0
  254. data/pgpool2/test/C/test_extended.c +98 -0
  255. data/pgpool2/test/jdbc/.cvsignore +2 -0
  256. data/pgpool2/test/jdbc/AutoCommitTest.java +45 -0
  257. data/pgpool2/test/jdbc/BatchTest.java +55 -0
  258. data/pgpool2/test/jdbc/ColumnTest.java +60 -0
  259. data/pgpool2/test/jdbc/CreateTempTableTest.java +48 -0
  260. data/pgpool2/test/jdbc/InsertTest.java +34 -0
  261. data/pgpool2/test/jdbc/LockTest.java +36 -0
  262. data/pgpool2/test/jdbc/PgpoolTest.java +75 -0
  263. data/pgpool2/test/jdbc/README.euc_jp +73 -0
  264. data/pgpool2/test/jdbc/RunTest.java +83 -0
  265. data/pgpool2/test/jdbc/SelectTest.java +37 -0
  266. data/pgpool2/test/jdbc/UpdateTest.java +32 -0
  267. data/pgpool2/test/jdbc/expected/CreateTempTable +1 -0
  268. data/pgpool2/test/jdbc/expected/autocommit +10 -0
  269. data/pgpool2/test/jdbc/expected/batch +1 -0
  270. data/pgpool2/test/jdbc/expected/column +100 -0
  271. data/pgpool2/test/jdbc/expected/insert +1 -0
  272. data/pgpool2/test/jdbc/expected/lock +100 -0
  273. data/pgpool2/test/jdbc/expected/select +2 -0
  274. data/pgpool2/test/jdbc/expected/update +1 -0
  275. data/pgpool2/test/jdbc/pgpool.properties +7 -0
  276. data/pgpool2/test/jdbc/prepare.sql +54 -0
  277. data/pgpool2/test/jdbc/run.sh +6 -0
  278. data/pgpool2/test/parser/.cvsignore +6 -0
  279. data/pgpool2/test/parser/README +32 -0
  280. data/pgpool2/test/parser/expected/copy.out +17 -0
  281. data/pgpool2/test/parser/expected/create.out +64 -0
  282. data/pgpool2/test/parser/expected/cursor.out +37 -0
  283. data/pgpool2/test/parser/expected/delete.out +10 -0
  284. data/pgpool2/test/parser/expected/drop.out +12 -0
  285. data/pgpool2/test/parser/expected/insert.out +13 -0
  286. data/pgpool2/test/parser/expected/misc.out +28 -0
  287. data/pgpool2/test/parser/expected/prepare.out +4 -0
  288. data/pgpool2/test/parser/expected/privileges.out +31 -0
  289. data/pgpool2/test/parser/expected/scanner.out +30 -0
  290. data/pgpool2/test/parser/expected/select.out +89 -0
  291. data/pgpool2/test/parser/expected/transaction.out +38 -0
  292. data/pgpool2/test/parser/expected/update.out +11 -0
  293. data/pgpool2/test/parser/expected/v84.out +37 -0
  294. data/pgpool2/test/parser/expected/v90.out +25 -0
  295. data/pgpool2/test/parser/expected/var.out +22 -0
  296. data/pgpool2/test/parser/input/alter.sql +2 -0
  297. data/pgpool2/test/parser/input/copy.sql +17 -0
  298. data/pgpool2/test/parser/input/create.sql +64 -0
  299. data/pgpool2/test/parser/input/cursor.sql +37 -0
  300. data/pgpool2/test/parser/input/delete.sql +10 -0
  301. data/pgpool2/test/parser/input/drop.sql +12 -0
  302. data/pgpool2/test/parser/input/insert.sql +13 -0
  303. data/pgpool2/test/parser/input/misc.sql +28 -0
  304. data/pgpool2/test/parser/input/prepare.sql +4 -0
  305. data/pgpool2/test/parser/input/privileges.sql +31 -0
  306. data/pgpool2/test/parser/input/scanner.sql +34 -0
  307. data/pgpool2/test/parser/input/select.sql +89 -0
  308. data/pgpool2/test/parser/input/transaction.sql +38 -0
  309. data/pgpool2/test/parser/input/update.sql +11 -0
  310. data/pgpool2/test/parser/input/v84.sql +37 -0
  311. data/pgpool2/test/parser/input/v90.sql +38 -0
  312. data/pgpool2/test/parser/input/var.sql +22 -0
  313. data/pgpool2/test/parser/main.c +96 -0
  314. data/pgpool2/test/parser/parse_schedule +16 -0
  315. data/pgpool2/test/parser/pool.h +13 -0
  316. data/pgpool2/test/parser/run-test +62 -0
  317. data/pgpool2/test/pdo-test/README.euc_jp +58 -0
  318. data/pgpool2/test/pdo-test/SQLlist/test1.sql +3 -0
  319. data/pgpool2/test/pdo-test/SQLlist/test2.sql +3 -0
  320. data/pgpool2/test/pdo-test/collections.inc +11 -0
  321. data/pgpool2/test/pdo-test/def.inc +7 -0
  322. data/pgpool2/test/pdo-test/log.txt +0 -0
  323. data/pgpool2/test/pdo-test/mod/database.inc +36 -0
  324. data/pgpool2/test/pdo-test/mod/def.inc +0 -0
  325. data/pgpool2/test/pdo-test/mod/errorhandler.inc +27 -0
  326. data/pgpool2/test/pdo-test/pdotest.php +11 -0
  327. data/pgpool2/test/pdo-test/regsql.inc +56 -0
  328. data/pgpool2/test/pgpool_setup +898 -0
  329. data/pgpool2/test/regression/README +39 -0
  330. data/pgpool2/test/regression/clean.sh +21 -0
  331. data/pgpool2/test/regression/libs.sh +16 -0
  332. data/pgpool2/test/regression/regress.sh +166 -0
  333. data/pgpool2/test/regression/tests/001.load_balance/test.sh +128 -0
  334. data/pgpool2/test/regression/tests/002.native_replication/PgTester.java +47 -0
  335. data/pgpool2/test/regression/tests/002.native_replication/create.sql +6 -0
  336. data/pgpool2/test/regression/tests/002.native_replication/test.sh +71 -0
  337. data/pgpool2/test/regression/tests/003.failover/expected.r +6 -0
  338. data/pgpool2/test/regression/tests/003.failover/expected.s +6 -0
  339. data/pgpool2/test/regression/tests/003.failover/test.sh +45 -0
  340. data/pgpool2/test/regression/tests/004.watchdog/master.conf +12 -0
  341. data/pgpool2/test/regression/tests/004.watchdog/standby.conf +19 -0
  342. data/pgpool2/test/regression/tests/004.watchdog/test.sh +52 -0
  343. data/pgpool2/test/regression/tests/050.bug58/test.sh +50 -0
  344. data/pgpool2/test/regression/tests/051.bug60/bug.sql +12 -0
  345. data/pgpool2/test/regression/tests/051.bug60/database-clean.sql +6 -0
  346. data/pgpool2/test/regression/tests/051.bug60/database-setup.sql +28 -0
  347. data/pgpool2/test/regression/tests/051.bug60/test.sh +79 -0
  348. data/pgpool2/test/regression/tests/052.do_query/test.sh +44 -0
  349. data/pgpool2/test/regression/tests/053.insert_lock_hangs/test.sh +81 -0
  350. data/pgpool2/test/regression/tests/054.postgres_fdw/test.sh +67 -0
  351. data/pgpool2/test/regression/tests/055.backend_all_down/test.sh +52 -0
  352. data/pgpool2/test/regression/tests/056.bug63/jdbctest2.java +66 -0
  353. data/pgpool2/test/regression/tests/056.bug63/test.sh +47 -0
  354. data/pgpool2/test/regression/tests/057.bug61/test.sh +40 -0
  355. data/pgpool2/test/regression/tests/058.bug68/jdbctest3.java +45 -0
  356. data/pgpool2/test/regression/tests/058.bug68/test.sh +47 -0
  357. data/pgpool2/test/timestamp/expected/insert.out +16 -0
  358. data/pgpool2/test/timestamp/expected/misc.out +3 -0
  359. data/pgpool2/test/timestamp/expected/update.out +6 -0
  360. data/pgpool2/test/timestamp/input/insert.sql +16 -0
  361. data/pgpool2/test/timestamp/input/misc.sql +3 -0
  362. data/pgpool2/test/timestamp/input/update.sql +6 -0
  363. data/pgpool2/test/timestamp/main.c +129 -0
  364. data/pgpool2/test/timestamp/parse_schedule +3 -0
  365. data/pgpool2/test/timestamp/run-test +69 -0
  366. data/pgpool2/version.h +1 -0
  367. data/pgpool2/watchdog/Makefile.am +17 -0
  368. data/pgpool2/watchdog/Makefile.in +505 -0
  369. data/pgpool2/watchdog/test/stab.c +266 -0
  370. data/pgpool2/watchdog/test/test.c +85 -0
  371. data/pgpool2/watchdog/test/wd_child_t.c +87 -0
  372. data/pgpool2/watchdog/test/wd_lifecheck_t.c +87 -0
  373. data/pgpool2/watchdog/test/wd_packet_t.c +87 -0
  374. data/pgpool2/watchdog/test/wd_ping_t.c +20 -0
  375. data/pgpool2/watchdog/watchdog.c +408 -0
  376. data/pgpool2/watchdog/watchdog.h +209 -0
  377. data/pgpool2/watchdog/wd_child.c +444 -0
  378. data/pgpool2/watchdog/wd_ext.h +123 -0
  379. data/pgpool2/watchdog/wd_heartbeat.c +577 -0
  380. data/pgpool2/watchdog/wd_if.c +216 -0
  381. data/pgpool2/watchdog/wd_init.c +126 -0
  382. data/pgpool2/watchdog/wd_interlock.c +347 -0
  383. data/pgpool2/watchdog/wd_lifecheck.c +512 -0
  384. data/pgpool2/watchdog/wd_list.c +429 -0
  385. data/pgpool2/watchdog/wd_packet.c +1159 -0
  386. data/pgpool2/watchdog/wd_ping.c +330 -0
  387. data/pgpool2/ylwrap +223 -0
  388. data/pgsql/presto_client.py +346 -0
  389. data/pgsql/prestogres.py +156 -0
  390. data/pgsql/setup_functions.sql +21 -0
  391. data/pgsql/setup_language.sql +3 -0
  392. data/prestogres.gemspec +23 -0
  393. metadata +496 -0
@@ -0,0 +1,28 @@
1
+ # PCP Client Authentication Configuration File
2
+ # ============================================
3
+ #
4
+ # This file contains user ID and his password for pgpool
5
+ # communication manager authentication.
6
+ #
7
+ # Note that users defined here do not need to be PostgreSQL
8
+ # users. These users are authorized ONLY for pgpool
9
+ # communication manager.
10
+ #
11
+ # File Format
12
+ # ===========
13
+ #
14
+ # List one UserID and password on a single line. They must
15
+ # be concatenated together using ':' (colon) between them.
16
+ # No spaces or tabs are allowed anywhere in the line.
17
+ #
18
+ # Example:
19
+ # postgres:e8a48653851e28c69d0506508fb27fc5
20
+ #
21
+ # Be aware that there will be no spaces or tabs at the
22
+ # beginning of the line! although the above example looks
23
+ # like so.
24
+ #
25
+ # Lines beginning with '#' (pound) are comments and will
26
+ # be ignored. Again, no spaces or tabs allowed before '#'.
27
+
28
+ # USERID:MD5PASSWD
@@ -0,0 +1,40 @@
1
+ AM_CPPFLAGS = -D_GNU_SOURCE -I .. -I @PGSQL_INCLUDE_DIR@
2
+
3
+ lib_LTLIBRARIES = libpcp.la
4
+ libpcp_la_SOURCES = pcp.h ../pool_type.h md5.h pcp.c pcp_stream.h pcp_stream.c pcp_error.c md5.c
5
+ libpcp_la_LIBS =
6
+ include_HEADERS = pcp.h libpcp_ext.h ../pool_type.h ../pool_process_reporting.h
7
+
8
+ md5.c: ../md5.c
9
+ rm -f $@ && ln -s $< .
10
+ md5.h: ../md5.h
11
+ rm -f $@ && ln -s $< .
12
+
13
+ bin_PROGRAMS = pcp_stop_pgpool pcp_node_count pcp_node_info pcp_proc_count pcp_proc_info \
14
+ pcp_systemdb_info pcp_detach_node pcp_attach_node pcp_recovery_node pcp_promote_node \
15
+ pcp_pool_status pcp_watchdog_info
16
+ pcp_stop_pgpool_SOURCES = pcp_stop_pgpool.c pcp.h ../getopt_long.c ../getopt_long.h
17
+ pcp_stop_pgpool_LDADD = libpcp.la
18
+ pcp_stop_pgpool_LDFLAGS =
19
+ pcp_node_count_SOURCES = pcp_node_count.c pcp.h ../getopt_long.c ../getopt_long.h
20
+ pcp_node_count_LDADD = libpcp.la
21
+ pcp_node_info_SOURCES = pcp_node_info.c pcp.h ../getopt_long.c ../getopt_long.h
22
+ pcp_node_info_LDADD = libpcp.la
23
+ pcp_proc_count_SOURCES = pcp_proc_count.c pcp.h ../getopt_long.c ../getopt_long.h
24
+ pcp_proc_count_LDADD = libpcp.la
25
+ pcp_proc_info_SOURCES = pcp_proc_info.c pcp.h ../getopt_long.c ../getopt_long.h
26
+ pcp_proc_info_LDADD = libpcp.la
27
+ pcp_systemdb_info_SOURCES = pcp_systemdb_info.c pcp.h ../getopt_long.c ../getopt_long.h
28
+ pcp_systemdb_info_LDADD = libpcp.la
29
+ pcp_detach_node_SOURCES = pcp_detach_node.c pcp.h ../getopt_long.c ../getopt_long.h
30
+ pcp_detach_node_LDADD = libpcp.la
31
+ pcp_attach_node_SOURCES = pcp_attach_node.c pcp.h ../getopt_long.c ../getopt_long.h
32
+ pcp_attach_node_LDADD = libpcp.la
33
+ pcp_recovery_node_SOURCES = pcp_recovery_node.c pcp.h ../getopt_long.c ../getopt_long.h
34
+ pcp_recovery_node_LDADD = libpcp.la
35
+ pcp_pool_status_SOURCES = pcp_pool_status.c pcp.h ../getopt_long.c ../getopt_long.h
36
+ pcp_pool_status_LDADD = libpcp.la
37
+ pcp_promote_node_SOURCES = pcp_promote_node.c pcp.h ../getopt_long.c ../getopt_long.h
38
+ pcp_promote_node_LDADD = libpcp.la
39
+ pcp_watchdog_info_SOURCES = pcp_watchdog_info.c pcp.h ../getopt_long.c ../getopt_long.h
40
+ pcp_watchdog_info_LDADD = libpcp.la
@@ -0,0 +1,771 @@
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
+
19
+
20
+ VPATH = @srcdir@
21
+ pkgdatadir = $(datadir)/@PACKAGE@
22
+ pkgincludedir = $(includedir)/@PACKAGE@
23
+ pkglibdir = $(libdir)/@PACKAGE@
24
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
25
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26
+ install_sh_DATA = $(install_sh) -c -m 644
27
+ install_sh_PROGRAM = $(install_sh) -c
28
+ install_sh_SCRIPT = $(install_sh) -c
29
+ INSTALL_HEADER = $(INSTALL_DATA)
30
+ transform = $(program_transform_name)
31
+ NORMAL_INSTALL = :
32
+ PRE_INSTALL = :
33
+ POST_INSTALL = :
34
+ NORMAL_UNINSTALL = :
35
+ PRE_UNINSTALL = :
36
+ POST_UNINSTALL = :
37
+ build_triplet = @build@
38
+ host_triplet = @host@
39
+ bin_PROGRAMS = pcp_stop_pgpool$(EXEEXT) pcp_node_count$(EXEEXT) \
40
+ pcp_node_info$(EXEEXT) pcp_proc_count$(EXEEXT) \
41
+ pcp_proc_info$(EXEEXT) pcp_systemdb_info$(EXEEXT) \
42
+ pcp_detach_node$(EXEEXT) pcp_attach_node$(EXEEXT) \
43
+ pcp_recovery_node$(EXEEXT) pcp_promote_node$(EXEEXT) \
44
+ pcp_pool_status$(EXEEXT) pcp_watchdog_info$(EXEEXT)
45
+ subdir = pcp
46
+ DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
47
+ $(srcdir)/Makefile.in
48
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49
+ am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
50
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
51
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
52
+ $(top_srcdir)/c-compiler.m4 $(top_srcdir)/c-library.m4 \
53
+ $(top_srcdir)/general.m4 \
54
+ $(top_srcdir)/ac_func_accept_argtypes.m4 \
55
+ $(top_srcdir)/configure.in
56
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
57
+ $(ACLOCAL_M4)
58
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
59
+ CONFIG_HEADER = $(top_builddir)/config.h
60
+ CONFIG_CLEAN_FILES =
61
+ CONFIG_CLEAN_VPATH_FILES =
62
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
63
+ am__vpath_adj = case $$p in \
64
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
65
+ *) f=$$p;; \
66
+ esac;
67
+ am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
68
+ am__install_max = 40
69
+ am__nobase_strip_setup = \
70
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
71
+ am__nobase_strip = \
72
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
73
+ am__nobase_list = $(am__nobase_strip_setup); \
74
+ for p in $$list; do echo "$$p $$p"; done | \
75
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
76
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
77
+ if (++n[$$2] == $(am__install_max)) \
78
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
79
+ END { for (dir in files) print dir, files[dir] }'
80
+ am__base_list = \
81
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
82
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
83
+ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
84
+ "$(DESTDIR)$(includedir)"
85
+ LTLIBRARIES = $(lib_LTLIBRARIES)
86
+ libpcp_la_LIBADD =
87
+ am_libpcp_la_OBJECTS = pcp.lo pcp_stream.lo pcp_error.lo md5.lo
88
+ libpcp_la_OBJECTS = $(am_libpcp_la_OBJECTS)
89
+ PROGRAMS = $(bin_PROGRAMS)
90
+ am_pcp_attach_node_OBJECTS = pcp_attach_node.$(OBJEXT) \
91
+ getopt_long.$(OBJEXT)
92
+ pcp_attach_node_OBJECTS = $(am_pcp_attach_node_OBJECTS)
93
+ pcp_attach_node_DEPENDENCIES = libpcp.la
94
+ am_pcp_detach_node_OBJECTS = pcp_detach_node.$(OBJEXT) \
95
+ getopt_long.$(OBJEXT)
96
+ pcp_detach_node_OBJECTS = $(am_pcp_detach_node_OBJECTS)
97
+ pcp_detach_node_DEPENDENCIES = libpcp.la
98
+ am_pcp_node_count_OBJECTS = pcp_node_count.$(OBJEXT) \
99
+ getopt_long.$(OBJEXT)
100
+ pcp_node_count_OBJECTS = $(am_pcp_node_count_OBJECTS)
101
+ pcp_node_count_DEPENDENCIES = libpcp.la
102
+ am_pcp_node_info_OBJECTS = pcp_node_info.$(OBJEXT) \
103
+ getopt_long.$(OBJEXT)
104
+ pcp_node_info_OBJECTS = $(am_pcp_node_info_OBJECTS)
105
+ pcp_node_info_DEPENDENCIES = libpcp.la
106
+ am_pcp_pool_status_OBJECTS = pcp_pool_status.$(OBJEXT) \
107
+ getopt_long.$(OBJEXT)
108
+ pcp_pool_status_OBJECTS = $(am_pcp_pool_status_OBJECTS)
109
+ pcp_pool_status_DEPENDENCIES = libpcp.la
110
+ am_pcp_proc_count_OBJECTS = pcp_proc_count.$(OBJEXT) \
111
+ getopt_long.$(OBJEXT)
112
+ pcp_proc_count_OBJECTS = $(am_pcp_proc_count_OBJECTS)
113
+ pcp_proc_count_DEPENDENCIES = libpcp.la
114
+ am_pcp_proc_info_OBJECTS = pcp_proc_info.$(OBJEXT) \
115
+ getopt_long.$(OBJEXT)
116
+ pcp_proc_info_OBJECTS = $(am_pcp_proc_info_OBJECTS)
117
+ pcp_proc_info_DEPENDENCIES = libpcp.la
118
+ am_pcp_promote_node_OBJECTS = pcp_promote_node.$(OBJEXT) \
119
+ getopt_long.$(OBJEXT)
120
+ pcp_promote_node_OBJECTS = $(am_pcp_promote_node_OBJECTS)
121
+ pcp_promote_node_DEPENDENCIES = libpcp.la
122
+ am_pcp_recovery_node_OBJECTS = pcp_recovery_node.$(OBJEXT) \
123
+ getopt_long.$(OBJEXT)
124
+ pcp_recovery_node_OBJECTS = $(am_pcp_recovery_node_OBJECTS)
125
+ pcp_recovery_node_DEPENDENCIES = libpcp.la
126
+ am_pcp_stop_pgpool_OBJECTS = pcp_stop_pgpool.$(OBJEXT) \
127
+ getopt_long.$(OBJEXT)
128
+ pcp_stop_pgpool_OBJECTS = $(am_pcp_stop_pgpool_OBJECTS)
129
+ pcp_stop_pgpool_DEPENDENCIES = libpcp.la
130
+ pcp_stop_pgpool_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
131
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
132
+ $(pcp_stop_pgpool_LDFLAGS) $(LDFLAGS) -o $@
133
+ am_pcp_systemdb_info_OBJECTS = pcp_systemdb_info.$(OBJEXT) \
134
+ getopt_long.$(OBJEXT)
135
+ pcp_systemdb_info_OBJECTS = $(am_pcp_systemdb_info_OBJECTS)
136
+ pcp_systemdb_info_DEPENDENCIES = libpcp.la
137
+ am_pcp_watchdog_info_OBJECTS = pcp_watchdog_info.$(OBJEXT) \
138
+ getopt_long.$(OBJEXT)
139
+ pcp_watchdog_info_OBJECTS = $(am_pcp_watchdog_info_OBJECTS)
140
+ pcp_watchdog_info_DEPENDENCIES = libpcp.la
141
+ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
142
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
143
+ am__depfiles_maybe = depfiles
144
+ am__mv = mv -f
145
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
146
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
147
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
148
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
149
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
150
+ CCLD = $(CC)
151
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
152
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
153
+ $(LDFLAGS) -o $@
154
+ SOURCES = $(libpcp_la_SOURCES) $(pcp_attach_node_SOURCES) \
155
+ $(pcp_detach_node_SOURCES) $(pcp_node_count_SOURCES) \
156
+ $(pcp_node_info_SOURCES) $(pcp_pool_status_SOURCES) \
157
+ $(pcp_proc_count_SOURCES) $(pcp_proc_info_SOURCES) \
158
+ $(pcp_promote_node_SOURCES) $(pcp_recovery_node_SOURCES) \
159
+ $(pcp_stop_pgpool_SOURCES) $(pcp_systemdb_info_SOURCES) \
160
+ $(pcp_watchdog_info_SOURCES)
161
+ DIST_SOURCES = $(libpcp_la_SOURCES) $(pcp_attach_node_SOURCES) \
162
+ $(pcp_detach_node_SOURCES) $(pcp_node_count_SOURCES) \
163
+ $(pcp_node_info_SOURCES) $(pcp_pool_status_SOURCES) \
164
+ $(pcp_proc_count_SOURCES) $(pcp_proc_info_SOURCES) \
165
+ $(pcp_promote_node_SOURCES) $(pcp_recovery_node_SOURCES) \
166
+ $(pcp_stop_pgpool_SOURCES) $(pcp_systemdb_info_SOURCES) \
167
+ $(pcp_watchdog_info_SOURCES)
168
+ HEADERS = $(include_HEADERS)
169
+ ETAGS = etags
170
+ CTAGS = ctags
171
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
172
+ ACLOCAL = @ACLOCAL@
173
+ AMTAR = @AMTAR@
174
+ AR = @AR@
175
+ AUTOCONF = @AUTOCONF@
176
+ AUTOHEADER = @AUTOHEADER@
177
+ AUTOMAKE = @AUTOMAKE@
178
+ AWK = @AWK@
179
+ CC = @CC@
180
+ CCDEPMODE = @CCDEPMODE@
181
+ CFLAGS = @CFLAGS@
182
+ CPP = @CPP@
183
+ CPPFLAGS = @CPPFLAGS@
184
+ CYGPATH_W = @CYGPATH_W@
185
+ DEFS = @DEFS@
186
+ DEPDIR = @DEPDIR@
187
+ DSYMUTIL = @DSYMUTIL@
188
+ DUMPBIN = @DUMPBIN@
189
+ ECHO_C = @ECHO_C@
190
+ ECHO_N = @ECHO_N@
191
+ ECHO_T = @ECHO_T@
192
+ EGREP = @EGREP@
193
+ EXEEXT = @EXEEXT@
194
+ FGREP = @FGREP@
195
+ GREP = @GREP@
196
+ INSTALL = @INSTALL@
197
+ INSTALL_DATA = @INSTALL_DATA@
198
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
199
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
200
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
201
+ LD = @LD@
202
+ LDFLAGS = @LDFLAGS@
203
+ LEX = @LEX@
204
+ LEXLIB = @LEXLIB@
205
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
206
+ LIBOBJS = @LIBOBJS@
207
+ LIBS = @LIBS@
208
+ LIBTOOL = @LIBTOOL@
209
+ LIPO = @LIPO@
210
+ LN_S = @LN_S@
211
+ LTLIBOBJS = @LTLIBOBJS@
212
+ MAKEINFO = @MAKEINFO@
213
+ MEMCACHED_DIR = @MEMCACHED_DIR@
214
+ MEMCACHED_INCLUDE_OPT = @MEMCACHED_INCLUDE_OPT@
215
+ MEMCACHED_LINK_OPT = @MEMCACHED_LINK_OPT@
216
+ MEMCACHED_RPATH_OPT = @MEMCACHED_RPATH_OPT@
217
+ MKDIR_P = @MKDIR_P@
218
+ NM = @NM@
219
+ NMEDIT = @NMEDIT@
220
+ OBJDUMP = @OBJDUMP@
221
+ OBJEXT = @OBJEXT@
222
+ OTOOL = @OTOOL@
223
+ OTOOL64 = @OTOOL64@
224
+ PACKAGE = @PACKAGE@
225
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
226
+ PACKAGE_NAME = @PACKAGE_NAME@
227
+ PACKAGE_STRING = @PACKAGE_STRING@
228
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
229
+ PACKAGE_URL = @PACKAGE_URL@
230
+ PACKAGE_VERSION = @PACKAGE_VERSION@
231
+ PATH_SEPARATOR = @PATH_SEPARATOR@
232
+ PGCONFIG = @PGCONFIG@
233
+ PGSQL_INCLUDE_DIR = @PGSQL_INCLUDE_DIR@
234
+ PGSQL_LIB_DIR = @PGSQL_LIB_DIR@
235
+ RANLIB = @RANLIB@
236
+ SED = @SED@
237
+ SET_MAKE = @SET_MAKE@
238
+ SHELL = @SHELL@
239
+ STRIP = @STRIP@
240
+ VERSION = @VERSION@
241
+ YACC = @YACC@
242
+ YFLAGS = @YFLAGS@
243
+ abs_builddir = @abs_builddir@
244
+ abs_srcdir = @abs_srcdir@
245
+ abs_top_builddir = @abs_top_builddir@
246
+ abs_top_srcdir = @abs_top_srcdir@
247
+ ac_ct_CC = @ac_ct_CC@
248
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
249
+ am__include = @am__include@
250
+ am__leading_dot = @am__leading_dot@
251
+ am__quote = @am__quote@
252
+ am__tar = @am__tar@
253
+ am__untar = @am__untar@
254
+ bindir = @bindir@
255
+ build = @build@
256
+ build_alias = @build_alias@
257
+ build_cpu = @build_cpu@
258
+ build_os = @build_os@
259
+ build_vendor = @build_vendor@
260
+ builddir = @builddir@
261
+ datadir = @datadir@
262
+ datarootdir = @datarootdir@
263
+ docdir = @docdir@
264
+ dvidir = @dvidir@
265
+ exec_prefix = @exec_prefix@
266
+ host = @host@
267
+ host_alias = @host_alias@
268
+ host_cpu = @host_cpu@
269
+ host_os = @host_os@
270
+ host_vendor = @host_vendor@
271
+ htmldir = @htmldir@
272
+ includedir = @includedir@
273
+ infodir = @infodir@
274
+ install_sh = @install_sh@
275
+ libdir = @libdir@
276
+ libexecdir = @libexecdir@
277
+ localedir = @localedir@
278
+ localstatedir = @localstatedir@
279
+ lt_ECHO = @lt_ECHO@
280
+ mandir = @mandir@
281
+ mkdir_p = @mkdir_p@
282
+ oldincludedir = @oldincludedir@
283
+ pdfdir = @pdfdir@
284
+ prefix = @prefix@
285
+ program_transform_name = @program_transform_name@
286
+ psdir = @psdir@
287
+ sbindir = @sbindir@
288
+ sharedstatedir = @sharedstatedir@
289
+ srcdir = @srcdir@
290
+ sysconfdir = @sysconfdir@
291
+ target_alias = @target_alias@
292
+ top_build_prefix = @top_build_prefix@
293
+ top_builddir = @top_builddir@
294
+ top_srcdir = @top_srcdir@
295
+ AM_CPPFLAGS = -D_GNU_SOURCE -I .. -I @PGSQL_INCLUDE_DIR@
296
+ lib_LTLIBRARIES = libpcp.la
297
+ libpcp_la_SOURCES = pcp.h ../pool_type.h md5.h pcp.c pcp_stream.h pcp_stream.c pcp_error.c md5.c
298
+ libpcp_la_LIBS =
299
+ include_HEADERS = pcp.h libpcp_ext.h ../pool_type.h ../pool_process_reporting.h
300
+ pcp_stop_pgpool_SOURCES = pcp_stop_pgpool.c pcp.h ../getopt_long.c ../getopt_long.h
301
+ pcp_stop_pgpool_LDADD = libpcp.la
302
+ pcp_stop_pgpool_LDFLAGS =
303
+ pcp_node_count_SOURCES = pcp_node_count.c pcp.h ../getopt_long.c ../getopt_long.h
304
+ pcp_node_count_LDADD = libpcp.la
305
+ pcp_node_info_SOURCES = pcp_node_info.c pcp.h ../getopt_long.c ../getopt_long.h
306
+ pcp_node_info_LDADD = libpcp.la
307
+ pcp_proc_count_SOURCES = pcp_proc_count.c pcp.h ../getopt_long.c ../getopt_long.h
308
+ pcp_proc_count_LDADD = libpcp.la
309
+ pcp_proc_info_SOURCES = pcp_proc_info.c pcp.h ../getopt_long.c ../getopt_long.h
310
+ pcp_proc_info_LDADD = libpcp.la
311
+ pcp_systemdb_info_SOURCES = pcp_systemdb_info.c pcp.h ../getopt_long.c ../getopt_long.h
312
+ pcp_systemdb_info_LDADD = libpcp.la
313
+ pcp_detach_node_SOURCES = pcp_detach_node.c pcp.h ../getopt_long.c ../getopt_long.h
314
+ pcp_detach_node_LDADD = libpcp.la
315
+ pcp_attach_node_SOURCES = pcp_attach_node.c pcp.h ../getopt_long.c ../getopt_long.h
316
+ pcp_attach_node_LDADD = libpcp.la
317
+ pcp_recovery_node_SOURCES = pcp_recovery_node.c pcp.h ../getopt_long.c ../getopt_long.h
318
+ pcp_recovery_node_LDADD = libpcp.la
319
+ pcp_pool_status_SOURCES = pcp_pool_status.c pcp.h ../getopt_long.c ../getopt_long.h
320
+ pcp_pool_status_LDADD = libpcp.la
321
+ pcp_promote_node_SOURCES = pcp_promote_node.c pcp.h ../getopt_long.c ../getopt_long.h
322
+ pcp_promote_node_LDADD = libpcp.la
323
+ pcp_watchdog_info_SOURCES = pcp_watchdog_info.c pcp.h ../getopt_long.c ../getopt_long.h
324
+ pcp_watchdog_info_LDADD = libpcp.la
325
+ all: all-am
326
+
327
+ .SUFFIXES:
328
+ .SUFFIXES: .c .lo .o .obj
329
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
330
+ @for dep in $?; do \
331
+ case '$(am__configure_deps)' in \
332
+ *$$dep*) \
333
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
334
+ && { if test -f $@; then exit 0; else break; fi; }; \
335
+ exit 1;; \
336
+ esac; \
337
+ done; \
338
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pcp/Makefile'; \
339
+ $(am__cd) $(top_srcdir) && \
340
+ $(AUTOMAKE) --gnu pcp/Makefile
341
+ .PRECIOUS: Makefile
342
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
343
+ @case '$?' in \
344
+ *config.status*) \
345
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
346
+ *) \
347
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
348
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
349
+ esac;
350
+
351
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
352
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
353
+
354
+ $(top_srcdir)/configure: $(am__configure_deps)
355
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
356
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
357
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
358
+ $(am__aclocal_m4_deps):
359
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
360
+ @$(NORMAL_INSTALL)
361
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
362
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
363
+ list2=; for p in $$list; do \
364
+ if test -f $$p; then \
365
+ list2="$$list2 $$p"; \
366
+ else :; fi; \
367
+ done; \
368
+ test -z "$$list2" || { \
369
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
370
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
371
+ }
372
+
373
+ uninstall-libLTLIBRARIES:
374
+ @$(NORMAL_UNINSTALL)
375
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
376
+ for p in $$list; do \
377
+ $(am__strip_dir) \
378
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
379
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
380
+ done
381
+
382
+ clean-libLTLIBRARIES:
383
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
384
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
385
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
386
+ test "$$dir" != "$$p" || dir=.; \
387
+ echo "rm -f \"$${dir}/so_locations\""; \
388
+ rm -f "$${dir}/so_locations"; \
389
+ done
390
+ libpcp.la: $(libpcp_la_OBJECTS) $(libpcp_la_DEPENDENCIES)
391
+ $(LINK) -rpath $(libdir) $(libpcp_la_OBJECTS) $(libpcp_la_LIBADD) $(LIBS)
392
+ install-binPROGRAMS: $(bin_PROGRAMS)
393
+ @$(NORMAL_INSTALL)
394
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
395
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
396
+ for p in $$list; do echo "$$p $$p"; done | \
397
+ sed 's/$(EXEEXT)$$//' | \
398
+ while read p p1; do if test -f $$p || test -f $$p1; \
399
+ then echo "$$p"; echo "$$p"; else :; fi; \
400
+ done | \
401
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
402
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
403
+ sed 'N;N;N;s,\n, ,g' | \
404
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
405
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
406
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
407
+ else { print "f", $$3 "/" $$4, $$1; } } \
408
+ END { for (d in files) print "f", d, files[d] }' | \
409
+ while read type dir files; do \
410
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
411
+ test -z "$$files" || { \
412
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
413
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
414
+ } \
415
+ ; done
416
+
417
+ uninstall-binPROGRAMS:
418
+ @$(NORMAL_UNINSTALL)
419
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
420
+ files=`for p in $$list; do echo "$$p"; done | \
421
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
422
+ -e 's/$$/$(EXEEXT)/' `; \
423
+ test -n "$$list" || exit 0; \
424
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
425
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
426
+
427
+ clean-binPROGRAMS:
428
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
429
+ echo " rm -f" $$list; \
430
+ rm -f $$list || exit $$?; \
431
+ test -n "$(EXEEXT)" || exit 0; \
432
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
433
+ echo " rm -f" $$list; \
434
+ rm -f $$list
435
+ pcp_attach_node$(EXEEXT): $(pcp_attach_node_OBJECTS) $(pcp_attach_node_DEPENDENCIES)
436
+ @rm -f pcp_attach_node$(EXEEXT)
437
+ $(LINK) $(pcp_attach_node_OBJECTS) $(pcp_attach_node_LDADD) $(LIBS)
438
+ pcp_detach_node$(EXEEXT): $(pcp_detach_node_OBJECTS) $(pcp_detach_node_DEPENDENCIES)
439
+ @rm -f pcp_detach_node$(EXEEXT)
440
+ $(LINK) $(pcp_detach_node_OBJECTS) $(pcp_detach_node_LDADD) $(LIBS)
441
+ pcp_node_count$(EXEEXT): $(pcp_node_count_OBJECTS) $(pcp_node_count_DEPENDENCIES)
442
+ @rm -f pcp_node_count$(EXEEXT)
443
+ $(LINK) $(pcp_node_count_OBJECTS) $(pcp_node_count_LDADD) $(LIBS)
444
+ pcp_node_info$(EXEEXT): $(pcp_node_info_OBJECTS) $(pcp_node_info_DEPENDENCIES)
445
+ @rm -f pcp_node_info$(EXEEXT)
446
+ $(LINK) $(pcp_node_info_OBJECTS) $(pcp_node_info_LDADD) $(LIBS)
447
+ pcp_pool_status$(EXEEXT): $(pcp_pool_status_OBJECTS) $(pcp_pool_status_DEPENDENCIES)
448
+ @rm -f pcp_pool_status$(EXEEXT)
449
+ $(LINK) $(pcp_pool_status_OBJECTS) $(pcp_pool_status_LDADD) $(LIBS)
450
+ pcp_proc_count$(EXEEXT): $(pcp_proc_count_OBJECTS) $(pcp_proc_count_DEPENDENCIES)
451
+ @rm -f pcp_proc_count$(EXEEXT)
452
+ $(LINK) $(pcp_proc_count_OBJECTS) $(pcp_proc_count_LDADD) $(LIBS)
453
+ pcp_proc_info$(EXEEXT): $(pcp_proc_info_OBJECTS) $(pcp_proc_info_DEPENDENCIES)
454
+ @rm -f pcp_proc_info$(EXEEXT)
455
+ $(LINK) $(pcp_proc_info_OBJECTS) $(pcp_proc_info_LDADD) $(LIBS)
456
+ pcp_promote_node$(EXEEXT): $(pcp_promote_node_OBJECTS) $(pcp_promote_node_DEPENDENCIES)
457
+ @rm -f pcp_promote_node$(EXEEXT)
458
+ $(LINK) $(pcp_promote_node_OBJECTS) $(pcp_promote_node_LDADD) $(LIBS)
459
+ pcp_recovery_node$(EXEEXT): $(pcp_recovery_node_OBJECTS) $(pcp_recovery_node_DEPENDENCIES)
460
+ @rm -f pcp_recovery_node$(EXEEXT)
461
+ $(LINK) $(pcp_recovery_node_OBJECTS) $(pcp_recovery_node_LDADD) $(LIBS)
462
+ pcp_stop_pgpool$(EXEEXT): $(pcp_stop_pgpool_OBJECTS) $(pcp_stop_pgpool_DEPENDENCIES)
463
+ @rm -f pcp_stop_pgpool$(EXEEXT)
464
+ $(pcp_stop_pgpool_LINK) $(pcp_stop_pgpool_OBJECTS) $(pcp_stop_pgpool_LDADD) $(LIBS)
465
+ pcp_systemdb_info$(EXEEXT): $(pcp_systemdb_info_OBJECTS) $(pcp_systemdb_info_DEPENDENCIES)
466
+ @rm -f pcp_systemdb_info$(EXEEXT)
467
+ $(LINK) $(pcp_systemdb_info_OBJECTS) $(pcp_systemdb_info_LDADD) $(LIBS)
468
+ pcp_watchdog_info$(EXEEXT): $(pcp_watchdog_info_OBJECTS) $(pcp_watchdog_info_DEPENDENCIES)
469
+ @rm -f pcp_watchdog_info$(EXEEXT)
470
+ $(LINK) $(pcp_watchdog_info_OBJECTS) $(pcp_watchdog_info_LDADD) $(LIBS)
471
+
472
+ mostlyclean-compile:
473
+ -rm -f *.$(OBJEXT)
474
+
475
+ distclean-compile:
476
+ -rm -f *.tab.c
477
+
478
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt_long.Po@am__quote@
479
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Plo@am__quote@
480
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp.Plo@am__quote@
481
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_attach_node.Po@am__quote@
482
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_detach_node.Po@am__quote@
483
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_error.Plo@am__quote@
484
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_node_count.Po@am__quote@
485
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_node_info.Po@am__quote@
486
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_pool_status.Po@am__quote@
487
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_proc_count.Po@am__quote@
488
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_proc_info.Po@am__quote@
489
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_promote_node.Po@am__quote@
490
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_recovery_node.Po@am__quote@
491
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_stop_pgpool.Po@am__quote@
492
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_stream.Plo@am__quote@
493
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_systemdb_info.Po@am__quote@
494
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcp_watchdog_info.Po@am__quote@
495
+
496
+ .c.o:
497
+ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
498
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
499
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
500
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
501
+ @am__fastdepCC_FALSE@ $(COMPILE) -c $<
502
+
503
+ .c.obj:
504
+ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
505
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
506
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
507
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
508
+ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
509
+
510
+ .c.lo:
511
+ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
512
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
513
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
514
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
515
+ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
516
+
517
+ getopt_long.o: ../getopt_long.c
518
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt_long.o -MD -MP -MF $(DEPDIR)/getopt_long.Tpo -c -o getopt_long.o `test -f '../getopt_long.c' || echo '$(srcdir)/'`../getopt_long.c
519
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/getopt_long.Tpo $(DEPDIR)/getopt_long.Po
520
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../getopt_long.c' object='getopt_long.o' libtool=no @AMDEPBACKSLASH@
521
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
522
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt_long.o `test -f '../getopt_long.c' || echo '$(srcdir)/'`../getopt_long.c
523
+
524
+ getopt_long.obj: ../getopt_long.c
525
+ @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt_long.obj -MD -MP -MF $(DEPDIR)/getopt_long.Tpo -c -o getopt_long.obj `if test -f '../getopt_long.c'; then $(CYGPATH_W) '../getopt_long.c'; else $(CYGPATH_W) '$(srcdir)/../getopt_long.c'; fi`
526
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/getopt_long.Tpo $(DEPDIR)/getopt_long.Po
527
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../getopt_long.c' object='getopt_long.obj' libtool=no @AMDEPBACKSLASH@
528
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
529
+ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt_long.obj `if test -f '../getopt_long.c'; then $(CYGPATH_W) '../getopt_long.c'; else $(CYGPATH_W) '$(srcdir)/../getopt_long.c'; fi`
530
+
531
+ mostlyclean-libtool:
532
+ -rm -f *.lo
533
+
534
+ clean-libtool:
535
+ -rm -rf .libs _libs
536
+ install-includeHEADERS: $(include_HEADERS)
537
+ @$(NORMAL_INSTALL)
538
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
539
+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
540
+ for p in $$list; do \
541
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
542
+ echo "$$d$$p"; \
543
+ done | $(am__base_list) | \
544
+ while read files; do \
545
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
546
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
547
+ done
548
+
549
+ uninstall-includeHEADERS:
550
+ @$(NORMAL_UNINSTALL)
551
+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
552
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
553
+ test -n "$$files" || exit 0; \
554
+ echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
555
+ cd "$(DESTDIR)$(includedir)" && rm -f $$files
556
+
557
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
558
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
559
+ unique=`for i in $$list; do \
560
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
561
+ done | \
562
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
563
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
564
+ mkid -fID $$unique
565
+ tags: TAGS
566
+
567
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
568
+ $(TAGS_FILES) $(LISP)
569
+ set x; \
570
+ here=`pwd`; \
571
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
572
+ unique=`for i in $$list; do \
573
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
574
+ done | \
575
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
576
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
577
+ shift; \
578
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
579
+ test -n "$$unique" || unique=$$empty_fix; \
580
+ if test $$# -gt 0; then \
581
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
582
+ "$$@" $$unique; \
583
+ else \
584
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
585
+ $$unique; \
586
+ fi; \
587
+ fi
588
+ ctags: CTAGS
589
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
590
+ $(TAGS_FILES) $(LISP)
591
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
592
+ unique=`for i in $$list; do \
593
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
594
+ done | \
595
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
596
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
597
+ test -z "$(CTAGS_ARGS)$$unique" \
598
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
599
+ $$unique
600
+
601
+ GTAGS:
602
+ here=`$(am__cd) $(top_builddir) && pwd` \
603
+ && $(am__cd) $(top_srcdir) \
604
+ && gtags -i $(GTAGS_ARGS) "$$here"
605
+
606
+ distclean-tags:
607
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
608
+
609
+ distdir: $(DISTFILES)
610
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
611
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
612
+ list='$(DISTFILES)'; \
613
+ dist_files=`for file in $$list; do echo $$file; done | \
614
+ sed -e "s|^$$srcdirstrip/||;t" \
615
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
616
+ case $$dist_files in \
617
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
618
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
619
+ sort -u` ;; \
620
+ esac; \
621
+ for file in $$dist_files; do \
622
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
623
+ if test -d $$d/$$file; then \
624
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
625
+ if test -d "$(distdir)/$$file"; then \
626
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
627
+ fi; \
628
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
629
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
630
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
631
+ fi; \
632
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
633
+ else \
634
+ test -f "$(distdir)/$$file" \
635
+ || cp -p $$d/$$file "$(distdir)/$$file" \
636
+ || exit 1; \
637
+ fi; \
638
+ done
639
+ check-am: all-am
640
+ check: check-am
641
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
642
+ install-binPROGRAMS: install-libLTLIBRARIES
643
+
644
+ installdirs:
645
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \
646
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
647
+ done
648
+ install: install-am
649
+ install-exec: install-exec-am
650
+ install-data: install-data-am
651
+ uninstall: uninstall-am
652
+
653
+ install-am: all-am
654
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
655
+
656
+ installcheck: installcheck-am
657
+ install-strip:
658
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
659
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
660
+ `test -z '$(STRIP)' || \
661
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
662
+ mostlyclean-generic:
663
+
664
+ clean-generic:
665
+
666
+ distclean-generic:
667
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
668
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
669
+
670
+ maintainer-clean-generic:
671
+ @echo "This command is intended for maintainers to use"
672
+ @echo "it deletes files that may require special tools to rebuild."
673
+ clean: clean-am
674
+
675
+ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
676
+ clean-libtool mostlyclean-am
677
+
678
+ distclean: distclean-am
679
+ -rm -rf ./$(DEPDIR)
680
+ -rm -f Makefile
681
+ distclean-am: clean-am distclean-compile distclean-generic \
682
+ distclean-tags
683
+
684
+ dvi: dvi-am
685
+
686
+ dvi-am:
687
+
688
+ html: html-am
689
+
690
+ html-am:
691
+
692
+ info: info-am
693
+
694
+ info-am:
695
+
696
+ install-data-am: install-includeHEADERS
697
+
698
+ install-dvi: install-dvi-am
699
+
700
+ install-dvi-am:
701
+
702
+ install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
703
+
704
+ install-html: install-html-am
705
+
706
+ install-html-am:
707
+
708
+ install-info: install-info-am
709
+
710
+ install-info-am:
711
+
712
+ install-man:
713
+
714
+ install-pdf: install-pdf-am
715
+
716
+ install-pdf-am:
717
+
718
+ install-ps: install-ps-am
719
+
720
+ install-ps-am:
721
+
722
+ installcheck-am:
723
+
724
+ maintainer-clean: maintainer-clean-am
725
+ -rm -rf ./$(DEPDIR)
726
+ -rm -f Makefile
727
+ maintainer-clean-am: distclean-am maintainer-clean-generic
728
+
729
+ mostlyclean: mostlyclean-am
730
+
731
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
732
+ mostlyclean-libtool
733
+
734
+ pdf: pdf-am
735
+
736
+ pdf-am:
737
+
738
+ ps: ps-am
739
+
740
+ ps-am:
741
+
742
+ uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
743
+ uninstall-libLTLIBRARIES
744
+
745
+ .MAKE: install-am install-strip
746
+
747
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
748
+ clean-generic clean-libLTLIBRARIES clean-libtool ctags \
749
+ distclean distclean-compile distclean-generic \
750
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
751
+ html-am info info-am install install-am install-binPROGRAMS \
752
+ install-data install-data-am install-dvi install-dvi-am \
753
+ install-exec install-exec-am install-html install-html-am \
754
+ install-includeHEADERS install-info install-info-am \
755
+ install-libLTLIBRARIES install-man install-pdf install-pdf-am \
756
+ install-ps install-ps-am install-strip installcheck \
757
+ installcheck-am installdirs maintainer-clean \
758
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
759
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
760
+ tags uninstall uninstall-am uninstall-binPROGRAMS \
761
+ uninstall-includeHEADERS uninstall-libLTLIBRARIES
762
+
763
+
764
+ md5.c: ../md5.c
765
+ rm -f $@ && ln -s $< .
766
+ md5.h: ../md5.h
767
+ rm -f $@ && ln -s $< .
768
+
769
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
770
+ # Otherwise a system limit (for SysV at least) may be exceeded.
771
+ .NOEXPORT: