version 1.33, 1999/12/18 21:53:32 |
version 1.34, 1999/12/18 21:56:07 |
|
|
* the end of the targets list |
* the end of the targets list |
*/ |
*/ |
if ((specType == Not) && (*line != '\0')) { |
if ((specType == Not) && (*line != '\0')) { |
|
char *targName; |
|
|
if (Dir_HasWildcards(line)) { |
if (Dir_HasWildcards(line)) { |
/* |
/* |
* Targets are to be sought only in the current directory, |
* Targets are to be sought only in the current directory, |
|
|
(void)Lst_AtEnd(curTargs, (ClientData)line); |
(void)Lst_AtEnd(curTargs, (ClientData)line); |
} |
} |
|
|
while(!Lst_IsEmpty(curTargs)) { |
while((targName = (char *)Lst_DeQueue(curTargs)) != NULL) { |
char *targName = (char *)Lst_DeQueue(curTargs); |
|
|
|
if (!Suff_IsTransform (targName)) { |
if (!Suff_IsTransform (targName)) { |
gn = Targ_FindNode (targName, TARG_CREATE); |
gn = Targ_FindNode (targName, TARG_CREATE); |
} else { |
} else { |
|
|
return; |
return; |
} |
} |
|
|
while (!Lst_IsEmpty (sources)) { |
while ((gn = (GNode *)Lst_DeQueue(sources)) != NULL) |
gn = (GNode *) Lst_DeQueue (sources); |
ParseDoSrc(tOp, gn->name, curSrcs); |
ParseDoSrc (tOp, gn->name, curSrcs); |
|
} |
|
Lst_Destroy (sources, NOFREE); |
Lst_Destroy (sources, NOFREE); |
cp = line; |
cp = line; |
} else { |
} else { |
|
|
{ |
{ |
IFile *ifile; /* the state on the top of the includes stack */ |
IFile *ifile; /* the state on the top of the includes stack */ |
|
|
if (Lst_IsEmpty (includes)) { |
if ((ifile = (IFile *)Lst_DeQueue(includes)) == NULL) |
return (DONE); |
return DONE; |
} |
|
|
|
ifile = (IFile *) Lst_DeQueue (includes); |
|
free ((Address) fname); |
free ((Address) fname); |
fname = ifile->fname; |
fname = ifile->fname; |
lineno = ifile->lineno; |
lineno = ifile->lineno; |