Changeset 51 for trunk/src/kmk/config.h


Ignore:
Timestamp:
Apr 7, 2003, 3:30:32 AM (22 years ago)
Author:
bird
Message:

kMk and porting to kLib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/config.h

    r47 r51  
    1818 * 3. All advertising materials mentioning features or use of this software
    1919 *    must display the following acknowledgement:
    20  *      This product includes software developed by the University of
    21  *      California, Berkeley and its contributors.
     20 *      This product includes software developed by the University of
     21 *      California, Berkeley and its contributors.
    2222 * 4. Neither the name of the University nor the names of its contributors
    2323 *    may be used to endorse or promote products derived from this software
     
    3636 * SUCH DAMAGE.
    3737 *
    38  *      from: @(#)config.h      8.1 (Berkeley) 6/6/93
     38 *      from: @(#)config.h      8.1 (Berkeley) 6/6/93
    3939 * $FreeBSD: src/usr.bin/make/config.h,v 1.9 1999/09/10 20:51:59 julian Exp $
    4040 */
    4141
    42 #define DEFSHELL        1                       /* Bourne shell */
     42#define DEFSHELL        1                       /* Bourne shell */
    4343
    4444/*
    4545 * DEFMAXJOBS
    4646 * DEFMAXLOCAL
    47  *      These control the default concurrency. On no occasion will more
    48  *      than DEFMAXJOBS targets be created at once (locally or remotely)
    49  *      DEFMAXLOCAL is the highest number of targets which will be
    50  *      created on the local machine at once. Note that if you set this
    51  *      to 0, nothing will ever happen...
     47 *      These control the default concurrency. On no occasion will more
     48 *      than DEFMAXJOBS targets be created at once (locally or remotely)
     49 *      DEFMAXLOCAL is the highest number of targets which will be
     50 *      created on the local machine at once. Note that if you set this
     51 *      to 0, nothing will ever happen...
    5252 */
    53 #define DEFMAXJOBS      4
    54 #define DEFMAXLOCAL     1
     53#define DEFMAXJOBS      4
     54#define DEFMAXLOCAL     1
    5555
    5656/*
    5757 * INCLUDES
    5858 * LIBRARIES
    59  *      These control the handling of the .INCLUDES and .LIBS variables.
    60  *      If INCLUDES is defined, the .INCLUDES variable will be filled
    61  *      from the search paths of those suffixes which are marked by
    62  *      .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
    63  *      See suff.c for more details.
     59 *      These control the handling of the .INCLUDES and .LIBS variables.
     60 *      If INCLUDES is defined, the .INCLUDES variable will be filled
     61 *      from the search paths of those suffixes which are marked by
     62 *      .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
     63 *      See suff.c for more details.
    6464 */
    6565#define INCLUDES
     
    6868/*
    6969 * LIBSUFF
    70  *      Is the suffix used to denote libraries and is used by the Suff module
    71  *      to find the search path on which to seek any -l<xx> targets.
     70 *      Is the suffix used to denote libraries and is used by the Suff module
     71 *      to find the search path on which to seek any -l<xx> targets.
    7272 *
    7373 * RECHECK
    74  *      If defined, Make_Update will check a target for its current
    75  *      modification time after it has been re-made, setting it to the
    76  *      starting time of the make only if the target still doesn't exist.
    77  *      Unfortunately, under NFS the modification time often doesn't
    78  *      get updated in time, so a target will appear to not have been
    79  *      re-made, causing later targets to appear up-to-date. On systems
    80  *      that don't have this problem, you should defined this. Under
    81  *      NFS you probably should not, unless you aren't exporting jobs.
     74 *      If defined, Make_Update will check a target for its current
     75 *      modification time after it has been re-made, setting it to the
     76 *      starting time of the make only if the target still doesn't exist.
     77 *      Unfortunately, under NFS the modification time often doesn't
     78 *      get updated in time, so a target will appear to not have been
     79 *      re-made, causing later targets to appear up-to-date. On systems
     80 *      that don't have this problem, you should defined this. Under
     81 *      NFS you probably should not, unless you aren't exporting jobs.
    8282 */
    83 #define LIBSUFF ".a"
    84 #define RECHECK
     83#define LIBSUFF ".a"
     84#define RECHECK
    8585
    8686/*
    8787 * POSIX
    88  *      Adhere to the POSIX 1003.2 draft for the make(1) program.
    89  *      - Use MAKEFLAGS instead of MAKE to pick arguments from the
    90  *        environment.
    91  *      - Allow empty command lines if starting with tab.
     88 *      Adhere to the POSIX 1003.2 draft for the make(1) program.
     89 *      - Use MAKEFLAGS instead of MAKE to pick arguments from the
     90 *        environment.
     91 *      - Allow empty command lines if starting with tab.
    9292 */
    9393#define POSIX
     
    9595/*
    9696 * SYSVINCLUDE
    97  *      Recognize system V like include directives [include "filename"]
     97 *      Recognize system V like include directives [include "filename"]
    9898 * SYSVVARSUB
    99  *      Recognize system V like ${VAR:x=y} variable substitutions
     99 *      Recognize system V like ${VAR:x=y} variable substitutions
    100100 */
    101101#define SYSVINCLUDE
     
    104104/*
    105105 * SUNSHCMD
    106  *      Recognize SunOS and Solaris:
    107  *              VAR :sh= CMD    # Assign VAR to the command substitution of CMD
    108  *              ${VAR:sh}       # Return the command substitution of the value
    109  *                              # of ${VAR}
     106 *      Recognize SunOS and Solaris:
     107 *              VAR :sh= CMD    # Assign VAR to the command substitution of CMD
     108 *              ${VAR:sh}       # Return the command substitution of the value
     109 *                              # of ${VAR}
    110110 */
    111111#define SUNSHCMD
     
    120120# endif
    121121#endif
    122 
    123 
    124 
    125122
    126123
     
    159156
    160157/*
     158 * USE_BASEANDROOT_MODIFIERS
     159 *      If defined two extra variable modifiers B and R are added.
     160 */
     161#if defined(NMAKE) || defined(KMK)
     162#define USE_BASEANDROOT_MODIFIERS 1
     163#endif
     164
     165
     166/*
    161167 * USE_ISODATES
    162168 *      If defined dates and times will be outputted in ISO format.
Note: See TracChangeset for help on using the changeset viewer.