summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorimp <imp@cvs.openbsd.org>1996-08-24 18:12:00 +0000
committerimp <imp@cvs.openbsd.org>1996-08-24 18:12:00 +0000
commitb1f9407a307f10b029bd2cf4a3403aaa38e1e036 (patch)
tree25d6d722a4f697a874b5ea45dba1f63cfe9cb9ec /usr.bin/make
parent1dc1e3aff86e4555c3cf5fb9a6469d4e99693aec (diff)
Conditionally define _PATH* vars so they can be overriden on the command line
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/pathnames.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/make/pathnames.h b/usr.bin/make/pathnames.h
index 3b4d50fc7f3..868c0cb192b 100644
--- a/usr.bin/make/pathnames.h
+++ b/usr.bin/make/pathnames.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pathnames.h,v 1.3 1996/03/27 19:32:42 niklas Exp $ */
+/* $OpenBSD: pathnames.h,v 1.4 1996/08/24 18:11:59 imp Exp $ */
/* $NetBSD: pathnames.h,v 1.4 1996/03/06 00:15:26 christos Exp $ */
/*
@@ -36,7 +36,15 @@
* from: @(#)pathnames.h 5.2 (Berkeley) 6/1/90
*/
+#ifndef _PATH_OBJDIR
#define _PATH_OBJDIR "obj"
+#endif /* !_PATH_OBJDIR */
+#ifndef _PATH_DEFSHELLDIR
#define _PATH_DEFSHELLDIR "/bin"
+#endif /* !_PATH_DEFSHELLDIR */
+#ifndef _PATH_DEFSYSMK
#define _PATH_DEFSYSMK "sys.mk"
+#endif /* ! _PATH_DEFSYSMK */
+#ifndef _PATH_DEFSYSPATH
#define _PATH_DEFSYSPATH "/usr/share/mk"
+#endif /* ! _PATH_DEFSYSPATH */