Initial import from FreeBSD RELENG_4:
[games.git] / usr.bin / make / config.h
1 /*
2  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
3  * Copyright (c) 1988, 1989 by Adam de Boor
4  * Copyright (c) 1989 by Berkeley Softworks
5  * All rights reserved.
6  *
7  * This code is derived from software contributed to Berkeley by
8  * Adam de Boor.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  * 1. Redistributions of source code must retain the above copyright
14  *    notice, this list of conditions and the following disclaimer.
15  * 2. Redistributions in binary form must reproduce the above copyright
16  *    notice, this list of conditions and the following disclaimer in the
17  *    documentation and/or other materials provided with the distribution.
18  * 3. All advertising materials mentioning features or use of this software
19  *    must display the following acknowledgement:
20  *      This product includes software developed by the University of
21  *      California, Berkeley and its contributors.
22  * 4. Neither the name of the University nor the names of its contributors
23  *    may be used to endorse or promote products derived from this software
24  *    without specific prior written permission.
25  *
26  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36  * SUCH DAMAGE.
37  *
38  *      from: @(#)config.h      8.1 (Berkeley) 6/6/93
39  * $FreeBSD: src/usr.bin/make/config.h,v 1.9 1999/09/10 20:51:59 julian Exp $
40  */
41
42 #define DEFSHELL        1                       /* Bourne shell */
43
44 /*
45  * DEFMAXJOBS
46  * DEFMAXLOCAL
47  *      These control the default concurrency. On no occasion will more
48  *      than DEFMAXJOBS targets be created at once (locally or remotely)
49  *      DEFMAXLOCAL is the highest number of targets which will be
50  *      created on the local machine at once. Note that if you set this
51  *      to 0, nothing will ever happen...
52  */
53 #define DEFMAXJOBS      4
54 #define DEFMAXLOCAL     1
55
56 /*
57  * INCLUDES
58  * LIBRARIES
59  *      These control the handling of the .INCLUDES and .LIBS variables.
60  *      If INCLUDES is defined, the .INCLUDES variable will be filled
61  *      from the search paths of those suffixes which are marked by
62  *      .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
63  *      See suff.c for more details.
64  */
65 #define INCLUDES
66 #define LIBRARIES
67
68 /*
69  * LIBSUFF
70  *      Is the suffix used to denote libraries and is used by the Suff module
71  *      to find the search path on which to seek any -l<xx> targets.
72  *
73  * RECHECK
74  *      If defined, Make_Update will check a target for its current
75  *      modification time after it has been re-made, setting it to the
76  *      starting time of the make only if the target still doesn't exist.
77  *      Unfortunately, under NFS the modification time often doesn't
78  *      get updated in time, so a target will appear to not have been
79  *      re-made, causing later targets to appear up-to-date. On systems
80  *      that don't have this problem, you should defined this. Under
81  *      NFS you probably should not, unless you aren't exporting jobs.
82  */
83 #define LIBSUFF ".a"
84 #define RECHECK
85
86 /*
87  * POSIX
88  *      Adhere to the POSIX 1003.2 draft for the make(1) program.
89  *      - Use MAKEFLAGS instead of MAKE to pick arguments from the
90  *        environment.
91  *      - Allow empty command lines if starting with tab.
92  */
93 #define POSIX
94
95 /*
96  * SYSVINCLUDE
97  *      Recognize system V like include directives [include "filename"]
98  * SYSVVARSUB
99  *      Recognize system V like ${VAR:x=y} variable substitutions
100  */
101 #define SYSVINCLUDE
102 #define SYSVVARSUB
103
104 /*
105  * SUNSHCMD
106  *      Recognize SunOS and Solaris:
107  *              VAR :sh= CMD    # Assign VAR to the command substitution of CMD
108  *              ${VAR:sh}       # Return the command substitution of the value
109  *                              # of ${VAR}
110  */
111 #define SUNSHCMD
112
113 #if !defined(__svr4__) && !defined(__SVR4) && !defined(__ELF__)
114 # ifndef RANLIBMAG
115 #  define RANLIBMAG "__.SYMDEF"
116 # endif
117 #else
118 # ifndef RANLIBMAG
119 #  define RANLIBMAG "/"
120 # endif
121 #endif