Changeset 46 for trunk/src/kmk/job.c


Ignore:
Timestamp:
Apr 4, 2003, 2:03:50 AM (22 years ago)
Author:
bird
Message:

kMk changes. Made extensions configurable from config.h. fixed parents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/job.c

    r45 r46  
    10671067    }
    10681068
     1069#ifdef USE_ARCHIVES
    10691070    if (gn->type & OP_ARCHV) {
    10701071        Arch_Touch(gn);
     
    10721073        Arch_TouchLib(gn);
    10731074    } else {
     1075#else
     1076    {
     1077#endif
     1078
    10741079        char    *file = gn->path ? gn->path : gn->name;
    10751080
     
    11201125                        /* Function to abort with message */
    11211126{
    1122     if (OP_NOP(gn->type) && Lst_IsEmpty(gn->commands) &&
    1123         (gn->type & OP_LIB) == 0) {
     1127    if (OP_NOP(gn->type) && Lst_IsEmpty(gn->commands)
     1128#ifdef USE_ARCHIVES
     1129        && (gn->type & OP_LIB) == 0
     1130#endif
     1131        )
     1132    {
    11241133        /*
    11251134         * No commands. Look for .DEFAULT rule from which we might infer
     
    11481157             * this node's parents so they never get examined.
    11491158             */
    1150             static const char msg[] = "make: don't know how to make";
     1159            static const char msg[] = MAKE_NAME ": don't know how to make";
    11511160
    11521161            if (gn->type & OP_OPTIONAL) {
     
    11621171                    (*abortProc)("Not war.");
    11631172#if defined(NMAKE) || defined(KMK)
    1164         else if (strcmp(gn->name,"fire") == 0)
     1173                else if (strcmp(gn->name,"fire") == 0)
    11651174                    (*abortProc)("No match.");
    11661175#endif
    1167         else
     1176                else
    11681177#endif
    11691178                    (*abortProc)("%s %s. Stop", msg, gn->name);
Note: See TracChangeset for help on using the changeset viewer.