diff options
Diffstat (limited to 'contrib/pgbench/Makefile')
| -rw-r--r-- | contrib/pgbench/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/pgbench/Makefile b/contrib/pgbench/Makefile index b8504342b66..a2a743a7dc7 100644 --- a/contrib/pgbench/Makefile +++ b/contrib/pgbench/Makefile @@ -1,8 +1,4 @@ -# $PostgreSQL: pgsql/contrib/pgbench/Makefile,v 1.11 2003/11/29 19:51:35 pgsql Exp $ - -subdir = contrib/pgbench -top_builddir = ../.. -include $(top_builddir)/src/Makefile.global +# $PostgreSQL: pgsql/contrib/pgbench/Makefile,v 1.12 2004/08/20 20:13:06 momjian Exp $ PROGRAM = pgbench OBJS = pgbench.o @@ -12,4 +8,12 @@ PG_LIBS = $(libpq) DOCS = README.pgbench README.pgbench_jis +ifdef USE_PGXS +PGXS = $(shell pg_config --pgxs) +include $(PGXS) +else +subdir = contrib/pgbench +top_builddir = ../.. +include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk +endif |
