Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Set variables to mark the absolute and realative paths to th...
details: https://anonhg.NetBSD.org/src/rev/ce2c5031b4c0
branches: trunk
changeset: 485604:ce2c5031b4c0
user: sjg <sjg%NetBSD.org@localhost>
date: Tue May 02 03:47:19 2000 +0000
description:
Set variables to mark the absolute and realative paths to the top of
the src tree. Default BSDSRCDIR to ABSTOP.
diffstat:
Makefile.inc | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r a33bbd6f3f36 -r ce2c5031b4c0 Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile.inc Tue May 02 03:47:19 2000 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index