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