BSD 4_4 release
[unix-history] / usr / src / usr.bin / make / config.h
index 34eb74c..c00ee33 100644 (file)
@@ -1,58 +1,44 @@
-/*-
- * config.h --
- *     Configuration constants for the local site.
+/*
+ * Copyright (c) 1988, 1989, 1990, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ * Copyright (c) 1989 by Berkeley Softworks
+ * All rights reserved.
  *
  *
- * Copyright (c) 1988 by the Regents of the University of California
- * Copyright (c) 1988 by Adam de Boor
+ * This code is derived from software contributed to Berkeley by
+ * Adam de Boor.
  *
  *
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appears in all copies.  Neither the University of California nor
- * Adam de Boor makes any representations about the suitability of this
- * software for any purpose.  It is provided "as is" without
- * express or implied warranty.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *     This product includes software developed by the University of
+ *     California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
  *
  *
- *     "$Id: config.h,v 1.4 89/11/14 17:54:56 adam Exp $ SPRITE (Berkeley)"
- */
-
-/*
- * DEFSYSPATH
- *     Is the absolute path of the location of system makefiles.
- * SYSPATHDOC
- *     Documentation string to tell what the directory is.
- */
-#define DEFSYSPATH     "/usr/public/lib/pmake"
-#define SYSPATHDOC     "\tDirectory for system makefiles: /usr/public/lib/pmake"
-
-/*
- * DEFSHELL
- *     The index of the default shell description in job.c. It indexes the
- *     'shells' table:
- *         0           C Shell
- *         1           Bourne Shell
- *         2           Unknown
- * SHELLDOC
- *     Documentation string to tell what shell is used by default.
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ *     @(#)config.h    8.1 (Berkeley) 6/6/93
  */
  */
-#define DEFSHELL       1
-#define SHELLDOC       "\tDefault shell: Bourne"
 
 
-/*
- * DEFSHELLDIR
- *     The directory in which the C Shell and Bourne Shell are to be found.
- */
-#define DEFSHELLDIR    "/bin"
-
-/*
- * DEFSYSMK
- *     The absolute path of the default system makefile. It should probably
- *     be in DEFSYSPATH.
- * SYSMKDOC
- *     Documentation string to tell where the system makefile is.
- */
-#define DEFSYSMK       "/usr/public/lib/pmake/system.mk"
-#define SYSMKDOC       "\tSystem makefile: /usr/public/lib/pmake/system.mk"
+#define        DEFSHELL        1                       /* Bourne shell */
 
 /*
  * DEFMAXJOBS
 
 /*
  * DEFMAXJOBS
 #define LIBRARIES
 
 /*
 #define LIBRARIES
 
 /*
- * LOCKFILE
- *     This is the name of the lock file which is created in the current
- *     directory if the -l flag isn't given.
- * DONT_LOCK
- *     If this is defined, directory locking will be off by default. The
- *     -l flag will then turn locking on.
- */
-#define LOCKFILE       "LOCK.make"
-/*#define DONT_LOCK*/
-
-/*
- * SPECIAL_CHAR
- *     The character that leads into conditionals and include directives
- *     and the like.
- */
-#define SPECIAL_CHAR '#'
-
-/*
- * DEF_OLD_VARS
- *     If defined, variable substitution follows the make style. PMake-style
- *     substitution cannot be turned on. In addition, pmake will never
- *     generate a warning for an undefined variable.
- */
-/*#define DEF_OLD_VARS*/
-
-/*
- * NEED_FD_SET
- *     Define this if your system doesn't define the fd_set type for select
- *     masks in <sys/types.h>
- *
- * FD_SETSIZE
- *     Define this to be the maximum number of files a process can have
- *     open at once. It defaults to 256.
- *
- * NO_WAIT3
- *     Define this if your system doesn't support the non-blocking wait3
- *     system call of BSD UNIX. This is not implemented yet.
- *
- * NO_VFORK
- *     Define this if your system doesn't support (or you shouldn't use)
- *     the vfork system call found in BSD UNIX.
- *
- * LIBTOC
- *     This is the name by which the table of contents in a ranlib'ed
- *     library is known. Some systems have changed it from __.SYMDEF,
- *     for whatever reason.
- *
  * LIBSUFF
  *     Is the suffix used to denote libraries and is used by the Suff module
  *     to find the search path on which to seek any -l<xx> targets.
  * LIBSUFF
  *     Is the suffix used to denote libraries and is used by the Suff module
  *     to find the search path on which to seek any -l<xx> targets.
  *     If the POSIX standard for Make is to be followed. There are
  *     several areas that I dislike, hence this constant.
  */
  *     If the POSIX standard for Make is to be followed. There are
  *     several areas that I dislike, hence this constant.
  */
-/*#define NEED_FD_SET*/
-/*#define FD_SETSIZE 32*/
-/*#define NO_WAIT3*/
-/*#define NO_VFORK*/
-#define LIBTOC "__.SYMDEF"
-#define LIBSUFF        ".a"
-#define RECHECK
+#define        LIBSUFF ".a"
+#define        RECHECK
+
+#ifndef RANLIBMAG
+#define RANLIBMAG "__.SYMDEF"
+#endif
 /*#define POSIX*/
 /*#define POSIX*/