xref: /netbsd/Makefile.inc (revision 608279c0)
1#	$NetBSD: Makefile.inc,v 1.3 2000/05/06 15:05:15 sjg Exp $
2
3.ifndef ABSTOP
4ABSTOP!= cd ${.PARSEDIR}; pwd
5
6.if (${.PARSEDIR} == ${.CURDIR})
7RELTOP:= .
8.else
9RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,}
10.endif
11
12KERNSRCDIR:=${ABSTOP}/sys
13
14# you can set BSD{SRC,OBJ}DIR in Makefile.local.inc
15.if exists(${ABSTOP}/Makefile.local.inc)
16.include "${ABSTOP}/Makefile.local.inc"
17.endif
18.endif
19