config.h revision 23006
17494Sjkh/*
27494Sjkh * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
37494Sjkh * Copyright (c) 1988, 1989 by Adam de Boor
47494Sjkh * Copyright (c) 1989 by Berkeley Softworks
57494Sjkh * All rights reserved.
67494Sjkh *
77494Sjkh * This code is derived from software contributed to Berkeley by
87494Sjkh * Adam de Boor.
97494Sjkh *
107494Sjkh * Redistribution and use in source and binary forms, with or without
117494Sjkh * modification, are permitted provided that the following conditions
127494Sjkh * are met:
137494Sjkh * 1. Redistributions of source code must retain the above copyright
147494Sjkh *    notice, this list of conditions and the following disclaimer.
157494Sjkh * 2. Redistributions in binary form must reproduce the above copyright
167494Sjkh *    notice, this list of conditions and the following disclaimer in the
177494Sjkh *    documentation and/or other materials provided with the distribution.
187494Sjkh * 3. All advertising materials mentioning features or use of this software
197494Sjkh *    must display the following acknowledgement:
207494Sjkh *	This product includes software developed by the University of
217494Sjkh *	California, Berkeley and its contributors.
227494Sjkh * 4. Neither the name of the University nor the names of its contributors
237494Sjkh *    may be used to endorse or promote products derived from this software
247494Sjkh *    without specific prior written permission.
257494Sjkh *
267494Sjkh * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
277494Sjkh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
287494Sjkh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2965437Sphantom * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30142665Sphantom * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
317494Sjkh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
327494Sjkh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
337494Sjkh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
347494Sjkh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3579754Sdd * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3659460Sphantom * SUCH DAMAGE.
3759460Sphantom *
387494Sjkh *	from: @(#)config.h	8.1 (Berkeley) 6/6/93
3984306Sru *	$Id$
407494Sjkh */
417494Sjkh
427494Sjkh#define	DEFSHELL	1			/* Bourne shell */
4379754Sdd
447494Sjkh/*
457494Sjkh * DEFMAXJOBS
4679754Sdd * DEFMAXLOCAL
477494Sjkh *	These control the default concurrency. On no occasion will more
487494Sjkh *	than DEFMAXJOBS targets be created at once (locally or remotely)
497494Sjkh *	DEFMAXLOCAL is the highest number of targets which will be
507494Sjkh *	created on the local machine at once. Note that if you set this
5179754Sdd *	to 0, nothing will ever happen...
5279754Sdd */
537494Sjkh#define DEFMAXJOBS	4
5479754Sdd#define DEFMAXLOCAL	1
557494Sjkh
5679754Sdd/*
5779754Sdd * INCLUDES
5865485Sache * LIBRARIES
5965485Sache *	These control the handling of the .INCLUDES and .LIBS variables.
6065485Sache *	If INCLUDES is defined, the .INCLUDES variable will be filled
6165485Sache *	from the search paths of those suffixes which are marked by
627494Sjkh *	.INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
6365485Sache *	See suff.c for more details.
6465485Sache */
6565485Sache#define INCLUDES
6665485Sache#define LIBRARIES
6765485Sache
6865485Sache/*
6965485Sache * LIBSUFF
7065485Sache *	Is the suffix used to denote libraries and is used by the Suff module
7165485Sache *	to find the search path on which to seek any -l<xx> targets.
7265485Sache *
7365485Sache * RECHECK
7465485Sache *	If defined, Make_Update will check a target for its current
7565485Sache *	modification time after it has been re-made, setting it to the
7665485Sache *	starting time of the make only if the target still doesn't exist.
7765485Sache *	Unfortunately, under NFS the modification time often doesn't
7865485Sache *	get updated in time, so a target will appear to not have been
7965485Sache *	re-made, causing later targets to appear up-to-date. On systems
8065485Sache *	that don't have this problem, you should defined this. Under
8165485Sache *	NFS you probably should not, unless you aren't exporting jobs.
8265485Sache */
8365485Sache#define	LIBSUFF	".a"
8465485Sache#define	RECHECK
8565485Sache
8665485Sache/*
8765485Sache * POSIX
8865485Sache *	Adhere to the POSIX 1003.2 draft for the make(1) program.
8979754Sdd *	- Use MAKEFLAGS instead of MAKE to pick arguments from the
9065485Sache *	  environment.
917494Sjkh *	- Allow empty command lines if starting with tab.
9265485Sache */
9365485Sache#define POSIX
9465485Sache
9565485Sache/*
9665485Sache * SYSVINCLUDE
9765485Sache *	Recognize system V like include directives [include "filename"]
9865485Sache * SYSVVARSUB
9965485Sache *	Recognize system V like ${VAR:x=y} variable substitutions
10065485Sache */
10135548Sache#define SYSVINCLUDE
1027494Sjkh#define SYSVVARSUB
10335548Sache
10435548Sache/*
10535548Sache * SUNSHCMD
10635548Sache *	Recognize SunOS and Solaris:
10735548Sache *		VAR :sh= CMD	# Assign VAR to the command substitution of CMD
10835548Sache *		${VAR:sh}	# Return the command substitution of the value
10935548Sache *				# of ${VAR}
11035548Sache */
11157686Ssheldonh#define SUNSHCMD
11257686Ssheldonh
11335548Sache#if !defined(__svr4__) && !defined(__SVR4)
11435548Sache# ifndef RANLIBMAG
11535548Sache#  define RANLIBMAG "__.SYMDEF"
11635548Sache# endif
11735548Sache#endif
11835548Sache