VirtualBox

Changeset 938 in kBuild for trunk/src


Ignore:
Timestamp:
May 26, 2007 8:03:34 PM (18 years ago)
Author:
bird
Message:

publish the two new make features.

Location:
trunk/src/gmakenew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/main.c

    r918 r938  
    13171317                          o_default, f_append, 0);
    13181318#endif
     1319#ifdef CONFIG_WITH_EXPLICIT_MULTITARGET
     1320  do_variable_definition (NILF, ".FEATURES", "explicit-multitarget",
     1321                          o_default, f_append, 0);
     1322#endif
     1323#ifdef CONFIG_WITH_PREPEND_ASSIGNMENT
     1324  do_variable_definition (NILF, ".FEATURES", "prepend-assignment",
     1325                          o_default, f_append, 0);
     1326#endif
    13191327
    13201328  /* Read in variables from the environment.  It is important that this be
     
    27612769                    {
    27622770                      sl->max += 5;
    2763                       sl->list = xrealloc (sl->list,
     2771                      sl->list = xrealloc ((void *)sl->list, /* bird */
    27642772                                           sl->max * sizeof (char *));
    27652773                    }
  • trunk/src/gmakenew/variable.c

    r937 r938  
    10271027
    10281028  /* Define KMK_FEATURES to indicate various working KMK features. */
    1029 # if defined(CONFIG_WITH_TOUPPER_TOLOWER) \
    1030   && defined(CONFIG_WITH_RSORT) \
     1029# if defined(CONFIG_WITH_RSORT) \
    10311030  && defined(CONFIG_WITH_ABSPATHEX) \
     1031  && defined(CONFIG_WITH_TOUPPER_TOLOWER) \
    10321032  && defined(CONFIG_WITH_VALUE_LENGTH) && defined(CONFIG_WITH_COMPARE) \
    10331033  && defined(CONFIG_WITH_STACK) \
    10341034  && defined(CONFIG_WITH_MATH) \
    10351035  && defined(CONFIG_WITH_XARGS) \
     1036  && defined(CONFIG_WITH_EXPLICIT_MULTITARGET) \
     1037  && defined(CONFIG_WITH_PREPEND_ASSIGNMENT) \
    10361038  && defined(KMK_HELPERS)
    10371039  (void) define_variable ("KMK_FEATURES", 12,
     
    10441046                          " math-int"
    10451047                          " xargs"
     1048                          " explicit-multitarget"
     1049                          " prepend-assignment"
    10461050                          " kb-src-tool kb-obj-base kb-obj-suff kb-src-prop kb-src-one "
    10471051                          , o_default, 0);
    10481052# else /* MSC can't deal with strings mixed with #if/#endif, thus the slow way. */
     1053#  error "All features should be enabled by default!"
    10491054  strcpy (buf, "append-dash-n abspath");
    10501055#  if defined (CONFIG_WITH_RSORT)
     
    10691074  strcat (buf, " xargs");
    10701075#  endif
    1071 #  ifdef KMK_HELPERS
     1076#  if defined (CONFIG_WITH_EXPLICIT_MULTITARGET)
     1077  strcat (buf, " explicit-multitarget");
     1078#  endif
     1079#  if defined (CONFIG_WITH_PREPEND_ASSIGNMENT) \
     1080  strcat (buf, " prepend-assignment");
     1081#  endif
     1082#  if defined (KMK_HELPERS)
    10721083  strcat (buf, " kb-src-tool kb-obj-base kb-obj-suff kb-src-prop kb-src-one");
    10731084#  endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette