config.h revision 21673
176082Sbmah/* 276082Sbmah * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. 376082Sbmah * Copyright (c) 1988, 1989 by Adam de Boor 476082Sbmah * Copyright (c) 1989 by Berkeley Softworks 576082Sbmah * All rights reserved. 676082Sbmah * 776082Sbmah * This code is derived from software contributed to Berkeley by 876082Sbmah * Adam de Boor. 976082Sbmah * 1076082Sbmah * Redistribution and use in source and binary forms, with or without 1176082Sbmah * modification, are permitted provided that the following conditions 1276082Sbmah * are met: 1376082Sbmah * 1. Redistributions of source code must retain the above copyright 1476082Sbmah * notice, this list of conditions and the following disclaimer. 1576082Sbmah * 2. Redistributions in binary form must reproduce the above copyright 1676082Sbmah * notice, this list of conditions and the following disclaimer in the 1776082Sbmah * documentation and/or other materials provided with the distribution. 1876082Sbmah * 3. All advertising materials mentioning features or use of this software 1976082Sbmah * must display the following acknowledgement: 20119884Ssimon * This product includes software developed by the University of 21119884Ssimon * California, Berkeley and its contributors. 2276082Sbmah * 4. Neither the name of the University nor the names of its contributors 2376082Sbmah * may be used to endorse or promote products derived from this software 24124312Sbmah * without specific prior written permission. 25124312Sbmah * 26126389Sbmah * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 27126389Sbmah * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2876082Sbmah * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2976082Sbmah * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3076082Sbmah * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3176082Sbmah * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32109307Sbmah * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33109543Sbmah * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34109543Sbmah * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35109543Sbmah * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36109543Sbmah * SUCH DAMAGE. 37109543Sbmah * 38109543Sbmah * from: @(#)config.h 8.1 (Berkeley) 6/6/93 39109307Sbmah * $FreeBSD: head/usr.bin/make/config.h 21673 1997-01-14 07:20:47Z jkh $ 4077914Sbmah */ 4176082Sbmah 4276082Sbmah#define DEFSHELL 1 /* Bourne shell */ 4376082Sbmah 4476082Sbmah/* 4576082Sbmah * DEFMAXJOBS 4676082Sbmah * DEFMAXLOCAL 4776082Sbmah * These control the default concurrency. On no occasion will more 4876082Sbmah * than DEFMAXJOBS targets be created at once (locally or remotely) 4976082Sbmah * DEFMAXLOCAL is the highest number of targets which will be 5088820Sbmah * created on the local machine at once. Note that if you set this 51108829Sbmah * to 0, nothing will ever happen... 52124312Sbmah */ 5376082Sbmah#define DEFMAXJOBS 4 5476082Sbmah#define DEFMAXLOCAL 1 55119884Ssimon 56119884Ssimon/* 57119884Ssimon * INCLUDES 58119884Ssimon * LIBRARIES 59119884Ssimon * These control the handling of the .INCLUDES and .LIBS variables. 60119884Ssimon * If INCLUDES is defined, the .INCLUDES variable will be filled 61119884Ssimon * from the search paths of those suffixes which are marked by 6276082Sbmah * .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS 6376082Sbmah * See suff.c for more details. 6477914Sbmah */ 6579807Sbmah#define INCLUDES 66109543Sbmah#define LIBRARIES 67109543Sbmah 68109543Sbmah/* 69109543Sbmah * LIBSUFF 70109543Sbmah * Is the suffix used to denote libraries and is used by the Suff module 71109543Sbmah * to find the search path on which to seek any -l<xx> targets. 72112874Sbmah * 73112874Sbmah * RECHECK 74112874Sbmah * If defined, Make_Update will check a target for its current 7592295Sbmah * modification time after it has been re-made, setting it to the 7692295Sbmah * starting time of the make only if the target still doesn't exist. 7792295Sbmah * Unfortunately, under NFS the modification time often doesn't 7892295Sbmah * get updated in time, so a target will appear to not have been 7992295Sbmah * re-made, causing later targets to appear up-to-date. On systems 8077914Sbmah * that don't have this problem, you should defined this. Under 81126389Sbmah * NFS you probably should not, unless you aren't exporting jobs. 82126389Sbmah */ 83126389Sbmah#define LIBSUFF ".a" 84126389Sbmah#define RECHECK 85126389Sbmah 86126389Sbmah/* 87109307Sbmah * POSIX 88109543Sbmah * Adhere to the POSIX 1003.2 draft for the make(1) program. 89109543Sbmah * - Use MAKEFLAGS instead of MAKE to pick arguments from the 90109543Sbmah * environment. 91109543Sbmah * - Allow empty command lines if starting with tab. 92109543Sbmah */ 93109543Sbmah#define POSIX 94116130Sbmah 9577914Sbmah/* 9677914Sbmah * SYSVINCLUDE 97109143Sroam * Recognize system V like include directives [include "filename"] 9876082Sbmah * SYSVVARSUB 9976082Sbmah * Recognize system V like ${VAR:x=y} variable substitutions 10079807Sbmah */ 10192295Sbmah#define SYSVINCLUDE 102109543Sbmah#define SYSVVARSUB 103109543Sbmah 104109543Sbmah/* 105109543Sbmah * SUNSHCMD 106109543Sbmah * Recognize SunOS and Solaris: 107109543Sbmah * VAR :sh= CMD # Assign VAR to the command substitution of CMD 10892295Sbmah * ${VAR:sh} # Return the command substitution of the value 10992295Sbmah * # of ${VAR} 11092295Sbmah */ 11179807Sbmah#define SUNSHCMD 11292295Sbmah 11392295Sbmah#if !defined(__svr4__) && !defined(__SVR4) 11492295Sbmah# ifndef RANLIBMAG 11592295Sbmah# define RANLIBMAG "__.SYMDEF" 11692295Sbmah# endif 11792295Sbmah#endif 11892295Sbmah