xref: /original-bsd/usr.bin/make/config.h (revision b82e46b8)
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 are permitted
11  * provided that the above copyright notice and this paragraph are
12  * duplicated in all such forms and that any documentation,
13  * advertising materials, and other materials related to such
14  * distribution and use acknowledge that the software was developed
15  * by the University of California, Berkeley.  The name of the
16  * University may not be used to endorse or promote products derived
17  * from this software without specific prior written permission.
18  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
19  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
20  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21  *
22  *	@(#)config.h	5.4 (Berkeley) 03/12/90
23  */
24 
25 #define	DEFSHELL	1			/* Bourne shell */
26 #define	DEFSHELLDIR	"/bin"			/* Bourne shell directory */
27 #define	DEFSYSMK  	"/usr/share/mk/sys.mk"	/* system makefile */
28 #define	DEFSYSPATH	"/usr/share/mk"		/* system makefile directory */
29 
30 /*
31  * DEFMAXJOBS
32  * DEFMAXLOCAL
33  *	These control the default concurrency. On no occasion will more
34  *	than DEFMAXJOBS targets be created at once (locally or remotely)
35  *	DEFMAXLOCAL is the highest number of targets which will be
36  *	created on the local machine at once. Note that if you set this
37  *	to 0, nothing will ever happen...
38  */
39 #define DEFMAXJOBS	4
40 #define DEFMAXLOCAL	1
41 
42 /*
43  * INCLUDES
44  * LIBRARIES
45  *	These control the handling of the .INCLUDES and .LIBS variables.
46  *	If INCLUDES is defined, the .INCLUDES variable will be filled
47  *	from the search paths of those suffixes which are marked by
48  *	.INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
49  *	See suff.c for more details.
50  */
51 #define INCLUDES
52 #define LIBRARIES
53 
54 /*
55  * SPECIAL_CHAR
56  *	The character that leads into conditionals and include directives
57  *	and the like.
58  */
59 #define SPECIAL_CHAR '#'
60 
61 /*
62  * DEF_OLD_VARS
63  *	If defined, variable substitution follows the make style. PMake-style
64  *	substitution cannot be turned on. In addition, pmake will never
65  *	generate a warning for an undefined variable.
66  */
67 /*#define DEF_OLD_VARS*/
68 
69 /*
70  * NEED_FD_SET
71  *	Define this if your system doesn't define the fd_set type for select
72  *	masks in <sys/types.h>
73  *
74  * FD_SETSIZE
75  *	Define this to be the maximum number of files a process can have
76  *	open at once. It defaults to 256.
77  *
78  * NO_WAIT3
79  *	Define this if your system doesn't support the non-blocking wait3
80  *	system call of BSD UNIX. This is not implemented yet.
81  *
82  * NO_VFORK
83  *	Define this if your system doesn't support (or you shouldn't use)
84  *	the vfork system call found in BSD UNIX.
85  *
86  * LIBTOC
87  *	This is the name by which the table of contents in a ranlib'ed
88  *	library is known. Some systems have changed it from __.SYMDEF,
89  *	for whatever reason.
90  *
91  * LIBSUFF
92  *	Is the suffix used to denote libraries and is used by the Suff module
93  *	to find the search path on which to seek any -l<xx> targets.
94  *
95  * RECHECK
96  *	If defined, Make_Update will check a target for its current
97  *	modification time after it has been re-made, setting it to the
98  *	starting time of the make only if the target still doesn't exist.
99  *	Unfortunately, under NFS the modification time often doesn't
100  *	get updated in time, so a target will appear to not have been
101  *	re-made, causing later targets to appear up-to-date. On systems
102  *	that don't have this problem, you should defined this. Under
103  *	NFS you probably should not, unless you aren't exporting jobs.
104  *
105  * POSIX
106  *	If the POSIX standard for Make is to be followed. There are
107  *	several areas that I dislike, hence this constant.
108  */
109 /*#define NEED_FD_SET*/
110 /*#define FD_SETSIZE 32*/
111 /*#define NO_WAIT3*/
112 /*#define NO_VFORK*/
113 #define LIBTOC	"__.SYMDEF"
114 #define LIBSUFF	".a"
115 #define RECHECK
116 /*#define POSIX*/
117