2000-06-16 02:55:34 +08:00
|
|
|
#
|
2000-10-21 05:04:27 +08:00
|
|
|
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.7 2000/10/20 21:03:26 petere Exp $
|
2000-06-16 02:55:34 +08:00
|
|
|
#
|
2000-01-15 20:38:09 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
subdir = contrib/pgbench
|
|
|
|
top_builddir = ../..
|
2000-10-21 05:04:27 +08:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2000-01-15 20:38:09 +08:00
|
|
|
|
2000-10-21 05:04:27 +08:00
|
|
|
override CPPFLAGS += -I$(libpq_srcdir)
|
|
|
|
override LIBS += $(libpq)
|
2000-01-15 20:38:09 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
all: pgbench
|
2000-01-15 20:38:09 +08:00
|
|
|
|
2000-07-09 21:14:19 +08: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 20:38:09 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(bindir) $(docdir)/contrib
|
2000-01-15 20:38:09 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
uninstall:
|
|
|
|
rm -f $(bindir)/pgbench$(X) $(docdir)/contrib/README.pgbench $(docdir)/contrib/README.pgbench_jis
|
2000-01-15 20:38:09 +08:00
|
|
|
|
2000-07-09 21:14:19 +08:00
|
|
|
clean distclean maintainer-clean:
|
|
|
|
rm -f pgbench$(X)
|