xref: /original-bsd/usr.bin/make/config.h (revision d2774a03)
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.2 (Berkeley) 03/11/90
23  */
24 
25 /*-
26  * config.h --
27  *	Configuration constants for the local site.
28  */
29 
30 /*
31  * DEFSYSPATH
32  *	Is the absolute path of the location of system makefiles.
33  * SYSPATHDOC
34  *	Documentation string to tell what the directory is.
35  */
36 #define DEFSYSPATH	"/usr/public/lib/pmake"
37 #define SYSPATHDOC	"\tDirectory for system makefiles: /usr/public/lib/pmake"
38 
39 /*
40  * DEFSHELL
41  *	The index of the default shell description in job.c. It indexes the
42  *	'shells' table:
43  *	    0	  	C Shell
44  *	    1	  	Bourne Shell
45  *	    2	  	Unknown
46  * SHELLDOC
47  *	Documentation string to tell what shell is used by default.
48  */
49 #define DEFSHELL  	1
50 #define SHELLDOC  	"\tDefault shell: Bourne"
51 
52 /*
53  * DEFSHELLDIR
54  *	The directory in which the C Shell and Bourne Shell are to be found.
55  */
56 #define DEFSHELLDIR	"/bin"
57 
58 /*
59  * DEFSYSMK
60  *	The absolute path of the default system makefile. It should probably
61  *	be in DEFSYSPATH.
62  * SYSMKDOC
63  *	Documentation string to tell where the system makefile is.
64  */
65 #define DEFSYSMK  	"/usr/public/lib/pmake/system.mk"
66 #define SYSMKDOC  	"\tSystem makefile: /usr/public/lib/pmake/system.mk"
67 
68 /*
69  * DEFMAXJOBS
70  * DEFMAXLOCAL
71  *	These control the default concurrency. On no occasion will more
72  *	than DEFMAXJOBS targets be created at once (locally or remotely)
73  *	DEFMAXLOCAL is the highest number of targets which will be
74  *	created on the local machine at once. Note that if you set this
75  *	to 0, nothing will ever happen...
76  */
77 #define DEFMAXJOBS	4
78 #define DEFMAXLOCAL	1
79 
80 /*
81  * INCLUDES
82  * LIBRARIES
83  *	These control the handling of the .INCLUDES and .LIBS variables.
84  *	If INCLUDES is defined, the .INCLUDES variable will be filled
85  *	from the search paths of those suffixes which are marked by
86  *	.INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
87  *	See suff.c for more details.
88  */
89 #define INCLUDES
90 #define LIBRARIES
91 
92 /*
93  * LOCKFILE
94  *	This is the name of the lock file which is created in the current
95  *	directory if the -l flag isn't given.
96  * DONT_LOCK
97  *	If this is defined, directory locking will be off by default. The
98  *	-l flag will then turn locking on.
99  */
100 #define LOCKFILE  	"LOCK.make"
101 /*#define DONT_LOCK*/
102 
103 /*
104  * SPECIAL_CHAR
105  *	The character that leads into conditionals and include directives
106  *	and the like.
107  */
108 #define SPECIAL_CHAR '#'
109 
110 /*
111  * DEF_OLD_VARS
112  *	If defined, variable substitution follows the make style. PMake-style
113  *	substitution cannot be turned on. In addition, pmake will never
114  *	generate a warning for an undefined variable.
115  */
116 /*#define DEF_OLD_VARS*/
117 
118 /*
119  * NEED_FD_SET
120  *	Define this if your system doesn't define the fd_set type for select
121  *	masks in <sys/types.h>
122  *
123  * FD_SETSIZE
124  *	Define this to be the maximum number of files a process can have
125  *	open at once. It defaults to 256.
126  *
127  * NO_WAIT3
128  *	Define this if your system doesn't support the non-blocking wait3
129  *	system call of BSD UNIX. This is not implemented yet.
130  *
131  * NO_VFORK
132  *	Define this if your system doesn't support (or you shouldn't use)
133  *	the vfork system call found in BSD UNIX.
134  *
135  * LIBTOC
136  *	This is the name by which the table of contents in a ranlib'ed
137  *	library is known. Some systems have changed it from __.SYMDEF,
138  *	for whatever reason.
139  *
140  * LIBSUFF
141  *	Is the suffix used to denote libraries and is used by the Suff module
142  *	to find the search path on which to seek any -l<xx> targets.
143  *
144  * RECHECK
145  *	If defined, Make_Update will check a target for its current
146  *	modification time after it has been re-made, setting it to the
147  *	starting time of the make only if the target still doesn't exist.
148  *	Unfortunately, under NFS the modification time often doesn't
149  *	get updated in time, so a target will appear to not have been
150  *	re-made, causing later targets to appear up-to-date. On systems
151  *	that don't have this problem, you should defined this. Under
152  *	NFS you probably should not, unless you aren't exporting jobs.
153  *
154  * POSIX
155  *	If the POSIX standard for Make is to be followed. There are
156  *	several areas that I dislike, hence this constant.
157  */
158 /*#define NEED_FD_SET*/
159 /*#define FD_SETSIZE 32*/
160 /*#define NO_WAIT3*/
161 /*#define NO_VFORK*/
162 #define LIBTOC	"__.SYMDEF"
163 #define LIBSUFF	".a"
164 #define RECHECK
165 /*#define POSIX*/
166