diff options
author | Peter Eisentraut | 2000-08-31 16:12:35 +0000 |
---|---|---|
committer | Peter Eisentraut | 2000-08-31 16:12:35 +0000 |
commit | 424f0edcb8d73446223f1812d3ca88150e1cc953 (patch) | |
tree | 6b0f0a9d1d9aed67873e9ff8acd2b5a6da77ac58 /src/bin/pg_encoding/Makefile | |
parent | d4266620e1c92d0b5d76d8c583f2fbfcf5bcd7fe (diff) |
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.
Diffstat (limited to 'src/bin/pg_encoding/Makefile')
-rw-r--r-- | src/bin/pg_encoding/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
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) |