xref: /openbsd-src/usr.bin/make/extern.h (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1 #ifndef EXTERN_H
2 #define EXTERN_H
3 
4 /*	$OpenPackages$ */
5 /*	$OpenBSD: extern.h,v 1.41 2007/09/17 12:42:09 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. Neither the name of the University nor the names of its contributors
26  *    may be used to endorse or promote products derived from this software
27  *    without specific prior written permission.
28  *
29  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
30  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
33  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
35  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
37  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39  * SUCH DAMAGE.
40  *
41  *	from: @(#)nonints.h	8.3 (Berkeley) 3/19/94
42  */
43 
44 extern bool	compatMake;	/* True if we are make compatible */
45 extern bool	ignoreErrors;	/* True if should ignore all errors */
46 extern bool	beSilent;	/* True if should print no commands */
47 extern bool	noExecute;	/* True if should execute nothing */
48 extern bool	allPrecious;	/* True if every target is precious */
49 extern bool	keepgoing;	/* True if should continue on unaffected
50 				 * portions of the graph when have an error
51 				 * in one portion */
52 extern bool	touchFlag;	/* true if targets should just be 'touched'
53 				 * if out of date. Set by the -t flag */
54 extern bool	queryFlag;	/* true if we aren't supposed to really make
55 				 * anything, just see if the targets are out-
56 				 * of-date */
57 
58 #endif
59