- unified %clean section
[packages/ccdoc.git] / ccdoc_v07a.medoosa.patch
CommitLineData
56be0020 1diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdoc.cpp ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdoc.cpp
2--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdoc.cpp Sat Apr 14 22:55:23 2001
3+++ ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdoc.cpp Sun Apr 15 00:08:20 2001
4@@ -365,7 +365,7 @@
5 " -[no]locals Report local items. Default is on.\n"
6 " -[no]macros Process macros. Default is off.\n"
7 " -mcf Obsolete, output the old multi column format.\n"
8- " -[no]private Report private items. Default is on.\n"
9+ " -[no]private Report private items. Default is off.\n"
10 " -[no]protected Report protected items. Default is on.\n"
11 " -[no]public Report public items. Default is on.\n"
12 " -root <name> The alternate name for [ROOT].\n"
13diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdoclexer.cpp ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdoclexer.cpp
14--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdoclexer.cpp Sat Apr 14 22:55:23 2001
15+++ ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdoclexer.cpp Sun Apr 15 00:08:20 2001
16@@ -599,14 +599,14 @@
17 }
18 else {
19 p--;
20- if(*p>='0' || *p<='9')
21+ if(*p>='0' && *p<='9') // BUG: was ||
22 p++;
23 file.PutChar(ch);
24 }
25 }
26 else {
27 p--;
28- if(*p>='0' || *p<='9')
29+ if(*p>='0' && *p<='9') // BUG: was ||
30 p++;
31 file.PutChar(ch);
32 }
33diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocphase3.cpp ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocphase3.cpp
34--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocphase3.cpp Sat Apr 14 22:55:23 2001
35+++ ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocphase3.cpp Sun Apr 15 00:08:20 2001
36@@ -427,7 +427,7 @@
37 #else
38 ::fprintf(fp,"%s",file);
39 #endif
40- ::fprintf(fp,"\">",m_SourceURL.str(),file);
41+ ::fprintf(fp,"\">");
42 ::fprintf(fp,"%s",file);
43 ::fprintf(fp,"</a>");
44 }
45@@ -2196,7 +2196,7 @@
46 // Look for the ':'
47 {for(ulong i=0;i<nd->GetNumItems();i++) {
48 const char* d = nd->GetDataString(i);
49- if(*d == ':') {
50+ if(*d == ':' && *(d+1) != ':') { // BUG for nested name specfiers
51 // This class is derived. Report the derived relations.
52 i++;
53 while(i<nd->GetNumItems()) {
54@@ -2221,21 +2221,30 @@
55 // TODO: generate the class xref given the class name.
56 ::fprintf(fp," <dt> &nbsp;&nbsp;&nbsp;&nbsp;extends ");
57 const char* scope = "private";
58+ const char* isvirtual = "";
59+ for(;beg<end;beg++) {
60 d = nd->GetDataString(beg);
61 if(!::strcmp(d,"public")) {
62 scope = d;
63- beg++;
64 }
65 else if(!::strcmp(d,"protected")) {
66 scope = d;
67- beg++;
68+ }
69+ else if(!::strcmp(d,"private")) {
70+ scope = d;
71+ }
72+ else if(!::strcmp(d,"virtual")) {
73+ isvirtual = d;
74+ }
75+ else
76+ break;
77 }
78 {for(ulong j=beg;j<end;j++) {
79 if(j>beg)
80 ::fprintf(fp," ");
81 WriteItemWithXref(ctf,fp,nd,j);
82 }}
83- ::fprintf(fp," as %s</dt>\n",scope);
84+ ::fprintf(fp," as %s %s</dt>\n",isvirtual,scope);
85 i++;
86 }
87 }
88@@ -2428,7 +2437,7 @@
89 if(node) {
90 ::fprintf(fp,"<tr valign=top>\n");
91 if(mapnodes->GetNumItems()>1) {
92- ::fprintf(fp,"<td align=right>",i);
93+ ::fprintf(fp,"<td align=right>");
94 ::fprintf(fp,"<font color=red>%d</font>",i);
95 ::fprintf(fp,"\n");
96 }
97diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocphase3.h ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocphase3.h
98--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocphase3.h Sat Apr 14 22:55:23 2001
99+++ ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocphase3.h Sun Apr 15 00:08:20 2001
100@@ -210,7 +210,6 @@
101 const char* trailer,
102 bool mcfFlag);
103 private:
104- WriteTop();
105 const char* GetCurrTime();
106 const char* GetProgram();
107 private:
108diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocprep.cpp ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocprep.cpp
109--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocprep.cpp Sat Apr 14 22:55:23 2001
110+++ ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocprep.cpp Sun Apr 15 00:08:20 2001
111@@ -61,6 +61,12 @@
112 m_GlobalDefsFlag.Append(b);
113 }
114
115+static void CopyJustNewlines(FILE* ofp, char *buf) {
116+ for(char *p=buf; p != NULL && *p != '\0'; ++p)
117+ if (*p == '\n')
118+ ::fprintf(ofp,"\n");
119+}
120+
121 // ========================================================================
122 // Pre-process the specified file.
123 // ========================================================================
124@@ -113,7 +119,7 @@
125 ::fprintf(ofp,"%s",linebuf);
126 }
127 else {
128- ::fprintf(ofp,"\n");
129+ CopyJustNewlines(ofp, linebuf);
130 }
131 continue;
132 }
133@@ -135,7 +141,7 @@
134 ::fprintf(ofp,"%s",linebuf1);
135 }
136 else {
137- ::fprintf(ofp,"\n");
138+ CopyJustNewlines(ofp, linebuf1);
139 }
140 continue;
141 }
142@@ -188,7 +194,7 @@
143 ::fprintf(ofp,"%s",linebuf1);
144 }
145 else {
146- ::fprintf(ofp,"\n");
147+ CopyJustNewlines(ofp, linebuf1);
148 }
149 continue;
150 }
151@@ -208,7 +214,7 @@
152 ::fprintf(ofp,"%s",linebuf1);
153 }
154 else {
155- ::fprintf(ofp,"\n");
156+ CopyJustNewlines(ofp, linebuf1);
157 }
158 continue;
159 }
160@@ -231,7 +237,7 @@
161 skipElse[level] = true;
162 skipEndif[level] = true;
163 level++;
164- ::fprintf(ofp,"\n");
165+ CopyJustNewlines(ofp, linebuf1);
166 continue;
167 }
168 else {
169@@ -239,7 +245,7 @@
170 isSymDefinedFlag = IsSymDefined(symname);
171 skipElse[level] = false;
172 skipEndif[level] = false;
173- ::fprintf(ofp,"\n");
174+ CopyJustNewlines(ofp, linebuf1);
175 }
176 }
177
178@@ -257,13 +263,13 @@
179 // ================================================
180 if(!::strncmp(keyword,"else",4)) {
181 skipFlag = skipElse[level-1];
182- ::fprintf(ofp,"\n");
183+ CopyJustNewlines(ofp, linebuf1);
184 continue;
185 }
186 if(!::strncmp(keyword,"endif",4)) {
187 level--;
188 skipFlag = skipEndif[level];
189- ::fprintf(ofp,"\n");
190+ CopyJustNewlines(ofp, linebuf1);
191 continue;
192 }
193
194@@ -274,7 +280,7 @@
195 ::fprintf(ofp,"%s",linebuf1);
196 }
197 else {
198- ::fprintf(ofp,"\n");
199+ CopyJustNewlines(ofp, linebuf1);
200 }
201 }
202 if(m_DebugFlag)
203@@ -511,11 +517,13 @@
204 ch=GetNextChar(file,lineno);
205 *p++ = ch;
206 if('/' == ch) {
207- *p = 0;
208 // Skip to the EOL.
209 for(ch=GetNextChar(file,lineno);
210 ch!=0 && ch!='\n';
211 ch=GetNextChar(file,lineno));
212+ if('\n' == ch)
213+ *p++ = '\n';
214+ *p = 0;
215 return true;
216 }
217 }
218diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocprepexpr.cpp ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocprepexpr.cpp
219--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/src/ccdocprepexpr.cpp Sat Apr 14 22:55:23 2001
220+++ ccdoc_v07a/ccdoc_dev/ccdoc/src/ccdocprepexpr.cpp Sun Apr 15 00:08:20 2001
221@@ -207,10 +207,13 @@
222 {
223 long b1 = 0;
224 long b2 = 0;
225- if(m_Left)
226- b1 = m_Left->Eval(obj,lineno,src,linebuf,debugFlag,level+1,flag);
227+ // apparently thay are in reverse order
228 if(m_Right)
229 b2 = m_Right->Eval(obj,lineno,src,linebuf,debugFlag,level+1,flag);
230+ if (!b2) { //short circuit boolean evaluation
231+ if(m_Left)
232+ b1 = m_Left->Eval(obj,lineno,src,linebuf,debugFlag,level+1,flag);
233+ }
234 if(b1 || b2)
235 b = 1;
236 }
237@@ -219,10 +222,13 @@
238 {
239 long b1 = 0;
240 long b2 = 0;
241- if(m_Left)
242- b1 = m_Left->Eval(obj,lineno,src,linebuf,debugFlag,level+1,flag);
243+ // apparently thay are in reverse order
244 if(m_Right)
245 b2 = m_Right->Eval(obj,lineno,src,linebuf,debugFlag,level+1,flag);
246+ if (b2) { //short circuit boolean evaluation
247+ if(m_Left)
248+ b1 = m_Left->Eval(obj,lineno,src,linebuf,debugFlag,level+1,flag);
249+ }
250 if(b1 && b2)
251 b = 1;
252 }
253diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/test/test012.ok ccdoc_v07a/ccdoc_dev/ccdoc/test/test012.ok
254--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/test/test012.ok Tue Jun 15 19:12:18 1999
255+++ ccdoc_v07a/ccdoc_dev/ccdoc/test/test012.ok Sun Apr 15 00:08:20 2001
256@@ -1,4 +1,4 @@
257-../bin_MSWin32_dbg/ccdoc.exe -index test012.h\r
258+../bin_linux_opt/ccdoc.exe -index test012.h\r
259 Loading 'ccdoc.ctf'\r
260 Phase 1: 1 files specified\r
261 CCDOC_PREP_DEBUG: Prep(test012.h,test012.h-PP)\r
262@@ -56,13 +56,11 @@
263 CCDOC_PREP_DEBUG: 4 ID T SOL\r
264 CCDOC_PREP_DEBUG: 2 DEF\r
265 CCDOC_PREP_DEBUG: 3 ID F HP\r
266-CCDOC_PREP_DEBUG: expr eval 4 ID 0\r
267-CCDOC_PREP_DEBUG: expr eval 3 DEF 0\r
268+CCDOC_PREP_DEBUG: expr eval 3 ID 0\r
269+CCDOC_PREP_DEBUG: expr eval 2 DEF 0\r
270 CCDOC_PREP_DEBUG: expr eval 4 ID 1\r
271 CCDOC_PREP_DEBUG: expr eval 3 DEF 1\r
272 CCDOC_PREP_DEBUG: expr eval 2 OR 1\r
273-CCDOC_PREP_DEBUG: expr eval 3 ID 0\r
274-CCDOC_PREP_DEBUG: expr eval 2 DEF 0\r
275 CCDOC_PREP_DEBUG: expr eval 1 OR 1\r
276 CCDOC_PREP_DEBUG: expr eval 0 IF 1\r
277 CCDOC_PREP_DEBUG: expr->Eval() == true\r
278@@ -108,10 +106,10 @@
279 CCDOC_PREP_DEBUG: 3 ID T TEST09_SPAM\r
280 CCDOC_PREP_DEBUG: 2 DEF\r
281 CCDOC_PREP_DEBUG: 3 ID F TEST09_FOO\r
282-CCDOC_PREP_DEBUG: expr eval 3 ID 1\r
283-CCDOC_PREP_DEBUG: expr eval 2 DEF 1\r
284 CCDOC_PREP_DEBUG: expr eval 3 ID 0\r
285 CCDOC_PREP_DEBUG: expr eval 2 DEF 0\r
286+CCDOC_PREP_DEBUG: expr eval 3 ID 1\r
287+CCDOC_PREP_DEBUG: expr eval 2 DEF 1\r
288 CCDOC_PREP_DEBUG: expr eval 1 OR 1\r
289 CCDOC_PREP_DEBUG: expr eval 0 IF 1\r
290 CCDOC_PREP_DEBUG: expr->Eval() == true\r
291diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/test/test031.ok ccdoc_v07a/ccdoc_dev/ccdoc/test/test031.ok
292--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/test/test031.ok Tue Jun 15 19:12:19 1999
293+++ ccdoc_v07a/ccdoc_dev/ccdoc/test/test031.ok Sun Apr 15 00:08:20 2001
294@@ -1,4 +1,4 @@
295-../bin_MSWin32_dbg/ccdoc.exe -index test031.h\r
296+../bin_linux_opt/ccdoc.exe -index test031.h\r
297 Loading 'ccdoc.ctf'\r
298 Phase 1: 1 files specified\r
299 CCDOC_PREP_DEBUG: Prep(test031.h,test031.h-PP)\r
300@@ -22,8 +22,6 @@
301 CCDOC_PREP_DEBUG: 3 ID F test031_E_macro\r
302 CCDOC_PREP_DEBUG: 2 DEF\r
303 CCDOC_PREP_DEBUG: 3 ID T test031_D_macro\r
304-CCDOC_PREP_DEBUG: expr eval 3 ID 0\r
305-CCDOC_PREP_DEBUG: expr eval 2 DEF 0\r
306 CCDOC_PREP_DEBUG: expr eval 3 ID 30\r
307 CCDOC_PREP_DEBUG: expr eval 2 DEF 30\r
308 CCDOC_PREP_DEBUG: expr eval 1 OR 1\r
309@@ -37,8 +35,6 @@
310 CCDOC_PREP_DEBUG: 3 ID F test031_E_macro\r
311 CCDOC_PREP_DEBUG: 2 DEF\r
312 CCDOC_PREP_DEBUG: 3 ID T test031_B_macro\r
313-CCDOC_PREP_DEBUG: expr eval 3 ID 0\r
314-CCDOC_PREP_DEBUG: expr eval 2 DEF 0\r
315 CCDOC_PREP_DEBUG: expr eval 3 ID 10\r
316 CCDOC_PREP_DEBUG: expr eval 2 DEF 10\r
317 CCDOC_PREP_DEBUG: expr eval 1 OR 1\r
318@@ -52,6 +48,13 @@
319 CCDOC_PREP_DEBUG: 2 ID F WINVER\r
320 CCDOC_PREP_DEBUG: expr eval 2 INTX 1024\r
321 CCDOC_PREP_DEBUG: ERROR\r
322+\r
323+================================================\r
324+WARNING: Preprocessor macro 'WINVER' was not defined at line 21\r
325+ in file test031.h.\r
326+ line: #if (WINVER >= 0x400)\r
327+\r
328+================================================\r
329 CCDOC_PREP_DEBUG: expr eval 2 ID 0\r
330 CCDOC_PREP_DEBUG: expr eval 1 GE 0\r
331 CCDOC_PREP_DEBUG: expr eval 0 IF 0\r
332@@ -87,10 +90,3 @@
333 Updating xref ids ...\r
334 Writing repository data to 'ccdoc.ctf' ...\r
335 Completion status: 0 errors 1 warnings.\r
336-\r
337-================================================\r
338-WARNING: Preprocessor macro 'WINVER' was not defined at line 21\r
339- in file test031.h.\r
340- line: #if (WINVER >= 0x400)\r
341-\r
342-================================================\r
343diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/ccdoc/test/test032.ok ccdoc_v07a/ccdoc_dev/ccdoc/test/test032.ok
344--- ccdoc_v07a.dist/ccdoc_dev/ccdoc/test/test032.ok Tue Jun 15 19:12:19 1999
345+++ ccdoc_v07a/ccdoc_dev/ccdoc/test/test032.ok Sun Apr 15 00:08:20 2001
346@@ -1,4 +1,4 @@
347-../bin_solaris_dbg/ccdoc.exe -index test032.h\r
348+../bin_linux_opt/ccdoc.exe -index test032.h\r
349 Loading 'ccdoc.ctf'\r
350 Phase 1: 1 files specified\r
351 CCDOC_PREP_DEBUG: Prep(test032.h,test032.h-PP)\r
352@@ -28,11 +28,11 @@
353 d:0:$83 b:@author Foo\r
354 r:cmd:loc:r0:1:2:8:1:$0 0:\r
355 d:0:$84 d:@version spam\r
356-r:cls:loc:r0:1:3:8:3:$86 9:test032_A\r
357+r:cls:loc:r0:1:3:9:3:$86 9:test032_A\r
358 d:0:$85 5:class\r
359 d:1:$86 9:test032_A\r
360 d:2:$7b 1:{\r
361-r:pri:pri:r0:2:0:8:0:$0 0:\r
362+r:pri:pri:r0:2:0:9:0:$0 0:\r
363 Phase 2: generating the cross reference data.\r
364 Updating xref ids ...\r
365 Writing repository data to 'ccdoc.ctf' ...\r
366diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlhashtable.h ccdoc_v07a/ccdoc_dev/libjdl/src/jdlhashtable.h
367--- ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlhashtable.h Sat Apr 14 22:55:24 2001
368+++ ccdoc_v07a/ccdoc_dev/libjdl/src/jdlhashtable.h Sun Apr 15 00:08:20 2001
369@@ -68,7 +68,7 @@
370 /**
371 * Destructor.
372 */
373- ~CJdlHashTable();
374+ virtual ~CJdlHashTable();
375 /**
376 * Resize the hash table.
377 * This is a very costly operation because each entry has to
378diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlrbtreenode.cpp ccdoc_v07a/ccdoc_dev/libjdl/src/jdlrbtreenode.cpp
379--- ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlrbtreenode.cpp Sat Apr 14 22:55:23 2001
380+++ ccdoc_v07a/ccdoc_dev/libjdl/src/jdlrbtreenode.cpp Sun Apr 15 00:08:20 2001
381@@ -552,11 +552,11 @@
382 ::printf("%s %s",(const char*)m_Key,(IsRed()?"RED":"BLACK"));
383 if(!IsLeaf()) {
384 if(m_Left != 0)
385- ::printf(" LEFT:",(const char*)m_Left->m_Key);
386+ ::printf(" LEFT:%s",(const char*)m_Left->m_Key);
387 else
388 ::printf(" LEFT: ");
389 if(m_Right != 0)
390- ::printf(" RIGHT:",(const char*)m_Right->m_Key);
391+ ::printf(" RIGHT:%s",(const char*)m_Right->m_Key);
392 else
393 ::printf(" RIGHT: ");
394 }
395@@ -585,7 +585,7 @@
396 // Property 1. all nodes must be red or black.
397 for(nd=GetMinimum();nd!=0;nd = nd->GetSuccessor()) {
398 if(nd->m_Color != RED && nd->m_Color != BLACK) {
399- ::printf("%sERROR: Node '%s' is not RED or BLACK.\n",(const char*)nd->m_Key);
400+ ::printf("%sERROR: Node '%s' is not RED or BLACK.\n",prefix,(const char*)nd->m_Key);
401 ok = false;
402 }
403 }
404diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlsorter.h ccdoc_v07a/ccdoc_dev/libjdl/src/jdlsorter.h
405--- ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlsorter.h Sat Apr 14 22:55:24 2001
406+++ ccdoc_v07a/ccdoc_dev/libjdl/src/jdlsorter.h Sun Apr 15 00:08:20 2001
407@@ -105,12 +105,12 @@
408 // ========================================================================
409 template <class List,class Item>
410 CJdlSorter<List,Item>::CJdlSorter(List& list,int sizeofList)
411- : m_List(list), m_Size(sizeofList)
412+ : m_Size(sizeofList), m_List(list)
413 {
414 }
415 template <class List,class Item>
416 CJdlSorter<List,Item>::CJdlSorter(const CJdlSorter<List,Item>& x)
417- : m_List(x.m_List), m_Size(x.m_Size)
418+ : m_Size(x.m_Size), m_List(x.m_List)
419 {
420 }
421 template <class List,class Item>
422diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlstring.cpp ccdoc_v07a/ccdoc_dev/libjdl/src/jdlstring.cpp
423--- ccdoc_v07a.dist/ccdoc_dev/libjdl/src/jdlstring.cpp Sat Apr 14 22:55:23 2001
424+++ ccdoc_v07a/ccdoc_dev/libjdl/src/jdlstring.cpp Sun Apr 15 00:08:20 2001
425@@ -226,7 +226,7 @@
426 return;
427 }
428 // It's a large string, allocate space for it.
429- const int alignmentFactor = 8; // align on an 8 byte boundary
430+ const uint alignmentFactor = 8; // align on an 8 byte boundary
431
432 if(new_maxlen != m_Size || !m_String || m_String == m_Internal) {
433 // Allocate the new buffer on a boundary.
434diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/libjdl/test/suffix.mk ccdoc_v07a/ccdoc_dev/libjdl/test/suffix.mk
435--- ccdoc_v07a.dist/ccdoc_dev/libjdl/test/suffix.mk Tue Jun 15 19:12:16 1999
436+++ ccdoc_v07a/ccdoc_dev/libjdl/test/suffix.mk Sun Apr 15 00:12:29 2001
437@@ -1,4 +1,5 @@
438 # $Id$\r
439+.PHONY: test\r
440 test: all test_dbg test_opt\r
441 \r
442 test_dbg: $(DBGTARGET)\r
443diff -urb -x *.[o~] -x *.exe -x *-PP ccdoc_v07a.dist/ccdoc_dev/tools/mkmk.pl ccdoc_v07a/ccdoc_dev/tools/mkmk.pl
444--- ccdoc_v07a.dist/ccdoc_dev/tools/mkmk.pl Sat Apr 14 22:55:23 2001
445+++ ccdoc_v07a/ccdoc_dev/tools/mkmk.pl Sun Apr 15 00:08:20 2001
446@@ -165,8 +165,14 @@
447 }
448 else {
449 # UNIXes.
450+ if( $arch eq "linux" ) {
451+ print MK "CPP = gcc\n";
452+ print MK "CPPFLAGS1 = \n";
453+ }
454+ else {
455 print MK "CPP = CC\n";
456 print MK "CPPFLAGS1 = -pto -pta +w\n";
457+ }
458 print MK "CPPFLAGS2 = -DJDL_DEFINE_LOCAL_TYPES -DJDL_DEFINE_LOCAL_BOOLEAN\n";
459 print MK "CPPFLAGS3 = -I. -I../..\n";
460 print MK "CPPFLAGS4 = \$(MYCPPFLAGS)\n";
This page took 0.156626 seconds and 4 git commands to generate.