]> git.8kb.co.uk Git - pgpool-ii/pgpool-ii_2.2.5/blob - Makefile.am
Attempt to send a proper failure message to frontend when authentication
[pgpool-ii/pgpool-ii_2.2.5] / Makefile.am
1 bin_PROGRAMS = pgpool pg_md5
2
3 pgpool_SOURCES = pool.h pool_type.h version.h pgpool.conf.sample \
4         README.euc_jp pgpool.spec \
5         main.c child.c pool_auth.c pool_config.l pool_error.c \
6         pool_process_query.c pool_stream.c pool_connection_pool.c pool_params.c \
7         pool_signal.h pool_signal.c pcp_child.c md5.c md5.h pcp.conf.sample \
8         pool_ipc.h pool_shmem.c pool_sema.c pool_system.c \
9         pool_rewrite_query.c pool_rewrite_query.h pool_rewrite_outfuncs.c \
10         pool_query_cache.c pool_hba.conf.sample sample/pgpool.pam\
11         pool_hba.c pool_path.h pool_path.c pool_ip.h pool_ip.c pool_type.h \
12         ps_status.c strlcpy.c recovery.c \
13         pool_proto_modules.c pool_proto_modules.h
14
15 pg_md5_SOURCES = pg_md5.c md5.c md5.h
16
17 DEFS = @DEFS@ \
18         -DDEFAULT_CONFIGDIR=\"$(sysconfdir)\"
19
20 sysconf_DATA = pgpool.conf.sample pcp.conf.sample pool_hba.conf.sample
21 pkgdata_DATA = sql/system_db.sql sample/pgpool.pam
22
23 AM_CPPFLAGS = -D_GNU_SOURCE -I @PGSQL_INCLUDE_DIR@
24
25 pgpool_LDADD = -L@PGSQL_LIB_DIR@ -lpq parser/libsql-parser.a pcp/libpcp.la parser/nodes.o
26 if enable_rpath
27   pgpool_LDFLAGS = -rpath @PGSQL_LIB_DIR@ -rpath $(libdir)
28 else
29   pgpool_LDFLAGS = 
30 endif
31
32 AM_YFLAGS = -d
33
34 man_MANS = pgpool.8
35
36 pgpool.8: pgpool.8.in
37         sed 's,@sysconfdir\@,$(sysconfdir),g' $? >$@
38
39 CLEANFILES = pgpool.8
40 EXTRA_DIST = pgpool.8.in sql/system_db.sql sample/pgpool.pam doc/pgpool-ja.html doc/pgpool-en.html \
41                 doc/tutorial-ja.html doc/tutorial-en.html doc/pgpool.css \
42                 doc/load_balance.png doc/load_balance.odp \
43                 sample/pgpool_remote_start sample/pgpool_recovery sample/pgpool_recovery_pitr \
44                 sample/dist_def_pgbench.sql sample/replicate_def_pgbench.sql \
45                 sql/pgpool-recovery/pgpool-recovery.c \
46                 sql/pgpool-recovery/pgpool-recovery.sql.in sql/pgpool-recovery/Makefile \
47                 test/parser/expected/cursor.out test/parser/expected/copy.out \
48                 test/parser/expected/privileges.out test/parser/expected/delete.out \
49                 test/parser/expected/insert.out test/parser/expected/misc.out \
50                 test/parser/expected/prepare.out test/parser/expected/transaction.out \
51                 test/parser/expected/select.out test/parser/expected/update.out \
52                 test/parser/expected/var.out test/parser/expected/create.out \
53                 test/parser/expected/drop.out test/parser/input/cursor.sql \
54                 test/parser/input/copy.sql test/parser/input/privileges.sql \
55                 test/parser/input/delete.sql test/parser/input/insert.sql \
56                 test/parser/input/misc.sql test/parser/input/prepare.sql \
57                 test/parser/input/transaction.sql test/parser/input/select.sql \
58                 test/parser/input/update.sql test/parser/input/var.sql \
59                 test/parser/input/create.sql test/parser/input/drop.sql \
60                 test/parser/input/alter.sql test/parser/.cvsignore test/parser/Makefile \
61                 test/parser/README test/parser/main.c \
62                 test/parser/pool.h test/parser/run-test \
63                 test/parser/parse_schedule \
64                 test/jdbc/*.java test/jdbc/README.euc_jp test/jdbc/pgpool.properties test/jdbc/prepare.sql test/jdbc/run.sh \
65                 test/jdbc/expected/autocommit test/jdbc/expected/batch \
66                 test/jdbc/expected/column test/jdbc/expected/lock test/jdbc/expected/select \
67                 test/jdbc/expected/update test/jdbc/expected/insert \
68                 redhat/pgpool.init redhat/pgpool.sysconfig
69
70 SUBDIRS = parser pcp