summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/Makefile
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-02-09 03:23:52 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-02-09 03:23:52 +0000
commitad6bfe67bd234fec5f78ff274a830a9686645d30 (patch)
tree8cb8a8c4dda7b79f8f3426612201ccf270d489df /src/bin/pg_dump/Makefile
parentfd84cafb696326326397004d34fbbc650daf8f82 (diff)
downloadpostgresql-ad6bfe67bd234fec5f78ff274a830a9686645d30.tar.gz
Various fixes suggested by Gregor Hoffleit
Add a check to configure for strdup Remove all the '-ltermcap' checks from psql/Makefile Have {psql,pg_dump}/Makefile modified if strdup doesn't exist on the system
Diffstat (limited to 'src/bin/pg_dump/Makefile')
-rw-r--r--src/bin/pg_dump/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/bin/pg_dump/Makefile b/src/bin/pg_dump/Makefile
deleted file mode 100644
index 26e1e9ca7f..0000000000
--- a/src/bin/pg_dump/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-#-------------------------------------------------------------------------
-#
-# Makefile.inc--
-# Makefile for bin/pg_dump
-#
-# Copyright (c) 1994, Regents of the University of California
-#
-#
-# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.13 1997/02/06 02:31:05 momjian Exp $
-#
-#-------------------------------------------------------------------------
-
-SRCDIR= ../..
-include ../../Makefile.global
-include ../Makefile.global
-
-OBJS= pg_dump.o common.o
-
-ifeq ($(PORTNAME), ultrix4)
-OBJS+= ../../utils/strdup.o
-endif
-
-all: submake pg_dump
-
-pg_dump: $(OBJS) $(LIBPQDIR)/libpq.a
- $(CC) $(LDFLAGS) -o pg_dump -L$(LIBPQDIR) $(OBJS) -lpq $(LD_ADD)
-
-../../utils/strdup.o:
- $(MAKE) -C ../../utils strdup.o
-
-.PHONY: submake
-submake:
- $(MAKE) -C $(LIBPQDIR) libpq.a
-
-install: pg_dump
- $(INSTALL) $(INSTL_EXE_OPTS) pg_dump $(DESTDIR)$(BINDIR)/pg_dump
- $(INSTALL) $(INSTL_EXE_OPTS) pg_dumpall $(DESTDIR)$(BINDIR)/pg_dumpall
-
-depend dep:
- $(CC) -MM $(INCLUDE_OPT) *.c >depend
-
-clean:
- rm -f pg_dump $(OBJS)
-
-ifeq (depend,$(wildcard depend))
-include depend
-endif