Add sql directories main Makefile.
authorTatsuo Ishii <ishii at sraoss.co.jp>
Wed, 16 Feb 2011 05:51:29 +0000 (05:51 +0000)
committerTatsuo Ishii <ishii at sraoss.co.jp>
Wed, 16 Feb 2011 05:51:29 +0000 (05:51 +0000)
sql/Makefile [new file with mode: 0644]

diff --git a/sql/Makefile b/sql/Makefile
new file mode 100644 (file)
index 0000000..4ab125a
--- /dev/null
@@ -0,0 +1,45 @@
+# $Header$
+#
+# pgpool: a language independent connection pool server for PostgreSQL
+# written by Tatsuo Ishii
+#
+# Copyright (c) 2003-2011      PgPool Global Development Group
+#
+# Permission to use, copy, modify, and distribute this software and
+# its documentation for any purpose and without fee is hereby
+# granted, provided that the above copyright notice appear in all
+# copies and that both that copyright notice and this permission
+# notice appear in supporting documentation, and that the name of the
+# author not be used in advertising or publicity pertaining to
+# distribution of the software without specific, written prior
+# permission. The author makes no representations about the
+# suitability of this software for any purpose.  It is provided "as
+# is" without express or implied warranty.
+#
+# Makefile for sql/ directory.
+
+subdir = sql
+
+# if you are using PostgreSQL 8.0 or later,
+# using pg_config is recommended.
+# if you are not, comment out following line and...
+USE_PGXS = true
+# set top_builddir to the PostgreSQL build source tree top.
+# (for example /usr/local/src/postgresql-9.0) 
+top_builddir = ..
+
+ifdef USE_PGXS
+PGXS = $(shell pg_config --pgxs)
+include $(PGXS)
+else
+subdir = contrib
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif
+
+SUBDIRS = \
+               pgpool-recovery \
+               pgpool-regclass \
+               pgpool-walrecrunning
+
+$(recurse)