~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to contrib/pgbench/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $PostgreSQL$
 
2
 
 
3
PROGRAM = pgbench
 
4
OBJS    = pgbench.o
 
5
 
 
6
PG_CPPFLAGS = -I$(libpq_srcdir)
 
7
PG_LIBS = $(libpq_pgport)
 
8
 
 
9
ifdef USE_PGXS
 
10
PG_CONFIG = pg_config
 
11
PGXS := $(shell $(PG_CONFIG) --pgxs)
 
12
include $(PGXS)
 
13
else
 
14
subdir = contrib/pgbench
 
15
top_builddir = ../..
 
16
include $(top_builddir)/src/Makefile.global
 
17
include $(top_srcdir)/contrib/contrib-global.mk
 
18
endif