From 424f0edcb8d73446223f1812d3ca88150e1cc953 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 31 Aug 2000 16:12:35 +0000 Subject: Fix relative path references so that make knowns which dependencies refer to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables. --- src/bin/pg_encoding/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin/pg_encoding/Makefile') diff --git a/src/bin/pg_encoding/Makefile b/src/bin/pg_encoding/Makefile index 9dfb8b6283b..fcb6c3ec778 100644 --- a/src/bin/pg_encoding/Makefile +++ b/src/bin/pg_encoding/Makefile @@ -4,25 +4,25 @@ # # Copyright (c) 1998, PostgreSQL Global Development Group # -# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.9 2000/06/28 18:29:21 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.10 2000/08/31 16:11:15 petere Exp $ # #------------------------------------------------------------------------- subdir = src/bin/pg_encoding top_builddir = ../../.. -include ../../Makefile.global +include $(top_builddir)/src/Makefile.global OBJS= pg_encoding.o all: submake pg_encoding$(X) pg_encoding$(X): $(OBJS) - $(CC) -o $@ $(OBJS) $(LIBPQ) $(LDFLAGS) $(CFLAGS) + $(CC) -o $@ $(OBJS) $(libpq) $(LDFLAGS) $(CFLAGS) .PHONY: submake submake: - $(MAKE) -C $(LIBPQDIR) all + $(MAKE) -C $(libpq_builddir) all install: all installdirs $(INSTALL_PROGRAM) pg_encoding$(X) $(bindir)/pg_encoding$(X) -- cgit v1.2.3