pathnames.h revision 263212
197403Sobrien/*	$NetBSD: pathnames.h,v 1.17 2009/04/11 09:41:18 apb Exp $	*/
297403Sobrien
397403Sobrien/*
497403Sobrien * Copyright (c) 1990, 1993
597403Sobrien *	The Regents of the University of California.  All rights reserved.
697403Sobrien *
797403Sobrien * Redistribution and use in source and binary forms, with or without
897403Sobrien * modification, are permitted provided that the following conditions
997403Sobrien * are met:
1097403Sobrien * 1. Redistributions of source code must retain the above copyright
1197403Sobrien *    notice, this list of conditions and the following disclaimer.
1297403Sobrien * 2. Redistributions in binary form must reproduce the above copyright
1397403Sobrien *    notice, this list of conditions and the following disclaimer in the
1497403Sobrien *    documentation and/or other materials provided with the distribution.
1597403Sobrien * 3. Neither the name of the University nor the names of its contributors
1697403Sobrien *    may be used to endorse or promote products derived from this software
1797403Sobrien *    without specific prior written permission.
1897403Sobrien *
1997403Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2097403Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2197403Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2297403Sobrien * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2397403Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2497403Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2597403Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2697403Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2797403Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2897403Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2997403Sobrien * SUCH DAMAGE.
3097403Sobrien *
3197403Sobrien *	from: @(#)pathnames.h	5.2 (Berkeley) 6/1/90
3297403Sobrien *	$Id: pathnames.h,v 1.13 2009/08/26 23:43:42 sjg Exp $
3397403Sobrien */
3497403Sobrien
3597403Sobrien#if HAVE_CONFIG_H
3697403Sobrien#include "config.h"
3797403Sobrien#endif
3897403Sobrien#ifndef MAKE_NATIVE
3997403Sobrien#if HAVE_NBTOOL_CONFIG_H
4097403Sobrien#include "nbtool_config.h"
4197403Sobrien#endif
4297403Sobrien#endif
4397403Sobrien#ifdef HAVE_PATHS_H
4497403Sobrien#include <paths.h>
4597403Sobrien#endif
4697403Sobrien#define	_PATH_OBJDIR		"obj"
4797403Sobrien#define	_PATH_OBJDIRPREFIX	"/usr/obj"
4897403Sobrien#ifndef _PATH_DEFSHELLDIR
4997403Sobrien#define	_PATH_DEFSHELLDIR	"/bin"
5097403Sobrien#endif
5197403Sobrien#define	_PATH_DEFSYSMK		"sys.mk"
5297403Sobrien#define _path_defsyspath	"/usr/share/mk:/usr/local/share/mk:/opt/share/mk"
5397403Sobrien#ifndef _PATH_DEFSYSPATH
5497403Sobrien# ifdef _PATH_PREFIX_SYSPATH
5597403Sobrien#   define  _PATH_DEFSYSPATH	_PATH_PREFIX_SYSPATH ":" _path_defsyspath
5697403Sobrien# else
5797403Sobrien#   define  _PATH_DEFSYSPATH	_path_defsyspath
5897403Sobrien# endif
5997403Sobrien#endif
60132720Skan#ifndef _PATH_TMP
61132720Skan#define	_PATH_TMP		"/tmp/"		/* with trailing slash */
6297403Sobrien#endif
6397403Sobrien