[BACK]Return to config.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Annotation of src/usr.bin/make/config.h, Revision 1.10

1.10    ! espie       1: /*     $OpenPackages$ */
        !             2: /*     $OpenBSD: config.h,v 1.9 1998/12/05 00:06:27 espie Exp $        */
1.7       millert     3: /*     $NetBSD: config.h,v 1.7 1996/11/06 17:59:03 christos Exp $      */
1.1       deraadt     4:
                      5: /*
                      6:  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
                      7:  * Copyright (c) 1988, 1989 by Adam de Boor
                      8:  * Copyright (c) 1989 by Berkeley Softworks
                      9:  * All rights reserved.
                     10:  *
                     11:  * This code is derived from software contributed to Berkeley by
                     12:  * Adam de Boor.
                     13:  *
                     14:  * Redistribution and use in source and binary forms, with or without
                     15:  * modification, are permitted provided that the following conditions
                     16:  * are met:
                     17:  * 1. Redistributions of source code must retain the above copyright
                     18:  *    notice, this list of conditions and the following disclaimer.
                     19:  * 2. Redistributions in binary form must reproduce the above copyright
                     20:  *    notice, this list of conditions and the following disclaimer in the
                     21:  *    documentation and/or other materials provided with the distribution.
                     22:  * 3. All advertising materials mentioning features or use of this software
                     23:  *    must display the following acknowledgement:
                     24:  *     This product includes software developed by the University of
                     25:  *     California, Berkeley and its contributors.
                     26:  * 4. Neither the name of the University nor the names of its contributors
                     27:  *    may be used to endorse or promote products derived from this software
                     28:  *    without specific prior written permission.
                     29:  *
                     30:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     31:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     32:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     33:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     34:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     35:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     36:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     37:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     38:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     39:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     40:  * SUCH DAMAGE.
                     41:  *
1.7       millert    42:  *     from: @(#)config.h      8.1 (Berkeley) 6/6/93
1.1       deraadt    43:  */
                     44:
1.10    ! espie      45: #define DEFSHELL       1                       /* Bourne shell */
1.1       deraadt    46:
                     47: /*
                     48:  * DEFMAXJOBS
                     49:  * DEFMAXLOCAL
                     50:  *     These control the default concurrency. On no occasion will more
                     51:  *     than DEFMAXJOBS targets be created at once (locally or remotely)
                     52:  *     DEFMAXLOCAL is the highest number of targets which will be
                     53:  *     created on the local machine at once. Note that if you set this
                     54:  *     to 0, nothing will ever happen...
                     55:  */
                     56: #define DEFMAXJOBS     4
                     57: #define DEFMAXLOCAL    1
                     58:
                     59: /*
                     60:  * INCLUDES
                     61:  * LIBRARIES
                     62:  *     These control the handling of the .INCLUDES and .LIBS variables.
                     63:  *     If INCLUDES is defined, the .INCLUDES variable will be filled
                     64:  *     from the search paths of those suffixes which are marked by
                     65:  *     .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
                     66:  *     See suff.c for more details.
                     67:  */
                     68: #define INCLUDES
                     69: #define LIBRARIES
                     70:
                     71: /*
                     72:  * LIBSUFF
                     73:  *     Is the suffix used to denote libraries and is used by the Suff module
                     74:  *     to find the search path on which to seek any -l<xx> targets.
                     75:  *
                     76:  * RECHECK
                     77:  *     If defined, Make_Update will check a target for its current
                     78:  *     modification time after it has been re-made, setting it to the
                     79:  *     starting time of the make only if the target still doesn't exist.
                     80:  *     Unfortunately, under NFS the modification time often doesn't
                     81:  *     get updated in time, so a target will appear to not have been
                     82:  *     re-made, causing later targets to appear up-to-date. On systems
                     83:  *     that don't have this problem, you should defined this. Under
                     84:  *     NFS you probably should not, unless you aren't exporting jobs.
                     85:  */
1.10    ! espie      86: #define LIBSUFF ".a"
        !            87: #define RECHECK
1.5       briggs     88:
                     89: /*
1.7       millert    90:  * SYSVINCLUDE
1.5       briggs     91:  *     Recognize system V like include directives [include "filename"]
                     92:  * SYSVVARSUB
                     93:  *     Recognize system V like ${VAR:x=y} variable substitutions
                     94:  */
1.7       millert    95: #define SYSVINCLUDE
1.5       briggs     96: #define SYSVVARSUB
                     97:
                     98: /*
                     99:  * SUNSHCMD
                    100:  *     Recognize SunOS and Solaris:
                    101:  *             VAR :sh= CMD    # Assign VAR to the command substitution of CMD
                    102:  *             ${VAR:sh}       # Return the command substitution of the value
                    103:  *                             # of ${VAR}
                    104:  */
                    105: #define SUNSHCMD
1.1       deraadt   106:
1.6       niklas    107: #if !defined(__svr4__) && !defined(__SVR4) && !defined(__alpha__) && \
1.8       rahnds    108:     !defined(__mips__) && !defined(__powerpc__)
1.2       niklas    109: # ifndef RANLIBMAG
                    110: #  define RANLIBMAG "__.SYMDEF"
                    111: # endif
1.1       deraadt   112: #endif
1.10    ! espie     113:
        !           114: #ifdef SYSVINCLUDE
        !           115: #define DOFEATURE_SYSVINCLUDE  FEATURE_SYSVINCLUDE
        !           116: #else
        !           117: #define DOFEATURE_SYSVINCLUDE  0
        !           118: #endif
        !           119: #ifdef SYSVVARSUB
        !           120: #define DOFEATURE_SYSVVARSUB   FEATURE_SYSVVARSUB
        !           121: #else
        !           122: #define DOFEATURE_SYSVVARSUB   0
        !           123: #endif
        !           124: #ifdef SUNSHCMD
        !           125: #define DOFEATURE_SUNSHCMD     FEATURE_SUNSHCMD
        !           126: #else
        !           127: #define DOFEATURE_SUNSHCMD     0
        !           128: #endif
        !           129:
        !           130: #ifndef DEFAULT_FEATURES
        !           131: #define DEFAULT_FEATURES       (FEATURE_UPPERLOWER | DOFEATURE_SYSVVARSUB | DOFEATURE_SYSVINCLUDE | DOFEATURE_SUNSHCMD | FEATURE_RECVARS)
        !           132: #endif
        !           133:
        !           134: #define FEATURES(x)    ((DEFAULT_FEATURES & (x)) != 0)
        !           135: #define FEATURE_ODE            1
        !           136: #define FEATURE_UNIQ           2
        !           137: #define FEATURE_SORT           4
        !           138: #define FEATURE_UPPERLOWER     8
        !           139: #define FEATURE_SYSVVARSUB     16
        !           140: #define FEATURE_SYSVINCLUDE    32
        !           141: #define FEATURE_SUNSHCMD       64
        !           142: #define FEATURE_RECVARS                128
        !           143: #define FEATURE_CONDINCLUDE    256
        !           144: #define FEATURE_ASSIGN         512
        !           145: #define FEATURE_EXECMOD                1024