2000-06-15 22:55:34 +04:00
|
|
|
#
|
2000-08-31 20:12:35 +04:00
|
|
|
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.6 2000/08/31 16:09:09 petere Exp $
|
2000-06-15 22:55:34 +04:00
|
|
|
#
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
subdir = contrib/pgbench
|
|
|
|
top_builddir = ../..
|
|
|
|
include ../../src/Makefile.global
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-08-31 20:12:35 +04:00
|
|
|
CFLAGS += -I$(libpq_srcdir)
|
|
|
|
LIBS += $(libpq)
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
all: pgbench
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
install: all installdirs
|
|
|
|
$(INSTALL_PROGRAM) pgbench$(X) $(bindir)
|
|
|
|
$(INSTALL_DATA) README.pgbench $(docdir)/contrib
|
|
|
|
$(INSTALL_DATA) README.pgbench_jis $(docdir)/contrib
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(bindir) $(docdir)/contrib
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
uninstall:
|
|
|
|
rm -f $(bindir)/pgbench$(X) $(docdir)/contrib/README.pgbench $(docdir)/contrib/README.pgbench_jis
|
2000-01-15 15:38:09 +03:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
clean distclean maintainer-clean:
|
|
|
|
rm -f pgbench$(X)
|