Changeset 89
- Timestamp:
- Mar 4, 2007, 5:40:05 PM (19 years ago)
- Location:
- OCO/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/trunk/drv16/makefile.os2
r33 r89 72 72 !endif 73 73 74 # @%write $(OBJDIR)\$(NAME).lrf library $(%WATCOM)\lib286\os2\clibs.lib 75 74 76 $(OBJDIR)\$(NAME).sys: $(OBJS) $(OBJDIR)\$(NAME).lrf makefile.os2 $(DDK_BASE)\lib\os2286.lib $(ALSA_LIB)\runtime.lib $(DDK_BASE)\src\dev\resource\rmcalls\rmcalls.lib 75 77 $(LINK) @$(OBJDIR)\$(NAME).lrf … … 87 89 copy $(OBJDIR)\$(NAME).sym $(ALSA_BIN_) 88 90 89 clean: 90 del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lrf91 clean: .SYMBOLIC 92 -del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lrf -
OCO/trunk/install/makefile.os2
r33 r89 134 134 ############################################################################# 135 135 136 clean: 137 del *.dll *.obj *.err *.lrf *.res *.hlp136 clean: .SYMBOLIC 137 -del *.dll *.obj *.err *.lrf *.res *.hlp 138 138 139 139 -
OCO/trunk/makefile.os2
r33 r89 37 37 @cd .. 38 38 39 clean: 39 clean: .SYMBOLIC 40 40 @echo BUILDING runtime 41 41 @cd runtime -
OCO/trunk/runtime/makefile.os2
r33 r89 41 41 copy $(OBJDIR)\$(NAME).lib $(ALSA_LIB) 42 42 43 clean: 43 clean: .SYMBOLIC 44 44 cd $(OBJDIR) 45 del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lrf *.lib45 -del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lrf *.lib 46 46 cd ..\.. 47 47 -
OCO/trunk/tools/wat2map.cmd
r33 r89 1 /* $Id: wat2map.cmd,v 1. 1.1.1 2003/07/02 13:57:10 elephExp $ */2 3 /* SCCSID = %W% %E%*/1 /* $Id: wat2map.cmd,v 1.2 2002/04/26 23:09:44 smilcke Exp $ */ 2 3 /* SCCSID = src/dev/mme/pciaudio/wat2map.cmd, pciaudio, c.basedd 99/08/20 */ 4 4 /**************************************************************************** 5 5 * * … … 12 12 * * 13 13 ****************************************************************************/ 14 /**@internal %W% 14 15 /* 05 Jul 05 SHL - Correct do/end errors, close files 16 05 Jul 05 SHL - Partial 16/32 bit support (see f32bit) 17 */ 18 19 /**@internal src/dev/mme/pciaudio/wat2map.cmd, pciaudio, c.basedd 15 20 * WAT2MAP - translate symbol map from Watcom format to MS format. 16 * @version %I%21 * @version 1.1 17 22 * @context 18 23 * Unless otherwise noted, all interfaces are Ring-0, 16-bit, kernel stack. … … 47 52 /* <End of helpText> - don't modify this string - used to flag end of help. */ 48 53 /****************************************************************************/ 54 49 55 CALL RXFUNCADD 'sysloadfuncs','rexxutil','sysloadfuncs' 50 56 call sysloadfuncs 57 58 f32bit = 0 /* fixme to autodetect */ 51 59 52 60 Parse Arg arg1 arg2 rest … … 74 82 watcomText = LineIn( mapFile ) 75 83 Parse Value watcomText With "Executable Image: " fileName "." fileExt 76 77 84 If fileName <> "" Then Do; /* Found match */ 78 85 call lineout outfile ,' ' … … 103 110 104 111 /*--- 4. Translate segment table. ---*/ 105 call lineout outfile , " Start Length Name Class" 112 if f32bit then 113 call lineout outfile , " Start Length Name Class" 114 else 115 call lineout outfile , " Start Length Name Class" 116 106 117 Do While Lines( mapFile ) <> 0 107 118 watcomText = LineIn( mapFile ) 108 119 Parse Value watcomText With segName className groupName address size . 109 120 If segName = "" Then Leave; /* Empty line, break from loop. */ 110 length = Substr( size, 4, 5 ) || 'H ' 121 if f32bit then 122 length = size || 'H ' 123 else 124 length = Substr( size, 4, 5 ) || 'H ' 111 125 segName = Left( segName, 23 ) 112 126 call lineout outfile ,' ' || address || ' ' || length || segName || className … … 124 138 Do While Lines( mapFile ) <> 0 125 139 watcomText = LineIn( mapFile ) 126 Parse Value watcomText With seg ':' ofs 10 . 16 declaration 140 Parse Value watcomText With seg ':' ofs declaration 141 if length(ofs) = 9 then 142 ofs = left(ofs, 8) || strip(translate(right(ofs, 1),, '+*')) 143 127 144 is_Adress = (is_Hex(seg) = 1) & (is_Hex(ofs) = 1) 128 145 If (is_Adress = 1) Then Do; 146 147 if \ f32bit then 148 ofs = right(ofs, 4) 129 149 130 150 /*--- Haven't done the work to xlate operator symbols - skip the line. */ … … 156 176 declaration = ReplaceSubstr( '~', 'd', declaration ) 157 177 158 call lineout outfile ,' ' || seg || ':' || ofs || ' ' || declaration 178 fill = copies(' ', 7) 179 call lineout outfile ,' ' || seg || ':' || ofs || fill || declaration 159 180 End; 160 181 End; /* End While through symbol section, end of input file. */ 182 183 call stream mapfile, 'C', 'CLOSE' 184 call lineout outfile 161 185 162 186 Return; /* End of program. */ … … 184 208 Return StripMatchedParen( string ) 185 209 End; 186 End; 210 187 211 188 212 ReplaceSubstr: … … 198 222 End; 199 223 Return string 200 End; 224 201 225 202 226 is_Hex: … … 204 228 Parse Arg string 205 229 Return (Length(string) > 0) & (Verify( string, '0123456789abcdefABCDEF' ) = 0) 206 End;
Note:
See TracChangeset
for help on using the changeset viewer.