Use ${.CURDIR} in `exists()' constructs.

PR:		misc/4395
Submitted by:	J Wunsch <j@ida.interface-business.de>
This commit is contained in:
Joseph Koshy 1999-04-21 11:09:40 +00:00
parent ab64f2390c
commit 29ddf5ab88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45914

View File

@ -1,13 +1,13 @@
# $Id: Makefile,v 1.15 1998/12/30 11:17:09 bde Exp $
# $Id: Makefile,v 1.16 1998/12/30 12:06:08 bde Exp $
# This is the old aout only boot loader.
.if exists(${MACHINE}/boot) && ${OBJFORMAT} == "aout"
.if exists(${.CURDIR}/${MACHINE}/boot) && ${OBJFORMAT} == "aout"
SUBDIR= ${MACHINE}/boot
.elif exists(boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
.elif exists(${.CURDIR}/boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
SUBDIR= boot
.endif
.if exists(boot) && ${MACHINE_ARCH} == "alpha"
.if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
SUBDIR= boot
.endif