diff options
| author | sjg <sjg@NetBSD.org> | 2000-05-02 03:47:19 +0000 |
|---|---|---|
| committer | sjg <sjg@NetBSD.org> | 2000-05-02 03:47:19 +0000 |
| commit | acc4f5dd417ba37b7a83315511bccf5a5eeeef0a (patch) | |
| tree | 85b051fca49744a5b4fcea1e2024c54874aed6d2 /Makefile.inc | |
| parent | 44f0af2b1ff23337ec09a40adb62b3768de05dee (diff) | |
Set variables to mark the absolute and realative paths to the top of
the src tree. Default BSDSRCDIR to ABSTOP.
Diffstat (limited to 'Makefile.inc')
| -rw-r--r-- | Makefile.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc new file mode 100644 index 00000000000..6cad170b487 --- /dev/null +++ b/Makefile.inc @@ -0,0 +1,13 @@ +# $NetBSD: Makefile.inc,v 1.1 2000/05/02 03:47:19 sjg Exp $ + +.ifndef ABSTOP +ABSTOP!= cd ${.PARSEDIR}; pwd + +RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,} + +BSDSRCDIR?= ${ABSTOP} + +.if exists(${BSDSRCDIR}/Makefile.local.inc) +.include "${BSDSRCDIR}/Makefile.local.inc" +.endif +.endif |
