Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.50
 
1.51
 
MAIN:ragge:20070808202951
 
cc.c
_>110110 int     Eflag;
 111111 int     Oflag;
 112112 int     kflag;  /* generate PIC code */
<> 113+int     Mflag;  /* dependencies only */
113114 int     proflag;
 114115 int     exfail;
 115116 int     Xflag;
     
 !
254255                                 }
 255256                         break;
 256257 
<> 258+                case 'M':
  259+                        Mflag++;
  260+                        break;
  261+
257262                 case 'd':
 258263                         dflag++;
 259264                         strncpy(alist, argv[i], 19);
     
 !
274279                         t = argv[i];
 275280                         if (*argv[i] == '-' && argv[i][1] == 'L')
 276281                                 ;
<>277 -                        else if((c=getsuf(t))=='c' || c=='s'|| Eflag) {
  282+                        else if((c=getsuf(t))=='c' || c=='S' ||
  283+                            c=='s'|| Eflag) {
278284                                 clist[nc++] = t;
 279285                                 if (nc>=MAXFIL)
 280286                                         {
     
 !
342348                 av[na++] = "-D__PCC__=" MKS(PCC_MAJOR);
 343349                 av[na++] = "-D__PCC_MINOR__=" MKS(PCC_MINOR);
 344350                 av[na++] = "-D__PCC_MINORMINOR__=" MKS(PCC_MINORMINOR);
<> 351+                if (Mflag)
  352+                        av[na++] = "-M";
345353                 if (!nostdinc)
 346354                         av[na++] = "-S", av[na++] = STDINC;
 347355                 if (sysinc)
     
 !
355363                 for(pv=ptemp; pv <pvt; pv++)
 356364                         av[na++] = *pv;
 357365                 av[na++] = clist[i];
<>358 -                if (!Eflag)
  366+                if (!Eflag && !Mflag)
359367                         av[na++] = tmp4;
 360368                 av[na++]=0;
 361369                 if (callsys(passp, av))
 362370                         {exfail++; eflag++;}
<>363 -                if (Eflag)
  371+                if (Eflag || Mflag)
364372                         continue;
 365373                 if (onlyas)
 366374                         goto assemble;
     
 !
434442                 cunlink(tmp4);
 435443         }
 436444 
<>437 -        if (Eflag)
  445+        if (Eflag || Mflag)
<_438446                 dexit(eflag);
 439447 
 440448         /*
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-02 21:10 +0200