1236769Sobrien/* $NetBSD: pathnames.h,v 1.17 2009/04/11 09:41:18 apb Exp $ */ 2236769Sobrien 3236769Sobrien/* 4236769Sobrien * Copyright (c) 1990, 1993 5236769Sobrien * The Regents of the University of California. All rights reserved. 6236769Sobrien * 7236769Sobrien * Redistribution and use in source and binary forms, with or without 8236769Sobrien * modification, are permitted provided that the following conditions 9236769Sobrien * are met: 10236769Sobrien * 1. Redistributions of source code must retain the above copyright 11236769Sobrien * notice, this list of conditions and the following disclaimer. 12236769Sobrien * 2. Redistributions in binary form must reproduce the above copyright 13236769Sobrien * notice, this list of conditions and the following disclaimer in the 14236769Sobrien * documentation and/or other materials provided with the distribution. 15236769Sobrien * 3. Neither the name of the University nor the names of its contributors 16236769Sobrien * may be used to endorse or promote products derived from this software 17236769Sobrien * without specific prior written permission. 18236769Sobrien * 19236769Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 20236769Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21236769Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22236769Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 23236769Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24236769Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25236769Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26236769Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27236769Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28236769Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29236769Sobrien * SUCH DAMAGE. 30236769Sobrien * 31236769Sobrien * from: @(#)pathnames.h 5.2 (Berkeley) 6/1/90 32236769Sobrien * $Id: pathnames.h,v 1.13 2009/08/26 23:43:42 sjg Exp $ 33236769Sobrien */ 34236769Sobrien 35236769Sobrien#if HAVE_CONFIG_H 36236769Sobrien#include "config.h" 37236769Sobrien#endif 38236769Sobrien#ifndef MAKE_NATIVE 39236769Sobrien#if HAVE_NBTOOL_CONFIG_H 40236769Sobrien#include "nbtool_config.h" 41236769Sobrien#endif 42236769Sobrien#endif 43236769Sobrien#ifdef HAVE_PATHS_H 44236769Sobrien#include <paths.h> 45236769Sobrien#endif 46236769Sobrien#define _PATH_OBJDIR "obj" 47236769Sobrien#define _PATH_OBJDIRPREFIX "/usr/obj" 48236769Sobrien#ifndef _PATH_DEFSHELLDIR 49236769Sobrien#define _PATH_DEFSHELLDIR "/bin" 50236769Sobrien#endif 51236769Sobrien#define _PATH_DEFSYSMK "sys.mk" 52236769Sobrien#define _path_defsyspath "/usr/share/mk:/usr/local/share/mk:/opt/share/mk" 53236769Sobrien#ifndef _PATH_DEFSYSPATH 54236769Sobrien# ifdef _PATH_PREFIX_SYSPATH 55236769Sobrien# define _PATH_DEFSYSPATH _PATH_PREFIX_SYSPATH ":" _path_defsyspath 56236769Sobrien# else 57236769Sobrien# define _PATH_DEFSYSPATH _path_defsyspath 58236769Sobrien# endif 59236769Sobrien#endif 60236769Sobrien#ifndef _PATH_TMP 61236769Sobrien#define _PATH_TMP "/tmp/" /* with trailing slash */ 62236769Sobrien#endif 63