Home | History | Annotate | Line # | Download | only in make
config.h revision 1.6
      1 /*	$NetBSD: config.h,v 1.6 1996/05/28 23:34:39 christos 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	5.9 (Berkeley) 6/1/90
     41  */
     42 
     43 #define	DEFSHELL	1			/* Bourne shell */
     44 
     45 /*
     46  * DEFMAXJOBS
     47  * DEFMAXLOCAL
     48  *	These control the default concurrency. On no occasion will more
     49  *	than DEFMAXJOBS targets be created at once (locally or remotely)
     50  *	DEFMAXLOCAL is the highest number of targets which will be
     51  *	created on the local machine at once. Note that if you set this
     52  *	to 0, nothing will ever happen...
     53  */
     54 #define DEFMAXJOBS	4
     55 #define DEFMAXLOCAL	1
     56 
     57 /*
     58  * INCLUDES
     59  * LIBRARIES
     60  *	These control the handling of the .INCLUDES and .LIBS variables.
     61  *	If INCLUDES is defined, the .INCLUDES variable will be filled
     62  *	from the search paths of those suffixes which are marked by
     63  *	.INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
     64  *	See suff.c for more details.
     65  */
     66 #define INCLUDES
     67 #define LIBRARIES
     68 
     69 /*
     70  * LIBSUFF
     71  *	Is the suffix used to denote libraries and is used by the Suff module
     72  *	to find the search path on which to seek any -l<xx> targets.
     73  *
     74  * RECHECK
     75  *	If defined, Make_Update will check a target for its current
     76  *	modification time after it has been re-made, setting it to the
     77  *	starting time of the make only if the target still doesn't exist.
     78  *	Unfortunately, under NFS the modification time often doesn't
     79  *	get updated in time, so a target will appear to not have been
     80  *	re-made, causing later targets to appear up-to-date. On systems
     81  *	that don't have this problem, you should defined this. Under
     82  *	NFS you probably should not, unless you aren't exporting jobs.
     83  */
     84 #define	LIBSUFF	".a"
     85 #define	RECHECK
     86 
     87 /*
     88  * POSIX
     89  *	Adhere to the POSIX 1003.2 draft for the make(1) program.
     90  *	- Use MAKEFLAGS instead of MAKE to pick arguments from the
     91  *	  environment.
     92  *	- Allow empty command lines if starting with tab.
     93  */
     94 #define POSIX
     95 
     96 /*
     97  * SYSVINCLUDES
     98  *	Recognize system V like include directives [include "filename"]
     99  * SYSVVARSUB
    100  *	Recognize system V like ${VAR:x=y} variable substitutions
    101  */
    102 #define SYSVINCLUDES
    103 #define SYSVVARSUB
    104 
    105 /*
    106  * SUNSHCMD
    107  *	Recognize SunOS and Solaris:
    108  *		VAR :sh= CMD	# Assign VAR to the command substitution of CMD
    109  *		${VAR:sh}	# Return the command substitution of the value
    110  *				# of ${VAR}
    111  */
    112 #define SUNSHCMD
    113 
    114 #if !defined(__svr4__) && !defined(__SVR4)
    115 # ifndef RANLIBMAG
    116 #  define RANLIBMAG "__.SYMDEF"
    117 # endif
    118 #endif
    119 /*#define POSIX*/
    120