summaryrefslogtreecommitdiff
path: root/Makefile.inc
blob: def3c2ec7e9adb459a8ad8d71e9de402b846fd19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$NetBSD: Makefile.inc,v 1.4 2002/04/10 14:53:43 lukem Exp $

.ifndef ABSTOP
ABSTOP!= cd ${.PARSEDIR}; pwd

.if (${.PARSEDIR} == ${.CURDIR})
RELTOP:= .
.else
RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,}
.endif

# you can set BSD{SRC,OBJ}DIR in Makefile.local.inc
.if exists(${ABSTOP}/Makefile.local.inc)
.include "${ABSTOP}/Makefile.local.inc"
.endif
.endif