config.h revision 18730
1141104Sharti/*
294589Sobrien * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
394589Sobrien * Copyright (c) 1988, 1989 by Adam de Boor
45814Sjkh * Copyright (c) 1989 by Berkeley Softworks
51590Srgrimes * All rights reserved.
61590Srgrimes *
71590Srgrimes * This code is derived from software contributed to Berkeley by
81590Srgrimes * Adam de Boor.
91590Srgrimes *
101590Srgrimes * Redistribution and use in source and binary forms, with or without
111590Srgrimes * modification, are permitted provided that the following conditions
121590Srgrimes * are met:
131590Srgrimes * 1. Redistributions of source code must retain the above copyright
141590Srgrimes *    notice, this list of conditions and the following disclaimer.
151590Srgrimes * 2. Redistributions in binary form must reproduce the above copyright
161590Srgrimes *    notice, this list of conditions and the following disclaimer in the
171590Srgrimes *    documentation and/or other materials provided with the distribution.
181590Srgrimes * 3. All advertising materials mentioning features or use of this software
191590Srgrimes *    must display the following acknowledgement:
201590Srgrimes *	This product includes software developed by the University of
211590Srgrimes *	California, Berkeley and its contributors.
221590Srgrimes * 4. Neither the name of the University nor the names of its contributors
231590Srgrimes *    may be used to endorse or promote products derived from this software
241590Srgrimes *    without specific prior written permission.
251590Srgrimes *
261590Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
271590Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
281590Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
291590Srgrimes * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
301590Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
311590Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
321590Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
331590Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
341590Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
351590Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
361590Srgrimes * SUCH DAMAGE.
371590Srgrimes *
381590Srgrimes *	from: @(#)config.h	8.1 (Berkeley) 6/6/93
3994589Sobrien */
4050477Speter
411590Srgrimes#define	DEFSHELL	1			/* Bourne shell */
421590Srgrimes
43141104Sharti/*
44141104Sharti * DEFMAXJOBS
45141104Sharti * DEFMAXLOCAL
461590Srgrimes *	These control the default concurrency. On no occasion will more
471590Srgrimes *	than DEFMAXJOBS targets be created at once (locally or remotely)
48137571Sphk *	DEFMAXLOCAL is the highest number of targets which will be
49137252Sharti *	created on the local machine at once. Note that if you set this
501590Srgrimes *	to 0, nothing will ever happen...
51137571Sphk */
521590Srgrimes#define DEFMAXJOBS	4
531590Srgrimes#define DEFMAXLOCAL	1
541590Srgrimes
551590Srgrimes/*
561590Srgrimes * INCLUDES
571590Srgrimes * LIBRARIES
581590Srgrimes *	These control the handling of the .INCLUDES and .LIBS variables.
591590Srgrimes *	If INCLUDES is defined, the .INCLUDES variable will be filled
601590Srgrimes *	from the search paths of those suffixes which are marked by
611590Srgrimes *	.INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
62103503Sjmallett *	See suff.c for more details.
63103503Sjmallett */
641590Srgrimes#define INCLUDES
651590Srgrimes#define LIBRARIES
661590Srgrimes
671590Srgrimes/*
681590Srgrimes * LIBSUFF
691590Srgrimes *	Is the suffix used to denote libraries and is used by the Suff module
701590Srgrimes *	to find the search path on which to seek any -l<xx> targets.
711590Srgrimes *
721590Srgrimes * RECHECK
731590Srgrimes *	If defined, Make_Update will check a target for its current
741590Srgrimes *	modification time after it has been re-made, setting it to the
751590Srgrimes *	starting time of the make only if the target still doesn't exist.
761590Srgrimes *	Unfortunately, under NFS the modification time often doesn't
771590Srgrimes *	get updated in time, so a target will appear to not have been
781590Srgrimes *	re-made, causing later targets to appear up-to-date. On systems
791590Srgrimes *	that don't have this problem, you should defined this. Under
801590Srgrimes *	NFS you probably should not, unless you aren't exporting jobs.
811590Srgrimes */
821590Srgrimes#define	LIBSUFF	".a"
8318730Ssteve#define	RECHECK
8418730Ssteve
8518730Ssteve/*
8618730Ssteve * POSIX
8718730Ssteve *	Adhere to the POSIX 1003.2 draft for the make(1) program.
8818730Ssteve *	- Use MAKEFLAGS instead of MAKE to pick arguments from the
89103503Sjmallett *	  environment.
90103503Sjmallett *	- Allow empty command lines if starting with tab.
9118730Ssteve */
9218730Ssteve#define POSIX
9318730Ssteve
9418730Ssteve/*
9518730Ssteve * SYSVINCLUDE
9618730Ssteve *	Recognize system V like include directives [include "filename"]
9718730Ssteve * SYSVVARSUB
9818730Ssteve *	Recognize system V like ${VAR:x=y} variable substitutions
99103503Sjmallett */
10018730Ssteve#define SYSVINCLUDE
10138985Sjb#define SYSVVARSUB
10218730Ssteve
10318730Ssteve/*
10418730Ssteve * SUNSHCMD
10551132Sjulian *	Recognize SunOS and Solaris:
10651132Sjulian *		VAR :sh= CMD	# Assign VAR to the command substitution of CMD
10751132Sjulian *		${VAR:sh}	# Return the command substitution of the value
10851132Sjulian *				# of ${VAR}
1091590Srgrimes */
110141104Sharti#define SUNSHCMD
111141104Sharti
112#if !defined(__svr4__) && !defined(__SVR4)
113# ifndef RANLIBMAG
114#  define RANLIBMAG "__.SYMDEF"
115# endif
116#endif
117/*#define POSIX*/
118