xref: /netbsd/Makefile.inc (revision a0bff5b8)
1#	$NetBSD: Makefile.inc,v 1.6 2018/05/02 07:34:44 pgoyette Exp $
2
3.ifndef ABSTOP
4ABSTOP!= cd ${.PARSEDIR}; pwd
5
6.if (${.PARSEDIR} == ${.CURDIR})
7RELTOP:= .
8.else
9RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,}
10.endif
11
12# you can set BSD{SRC,OBJ}DIR in Makefile.local.inc
13.if exists(${ABSTOP}/Makefile.local.inc)
14.include "${ABSTOP}/Makefile.local.inc"
15.endif
16.endif
17