Changeset 520 for trunk/src/gmake/main.c


Ignore:
Timestamp:
Sep 16, 2006, 6:56:25 AM (19 years ago)
Author:
bird
Message:

Cleaning up the modifications. Changes are now either configurable or marked, and dead stuff has been removed (dll shell).

File:
1 edited

Legend:

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

    r506 r520  
    494494int second_expansion;
    495495
    496 /* Negative if we have seen the `.NOTPARALLEL' target with empty dependency list.
    497    Zero if no `.NOTPARALLEL' or no file in the dependency list is being executed.
    498    Positive when a file in `.NOTPARALLEL' is being made.
    499    Nonzero values have the effect of disabeling parallel building. */
     496#ifndef CONFIG_WITH_EXTENDED_NOTPARALLEL
     497/* Nonzero if we have seen the `.NOTPARALLEL' target.
     498   This turns off parallel builds for this invocation of make.  */
     499
     500#else  /* CONFIG_WITH_EXTENDED_NOTPARALLEL */
     501
     502/* Negative if we have seen the `.NOTPARALLEL' target with an
     503   empty dependency list.
     504
     505   Zero if no `.NOTPARALLEL' or no file in the dependency list
     506   is being executed.
     507
     508   Positive when a file in the `.NOTPARALLEL' dependency list
     509   is in progress, the value is the number of notparallel files
     510   in progress (running or queued for running).
     511
     512   In short, any nonzero value means no more parallel builing. */
     513#endif /* CONFIG_WITH_EXTENDED_NOTPARALLEL */
    500514
    501515int not_parallel;
     
    633647              db_level |= DB_BASIC | DB_VERBOSE;
    634648              break;
     649#ifdef DB_KMK
    635650            case 'k':
    636651              db_level |= DB_KMK;
    637652              break;
     653#endif
    638654            default:
    639655              fatal (NILF, _("unknown debug level specification `%s'"), p);
     
    21012117            int pid;
    21022118            int status;
    2103             pid = child_execute_job (0, 1, nargv, environ, NULL);
     2119            pid = child_execute_job (0, 1, nargv, environ);
    21042120
    21052121            /* is this loop really necessary? */
     
    27382754                           *(unsigned int *) cs->noarg_value))
    27392755                ADD_FLAG ("", 0); /* Optional value omitted; see below.  */
    2740 #if !defined(KMK) || defined(MAKE_JOBSERVER) /* Win32 doesn't have a job server, but we really do want jobs despite the risks. */
    27412756              else if (cs->c == 'j')
    27422757                /* Special case for `-j'.  */
    27432758                ADD_FLAG ("1", 1);
    2744 #endif
    27452759              else
    27462760                {
Note: See TracChangeset for help on using the changeset viewer.