Annotation of src/usr.bin/make/config.h, Revision 1.9
1.8 rahnds 1: /* $OpenBSD: config.h,v 1.7 1996/11/30 21:08:53 millert Exp $ */
1.7 millert 2: /* $NetBSD: config.h,v 1.7 1996/11/06 17:59:03 christos Exp $ */
1.1 deraadt 3:
4: /*
5: * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
6: * Copyright (c) 1988, 1989 by Adam de Boor
7: * Copyright (c) 1989 by Berkeley Softworks
8: * All rights reserved.
9: *
10: * This code is derived from software contributed to Berkeley by
11: * Adam de Boor.
12: *
13: * Redistribution and use in source and binary forms, with or without
14: * modification, are permitted provided that the following conditions
15: * are met:
16: * 1. Redistributions of source code must retain the above copyright
17: * notice, this list of conditions and the following disclaimer.
18: * 2. Redistributions in binary form must reproduce the above copyright
19: * notice, this list of conditions and the following disclaimer in the
20: * documentation and/or other materials provided with the distribution.
21: * 3. All advertising materials mentioning features or use of this software
22: * must display the following acknowledgement:
23: * This product includes software developed by the University of
24: * California, Berkeley and its contributors.
25: * 4. 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: *
1.7 millert 41: * from: @(#)config.h 8.1 (Berkeley) 6/6/93
1.1 deraadt 42: */
43:
44: #define DEFSHELL 1 /* Bourne shell */
45:
46: /*
47: * DEFMAXJOBS
48: * DEFMAXLOCAL
49: * These control the default concurrency. On no occasion will more
50: * than DEFMAXJOBS targets be created at once (locally or remotely)
51: * DEFMAXLOCAL is the highest number of targets which will be
52: * created on the local machine at once. Note that if you set this
53: * to 0, nothing will ever happen...
54: */
55: #define DEFMAXJOBS 4
56: #define DEFMAXLOCAL 1
57:
58: /*
59: * INCLUDES
60: * LIBRARIES
61: * These control the handling of the .INCLUDES and .LIBS variables.
62: * If INCLUDES is defined, the .INCLUDES variable will be filled
63: * from the search paths of those suffixes which are marked by
64: * .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
65: * See suff.c for more details.
66: */
67: #define INCLUDES
68: #define LIBRARIES
69:
70: /*
71: * LIBSUFF
72: * Is the suffix used to denote libraries and is used by the Suff module
73: * to find the search path on which to seek any -l<xx> targets.
74: *
75: * RECHECK
76: * If defined, Make_Update will check a target for its current
77: * modification time after it has been re-made, setting it to the
78: * starting time of the make only if the target still doesn't exist.
79: * Unfortunately, under NFS the modification time often doesn't
80: * get updated in time, so a target will appear to not have been
81: * re-made, causing later targets to appear up-to-date. On systems
82: * that don't have this problem, you should defined this. Under
83: * NFS you probably should not, unless you aren't exporting jobs.
84: */
85: #define LIBSUFF ".a"
86: #define RECHECK
1.5 briggs 87:
88: /*
89: * POSIX
90: * Adhere to the POSIX 1003.2 draft for the make(1) program.
91: * - Use MAKEFLAGS instead of MAKE to pick arguments from the
92: * environment.
93: * - Allow empty command lines if starting with tab.
94: */
95: #define POSIX
96:
97: /*
1.7 millert 98: * SYSVINCLUDE
1.5 briggs 99: * Recognize system V like include directives [include "filename"]
100: * SYSVVARSUB
101: * Recognize system V like ${VAR:x=y} variable substitutions
102: */
1.7 millert 103: #define SYSVINCLUDE
1.5 briggs 104: #define SYSVVARSUB
105:
106: /*
107: * SUNSHCMD
108: * Recognize SunOS and Solaris:
109: * VAR :sh= CMD # Assign VAR to the command substitution of CMD
110: * ${VAR:sh} # Return the command substitution of the value
111: * # of ${VAR}
112: */
113: #define SUNSHCMD
1.1 deraadt 114:
1.6 niklas 115: #if !defined(__svr4__) && !defined(__SVR4) && !defined(__alpha__) && \
1.8 rahnds 116: !defined(__mips__) && !defined(__powerpc__)
1.2 niklas 117: # ifndef RANLIBMAG
118: # define RANLIBMAG "__.SYMDEF"
119: # endif
1.1 deraadt 120: #endif