2005-09-27 19:13:14 +02:00
|
|
|
# $PostgreSQL: pgsql/contrib/pgbench/Makefile,v 1.14 2005/09/27 17:13:08 tgl Exp $
|
2000-01-15 13:38:09 +01:00
|
|
|
|
2001-09-06 12:49:30 +02:00
|
|
|
PROGRAM = pgbench
|
2000-12-04 02:32:19 +01:00
|
|
|
OBJS = pgbench.o
|
2000-01-15 13:38:09 +01:00
|
|
|
|
2001-09-06 12:49:30 +02:00
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
2005-03-25 19:17:14 +01:00
|
|
|
PG_LIBS = $(libpq_pgport)
|
2000-12-04 02:32:19 +01:00
|
|
|
|
2001-09-06 12:49:30 +02:00
|
|
|
DOCS = README.pgbench README.pgbench_jis
|
2000-12-04 02:32:19 +01:00
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
ifdef USE_PGXS
|
2005-09-27 19:13:14 +02:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/pgbench
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 12:49:30 +02:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 22:13:10 +02:00
|
|
|
endif
|