1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +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,6 +1,6 @@
subdir = src/interfaces/ecpg
top_builddir = ../../..
include ../../Makefile.global
include $(top_builddir)/src/Makefile.global
all install installdirs uninstall dep depend distprep:
$(MAKE) -C include $@

View File

@@ -1,6 +1,6 @@
subdir = src/interfaces/ecpg/include
top_builddir = ../../../..
include ../../../Makefile.global
include $(top_builddir)/src/Makefile.global
install: all installdirs install-headers

View File

@@ -4,25 +4,25 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile,v 1.6 2000/06/28 18:29:39 petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile,v 1.7 2000/08/31 16:11:36 petere Exp $
#
#-------------------------------------------------------------------------
subdir = src/interfaces/ecpg/lib
top_builddir = ../../../..
include ../../../Makefile.global
include $(top_builddir)/src/Makefile.global
NAME= ecpg
SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 1.1
CFLAGS+= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(LIBPQDIR)
CPPFLAGS += -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir)
OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
connect.o misc.o
SHLIB_LINK= $(LIBPQ)
SHLIB_LINK= $(libpq)
all: all-lib

View File

@@ -1,12 +1,12 @@
subdir = src/interfaces/ecpg/preproc
top_builddir = ../../../..
include ../../../Makefile.global
include $(top_builddir)/src/Makefile.global
MAJOR_VERSION=2
MINOR_VERSION=7
PATCHLEVEL=1
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
CPPFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
-DINCLUDE_PATH=\"$(includedir)\"