Changeset 55
- Timestamp:
- 07/03/09 10:50:05 (3 years ago)
- Files:
-
- trunk/Source/Makefile.dos (modified) (1 diff)
- trunk/Source/Makefile.gdc (modified) (1 diff)
- trunk/Source/Makefile.unix (modified) (1 diff)
- trunk/Source/build.d (modified) (7 diffs)
- trunk/Source/build_bn.d (modified) (1 diff)
- trunk/Source/opts.d (modified) (6 diffs)
- trunk/Source/opts_bn.d (modified) (1 diff)
- trunk/Source/source.d (modified) (1 diff)
- trunk/Source/source_bn.d (modified) (1 diff)
- trunk/Source/util/file2_bn.d (modified) (1 diff)
- trunk/Source/util/fileex_bn.d (modified) (1 diff)
- trunk/Source/util/linetoken_bn.d (modified) (1 diff)
- trunk/Source/util/pathex_bn.d (modified) (1 diff)
- trunk/Source/util/str_bn.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Makefile.dos
r52 r55 16 16 SOURCES=$(SOURCES) util\linetoken.d 17 17 SOURCES=$(SOURCES) util\linetoken_bn.d 18 SOURCES=$(SOURCES) util\macro .d18 SOURCES=$(SOURCES) util\macroex.d 19 19 SOURCES=$(SOURCES) util\booltype.d 20 20 SOURCES=$(SOURCES) util\file2.d trunk/Source/Makefile.gdc
r52 r55 1 1 DMD=gdmd 2 2 DFLAGS=-op -release -inline -version=BuildVerbose 3 SOURCES=build.d opts.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro .d util/file2.d3 SOURCES=build.d opts.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macroex.d util/file2.d 4 4 5 5 all: build trunk/Source/Makefile.unix
r52 r55 1 1 DMD=dmd 2 2 DFLAGS=-op -release -inline -version=BuildVerbose 3 SOURCES=build.d opts.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro .d util/file2.d3 SOURCES=build.d opts.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macroex.d util/file2.d 4 4 5 5 all: build trunk/Source/build.d
r54 r55 128 128 Bool vNames; 129 129 Bool vAllObjects; 130 Bool vNoDef;131 130 Bool vAutoImports; 132 131 Bool vExecuteProgram; … … 184 183 vNames = False; 185 184 vAllObjects = False; 186 vNoDef = False;187 185 vAutoImports = True; 188 186 vExecuteProgram = False; … … 549 547 if (lFullFile.length > 0) 550 548 { 551 new source.Source(lFullFile); 549 if (std.path.getExt(lFullFile) != opts.DefExtension) 550 new source.Source(lFullFile); 551 else 552 lDefName = lFullFile.dup; 552 553 } 553 554 } … … 863 864 } 864 865 865 if (( vNoDef== False) && (vBuildDef.length > 0))866 if ((opts.NoDefs == False) && (vBuildDef.length > 0)) 866 867 { 867 868 lDefName = util.pathex.ReplaceExtension(lTargetName, "def"); … … 1493 1494 static uint[ string ] lElementIdx; 1494 1495 1495 if ( vNoDef== True)1496 if (opts.NoDefs == True) 1496 1497 return; 1497 1498 … … 2544 2545 2545 2546 case "-nodef": 2546 vNoDef= True;2547 opts.NoDefs = True; 2547 2548 // Not passed thru. 2548 2549 break; … … 2991 2992 else if (lArgExt == opts.ResponseExt) 2992 2993 { 2994 } 2995 else if (lArgExt == opts.DefExtension) 2996 { 2997 opts.NoDefs = True; 2998 vCmdLineSourceFiles ~= pArg; 2993 2999 } 2994 3000 else trunk/Source/build_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 33 79;4 long auto_build_number = 3396; trunk/Source/opts.d
r54 r55 65 65 string ShrLibExtension; 66 66 string SrcExtension; 67 string DefExtension; 67 68 string SrcDInterfaceExt; 68 69 string MacroExtension; … … 132 133 Bool ShowToDo; 133 134 Bool UnitTesting; 135 Bool NoDefs; 134 136 } 135 137 … … 148 150 ShowToDo = False; 149 151 UnitTesting = False; 152 NoDefs = False; 150 153 } 151 154 … … 196 199 case "shrlibextension" : { ShrLibExtension = lValue; break; } 197 200 case "srcextension" : { SrcExtension = lValue; break; } 201 case "defextension" : { DefExtension = lValue; break; } 198 202 case "macroextension" : { MacroExtension = lValue; break; } 199 203 case "ddocextension" : { DdocExtension = lValue; break; } … … 261 265 case "argdelim" : { ArgDelim = lValue; break; } 262 266 case "argfiledelim" : { ArgFileDelim = lValue; break; } 263 264 // These cater for spelling mistakes used in an earlier version.265 case "exeextention" : { ExeExtension = lValue; break; }266 case "libextention" : { LibExtension = lValue; break; }267 case "objextention" : { ObjExtension = lValue; break; }268 case "shrlibextention" : { ShrLibExtension = lValue; break; }269 case "srcextention" : { SrcExtension = lValue; break; }270 case "macroextention" : { MacroExtension = lValue; break; }271 case "ddocextention" : { DdocExtension = lValue; break; }272 267 case "postswitches" : { util.str.YesNo(lValue, PostSwitches, False); break; } 273 268 case "appendlinkswitches" : { util.str.YesNo(lValue, AppendLinkSwitches, False); break; } … … 279 274 case "shortpathnames" : { util.str.YesNo(lValue, ShortPathNames, True); break; } 280 275 case "showtodo" : { util.str.YesNo(lValue, ShowToDo, False); break; } 281 276 case "nodefs" : { util.str.YesNo(lValue, NoDefs, False); break; } 277 278 // These cater for spelling mistakes used in an earlier version. 279 case "exeextention" : { ExeExtension = lValue; break; } 280 case "libextention" : { LibExtension = lValue; break; } 281 case "objextention" : { ObjExtension = lValue; break; } 282 case "shrlibextention" : { ShrLibExtension = lValue; break; } 283 case "srcextention" : { SrcExtension = lValue; break; } 284 case "macroextention" : { MacroExtension = lValue; break; } 285 case "ddocextention" : { DdocExtension = lValue; break; } 286 282 287 default: 283 288 { trunk/Source/opts_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 6 40;4 long auto_build_number = 657; trunk/Source/source.d
r54 r55 1315 1315 while ( (lCurrentToken = GetNextToken(pFileText,pPos)) !is null) 1316 1316 { 1317 1317 1318 if ( (lCurrentToken == "\"") || (lCurrentToken == "`") ) { 1318 1319 lCurrentToken = GetStringLit(pFileText,pPos, lCurrentToken[0]); trunk/Source/source_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 30 76;4 long auto_build_number = 3097; trunk/Source/util/file2_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 10 63;4 long auto_build_number = 1079; trunk/Source/util/fileex_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 28 76;4 long auto_build_number = 2892; trunk/Source/util/linetoken_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 2997;4 long auto_build_number = 3013; trunk/Source/util/pathex_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 29 19;4 long auto_build_number = 2935; trunk/Source/util/str_bn.d
r54 r55 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 32 39;4 long auto_build_number = 3255;
