1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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.
This commit is contained in:
Peter Eisentraut
2000-08-31 16:12:35 +00:00
parent d4266620e1
commit 424f0edcb8
102 changed files with 384 additions and 453 deletions

View File

@ -1,13 +1,13 @@
#
# $Header: /cvsroot/pgsql/contrib/findoidjoins/Attic/Makefile,v 1.8 2000/07/09 13:13:03 petere Exp $
# $Header: /cvsroot/pgsql/contrib/findoidjoins/Attic/Makefile,v 1.9 2000/08/31 16:08:59 petere Exp $
#
subdir = contrib/findoidjoins
top_builddir = ../..
include ../../src/Makefile.global
CFLAGS += -I$(LIBPGEASYDIR) -I$(LIBPQDIR)
LIBS += $(LIBPGEASY)
CFLAGS += -I$(libpgeasy_srcdir) -I$(libpq_srcdir)
LIBS += $(libpgeasy)
all: findoidjoins

View File

@ -1,17 +1,17 @@
#
# $Header: /cvsroot/pgsql/contrib/mSQL-interface/Attic/Makefile,v 1.4 2000/07/09 13:13:17 petere Exp $
# $Header: /cvsroot/pgsql/contrib/mSQL-interface/Attic/Makefile,v 1.5 2000/08/31 16:09:00 petere Exp $
#
subdir = contrib/mSQL-interface
top_builddir = ../..
include ../../src/Makefile.global
include $(top_builddir)/src/Makefile.global
NAME := mpgsql
SO_MAJOR_VERSION := 0
SO_MINOR_VERSION := 0
OBJS := mpgsql.o
CFLAGS += -I$(LIBPQDIR)
CFLAGS += -I$(libpq_srcdir)
include $(top_srcdir)/src/Makefile.shlib

View File

@ -1,9 +1,9 @@
# ODBC extensions
# Thomas Lockhart 2000-04-03
SRCDIR= ../../src
include $(SRCDIR)/Makefile.global
subdir = contrib/odbc
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
ifndef PGLIB
PGLIB= .

View File

@ -1,5 +1,5 @@
#
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.5 2000/07/09 13:13:24 petere Exp $
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.6 2000/08/31 16:09:05 petere Exp $
#
subdir = contrib/pg_dumplo
@ -7,12 +7,12 @@ top_builddir = ../..
include ../../src/Makefile.global
OBJS = main.o lo_export.o lo_import.o utils.o
CFLAGS += -I$(LIBPQDIR)
CFLAGS += -I$(libpq_srcdir)
all: pg_dumplo
pg_dumplo: $(OBJS) $(LIBPQDIR)/libpq.a
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPQ)
pg_dumplo: $(OBJS) $(libpq_builddir)/libpq.a
$(CC) $(CFLAGS) -o $@ $(OBJS) $(libpq)
install: all installdirs
$(INSTALL_PROGRAM) pg_dumplo$(X) $(bindir)

View File

@ -1,13 +1,13 @@
#
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.5 2000/07/09 13:13:29 petere Exp $
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.6 2000/08/31 16:09:09 petere Exp $
#
subdir = contrib/pgbench
top_builddir = ../..
include ../../src/Makefile.global
CFLAGS += -I$(LIBPQDIR)
LIBS += $(LIBPQ)
CFLAGS += -I$(libpq_srcdir)
LIBS += $(libpq)
all: pgbench

View File

@ -1,13 +1,13 @@
#
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.6 2000/07/09 13:13:55 petere Exp $
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.7 2000/08/31 16:09:12 petere Exp $
#
subdir = contrib/vacuumlo
top_builddir = ../..
include ../../src/Makefile.global
CPPFLAGS += -I$(LIBPQDIR)
LIBS += $(LIBPQ)
CPPFLAGS += -I$(libpq_srcdir)
LIBS += $(libpq)
all: vacuumlo