diff options
Diffstat (limited to 'contrib/pgbench')
| -rw-r--r-- | contrib/pgbench/Makefile | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/contrib/pgbench/Makefile b/contrib/pgbench/Makefile index 157e9c168c..e52e577931 100644 --- a/contrib/pgbench/Makefile +++ b/contrib/pgbench/Makefile @@ -1,37 +1,15 @@ -# -# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.9 2001/02/20 19:20:27 petere Exp $ -# +# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.10 2001/09/06 10:49:30 petere Exp $ subdir = contrib/pgbench top_builddir = ../.. include $(top_builddir)/src/Makefile.global -override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) - +PROGRAM = pgbench OBJS = pgbench.o -all: pgbench - -pgbench: $(OBJS) $(libpq_builddir)/libpq.a - $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - -install: all installdirs - $(INSTALL_PROGRAM) pgbench$(X) $(bindir) - $(INSTALL_DATA) README.pgbench $(docdir)/contrib - $(INSTALL_DATA) README.pgbench_jis $(docdir)/contrib - -installdirs: - $(mkinstalldirs) $(bindir) $(docdir)/contrib - -uninstall: - rm -f $(bindir)/pgbench$(X) $(docdir)/contrib/README.pgbench $(docdir)/contrib/README.pgbench_jis - -clean distclean maintainer-clean: - rm -f pgbench$(X) $(OBJS) +PG_CPPFLAGS = -I$(libpq_srcdir) +PG_LIBS = $(libpq) -depend dep: - $(CC) -MM -MG $(CFLAGS) *.c > depend +DOCS = README.pgbench README.pgbench_jis -ifeq (depend,$(wildcard depend)) -include depend -endif +include $(top_srcdir)/contrib/contrib-global.mk |
