head	1.4;
access;
symbols
	release_4_2:1.4
	aix_ok:1.4;
locks; strict;
comment	@# @;


1.4
date	93.07.28.23.42.28;	author aoki;	state Exp;
branches;
next	1.3;

1.3
date	93.06.25.23.35.05;	author marc;	state Exp;
branches;
next	1.2;

1.2
date	92.12.31.00.31.35;	author marc;	state Exp;
branches;
next	1.1;

1.1
date	92.11.12.01.10.22;	author marc;	state Exp;
branches;
next	;


desc
@@


1.4
log
@MAKEOBJDIR changes
@
text
@#
# postgres.global.mk
#
# $Header$
#

#
# Pull in Makefile.global's from this and any parent dirs.  If a
# Makefile.global also exists in the obj/ directory, include that
# afterwards (so it can override any previous settings).  We use
# "./..." to disable make from doing a path search to locate files as
# this gets *very* confusing on a large system like this.
#

MAKEOBJDIR?=obj

.if !defined(NOINCLUDE)
.if exists(./Makefile.local)
.    include "./Makefile.local"
.endif
.if exists(${.CURDIR}/../Makefile.global)
.    if exists(${.CURDIR}/../../Makefile.global)
.	if exists(${.CURDIR}/../../../Makefile.global)
.	    if exists(${.CURDIR}/../../../../Makefile.global)
.		include "${.CURDIR}/../../../../Makefile.global"
.		if exists(${.CURDIR}/../../../../${MAKEOBJDIR}/Makefile.global)
.		    include "${.CURDIR}/../../../../${MAKEOBJDIR}/Makefile.global"
.		endif
.	    endif
.	    include "${.CURDIR}/../../../Makefile.global"
.	    if exists(${.CURDIR}/../../../${MAKEOBJDIR}/Makefile.global)
.		include "${.CURDIR}/../../../${MAKEOBJDIR}/Makefile.global"
.	    endif
.	endif
.	include "${.CURDIR}/../../Makefile.global"
.	if exists(${.CURDIR}/../../${MAKEOBJDIR}/Makefile.global)
.	    include "${.CURDIR}/../../${MAKEOBJDIR}/Makefile.global"
.	endif
.    endif
.    include "${.CURDIR}/../Makefile.global"
.    if exists(${.CURDIR}/../${MAKEOBJDIR}/Makefile.global)
.	include "${.CURDIR}/../${MAKEOBJDIR}/Makefile.global"
.    endif
.endif

.if exists(${.CURDIR}/Makefile.global)
.    include "${.CURDIR}/Makefile.global"
.endif

.if exists(${.CURDIR}/${MAKEOBJDIR}/Makefile.global)
.    include "${.CURDIR}/${MAKEOBJDIR}/Makefile.global"
.endif
.endif
@


1.3
log
@clean up .includes and make sure we specify "./foo..." to
disable makes pathname search.
@
text
@d2 1
a2 6
# Pull in Makefile.global's from this and any parent dirs.
# If a Makefile.global also exists in the obj/ directory,
# include that afterwards (so it can override any previous
# settings).  We use "./..." to disable make from doing a path
# search to locate files as this gets *very* confusing on
# a large system like this.
d4 13
d26 2
a27 2
.		if exists(${.CURDIR}/../../../../obj/Makefile.global)
.		    include "${.CURDIR}/../../../../obj/Makefile.global"
d31 2
a32 2
.	    if exists(${.CURDIR}/../../../obj/Makefile.global)
.		include "${.CURDIR}/../../../obj/Makefile.global"
d36 2
a37 2
.	if exists(${.CURDIR}/../../obj/Makefile.global)
.	    include "${.CURDIR}/../../obj/Makefile.global"
d41 2
a42 2
.    if exists(${.CURDIR}/../obj/Makefile.global)
.	include "${.CURDIR}/../obj/Makefile.global"
d50 2
a51 2
.if exists(${.CURDIR}/obj/Makefile.global)
.    include "${.CURDIR}/obj/Makefile.global"
@


1.2
log
@still under development - checkpoint new changes
@
text
@d5 3
a7 1
# settings).
d10 2
a11 2
.if exists(Makefile.private)
.    include "Makefile.private"
@


1.1
log
@Initial revision
@
text
@d4 2
a5 1
# include that first.
d9 1
a9 1
.	include "Makefile.private"
d12 22
a33 5
.if exists(${.CURDIR}/../../Makefile.global)
.if exists(${.CURDIR}/../../../Makefile.global)
.if exists(${.CURDIR}/../../../../Makefile.global)
.if exists(${.CURDIR}/../../../../obj/Makefile.global)
.include "${.CURDIR}/../../../../obj/Makefile.global"
d35 3
a37 1
.include "${.CURDIR}/../../../../Makefile.global"
d39 1
a39 15
.if exists(${.CURDIR}/../../../obj/Makefile.global)
.include "${.CURDIR}/../../../obj/Makefile.global"
.endif
.include "${.CURDIR}/../../../Makefile.global"
.endif
.if exists(${.CURDIR}/../../obj/Makefile.global)
.include "${.CURDIR}/../../obj/Makefile.global"
.endif
.include "${.CURDIR}/../../Makefile.global"
.endif
.if exists(${.CURDIR}/../obj/Makefile.global)
.include "${.CURDIR}/../obj/Makefile.global"
.endif
.include "${.CURDIR}/../Makefile.global"
.endif
d41 1
a41 1
.include "${.CURDIR}/obj/Makefile.global"
a42 3
.if exists(${.CURDIR}/Makefile.global)
.include "${.CURDIR}/Makefile.global"
.endif
a43 1

@
