xref: /original-bsd/usr.bin/make/config.h (revision 525b425b)
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.3 (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  * LOCKFILE
56  *	This is the name of the lock file which is created in the current
57  *	directory if the -l flag isn't given.
58  * DONT_LOCK
59  *	If this is defined, directory locking will be off by default. The
60  *	-l flag will then turn locking on.
61  */
62 #define LOCKFILE  	"LOCK.make"
63 /*#define DONT_LOCK*/
64 
65 /*
66  * SPECIAL_CHAR
67  *	The character that leads into conditionals and include directives
68  *	and the like.
69  */
70 #define SPECIAL_CHAR '#'
71 
72 /*
73  * DEF_OLD_VARS
74  *	If defined, variable substitution follows the make style. PMake-style
75  *	substitution cannot be turned on. In addition, pmake will never
76  *	generate a warning for an undefined variable.
77  */
78 /*#define DEF_OLD_VARS*/
79 
80 /*
81  * NEED_FD_SET
82  *	Define this if your system doesn't define the fd_set type for select
83  *	masks in <sys/types.h>
84  *
85  * FD_SETSIZE
86  *	Define this to be the maximum number of files a process can have
87  *	open at once. It defaults to 256.
88  *
89  * NO_WAIT3
90  *	Define this if your system doesn't support the non-blocking wait3
91  *	system call of BSD UNIX. This is not implemented yet.
92  *
93  * NO_VFORK
94  *	Define this if your system doesn't support (or you shouldn't use)
95  *	the vfork system call found in BSD UNIX.
96  *
97  * LIBTOC
98  *	This is the name by which the table of contents in a ranlib'ed
99  *	library is known. Some systems have changed it from __.SYMDEF,
100  *	for whatever reason.
101  *
102  * LIBSUFF
103  *	Is the suffix used to denote libraries and is used by the Suff module
104  *	to find the search path on which to seek any -l<xx> targets.
105  *
106  * RECHECK
107  *	If defined, Make_Update will check a target for its current
108  *	modification time after it has been re-made, setting it to the
109  *	starting time of the make only if the target still doesn't exist.
110  *	Unfortunately, under NFS the modification time often doesn't
111  *	get updated in time, so a target will appear to not have been
112  *	re-made, causing later targets to appear up-to-date. On systems
113  *	that don't have this problem, you should defined this. Under
114  *	NFS you probably should not, unless you aren't exporting jobs.
115  *
116  * POSIX
117  *	If the POSIX standard for Make is to be followed. There are
118  *	several areas that I dislike, hence this constant.
119  */
120 /*#define NEED_FD_SET*/
121 /*#define FD_SETSIZE 32*/
122 /*#define NO_WAIT3*/
123 /*#define NO_VFORK*/
124 #define LIBTOC	"__.SYMDEF"
125 #define LIBSUFF	".a"
126 #define RECHECK
127 /*#define POSIX*/
128