xref: /openbsd-src/usr.bin/make/extern.h (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1 #ifndef EXTERN_H
2 #define EXTERN_H
3 
4 /*	$OpenPackages$ */
5 /*	$OpenBSD: extern.h,v 1.38 2001/05/23 12:34:42 espie Exp $	*/
6 /*	$NetBSD: nonints.h,v 1.12 1996/11/06 17:59:19 christos Exp $	*/
7 
8 /*-
9  * Copyright (c) 1988, 1989, 1990, 1993
10  *	The Regents of the University of California.  All rights reserved.
11  * Copyright (c) 1989 by Berkeley Softworks
12  * All rights reserved.
13  *
14  * This code is derived from software contributed to Berkeley by
15  * Adam de Boor.
16  *
17  * Redistribution and use in source and binary forms, with or without
18  * modification, are permitted provided that the following conditions
19  * are met:
20  * 1. Redistributions of source code must retain the above copyright
21  *    notice, this list of conditions and the following disclaimer.
22  * 2. Redistributions in binary form must reproduce the above copyright
23  *    notice, this list of conditions and the following disclaimer in the
24  *    documentation and/or other materials provided with the distribution.
25  * 3. All advertising materials mentioning features or use of this software
26  *    must display the following acknowledgement:
27  *	This product includes software developed by the University of
28  *	California, Berkeley and its contributors.
29  * 4. Neither the name of the University nor the names of its contributors
30  *    may be used to endorse or promote products derived from this software
31  *    without specific prior written permission.
32  *
33  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
34  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
35  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
36  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
37  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
38  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
39  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
40  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
41  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
42  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43  * SUCH DAMAGE.
44  *
45  *	from: @(#)nonints.h	8.3 (Berkeley) 3/19/94
46  */
47 
48 extern bool	compatMake;	/* True if we are make compatible */
49 extern bool	ignoreErrors;	/* True if should ignore all errors */
50 extern bool	beSilent;	/* True if should print no commands */
51 extern bool	noExecute;	/* True if should execute nothing */
52 extern bool	allPrecious;	/* True if every target is precious */
53 extern bool	keepgoing;	/* True if should continue on unaffected
54 				 * portions of the graph when have an error
55 				 * in one portion */
56 extern bool	touchFlag;	/* true if targets should just be 'touched'
57 				 * if out of date. Set by the -t flag */
58 extern bool	usePipes;	/* true if should capture the output of
59 				 * subshells by means of pipes. Otherwise it
60 				 * is routed to temporary files from which it
61 				 * is retrieved when the shell exits */
62 extern bool	queryFlag;	/* true if we aren't supposed to really make
63 				 * anything, just see if the targets are out-
64 				 * of-date */
65 
66 #endif
67