xref: /minix/Makefile.inc (revision 84d9c625)
1*84d9c625SLionel Sambuc#	$NetBSD: Makefile.inc,v 1.4 2002/04/10 14:53:43 lukem Exp $
2*84d9c625SLionel Sambuc
3*84d9c625SLionel Sambuc.ifndef ABSTOP
4*84d9c625SLionel SambucABSTOP!= cd ${.PARSEDIR}; pwd
5*84d9c625SLionel Sambuc
6*84d9c625SLionel Sambuc.if (${.PARSEDIR} == ${.CURDIR})
7*84d9c625SLionel SambucRELTOP:= .
8*84d9c625SLionel Sambuc.else
9*84d9c625SLionel SambucRELTOP:= ${.PARSEDIR:S,^${.CURDIR},,}
10*84d9c625SLionel Sambuc.endif
11*84d9c625SLionel Sambuc
12*84d9c625SLionel Sambuc# you can set BSD{SRC,OBJ}DIR in Makefile.local.inc
13*84d9c625SLionel Sambuc.if exists(${ABSTOP}/Makefile.local.inc)
14*84d9c625SLionel Sambuc.include "${ABSTOP}/Makefile.local.inc"
15*84d9c625SLionel Sambuc.endif
16*84d9c625SLionel Sambuc.endif
17