xref: /openbsd/usr.bin/make/extern.h (revision d89ec533)
1 #ifndef EXTERN_H
2 #define EXTERN_H
3 
4 /*	$OpenBSD: extern.h,v 1.44 2020/01/13 14:51:50 espie Exp $	*/
5 /*	$NetBSD: nonints.h,v 1.12 1996/11/06 17:59:19 christos Exp $	*/
6 
7 /*-
8  * Copyright (c) 1988, 1989, 1990, 1993
9  *	The Regents of the University of California.  All rights reserved.
10  * Copyright (c) 1989 by Berkeley Softworks
11  * All rights reserved.
12  *
13  * This code is derived from software contributed to Berkeley by
14  * Adam de Boor.
15  *
16  * Redistribution and use in source and binary forms, with or without
17  * modification, are permitted provided that the following conditions
18  * are met:
19  * 1. Redistributions of source code must retain the above copyright
20  *    notice, this list of conditions and the following disclaimer.
21  * 2. Redistributions in binary form must reproduce the above copyright
22  *    notice, this list of conditions and the following disclaimer in the
23  *    documentation and/or other materials provided with the distribution.
24  * 3. 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: @(#)nonints.h	8.3 (Berkeley) 3/19/94
41  */
42 
43 extern bool	ignoreErrors;	/* True if should ignore all errors */
44 extern bool	beSilent;	/* True if should print no commands */
45 extern bool	noExecute;	/* True if should execute nothing */
46 extern bool	allPrecious;	/* True if every target is precious */
47 extern bool	keepgoing;	/* True if should continue on unaffected
48 				 * portions of the graph when have an error
49 				 * in one portion */
50 extern bool	touchFlag;	/* true if targets should just be 'touched'
51 				 * if out of date. Set by the -t flag */
52 extern bool	queryFlag;	/* true if we aren't supposed to really make
53 				 * anything, just see if the targets are out-
54 				 * of-date */
55 
56 #endif
57