prestogres 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +20 -0
- data/LICENSE +202 -0
- data/NOTICE +22 -0
- data/README.md +217 -0
- data/Rakefile +13 -0
- data/VERSION +1 -0
- data/bin/prestogres +254 -0
- data/config/pcp.conf.sample +28 -0
- data/config/pgpool.conf +678 -0
- data/config/pool_hba.conf +84 -0
- data/config/pool_passwd +0 -0
- data/config/postgresql.conf +2 -0
- data/ext/.gitignore +6 -0
- data/ext/depend +26 -0
- data/ext/extconf.rb +4 -0
- data/ext/prestogres_config.c +12 -0
- data/pgpool2/.gitignore +36 -0
- data/pgpool2/AUTHORS +4 -0
- data/pgpool2/COPYING +12 -0
- data/pgpool2/ChangeLog +1 -0
- data/pgpool2/INSTALL +1 -0
- data/pgpool2/Makefile.am +159 -0
- data/pgpool2/Makefile.in +1187 -0
- data/pgpool2/NEWS +4960 -0
- data/pgpool2/README +1 -0
- data/pgpool2/README.euc_jp +1 -0
- data/pgpool2/README.online-recovery +62 -0
- data/pgpool2/TODO +103 -0
- data/pgpool2/ac_func_accept_argtypes.m4 +85 -0
- data/pgpool2/aclocal.m4 +1088 -0
- data/pgpool2/c-compiler.m4 +134 -0
- data/pgpool2/c-library.m4 +325 -0
- data/pgpool2/child.c +2097 -0
- data/pgpool2/config.guess +1532 -0
- data/pgpool2/config.h.in +332 -0
- data/pgpool2/config.sub +1640 -0
- data/pgpool2/configure +15752 -0
- data/pgpool2/configure.in +392 -0
- data/pgpool2/depcomp +522 -0
- data/pgpool2/doc/basebackup.sh +17 -0
- data/pgpool2/doc/pgpool-de.html +4220 -0
- data/pgpool2/doc/pgpool-en.html +5738 -0
- data/pgpool2/doc/pgpool-fr.html +4118 -0
- data/pgpool2/doc/pgpool-ja.css +198 -0
- data/pgpool2/doc/pgpool-ja.html +11279 -0
- data/pgpool2/doc/pgpool-zh_cn.html +4445 -0
- data/pgpool2/doc/pgpool.css +280 -0
- data/pgpool2/doc/pgpool_remote_start +13 -0
- data/pgpool2/doc/recovery.conf.sample +117 -0
- data/pgpool2/doc/tutorial-en.html +707 -0
- data/pgpool2/doc/tutorial-ja.html +422 -0
- data/pgpool2/doc/tutorial-memqcache-en.html +325 -0
- data/pgpool2/doc/tutorial-memqcache-ja.html +370 -0
- data/pgpool2/doc/tutorial-memqcache-zh_cn.html +322 -0
- data/pgpool2/doc/tutorial-watchdog-en.html +306 -0
- data/pgpool2/doc/tutorial-watchdog-ja.html +343 -0
- data/pgpool2/doc/tutorial-watchdog-zh_cn.html +301 -0
- data/pgpool2/doc/tutorial-zh_cn.html +537 -0
- data/pgpool2/doc/watchdog.png +0 -0
- data/pgpool2/doc/wd-en.html +236 -0
- data/pgpool2/doc/wd-en.jpg +0 -0
- data/pgpool2/doc/wd-ja.html +219 -0
- data/pgpool2/doc/wd-ja.jpg +0 -0
- data/pgpool2/doc/wd-zh_cn.html +201 -0
- data/pgpool2/doc/where_to_send_queries.odg +0 -0
- data/pgpool2/doc/where_to_send_queries.pdf +0 -0
- data/pgpool2/general.m4 +166 -0
- data/pgpool2/getopt_long.c +200 -0
- data/pgpool2/getopt_long.h +44 -0
- data/pgpool2/install-sh +251 -0
- data/pgpool2/ltmain.sh +8406 -0
- data/pgpool2/m4/libtool.m4 +7360 -0
- data/pgpool2/m4/ltoptions.m4 +368 -0
- data/pgpool2/m4/ltsugar.m4 +123 -0
- data/pgpool2/m4/ltversion.m4 +23 -0
- data/pgpool2/m4/lt~obsolete.m4 +92 -0
- data/pgpool2/main.c +2971 -0
- data/pgpool2/md5.c +444 -0
- data/pgpool2/md5.h +28 -0
- data/pgpool2/missing +360 -0
- data/pgpool2/mkinstalldirs +40 -0
- data/pgpool2/parser/Makefile.am +50 -0
- data/pgpool2/parser/Makefile.in +559 -0
- data/pgpool2/parser/copyfuncs.c +3310 -0
- data/pgpool2/parser/gram.c +39100 -0
- data/pgpool2/parser/gram.h +940 -0
- data/pgpool2/parser/gram.y +13408 -0
- data/pgpool2/parser/gramparse.h +74 -0
- data/pgpool2/parser/keywords.c +32 -0
- data/pgpool2/parser/keywords.h +39 -0
- data/pgpool2/parser/kwlist.h +425 -0
- data/pgpool2/parser/kwlookup.c +88 -0
- data/pgpool2/parser/list.c +1156 -0
- data/pgpool2/parser/makefuncs.c +518 -0
- data/pgpool2/parser/makefuncs.h +83 -0
- data/pgpool2/parser/memnodes.h +79 -0
- data/pgpool2/parser/nodes.c +29 -0
- data/pgpool2/parser/nodes.h +609 -0
- data/pgpool2/parser/outfuncs.c +5790 -0
- data/pgpool2/parser/parsenodes.h +2615 -0
- data/pgpool2/parser/parser.c +262 -0
- data/pgpool2/parser/parser.h +46 -0
- data/pgpool2/parser/pg_class.h +158 -0
- data/pgpool2/parser/pg_config_manual.h +273 -0
- data/pgpool2/parser/pg_list.h +352 -0
- data/pgpool2/parser/pg_trigger.h +147 -0
- data/pgpool2/parser/pg_wchar.h +492 -0
- data/pgpool2/parser/pool_memory.c +342 -0
- data/pgpool2/parser/pool_memory.h +77 -0
- data/pgpool2/parser/pool_parser.h +222 -0
- data/pgpool2/parser/pool_string.c +121 -0
- data/pgpool2/parser/pool_string.h +37 -0
- data/pgpool2/parser/primnodes.h +1280 -0
- data/pgpool2/parser/scan.c +4094 -0
- data/pgpool2/parser/scan.l +1451 -0
- data/pgpool2/parser/scanner.h +120 -0
- data/pgpool2/parser/scansup.c +221 -0
- data/pgpool2/parser/scansup.h +28 -0
- data/pgpool2/parser/snprintf.c +1102 -0
- data/pgpool2/parser/stringinfo.c +294 -0
- data/pgpool2/parser/stringinfo.h +178 -0
- data/pgpool2/parser/value.c +78 -0
- data/pgpool2/parser/value.h +62 -0
- data/pgpool2/parser/wchar.c +2048 -0
- data/pgpool2/pcp.conf.sample +28 -0
- data/pgpool2/pcp/Makefile.am +40 -0
- data/pgpool2/pcp/Makefile.in +771 -0
- data/pgpool2/pcp/libpcp_ext.h +250 -0
- data/pgpool2/pcp/md5.c +444 -0
- data/pgpool2/pcp/md5.h +28 -0
- data/pgpool2/pcp/pcp.c +1652 -0
- data/pgpool2/pcp/pcp.h +61 -0
- data/pgpool2/pcp/pcp_attach_node.c +172 -0
- data/pgpool2/pcp/pcp_detach_node.c +185 -0
- data/pgpool2/pcp/pcp_error.c +87 -0
- data/pgpool2/pcp/pcp_node_count.c +160 -0
- data/pgpool2/pcp/pcp_node_info.c +198 -0
- data/pgpool2/pcp/pcp_pool_status.c +166 -0
- data/pgpool2/pcp/pcp_proc_count.c +166 -0
- data/pgpool2/pcp/pcp_proc_info.c +261 -0
- data/pgpool2/pcp/pcp_promote_node.c +185 -0
- data/pgpool2/pcp/pcp_recovery_node.c +172 -0
- data/pgpool2/pcp/pcp_stop_pgpool.c +179 -0
- data/pgpool2/pcp/pcp_stream.c +385 -0
- data/pgpool2/pcp/pcp_stream.h +52 -0
- data/pgpool2/pcp/pcp_systemdb_info.c +194 -0
- data/pgpool2/pcp/pcp_watchdog_info.c +211 -0
- data/pgpool2/pcp_child.c +1493 -0
- data/pgpool2/pg_md5.c +305 -0
- data/pgpool2/pgpool.8.in +121 -0
- data/pgpool2/pgpool.conf +553 -0
- data/pgpool2/pgpool.conf.sample +666 -0
- data/pgpool2/pgpool.conf.sample-master-slave +665 -0
- data/pgpool2/pgpool.conf.sample-replication +664 -0
- data/pgpool2/pgpool.conf.sample-stream +664 -0
- data/pgpool2/pgpool.spec +264 -0
- data/pgpool2/pgpool_adm/TODO +7 -0
- data/pgpool2/pgpool_adm/pgpool_adm--1.0.sql +85 -0
- data/pgpool2/pgpool_adm/pgpool_adm.c +558 -0
- data/pgpool2/pgpool_adm/pgpool_adm.control +5 -0
- data/pgpool2/pgpool_adm/pgpool_adm.h +46 -0
- data/pgpool2/pgpool_adm/pgpool_adm.sql.in +85 -0
- data/pgpool2/pool.h +655 -0
- data/pgpool2/pool_auth.c +1390 -0
- data/pgpool2/pool_config.c +5007 -0
- data/pgpool2/pool_config.h +284 -0
- data/pgpool2/pool_config.l +3281 -0
- data/pgpool2/pool_config_md5.c +29 -0
- data/pgpool2/pool_connection_pool.c +812 -0
- data/pgpool2/pool_error.c +242 -0
- data/pgpool2/pool_globals.c +27 -0
- data/pgpool2/pool_hba.c +1723 -0
- data/pgpool2/pool_hba.conf.sample +67 -0
- data/pgpool2/pool_ip.c +567 -0
- data/pgpool2/pool_ip.h +65 -0
- data/pgpool2/pool_ipc.h +38 -0
- data/pgpool2/pool_lobj.c +242 -0
- data/pgpool2/pool_lobj.h +32 -0
- data/pgpool2/pool_memqcache.c +3818 -0
- data/pgpool2/pool_memqcache.h +268 -0
- data/pgpool2/pool_params.c +163 -0
- data/pgpool2/pool_passwd.c +249 -0
- data/pgpool2/pool_passwd.h +41 -0
- data/pgpool2/pool_path.c +193 -0
- data/pgpool2/pool_path.h +81 -0
- data/pgpool2/pool_process_context.c +247 -0
- data/pgpool2/pool_process_context.h +62 -0
- data/pgpool2/pool_process_query.c +5001 -0
- data/pgpool2/pool_process_reporting.c +1671 -0
- data/pgpool2/pool_process_reporting.h +44 -0
- data/pgpool2/pool_proto2.c +671 -0
- data/pgpool2/pool_proto_modules.c +3524 -0
- data/pgpool2/pool_proto_modules.h +185 -0
- data/pgpool2/pool_query_cache.c +1020 -0
- data/pgpool2/pool_query_context.c +1871 -0
- data/pgpool2/pool_query_context.h +105 -0
- data/pgpool2/pool_relcache.c +284 -0
- data/pgpool2/pool_relcache.h +78 -0
- data/pgpool2/pool_rewrite_outfuncs.c +9060 -0
- data/pgpool2/pool_rewrite_query.c +715 -0
- data/pgpool2/pool_rewrite_query.h +192 -0
- data/pgpool2/pool_select_walker.c +1150 -0
- data/pgpool2/pool_select_walker.h +68 -0
- data/pgpool2/pool_sema.c +161 -0
- data/pgpool2/pool_session_context.c +952 -0
- data/pgpool2/pool_session_context.h +203 -0
- data/pgpool2/pool_shmem.c +185 -0
- data/pgpool2/pool_signal.c +158 -0
- data/pgpool2/pool_signal.h +61 -0
- data/pgpool2/pool_ssl.c +339 -0
- data/pgpool2/pool_stream.c +962 -0
- data/pgpool2/pool_stream.h +61 -0
- data/pgpool2/pool_system.c +659 -0
- data/pgpool2/pool_timestamp.c +1215 -0
- data/pgpool2/pool_timestamp.h +38 -0
- data/pgpool2/pool_type.h +171 -0
- data/pgpool2/pool_worker_child.c +384 -0
- data/pgpool2/ps_status.c +404 -0
- data/pgpool2/recovery.c +435 -0
- data/pgpool2/redhat/pgpool.conf.sample.patch +52 -0
- data/pgpool2/redhat/pgpool.init +201 -0
- data/pgpool2/redhat/pgpool.sysconfig +7 -0
- data/pgpool2/redhat/rpm_installer/basebackup-replication.sh +53 -0
- data/pgpool2/redhat/rpm_installer/basebackup-stream.sh +55 -0
- data/pgpool2/redhat/rpm_installer/config_for_script +17 -0
- data/pgpool2/redhat/rpm_installer/failover.sh +64 -0
- data/pgpool2/redhat/rpm_installer/getsources.sh +141 -0
- data/pgpool2/redhat/rpm_installer/install.sh +1363 -0
- data/pgpool2/redhat/rpm_installer/pgpool_recovery_pitr +47 -0
- data/pgpool2/redhat/rpm_installer/pgpool_remote_start +15 -0
- data/pgpool2/redhat/rpm_installer/recovery.conf +4 -0
- data/pgpool2/redhat/rpm_installer/uninstall.sh +57 -0
- data/pgpool2/sample/dist_def_pgbench.sql +73 -0
- data/pgpool2/sample/pgpool.pam +3 -0
- data/pgpool2/sample/pgpool_recovery +20 -0
- data/pgpool2/sample/pgpool_recovery_pitr +19 -0
- data/pgpool2/sample/pgpool_remote_start +13 -0
- data/pgpool2/sample/replicate_def_pgbench.sql +18 -0
- data/pgpool2/sql/insert_lock.sql +15 -0
- data/pgpool2/sql/pgpool-recovery/pgpool-recovery.c +280 -0
- data/pgpool2/sql/pgpool-recovery/pgpool-recovery.sql.in +19 -0
- data/pgpool2/sql/pgpool-recovery/pgpool_recovery--1.0.sql +24 -0
- data/pgpool2/sql/pgpool-recovery/pgpool_recovery.control +5 -0
- data/pgpool2/sql/pgpool-recovery/uninstall_pgpool-recovery.sql +3 -0
- data/pgpool2/sql/pgpool-regclass/pgpool-regclass.c +206 -0
- data/pgpool2/sql/pgpool-regclass/pgpool-regclass.sql.in +4 -0
- data/pgpool2/sql/pgpool-regclass/pgpool_regclass--1.0.sql +7 -0
- data/pgpool2/sql/pgpool-regclass/pgpool_regclass.control +5 -0
- data/pgpool2/sql/pgpool-regclass/uninstall_pgpool-regclass.sql +1 -0
- data/pgpool2/sql/system_db.sql +38 -0
- data/pgpool2/strlcpy.c +85 -0
- data/pgpool2/test/C/test_extended.c +98 -0
- data/pgpool2/test/jdbc/.cvsignore +2 -0
- data/pgpool2/test/jdbc/AutoCommitTest.java +45 -0
- data/pgpool2/test/jdbc/BatchTest.java +55 -0
- data/pgpool2/test/jdbc/ColumnTest.java +60 -0
- data/pgpool2/test/jdbc/CreateTempTableTest.java +48 -0
- data/pgpool2/test/jdbc/InsertTest.java +34 -0
- data/pgpool2/test/jdbc/LockTest.java +36 -0
- data/pgpool2/test/jdbc/PgpoolTest.java +75 -0
- data/pgpool2/test/jdbc/README.euc_jp +73 -0
- data/pgpool2/test/jdbc/RunTest.java +83 -0
- data/pgpool2/test/jdbc/SelectTest.java +37 -0
- data/pgpool2/test/jdbc/UpdateTest.java +32 -0
- data/pgpool2/test/jdbc/expected/CreateTempTable +1 -0
- data/pgpool2/test/jdbc/expected/autocommit +10 -0
- data/pgpool2/test/jdbc/expected/batch +1 -0
- data/pgpool2/test/jdbc/expected/column +100 -0
- data/pgpool2/test/jdbc/expected/insert +1 -0
- data/pgpool2/test/jdbc/expected/lock +100 -0
- data/pgpool2/test/jdbc/expected/select +2 -0
- data/pgpool2/test/jdbc/expected/update +1 -0
- data/pgpool2/test/jdbc/pgpool.properties +7 -0
- data/pgpool2/test/jdbc/prepare.sql +54 -0
- data/pgpool2/test/jdbc/run.sh +6 -0
- data/pgpool2/test/parser/.cvsignore +6 -0
- data/pgpool2/test/parser/README +32 -0
- data/pgpool2/test/parser/expected/copy.out +17 -0
- data/pgpool2/test/parser/expected/create.out +64 -0
- data/pgpool2/test/parser/expected/cursor.out +37 -0
- data/pgpool2/test/parser/expected/delete.out +10 -0
- data/pgpool2/test/parser/expected/drop.out +12 -0
- data/pgpool2/test/parser/expected/insert.out +13 -0
- data/pgpool2/test/parser/expected/misc.out +28 -0
- data/pgpool2/test/parser/expected/prepare.out +4 -0
- data/pgpool2/test/parser/expected/privileges.out +31 -0
- data/pgpool2/test/parser/expected/scanner.out +30 -0
- data/pgpool2/test/parser/expected/select.out +89 -0
- data/pgpool2/test/parser/expected/transaction.out +38 -0
- data/pgpool2/test/parser/expected/update.out +11 -0
- data/pgpool2/test/parser/expected/v84.out +37 -0
- data/pgpool2/test/parser/expected/v90.out +25 -0
- data/pgpool2/test/parser/expected/var.out +22 -0
- data/pgpool2/test/parser/input/alter.sql +2 -0
- data/pgpool2/test/parser/input/copy.sql +17 -0
- data/pgpool2/test/parser/input/create.sql +64 -0
- data/pgpool2/test/parser/input/cursor.sql +37 -0
- data/pgpool2/test/parser/input/delete.sql +10 -0
- data/pgpool2/test/parser/input/drop.sql +12 -0
- data/pgpool2/test/parser/input/insert.sql +13 -0
- data/pgpool2/test/parser/input/misc.sql +28 -0
- data/pgpool2/test/parser/input/prepare.sql +4 -0
- data/pgpool2/test/parser/input/privileges.sql +31 -0
- data/pgpool2/test/parser/input/scanner.sql +34 -0
- data/pgpool2/test/parser/input/select.sql +89 -0
- data/pgpool2/test/parser/input/transaction.sql +38 -0
- data/pgpool2/test/parser/input/update.sql +11 -0
- data/pgpool2/test/parser/input/v84.sql +37 -0
- data/pgpool2/test/parser/input/v90.sql +38 -0
- data/pgpool2/test/parser/input/var.sql +22 -0
- data/pgpool2/test/parser/main.c +96 -0
- data/pgpool2/test/parser/parse_schedule +16 -0
- data/pgpool2/test/parser/pool.h +13 -0
- data/pgpool2/test/parser/run-test +62 -0
- data/pgpool2/test/pdo-test/README.euc_jp +58 -0
- data/pgpool2/test/pdo-test/SQLlist/test1.sql +3 -0
- data/pgpool2/test/pdo-test/SQLlist/test2.sql +3 -0
- data/pgpool2/test/pdo-test/collections.inc +11 -0
- data/pgpool2/test/pdo-test/def.inc +7 -0
- data/pgpool2/test/pdo-test/log.txt +0 -0
- data/pgpool2/test/pdo-test/mod/database.inc +36 -0
- data/pgpool2/test/pdo-test/mod/def.inc +0 -0
- data/pgpool2/test/pdo-test/mod/errorhandler.inc +27 -0
- data/pgpool2/test/pdo-test/pdotest.php +11 -0
- data/pgpool2/test/pdo-test/regsql.inc +56 -0
- data/pgpool2/test/pgpool_setup +898 -0
- data/pgpool2/test/regression/README +39 -0
- data/pgpool2/test/regression/clean.sh +21 -0
- data/pgpool2/test/regression/libs.sh +16 -0
- data/pgpool2/test/regression/regress.sh +166 -0
- data/pgpool2/test/regression/tests/001.load_balance/test.sh +128 -0
- data/pgpool2/test/regression/tests/002.native_replication/PgTester.java +47 -0
- data/pgpool2/test/regression/tests/002.native_replication/create.sql +6 -0
- data/pgpool2/test/regression/tests/002.native_replication/test.sh +71 -0
- data/pgpool2/test/regression/tests/003.failover/expected.r +6 -0
- data/pgpool2/test/regression/tests/003.failover/expected.s +6 -0
- data/pgpool2/test/regression/tests/003.failover/test.sh +45 -0
- data/pgpool2/test/regression/tests/004.watchdog/master.conf +12 -0
- data/pgpool2/test/regression/tests/004.watchdog/standby.conf +19 -0
- data/pgpool2/test/regression/tests/004.watchdog/test.sh +52 -0
- data/pgpool2/test/regression/tests/050.bug58/test.sh +50 -0
- data/pgpool2/test/regression/tests/051.bug60/bug.sql +12 -0
- data/pgpool2/test/regression/tests/051.bug60/database-clean.sql +6 -0
- data/pgpool2/test/regression/tests/051.bug60/database-setup.sql +28 -0
- data/pgpool2/test/regression/tests/051.bug60/test.sh +79 -0
- data/pgpool2/test/regression/tests/052.do_query/test.sh +44 -0
- data/pgpool2/test/regression/tests/053.insert_lock_hangs/test.sh +81 -0
- data/pgpool2/test/regression/tests/054.postgres_fdw/test.sh +67 -0
- data/pgpool2/test/regression/tests/055.backend_all_down/test.sh +52 -0
- data/pgpool2/test/regression/tests/056.bug63/jdbctest2.java +66 -0
- data/pgpool2/test/regression/tests/056.bug63/test.sh +47 -0
- data/pgpool2/test/regression/tests/057.bug61/test.sh +40 -0
- data/pgpool2/test/regression/tests/058.bug68/jdbctest3.java +45 -0
- data/pgpool2/test/regression/tests/058.bug68/test.sh +47 -0
- data/pgpool2/test/timestamp/expected/insert.out +16 -0
- data/pgpool2/test/timestamp/expected/misc.out +3 -0
- data/pgpool2/test/timestamp/expected/update.out +6 -0
- data/pgpool2/test/timestamp/input/insert.sql +16 -0
- data/pgpool2/test/timestamp/input/misc.sql +3 -0
- data/pgpool2/test/timestamp/input/update.sql +6 -0
- data/pgpool2/test/timestamp/main.c +129 -0
- data/pgpool2/test/timestamp/parse_schedule +3 -0
- data/pgpool2/test/timestamp/run-test +69 -0
- data/pgpool2/version.h +1 -0
- data/pgpool2/watchdog/Makefile.am +17 -0
- data/pgpool2/watchdog/Makefile.in +505 -0
- data/pgpool2/watchdog/test/stab.c +266 -0
- data/pgpool2/watchdog/test/test.c +85 -0
- data/pgpool2/watchdog/test/wd_child_t.c +87 -0
- data/pgpool2/watchdog/test/wd_lifecheck_t.c +87 -0
- data/pgpool2/watchdog/test/wd_packet_t.c +87 -0
- data/pgpool2/watchdog/test/wd_ping_t.c +20 -0
- data/pgpool2/watchdog/watchdog.c +408 -0
- data/pgpool2/watchdog/watchdog.h +209 -0
- data/pgpool2/watchdog/wd_child.c +444 -0
- data/pgpool2/watchdog/wd_ext.h +123 -0
- data/pgpool2/watchdog/wd_heartbeat.c +577 -0
- data/pgpool2/watchdog/wd_if.c +216 -0
- data/pgpool2/watchdog/wd_init.c +126 -0
- data/pgpool2/watchdog/wd_interlock.c +347 -0
- data/pgpool2/watchdog/wd_lifecheck.c +512 -0
- data/pgpool2/watchdog/wd_list.c +429 -0
- data/pgpool2/watchdog/wd_packet.c +1159 -0
- data/pgpool2/watchdog/wd_ping.c +330 -0
- data/pgpool2/ylwrap +223 -0
- data/pgsql/presto_client.py +346 -0
- data/pgsql/prestogres.py +156 -0
- data/pgsql/setup_functions.sql +21 -0
- data/pgsql/setup_language.sql +3 -0
- data/prestogres.gemspec +23 -0
- metadata +496 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
|
3
|
+
# $Header$
|
4
|
+
|
5
|
+
#
|
6
|
+
# Usage��./run-test schedule
|
7
|
+
# ignore a line at the beginning of '#'
|
8
|
+
#
|
9
|
+
|
10
|
+
INPUT_DIRECTORY="input"
|
11
|
+
EXPECTED_DIRECTORY="expected"
|
12
|
+
RESULT_DIRECTORY="result"
|
13
|
+
TEST_PROGRAM="./timestamp-test"
|
14
|
+
DIFF_FILE="test.diff"
|
15
|
+
|
16
|
+
def escape_string str
|
17
|
+
str.gsub(/([\$\"\\])/) { "\\" + $1 }
|
18
|
+
end
|
19
|
+
|
20
|
+
if ARGV.size != 1
|
21
|
+
STDERR.puts "run-test schedule_file"
|
22
|
+
exit 1
|
23
|
+
end
|
24
|
+
|
25
|
+
file = ARGV.shift
|
26
|
+
if !(File.exists? file)
|
27
|
+
STDERR.puts "run-test: file does not exist: #{file}"
|
28
|
+
exit 1
|
29
|
+
end
|
30
|
+
|
31
|
+
if !(File.exists? RESULT_DIRECTORY)
|
32
|
+
Dir.mkdir RESULT_DIRECTORY
|
33
|
+
else
|
34
|
+
Dir["#{RESULT_DIRECTORY}/*.out"].each do |f|
|
35
|
+
File.unlink f
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
File.unlink DIFF_FILE if File.exists? DIFF_FILE
|
40
|
+
|
41
|
+
begin
|
42
|
+
IO.foreach(file) do |testcase|
|
43
|
+
testcase.chomp!
|
44
|
+
if (/^\#/ =~ testcase or testcase == "")
|
45
|
+
next
|
46
|
+
end
|
47
|
+
|
48
|
+
print "testcase #{testcase}:\t"
|
49
|
+
begin
|
50
|
+
IO.foreach("#{INPUT_DIRECTORY}/#{testcase}.sql") do |test_sql|
|
51
|
+
test_sql.chomp!
|
52
|
+
system("#{TEST_PROGRAM} \"#{escape_string(test_sql)}\" >> #{RESULT_DIRECTORY}/#{testcase}.out\n")
|
53
|
+
end
|
54
|
+
|
55
|
+
system("diff -c #{EXPECTED_DIRECTORY}/#{testcase}.out #{RESULT_DIRECTORY}/#{testcase}.out >> #{DIFF_FILE}")
|
56
|
+
|
57
|
+
if ($? == 0)
|
58
|
+
print "OK\n"
|
59
|
+
else
|
60
|
+
print "FAILED\n"
|
61
|
+
end
|
62
|
+
rescue
|
63
|
+
print "FAILED\n"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
rescue
|
68
|
+
STDERR.puts "NG"
|
69
|
+
end
|
data/pgpool2/version.h
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
#define PGPOOLVERSION "tokakiboshi"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
noinst_LIBRARIES = lib-watchdog.a
|
2
|
+
|
3
|
+
lib_watchdog_a_SOURCES = \
|
4
|
+
watchdog.c \
|
5
|
+
watchdog.h \
|
6
|
+
wd_child.c \
|
7
|
+
wd_ext.h \
|
8
|
+
wd_if.c \
|
9
|
+
wd_init.c \
|
10
|
+
wd_lifecheck.c \
|
11
|
+
wd_list.c \
|
12
|
+
wd_packet.c \
|
13
|
+
wd_ping.c \
|
14
|
+
wd_heartbeat.c \
|
15
|
+
wd_interlock.c
|
16
|
+
|
17
|
+
AM_CPPFLAGS = -D_GNU_SOURCE -I .. -I @PGSQL_INCLUDE_DIR@
|
@@ -0,0 +1,505 @@
|
|
1
|
+
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
2
|
+
# @configure_input@
|
3
|
+
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
6
|
+
# Inc.
|
7
|
+
# This Makefile.in is free software; the Free Software Foundation
|
8
|
+
# gives unlimited permission to copy and/or distribute it,
|
9
|
+
# with or without modifications, as long as this notice is preserved.
|
10
|
+
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
13
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
14
|
+
# PARTICULAR PURPOSE.
|
15
|
+
|
16
|
+
@SET_MAKE@
|
17
|
+
|
18
|
+
VPATH = @srcdir@
|
19
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
20
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
21
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
22
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
23
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
24
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
25
|
+
install_sh_PROGRAM = $(install_sh) -c
|
26
|
+
install_sh_SCRIPT = $(install_sh) -c
|
27
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
28
|
+
transform = $(program_transform_name)
|
29
|
+
NORMAL_INSTALL = :
|
30
|
+
PRE_INSTALL = :
|
31
|
+
POST_INSTALL = :
|
32
|
+
NORMAL_UNINSTALL = :
|
33
|
+
PRE_UNINSTALL = :
|
34
|
+
POST_UNINSTALL = :
|
35
|
+
build_triplet = @build@
|
36
|
+
host_triplet = @host@
|
37
|
+
subdir = watchdog
|
38
|
+
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
39
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
40
|
+
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
41
|
+
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
42
|
+
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
43
|
+
$(top_srcdir)/c-compiler.m4 $(top_srcdir)/c-library.m4 \
|
44
|
+
$(top_srcdir)/general.m4 \
|
45
|
+
$(top_srcdir)/ac_func_accept_argtypes.m4 \
|
46
|
+
$(top_srcdir)/configure.in
|
47
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
48
|
+
$(ACLOCAL_M4)
|
49
|
+
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
50
|
+
CONFIG_HEADER = $(top_builddir)/config.h
|
51
|
+
CONFIG_CLEAN_FILES =
|
52
|
+
CONFIG_CLEAN_VPATH_FILES =
|
53
|
+
LIBRARIES = $(noinst_LIBRARIES)
|
54
|
+
ARFLAGS = cru
|
55
|
+
lib_watchdog_a_AR = $(AR) $(ARFLAGS)
|
56
|
+
lib_watchdog_a_LIBADD =
|
57
|
+
am_lib_watchdog_a_OBJECTS = watchdog.$(OBJEXT) wd_child.$(OBJEXT) \
|
58
|
+
wd_if.$(OBJEXT) wd_init.$(OBJEXT) wd_lifecheck.$(OBJEXT) \
|
59
|
+
wd_list.$(OBJEXT) wd_packet.$(OBJEXT) wd_ping.$(OBJEXT) \
|
60
|
+
wd_heartbeat.$(OBJEXT) wd_interlock.$(OBJEXT)
|
61
|
+
lib_watchdog_a_OBJECTS = $(am_lib_watchdog_a_OBJECTS)
|
62
|
+
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
63
|
+
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
64
|
+
am__depfiles_maybe = depfiles
|
65
|
+
am__mv = mv -f
|
66
|
+
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
67
|
+
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
68
|
+
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
69
|
+
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
70
|
+
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
71
|
+
CCLD = $(CC)
|
72
|
+
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
73
|
+
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
74
|
+
$(LDFLAGS) -o $@
|
75
|
+
SOURCES = $(lib_watchdog_a_SOURCES)
|
76
|
+
DIST_SOURCES = $(lib_watchdog_a_SOURCES)
|
77
|
+
ETAGS = etags
|
78
|
+
CTAGS = ctags
|
79
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
80
|
+
ACLOCAL = @ACLOCAL@
|
81
|
+
AMTAR = @AMTAR@
|
82
|
+
AR = @AR@
|
83
|
+
AUTOCONF = @AUTOCONF@
|
84
|
+
AUTOHEADER = @AUTOHEADER@
|
85
|
+
AUTOMAKE = @AUTOMAKE@
|
86
|
+
AWK = @AWK@
|
87
|
+
CC = @CC@
|
88
|
+
CCDEPMODE = @CCDEPMODE@
|
89
|
+
CFLAGS = @CFLAGS@
|
90
|
+
CPP = @CPP@
|
91
|
+
CPPFLAGS = @CPPFLAGS@
|
92
|
+
CYGPATH_W = @CYGPATH_W@
|
93
|
+
DEFS = @DEFS@
|
94
|
+
DEPDIR = @DEPDIR@
|
95
|
+
DSYMUTIL = @DSYMUTIL@
|
96
|
+
DUMPBIN = @DUMPBIN@
|
97
|
+
ECHO_C = @ECHO_C@
|
98
|
+
ECHO_N = @ECHO_N@
|
99
|
+
ECHO_T = @ECHO_T@
|
100
|
+
EGREP = @EGREP@
|
101
|
+
EXEEXT = @EXEEXT@
|
102
|
+
FGREP = @FGREP@
|
103
|
+
GREP = @GREP@
|
104
|
+
INSTALL = @INSTALL@
|
105
|
+
INSTALL_DATA = @INSTALL_DATA@
|
106
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
107
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
108
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
109
|
+
LD = @LD@
|
110
|
+
LDFLAGS = @LDFLAGS@
|
111
|
+
LEX = @LEX@
|
112
|
+
LEXLIB = @LEXLIB@
|
113
|
+
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
114
|
+
LIBOBJS = @LIBOBJS@
|
115
|
+
LIBS = @LIBS@
|
116
|
+
LIBTOOL = @LIBTOOL@
|
117
|
+
LIPO = @LIPO@
|
118
|
+
LN_S = @LN_S@
|
119
|
+
LTLIBOBJS = @LTLIBOBJS@
|
120
|
+
MAKEINFO = @MAKEINFO@
|
121
|
+
MEMCACHED_DIR = @MEMCACHED_DIR@
|
122
|
+
MEMCACHED_INCLUDE_OPT = @MEMCACHED_INCLUDE_OPT@
|
123
|
+
MEMCACHED_LINK_OPT = @MEMCACHED_LINK_OPT@
|
124
|
+
MEMCACHED_RPATH_OPT = @MEMCACHED_RPATH_OPT@
|
125
|
+
MKDIR_P = @MKDIR_P@
|
126
|
+
NM = @NM@
|
127
|
+
NMEDIT = @NMEDIT@
|
128
|
+
OBJDUMP = @OBJDUMP@
|
129
|
+
OBJEXT = @OBJEXT@
|
130
|
+
OTOOL = @OTOOL@
|
131
|
+
OTOOL64 = @OTOOL64@
|
132
|
+
PACKAGE = @PACKAGE@
|
133
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
134
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
135
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
136
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
137
|
+
PACKAGE_URL = @PACKAGE_URL@
|
138
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
139
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
140
|
+
PGCONFIG = @PGCONFIG@
|
141
|
+
PGSQL_INCLUDE_DIR = @PGSQL_INCLUDE_DIR@
|
142
|
+
PGSQL_LIB_DIR = @PGSQL_LIB_DIR@
|
143
|
+
RANLIB = @RANLIB@
|
144
|
+
SED = @SED@
|
145
|
+
SET_MAKE = @SET_MAKE@
|
146
|
+
SHELL = @SHELL@
|
147
|
+
STRIP = @STRIP@
|
148
|
+
VERSION = @VERSION@
|
149
|
+
YACC = @YACC@
|
150
|
+
YFLAGS = @YFLAGS@
|
151
|
+
abs_builddir = @abs_builddir@
|
152
|
+
abs_srcdir = @abs_srcdir@
|
153
|
+
abs_top_builddir = @abs_top_builddir@
|
154
|
+
abs_top_srcdir = @abs_top_srcdir@
|
155
|
+
ac_ct_CC = @ac_ct_CC@
|
156
|
+
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
157
|
+
am__include = @am__include@
|
158
|
+
am__leading_dot = @am__leading_dot@
|
159
|
+
am__quote = @am__quote@
|
160
|
+
am__tar = @am__tar@
|
161
|
+
am__untar = @am__untar@
|
162
|
+
bindir = @bindir@
|
163
|
+
build = @build@
|
164
|
+
build_alias = @build_alias@
|
165
|
+
build_cpu = @build_cpu@
|
166
|
+
build_os = @build_os@
|
167
|
+
build_vendor = @build_vendor@
|
168
|
+
builddir = @builddir@
|
169
|
+
datadir = @datadir@
|
170
|
+
datarootdir = @datarootdir@
|
171
|
+
docdir = @docdir@
|
172
|
+
dvidir = @dvidir@
|
173
|
+
exec_prefix = @exec_prefix@
|
174
|
+
host = @host@
|
175
|
+
host_alias = @host_alias@
|
176
|
+
host_cpu = @host_cpu@
|
177
|
+
host_os = @host_os@
|
178
|
+
host_vendor = @host_vendor@
|
179
|
+
htmldir = @htmldir@
|
180
|
+
includedir = @includedir@
|
181
|
+
infodir = @infodir@
|
182
|
+
install_sh = @install_sh@
|
183
|
+
libdir = @libdir@
|
184
|
+
libexecdir = @libexecdir@
|
185
|
+
localedir = @localedir@
|
186
|
+
localstatedir = @localstatedir@
|
187
|
+
lt_ECHO = @lt_ECHO@
|
188
|
+
mandir = @mandir@
|
189
|
+
mkdir_p = @mkdir_p@
|
190
|
+
oldincludedir = @oldincludedir@
|
191
|
+
pdfdir = @pdfdir@
|
192
|
+
prefix = @prefix@
|
193
|
+
program_transform_name = @program_transform_name@
|
194
|
+
psdir = @psdir@
|
195
|
+
sbindir = @sbindir@
|
196
|
+
sharedstatedir = @sharedstatedir@
|
197
|
+
srcdir = @srcdir@
|
198
|
+
sysconfdir = @sysconfdir@
|
199
|
+
target_alias = @target_alias@
|
200
|
+
top_build_prefix = @top_build_prefix@
|
201
|
+
top_builddir = @top_builddir@
|
202
|
+
top_srcdir = @top_srcdir@
|
203
|
+
noinst_LIBRARIES = lib-watchdog.a
|
204
|
+
lib_watchdog_a_SOURCES = \
|
205
|
+
watchdog.c \
|
206
|
+
watchdog.h \
|
207
|
+
wd_child.c \
|
208
|
+
wd_ext.h \
|
209
|
+
wd_if.c \
|
210
|
+
wd_init.c \
|
211
|
+
wd_lifecheck.c \
|
212
|
+
wd_list.c \
|
213
|
+
wd_packet.c \
|
214
|
+
wd_ping.c \
|
215
|
+
wd_heartbeat.c \
|
216
|
+
wd_interlock.c
|
217
|
+
|
218
|
+
AM_CPPFLAGS = -D_GNU_SOURCE -I .. -I @PGSQL_INCLUDE_DIR@
|
219
|
+
all: all-am
|
220
|
+
|
221
|
+
.SUFFIXES:
|
222
|
+
.SUFFIXES: .c .lo .o .obj
|
223
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
224
|
+
@for dep in $?; do \
|
225
|
+
case '$(am__configure_deps)' in \
|
226
|
+
*$$dep*) \
|
227
|
+
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
228
|
+
&& { if test -f $@; then exit 0; else break; fi; }; \
|
229
|
+
exit 1;; \
|
230
|
+
esac; \
|
231
|
+
done; \
|
232
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu watchdog/Makefile'; \
|
233
|
+
$(am__cd) $(top_srcdir) && \
|
234
|
+
$(AUTOMAKE) --gnu watchdog/Makefile
|
235
|
+
.PRECIOUS: Makefile
|
236
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
237
|
+
@case '$?' in \
|
238
|
+
*config.status*) \
|
239
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
240
|
+
*) \
|
241
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
242
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
243
|
+
esac;
|
244
|
+
|
245
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
246
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
247
|
+
|
248
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
249
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
250
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
251
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
252
|
+
$(am__aclocal_m4_deps):
|
253
|
+
|
254
|
+
clean-noinstLIBRARIES:
|
255
|
+
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
256
|
+
lib-watchdog.a: $(lib_watchdog_a_OBJECTS) $(lib_watchdog_a_DEPENDENCIES)
|
257
|
+
-rm -f lib-watchdog.a
|
258
|
+
$(lib_watchdog_a_AR) lib-watchdog.a $(lib_watchdog_a_OBJECTS) $(lib_watchdog_a_LIBADD)
|
259
|
+
$(RANLIB) lib-watchdog.a
|
260
|
+
|
261
|
+
mostlyclean-compile:
|
262
|
+
-rm -f *.$(OBJEXT)
|
263
|
+
|
264
|
+
distclean-compile:
|
265
|
+
-rm -f *.tab.c
|
266
|
+
|
267
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/watchdog.Po@am__quote@
|
268
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_child.Po@am__quote@
|
269
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_heartbeat.Po@am__quote@
|
270
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_if.Po@am__quote@
|
271
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_init.Po@am__quote@
|
272
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_interlock.Po@am__quote@
|
273
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_lifecheck.Po@am__quote@
|
274
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_list.Po@am__quote@
|
275
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_packet.Po@am__quote@
|
276
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd_ping.Po@am__quote@
|
277
|
+
|
278
|
+
.c.o:
|
279
|
+
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
280
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
281
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
282
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
283
|
+
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
284
|
+
|
285
|
+
.c.obj:
|
286
|
+
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
287
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
288
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
289
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
290
|
+
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
291
|
+
|
292
|
+
.c.lo:
|
293
|
+
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
294
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
295
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
296
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
297
|
+
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
298
|
+
|
299
|
+
mostlyclean-libtool:
|
300
|
+
-rm -f *.lo
|
301
|
+
|
302
|
+
clean-libtool:
|
303
|
+
-rm -rf .libs _libs
|
304
|
+
|
305
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
306
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
307
|
+
unique=`for i in $$list; do \
|
308
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
309
|
+
done | \
|
310
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
311
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
312
|
+
mkid -fID $$unique
|
313
|
+
tags: TAGS
|
314
|
+
|
315
|
+
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
316
|
+
$(TAGS_FILES) $(LISP)
|
317
|
+
set x; \
|
318
|
+
here=`pwd`; \
|
319
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
320
|
+
unique=`for i in $$list; do \
|
321
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
322
|
+
done | \
|
323
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
324
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
325
|
+
shift; \
|
326
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
327
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
328
|
+
if test $$# -gt 0; then \
|
329
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
330
|
+
"$$@" $$unique; \
|
331
|
+
else \
|
332
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
333
|
+
$$unique; \
|
334
|
+
fi; \
|
335
|
+
fi
|
336
|
+
ctags: CTAGS
|
337
|
+
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
338
|
+
$(TAGS_FILES) $(LISP)
|
339
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
340
|
+
unique=`for i in $$list; do \
|
341
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
342
|
+
done | \
|
343
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
344
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
345
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
346
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
347
|
+
$$unique
|
348
|
+
|
349
|
+
GTAGS:
|
350
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
351
|
+
&& $(am__cd) $(top_srcdir) \
|
352
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
353
|
+
|
354
|
+
distclean-tags:
|
355
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
356
|
+
|
357
|
+
distdir: $(DISTFILES)
|
358
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
359
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
360
|
+
list='$(DISTFILES)'; \
|
361
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
362
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
363
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
364
|
+
case $$dist_files in \
|
365
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
366
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
367
|
+
sort -u` ;; \
|
368
|
+
esac; \
|
369
|
+
for file in $$dist_files; do \
|
370
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
371
|
+
if test -d $$d/$$file; then \
|
372
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
373
|
+
if test -d "$(distdir)/$$file"; then \
|
374
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
375
|
+
fi; \
|
376
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
377
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
378
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
379
|
+
fi; \
|
380
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
381
|
+
else \
|
382
|
+
test -f "$(distdir)/$$file" \
|
383
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
384
|
+
|| exit 1; \
|
385
|
+
fi; \
|
386
|
+
done
|
387
|
+
check-am: all-am
|
388
|
+
check: check-am
|
389
|
+
all-am: Makefile $(LIBRARIES)
|
390
|
+
installdirs:
|
391
|
+
install: install-am
|
392
|
+
install-exec: install-exec-am
|
393
|
+
install-data: install-data-am
|
394
|
+
uninstall: uninstall-am
|
395
|
+
|
396
|
+
install-am: all-am
|
397
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
398
|
+
|
399
|
+
installcheck: installcheck-am
|
400
|
+
install-strip:
|
401
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
402
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
403
|
+
`test -z '$(STRIP)' || \
|
404
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
405
|
+
mostlyclean-generic:
|
406
|
+
|
407
|
+
clean-generic:
|
408
|
+
|
409
|
+
distclean-generic:
|
410
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
411
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
412
|
+
|
413
|
+
maintainer-clean-generic:
|
414
|
+
@echo "This command is intended for maintainers to use"
|
415
|
+
@echo "it deletes files that may require special tools to rebuild."
|
416
|
+
clean: clean-am
|
417
|
+
|
418
|
+
clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
419
|
+
mostlyclean-am
|
420
|
+
|
421
|
+
distclean: distclean-am
|
422
|
+
-rm -rf ./$(DEPDIR)
|
423
|
+
-rm -f Makefile
|
424
|
+
distclean-am: clean-am distclean-compile distclean-generic \
|
425
|
+
distclean-tags
|
426
|
+
|
427
|
+
dvi: dvi-am
|
428
|
+
|
429
|
+
dvi-am:
|
430
|
+
|
431
|
+
html: html-am
|
432
|
+
|
433
|
+
html-am:
|
434
|
+
|
435
|
+
info: info-am
|
436
|
+
|
437
|
+
info-am:
|
438
|
+
|
439
|
+
install-data-am:
|
440
|
+
|
441
|
+
install-dvi: install-dvi-am
|
442
|
+
|
443
|
+
install-dvi-am:
|
444
|
+
|
445
|
+
install-exec-am:
|
446
|
+
|
447
|
+
install-html: install-html-am
|
448
|
+
|
449
|
+
install-html-am:
|
450
|
+
|
451
|
+
install-info: install-info-am
|
452
|
+
|
453
|
+
install-info-am:
|
454
|
+
|
455
|
+
install-man:
|
456
|
+
|
457
|
+
install-pdf: install-pdf-am
|
458
|
+
|
459
|
+
install-pdf-am:
|
460
|
+
|
461
|
+
install-ps: install-ps-am
|
462
|
+
|
463
|
+
install-ps-am:
|
464
|
+
|
465
|
+
installcheck-am:
|
466
|
+
|
467
|
+
maintainer-clean: maintainer-clean-am
|
468
|
+
-rm -rf ./$(DEPDIR)
|
469
|
+
-rm -f Makefile
|
470
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
471
|
+
|
472
|
+
mostlyclean: mostlyclean-am
|
473
|
+
|
474
|
+
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
475
|
+
mostlyclean-libtool
|
476
|
+
|
477
|
+
pdf: pdf-am
|
478
|
+
|
479
|
+
pdf-am:
|
480
|
+
|
481
|
+
ps: ps-am
|
482
|
+
|
483
|
+
ps-am:
|
484
|
+
|
485
|
+
uninstall-am:
|
486
|
+
|
487
|
+
.MAKE: install-am install-strip
|
488
|
+
|
489
|
+
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
490
|
+
clean-libtool clean-noinstLIBRARIES ctags distclean \
|
491
|
+
distclean-compile distclean-generic distclean-libtool \
|
492
|
+
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
493
|
+
install install-am install-data install-data-am install-dvi \
|
494
|
+
install-dvi-am install-exec install-exec-am install-html \
|
495
|
+
install-html-am install-info install-info-am install-man \
|
496
|
+
install-pdf install-pdf-am install-ps install-ps-am \
|
497
|
+
install-strip installcheck installcheck-am installdirs \
|
498
|
+
maintainer-clean maintainer-clean-generic mostlyclean \
|
499
|
+
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
500
|
+
pdf pdf-am ps ps-am tags uninstall uninstall-am
|
501
|
+
|
502
|
+
|
503
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
504
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
505
|
+
.NOEXPORT:
|