Home | History | Annotate | Line # | Download | only in make
config.h revision 1.15
      1 /*	$NetBSD: config.h,v 1.15 2003/08/01 00:39:52 sjg Exp $	*/
      2 
      3 /*
      4  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
      5  * Copyright (c) 1988, 1989 by Adam de Boor
      6  * Copyright (c) 1989 by Berkeley Softworks
      7  * All rights reserved.
      8  *
      9  * This code is derived from software contributed to Berkeley by
     10  * Adam de Boor.
     11  *
     12  * Redistribution and use in source and binary forms, with or without
     13  * modification, are permitted provided that the following conditions
     14  * are met:
     15  * 1. Redistributions of source code must retain the above copyright
     16  *    notice, this list of conditions and the following disclaimer.
     17  * 2. Redistributions in binary form must reproduce the above copyright
     18  *    notice, this list of conditions and the following disclaimer in the
     19  *    documentation and/or other materials provided with the distribution.
     20  * 3. All advertising materials mentioning features or use of this software
     21  *    must display the following acknowledgement:
     22  *	This product includes software developed by the University of
     23  *	California, Berkeley and its contributors.
     24  * 4. Neither the name of the University nor the names of its contributors
     25  *    may be used to endorse or promote products derived from this software
     26  *    without specific prior written permission.
     27  *
     28  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     29  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     32  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     33  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     34  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     35  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     36  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     37  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     38  * SUCH DAMAGE.
     39  *
     40  *	from: @(#)config.h	8.1 (Berkeley) 6/6/93
     41  */
     42 
     43 #ifndef DEFSHELL
     44 #define	DEFSHELL	1			/* Bourne shell */
     45 #endif
     46 
     47 /*
     48  * DEFMAXJOBS
     49  * DEFMAXLOCAL
     50  *	These control the default concurrency. On no occasion will more
     51  *	than DEFMAXJOBS targets be created at once (locally or remotely)
     52  *	DEFMAXLOCAL is the highest number of targets which will be
     53  *	created on the local machine at once. Note that if you set this
     54  *	to 0, nothing will ever happen...
     55  */
     56 #define DEFMAXJOBS	4
     57 #define DEFMAXLOCAL	1
     58 
     59 /*
     60  * INCLUDES
     61  * LIBRARIES
     62  *	These control the handling of the .INCLUDES and .LIBS variables.
     63  *	If INCLUDES is defined, the .INCLUDES variable will be filled
     64  *	from the search paths of those suffixes which are marked by
     65  *	.INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
     66  *	See suff.c for more details.
     67  */
     68 #define INCLUDES
     69 #define LIBRARIES
     70 
     71 /*
     72  * LIBSUFF
     73  *	Is the suffix used to denote libraries and is used by the Suff module
     74  *	to find the search path on which to seek any -l<xx> targets.
     75  *
     76  * RECHECK
     77  *	If defined, Make_Update will check a target for its current
     78  *	modification time after it has been re-made, setting it to the
     79  *	starting time of the make only if the target still doesn't exist.
     80  *	Unfortunately, under NFS the modification time often doesn't
     81  *	get updated in time, so a target will appear to not have been
     82  *	re-made, causing later targets to appear up-to-date. On systems
     83  *	that don't have this problem, you should defined this. Under
     84  *	NFS you probably should not, unless you aren't exporting jobs.
     85  */
     86 #define	LIBSUFF	".a"
     87 #define	RECHECK
     88 
     89 /*
     90  * POSIX
     91  *	Adhere to the POSIX 1003.2 draft for the make(1) program.
     92  *	- Use MAKEFLAGS instead of MAKE to pick arguments from the
     93  *	  environment.
     94  *	- Allow empty command lines if starting with tab.
     95  */
     96 #define POSIX
     97 
     98 /*
     99  * SYSVINCLUDE
    100  *	Recognize system V like include directives [include "filename"]
    101  * SYSVVARSUB
    102  *	Recognize system V like ${VAR:x=y} variable substitutions
    103  */
    104 #define SYSVINCLUDE
    105 #define SYSVVARSUB
    106 
    107 /*
    108  * SUNSHCMD
    109  *	Recognize SunOS and Solaris:
    110  *		VAR :sh= CMD	# Assign VAR to the command substitution of CMD
    111  *		${VAR:sh}	# Return the command substitution of the value
    112  *				# of ${VAR}
    113  */
    114 #define SUNSHCMD
    115 
    116 /*
    117  * USE_PGRP
    118  *	Kill the process group of the job so that all the progeny of the
    119  *	current job dies, instead of just the one forked.
    120  */
    121 #define USE_PGRP
    122 
    123 /*
    124  * USE_IOVEC
    125  *	We have writev(2)
    126  */
    127 #define USE_IOVEC
    128 
    129 #if !defined(MAKE_BOOTSTRAP) && !defined(__ELF__)
    130 # ifndef RANLIBMAG
    131 #  define RANLIBMAG "__.SYMDEF"
    132 # endif
    133 #endif
    134