xref: /minix3/usr.bin/make/pathnames.h (revision 2e2caf591948f38f31c4e679c6277d2cb999cee7)
1*2e2caf59SThomas Veerman /*	$NetBSD: pathnames.h,v 1.17 2009/04/11 09:41:18 apb Exp $	*/
2*2e2caf59SThomas Veerman 
3*2e2caf59SThomas Veerman /*
4*2e2caf59SThomas Veerman  * Copyright (c) 1990, 1993
5*2e2caf59SThomas Veerman  *	The Regents of the University of California.  All rights reserved.
6*2e2caf59SThomas Veerman  *
7*2e2caf59SThomas Veerman  * Redistribution and use in source and binary forms, with or without
8*2e2caf59SThomas Veerman  * modification, are permitted provided that the following conditions
9*2e2caf59SThomas Veerman  * are met:
10*2e2caf59SThomas Veerman  * 1. Redistributions of source code must retain the above copyright
11*2e2caf59SThomas Veerman  *    notice, this list of conditions and the following disclaimer.
12*2e2caf59SThomas Veerman  * 2. Redistributions in binary form must reproduce the above copyright
13*2e2caf59SThomas Veerman  *    notice, this list of conditions and the following disclaimer in the
14*2e2caf59SThomas Veerman  *    documentation and/or other materials provided with the distribution.
15*2e2caf59SThomas Veerman  * 3. Neither the name of the University nor the names of its contributors
16*2e2caf59SThomas Veerman  *    may be used to endorse or promote products derived from this software
17*2e2caf59SThomas Veerman  *    without specific prior written permission.
18*2e2caf59SThomas Veerman  *
19*2e2caf59SThomas Veerman  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20*2e2caf59SThomas Veerman  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21*2e2caf59SThomas Veerman  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22*2e2caf59SThomas Veerman  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23*2e2caf59SThomas Veerman  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24*2e2caf59SThomas Veerman  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25*2e2caf59SThomas Veerman  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26*2e2caf59SThomas Veerman  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27*2e2caf59SThomas Veerman  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28*2e2caf59SThomas Veerman  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29*2e2caf59SThomas Veerman  * SUCH DAMAGE.
30*2e2caf59SThomas Veerman  *
31*2e2caf59SThomas Veerman  *	from: @(#)pathnames.h	5.2 (Berkeley) 6/1/90
32*2e2caf59SThomas Veerman  */
33*2e2caf59SThomas Veerman 
34*2e2caf59SThomas Veerman #ifndef MAKE_NATIVE
35*2e2caf59SThomas Veerman #if HAVE_NBTOOL_CONFIG_H
36*2e2caf59SThomas Veerman #include "nbtool_config.h"
37*2e2caf59SThomas Veerman #endif
38*2e2caf59SThomas Veerman #else
39*2e2caf59SThomas Veerman #include <paths.h>
40*2e2caf59SThomas Veerman #endif
41*2e2caf59SThomas Veerman 
42*2e2caf59SThomas Veerman #define	_PATH_OBJDIR		"obj"
43*2e2caf59SThomas Veerman #define	_PATH_OBJDIRPREFIX	"/usr/obj"
44*2e2caf59SThomas Veerman #ifndef _PATH_DEFSHELLDIR
45*2e2caf59SThomas Veerman #define	_PATH_DEFSHELLDIR	"/bin"
46*2e2caf59SThomas Veerman #endif
47*2e2caf59SThomas Veerman #define	_PATH_DEFSYSMK		"sys.mk"
48*2e2caf59SThomas Veerman #ifndef _PATH_DEFSYSPATH
49*2e2caf59SThomas Veerman #define	_PATH_DEFSYSPATH	"/usr/share/mk"
50*2e2caf59SThomas Veerman #endif
51*2e2caf59SThomas Veerman #ifndef _PATH_TMP
52*2e2caf59SThomas Veerman #define	_PATH_TMP		"/tmp/"		/* with trailing slash */
53*2e2caf59SThomas Veerman #endif
54