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