comparison gpf/FRAME/mall.bat @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 @echo off
2 rem -----------------------------------------------------------------------------
3 rem Project :
4 rem Modul :
5 rem -----------------------------------------------------------------------------
6 rem Copyright 2004 Texas Instruments Deutschland, AG
7 rem All rights reserved.
8 rem
9 rem This file is confidential and a trade secret of Texas
10 rem Instruments Berlin, AG
11 rem The receipt of or possession of this file does not convey
12 rem any rights to reproduce or disclose its contents or to
13 rem manufacture, use, or sell anything it may describe, in
14 rem whole, or in part, without the specific written consent of
15 rem Texas Instruments Deutschland, AG.
16 rem -----------------------------------------------------------------------------
17 rem | Purpose : build all FRAME variants
18 rem -----------------------------------------------------------------------------
19 setlocal
20
21 set name=FRAME
22 set name_small=frame
23 set err_file=%name_small%.err
24
25 @if x%_4ver% == x goto need4nt
26 @if x%1 == x-help goto help
27 @if x%1 == x-test goto test
28 @if x%1 == x-guitest goto test
29
30 REM default is gnumake:
31 set M=gnumake -r
32 set MAKE=gnumake
33 REM use clearmake if under ClearCase
34 REM is clearcase installed ?
35 if "%CLEARCASE_PRIMARY_GROUP%" == "" goto options
36 REM are we using a clearcase view ?
37 cleartool lsview -cview >nul 2>>&1
38 if errorlevel 1 goto options
39 REM on a clearcase view: use clearmake in gnu mode:
40 set M=clearmake -V -C gnu SHELL=%TESTDRIVE%/gpf/tools/bin/sh.exe
41 set MAKE=clearmake
42
43 :options
44 REM set default options
45 set clean=0
46 set def_ver=DEV_BUILD
47 set ver=0
48 REM parse command line options
49 :parse_opt
50 if "%1" == "-clean" set clean=1
51 iff "%1" == "-l" then
52 iff "%2" == "" then
53 echo error: no label name specified !
54 goto help
55 endiff
56 set ver=%2
57 shift
58 endiff
59 shift
60 if "%1" != "" goto parse_opt
61
62 if %ver% != 0 echo "using label %ver% (not implemented yet) ..."
63
64
65 cd ..\..\gpf
66 if exist %err_file% del %err_file% >nul
67
68 if %clean% == 1 goto clean
69
70 echo *** making FRAME/MISC/TIF libs *** >>%err_file% 2>>&1
71
72 call initvars gprs ms %TESTDRIVE% \g23m\condat >>%err_file% 2>>&1
73
74
75 rem nuc arm7 Libraries
76 echo ********** nuc arm7 ********** >>%err_file% 2>>&1
77 cd frame
78 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7
79 %M% frame.lib TARGET=nuc PLATFORM=arm7 >>..\%err_file% 2>>&1
80 if %? != 0 goto err
81 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1
82 %M% frame.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
83 if %? != 0 goto err
84 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1
85 %M% frame.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 >>..\%err_file% 2>>&1
86 if %? != 0 goto err
87 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1
88 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\%err_file% 2>>&1
89 if %? != 0 goto err
90 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1
91 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
92 if %? != 0 goto err
93 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1
94 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 >>..\%err_file% 2>>&1
95 if %? != 0 goto err
96 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2
97 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
98 if %? != 0 goto err
99 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1
100 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
101 if %? != 0 goto err
102 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1
103 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 >>..\%err_file% 2>>&1
104 if %? != 0 goto err
105 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3
106 %M% frame.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
107 if %? != 0 goto err
108 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3
109 %M% frame.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
110 if %? != 0 goto err
111 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3
112 %M% frame.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
113 if %? != 0 goto err
114 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3
115 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
116 if %? != 0 goto err
117 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3
118 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
119 if %? != 0 goto err
120 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3
121 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
122 if %? != 0 goto err
123 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3
124 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
125 if %? != 0 goto err
126 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 TOOL_CHOICE=3
127 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
128 if %? != 0 goto err
129 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 TOOL_CHOICE=3
130 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
131 if %? != 0 goto err
132 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm7 OS_ONLY=1 TOOL_CHOICE=3
133 %M% frame.lib TARGET=nuc PLATFORM=arm7 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
134 if %? != 0 goto err
135 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3
136 %M% frame.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
137 if %? != 0 goto err
138
139 cd ..\tst
140 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7
141 %M% tif.lib TARGET=nuc PLATFORM=arm7 >>..\%err_file% 2>>&1
142 if %? != 0 goto err
143 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1
144 %M% tif.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
145 if %? != 0 goto err
146 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1
147 %M% tif.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 >>..\%err_file% 2>>&1
148 if %? != 0 goto err
149 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1
150 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\%err_file% 2>>&1
151 if %? != 0 goto err
152 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1
153 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
154 if %? != 0 goto err
155 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1
156 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 >>..\%err_file% 2>>&1
157 if %? != 0 goto err
158 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2
159 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
160 if %? != 0 goto err
161 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1
162 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
163 if %? != 0 goto err
164 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1
165 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 >>..\%err_file% 2>>&1
166 if %? != 0 goto err
167 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3
168 %M% tif.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
169 if %? != 0 goto err
170 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3
171 %M% tif.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
172 if %? != 0 goto err
173 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3
174 %M% tif.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
175 if %? != 0 goto err
176 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3
177 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
178 if %? != 0 goto err
179 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3
180 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
181 if %? != 0 goto err
182 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3
183 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
184 if %? != 0 goto err
185 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3
186 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
187 if %? != 0 goto err
188 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 TOOL_CHOICE=3
189 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
190 if %? != 0 goto err
191 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 TOOL_CHOICE=3
192 %M% tif.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
193 if %? != 0 goto err
194
195 cd ..\misc
196 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7
197 %M% misc.lib TARGET=nuc PLATFORM=arm7 >>..\%err_file% 2>>&1
198 if %? != 0 goto err
199 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1
200 %M% misc.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
201 if %? != 0 goto err
202 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1
203 %M% misc.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 >>..\%err_file% 2>>&1
204 if %? != 0 goto err
205 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1
206 %M% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\%err_file% 2>>&1
207 if %? != 0 goto err
208 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1
209 %M% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
210 if %? != 0 goto err
211 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1
212 %M% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 >>..\%err_file% 2>>&1
213 if %? != 0 goto err
214 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3
215 %M% misc.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
216 if %? != 0 goto err
217 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3
218 %M% misc.lib TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
219 if %? != 0 goto err
220 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3
221 %M% misc.lib TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
222 if %? != 0 goto err
223 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3
224 %M% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
225 if %? != 0 goto err
226 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3
227 %M% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
228 if %? != 0 goto err
229 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3
230 %M% misc.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
231 if %? != 0 goto err
232
233 rem nuc arm9 Libraries
234 echo ********** nuc arm9 ********** >>..\%err_file% 2>>&1
235 cd ..\frame
236 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3
237 %M% frame.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
238 if %? != 0 goto err
239 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3
240 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
241 if %? != 0 goto err
242 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3
243 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
244 if %? != 0 goto err
245 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=3
246 %M% frame.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
247 if %? != 0 goto err
248 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=3
249 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
250 if %? != 0 goto err
251 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=3
252 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
253 if %? != 0 goto err
254 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3
255 %M% frame.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
256 if %? != 0 goto err
257 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3
258 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
259 if %? != 0 goto err
260 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 ESF=1 TOOL_CHOICE=3
261 %M% frame.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
262 if %? != 0 goto err
263 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=3
264 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
265 if %? != 0 goto err
266 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=3 NO_OPT=1
267 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=3 NO_OPT=1 >>..\%err_file% 2>>&1
268 if %? != 0 goto err
269 cd ..\tst
270 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3
271 %M% tif.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
272 if %? != 0 goto err
273 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3
274 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
275 if %? != 0 goto err
276 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3
277 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
278 if %? != 0 goto err
279 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=3
280 %M% tif.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
281 if %? != 0 goto err
282 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=3
283 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
284 if %? != 0 goto err
285 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=3
286 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
287 if %? != 0 goto err
288 cd ..\misc
289 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3
290 %M% misc.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
291 if %? != 0 goto err
292 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3
293 %M% misc.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
294 if %? != 0 goto err
295 cd ..\frame
296 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6
297 %M% frame.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
298 if %? != 0 goto err
299 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6
300 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
301 if %? != 0 goto err
302 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6
303 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
304 if %? != 0 goto err
305 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=6
306 %M% frame.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
307 if %? != 0 goto err
308 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=6
309 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
310 if %? != 0 goto err
311 echo %MAKE% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=6
312 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
313 if %? != 0 goto err
314 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6
315 %M% frame.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
316 if %? != 0 goto err
317 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6
318 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
319 if %? != 0 goto err
320 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 ESF=1 TOOL_CHOICE=6
321 %M% frame.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
322 if %? != 0 goto err
323 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=6
324 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
325 if %? != 0 goto err
326 echo %MAKE% os.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=6 NO_OPT=1
327 %M% frame.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 TOOL_CHOICE=6 NO_OPT=1 >>..\%err_file% 2>>&1
328 if %? != 0 goto err
329 cd ..\tst
330 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6
331 %M% tif.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
332 if %? != 0 goto err
333 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6
334 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
335 if %? != 0 goto err
336 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6
337 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
338 if %? != 0 goto err
339 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=6
340 %M% tif.lib TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
341 if %? != 0 goto err
342 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=6
343 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
344 if %? != 0 goto err
345 echo %MAKE% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=6
346 %M% tif.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
347 if %? != 0 goto err
348 cd ..\misc
349 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6
350 %M% misc.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
351 if %? != 0 goto err
352 echo %MAKE% misc.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6
353 %M% misc.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
354 if %? != 0 goto err
355
356 rem nucwin Libraries
357 echo ********** nuc pc ********** >>..\%err_file% 2>>&1
358 cd ..\frame
359 echo %MAKE% frame.lib TARGET=nuc PLATFORM=pc
360 %M% frame.lib TARGET=nuc PLATFORM=pc >>..\%err_file% 2>>&1
361 if %? != 0 goto err
362 echo %MAKE% frame.lib TARGET=nuc PLATFORM=pc DEBUG=1
363 %M% frame.lib TARGET=nuc PLATFORM=pc DEBUG=1 >>..\%err_file% 2>>&1
364 if %? != 0 goto err
365 echo %MAKE% frame.lib TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=2
366 %M% frame.lib TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
367 if %? != 0 goto err
368 echo %MAKE% os.lib TARGET=nuc PLATFORM=pc OS_ONLY=1
369 %M% frame.lib TARGET=nuc PLATFORM=pc OS_ONLY=1 >>..\%err_file% 2>>&1
370 if %? != 0 goto err
371 echo %MAKE% os.lib TARGET=nuc PLATFORM=pc DEBUG=1 OS_ONLY=1
372 %M% frame.lib TARGET=nuc PLATFORM=pc DEBUG=1 OS_ONLY=1 >>..\%err_file% 2>>&1
373 if %? != 0 goto err
374 cd ..\tst
375 echo %MAKE% tif.lib TARGET=nuc PLATFORM=pc
376 %M% tif.lib TARGET=nuc PLATFORM=pc >>..\%err_file% 2>>&1
377 if %? != 0 goto err
378 echo %MAKE% tif.lib TARGET=nuc PLATFORM=pc DEBUG=1
379 %M% tif.lib TARGET=nuc PLATFORM=pc DEBUG=1 >>..\%err_file% 2>>&1
380 if %? != 0 goto err
381 echo %MAKE% tif.lib TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=2
382 %M% tif.lib TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
383 if %? != 0 goto err
384 cd ..\misc
385 echo %MAKE% misc.lib TARGET=nuc PLATFORM=pc
386 %M% misc.lib TARGET=nuc PLATFORM=pc >>..\%err_file% 2>>&1
387 if %? != 0 goto err
388 echo %MAKE% misc.lib TARGET=nuc PLATFORM=pc DEBUG=1
389 %M% misc.lib TARGET=nuc PLATFORM=pc DEBUG=1 >>..\%err_file% 2>>&1
390 if %? != 0 goto err
391
392 rem win32 Libraries
393 echo ********** win32 ********** >>..\%err_file% 2>>&1
394 cd ..\misc
395 echo %MAKE% misc.dll TARGET=win32
396 %M% misc.dll TARGET=win32 >>..\%err_file% 2>>&1
397 if %? != 0 goto err
398 echo %MAKE% misc.dll TARGET=win32 DEBUG=1
399 %M% misc.dll TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
400 if %? != 0 goto err
401 cd ..\frame
402 echo %MAKE% frame.dll TARGET=win32
403 %M% frame.dll TARGET=win32 >>..\%err_file% 2>>&1
404 echo %MAKE% frame.dll TARGET=win32 DEBUG=1
405 %M% frame.dll TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
406 cd ..\tst
407 echo %MAKE% tif.dll TARGET=win32
408 %M% tif.dll TARGET=win32 >>..\%err_file% 2>>&1
409 if %? != 0 goto err
410 echo %MAKE% tif.dll TARGET=win32 DEBUG=1
411 %M% tif.dll TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
412 if %? != 0 goto err
413 cd ..\frame
414 echo %MAKE% frame.dll TARGET=win32
415 %M% frame.dll TARGET=win32 >>..\%err_file% 2>>&1
416 if %? != 0 goto err
417 echo %MAKE% frame.dll TARGET=win32 DEBUG=1
418 %M% frame.dll TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
419 if %? != 0 goto err
420
421 echo ********** OSX ********** >>..\%err_file% 2>>&1
422 cd ..\frame\cust_os
423 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7
424 %M% osx.lib TARGET=nuc PLATFORM=arm7 >>..\..\%err_file% 2>>&1
425 if %? != 0 goto err
426 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1
427 %M% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\..\%err_file% 2>>&1
428 if %? != 0 goto err
429 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2
430 %M% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 >>..\..\%err_file% 2>>&1
431 if %? != 0 goto err
432 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3
433 %M% osx.lib TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
434 if %? != 0 goto err
435 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3
436 %M% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
437 if %? != 0 goto err
438 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3
439 %M% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
440 if %? != 0 goto err
441 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 OS_ONLY=1 TOOL_CHOICE=3
442 %M% osx.lib TARGET=nuc PLATFORM=arm7 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
443 if %? != 0 goto err
444 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3
445 %M% osx.lib TARGET=nuc PLATFORM=arm7 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
446 if %? != 0 goto err
447 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3
448 %M% osx.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
449 if %? != 0 goto err
450 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3
451 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
452 if %? != 0 goto err
453 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3
454 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
455 if %? != 0 goto err
456 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3
457 %M% osx.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
458 if %? != 0 goto err
459 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3
460 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
461 if %? != 0 goto err
462 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 NO_OPT=1
463 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 NO_OPT=1 >>..\..\%err_file% 2>>&1
464 if %? != 0 goto err
465 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6
466 %M% osx.lib TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
467 if %? != 0 goto err
468 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6
469 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
470 if %? != 0 goto err
471 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6
472 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
473 if %? != 0 goto err
474 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6
475 %M% osx.lib TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
476 if %? != 0 goto err
477 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6
478 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
479 if %? != 0 goto err
480 echo %MAKE% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 NO_OPT=1
481 %M% osx.lib TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 NO_OPT=1 >>..\..\%err_file% 2>>&1
482 if %? != 0 goto err
483 echo %MAKE% osx.lib TARGET=nuc PLATFORM=pc OS_ONLY=1
484 %M% osx.lib TARGET=nuc PLATFORM=pc OS_ONLY=1 >>..\..\%err_file% 2>>&1
485 if %? != 0 goto err
486 echo %MAKE% osx.lib TARGET=nuc PLATFORM=pc DEBUG=1 OS_ONLY=1
487 %M% osx.lib TARGET=nuc PLATFORM=pc DEBUG=1 OS_ONLY=1 >>..\..\%err_file% 2>>&1
488 if %? != 0 goto err
489
490 goto final
491
492
493 :clean
494
495 echo *** cleaning FRAME/MISC/TIF libs ***
496 echo *** cleaning FRAME/MISC/TIF libs *** >>%err_file% 2>>&1
497
498 echo ********** nuc arm7 **********
499 echo ********** nuc arm7 ********** >>%err_file% 2>>&1
500 cd frame
501 %M% clean TARGET=nuc PLATFORM=arm7 >>..\%err_file% 2>>&1
502 %M% clean TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
503 %M% clean TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 >>..\%err_file% 2>>&1
504 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\%err_file% 2>>&1
505 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
506 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 >>..\%err_file% 2>>&1
507 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
508 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
509 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 >>..\%err_file% 2>>&1
510 %M% clean TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
511 %M% clean TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
512 %M% clean TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
513 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
514 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
515 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
516 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
517 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
518 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
519 %M% clean TARGET=nuc PLATFORM=arm7 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
520 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
521 cd ..\tst
522 %M% clean TARGET=nuc PLATFORM=arm7 >>..\%err_file% 2>>&1
523 %M% clean TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
524 %M% clean TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 >>..\%err_file% 2>>&1
525 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\%err_file% 2>>&1
526 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
527 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 >>..\%err_file% 2>>&1
528 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
529 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
530 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 >>..\%err_file% 2>>&1
531 %M% clean TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
532 %M% clean TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
533 %M% clean TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
534 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
535 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
536 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
537 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
538 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
539 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
540 cd ..\misc
541 %M% clean TARGET=nuc PLATFORM=arm7 >>..\%err_file% 2>>&1
542 %M% clean TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
543 %M% clean TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 >>..\%err_file% 2>>&1
544 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\%err_file% 2>>&1
545 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 >>..\%err_file% 2>>&1
546 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 >>..\%err_file% 2>>&1
547 %M% clean TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
548 %M% clean TARGET=nuc PLATFORM=arm7 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
549 %M% clean TARGET=nuc PLATFORM=arm7 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
550 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
551 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_INT_RAM=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
552 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 RUN_FLASH=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
553
554 echo ********** nuc arm9 **********
555 echo ********** nuc arm9 ********** >>..\%err_file% 2>>&1
556 cd ..\frame
557 %M% clean TARGET=nuc PLATFORM=arm9 >>..\%err_file% 2>>&1
558 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 >>..\%err_file% 2>>&1
559 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
560 %M% clean TARGET=nuc PLATFORM=arm9 ESF=1 >>..\%err_file% 2>>&1
561 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 >>..\%err_file% 2>>&1
562 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 >>..\%err_file% 2>>&1
563 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 >>..\%err_file% 2>>&1
564 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 >>..\%err_file% 2>>&1
565 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 ESF=1 >>..\%err_file% 2>>&1
566 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 ESF=1 >>..\%err_file% 2>>&1
567 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
568 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
569 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
570 %M% clean TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
571 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
572 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
573 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
574 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
575 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3 ESF=1 >>..\%err_file% 2>>&1
576 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 ESF=1 >>..\%err_file% 2>>&1
577 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 ESF=1 NO_OPT=1 >>..\%err_file% 2>>&1
578 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
579 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
580 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
581 %M% clean TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
582 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
583 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
584 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
585 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
586 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6 ESF=1 >>..\%err_file% 2>>&1
587 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 ESF=1 >>..\%err_file% 2>>&1
588 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 ESF=1 NO_OPT=1 >>..\%err_file% 2>>&1
589 cd ..\tst
590 %M% clean TARGET=nuc PLATFORM=arm9 >>..\%err_file% 2>>&1
591 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 >>..\%err_file% 2>>&1
592 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
593 %M% clean TARGET=nuc PLATFORM=arm9 ESF=1 >>..\%err_file% 2>>&1
594 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 >>..\%err_file% 2>>&1
595 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 >>..\%err_file% 2>>&1
596 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
597 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
598 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
599 %M% clean TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
600 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
601 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
602 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
603 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
604 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
605 %M% clean TARGET=nuc PLATFORM=arm9 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
606 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
607 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 ESF=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
608 cd ..\misc
609 %M% clean TARGET=nuc PLATFORM=arm9 >>..\%err_file% 2>>&1
610 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 >>..\%err_file% 2>>&1
611 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
612 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\%err_file% 2>>&1
613 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
614 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\%err_file% 2>>&1
615
616 echo ********** nuc pc **********
617 echo ********** nuc pc ********** >>..\%err_file% 2>>&1
618 cd ..\frame
619 %M% clean TARGET=nuc PLATFORM=pc >>..\%err_file% 2>>&1
620 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 >>..\%err_file% 2>>&1
621 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
622 %M% clean TARGET=nuc PLATFORM=pc OS_ONLY=1 >>..\%err_file% 2>>&1
623 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 OS_ONLY=1 >>..\%err_file% 2>>&1
624 cd ..\tst
625 %M% clean TARGET=nuc PLATFORM=pc >>..\%err_file% 2>>&1
626 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 >>..\%err_file% 2>>&1
627 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 MEMSUPER=2 >>..\%err_file% 2>>&1
628 cd ..\misc
629 %M% clean TARGET=nuc PLATFORM=pc >>..\%err_file% 2>>&1
630 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 >>..\%err_file% 2>>&1
631
632 echo ********** win32 **********
633 echo ********** win32 ********** >>..\%err_file% 2>>&1
634 cd ..\frame
635 %M% clean TARGET=win32 >>..\%err_file% 2>>&1
636 %M% clean TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
637 cd ..\tst
638 %M% clean TARGET=win32 >>..\%err_file% 2>>&1
639 %M% clean TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
640 cd ..\misc
641 %M% clean TARGET=win32 >>..\%err_file% 2>>&1
642 %M% clean TARGET=win32 DEBUG=1 >>..\%err_file% 2>>&1
643
644 echo ********** OSX **********
645 echo ********** OSX ********** >>..\%err_file% 2>>&1
646 cd ..\frame\cust_os
647 %M% clean TARGET=nuc PLATFORM=arm7 >>..\..\%err_file% 2>>&1
648 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 >>..\..\%err_file% 2>>&1
649 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 >>..\..\%err_file% 2>>&1
650 %M% clean TARGET=nuc PLATFORM=arm9 >>..\..\%err_file% 2>>&1
651 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 >>..\..\%err_file% 2>>&1
652 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 >>..\..\%err_file% 2>>&1
653 rem %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 >>..\..\%err_file% 2>>&1
654 rem %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 >>..\..\%err_file% 2>>&1
655 %M% clean TARGET=nuc PLATFORM=arm7 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
656 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
657 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
658 %M% clean TARGET=nuc PLATFORM=arm7 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
659 %M% clean TARGET=nuc PLATFORM=arm7 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
660 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
661 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
662 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
663 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
664 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 >>..\..\%err_file% 2>>&1
665 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=3 NO_OPT=1 >>..\..\%err_file% 2>>&1
666 %M% clean TARGET=nuc PLATFORM=arm9 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
667 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
668 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 MEMSUPER=2 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
669 %M% clean TARGET=nuc PLATFORM=arm9 OS_ONLY=1 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
670 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 >>..\..\%err_file% 2>>&1
671 %M% clean TARGET=nuc PLATFORM=arm9 DEBUG=1 OS_ONLY=1 TOOL_CHOICE=6 NO_OPT=1 >>..\..\%err_file% 2>>&1
672 %M% clean TARGET=nuc PLATFORM=pc OS_ONLY=1 >>..\..\%err_file% 2>>&1
673 %M% clean TARGET=nuc PLATFORM=pc DEBUG=1 OS_ONLY=1 >>..\..\%err_file% 2>>&1
674
675
676 goto final
677
678
679 :help
680 text
681 usage:
682 mall {-help |
683 { [-l <LABEL>] | -clean }
684 }
685 example: mall -l FRAME_2.7.1
686 endtext
687 goto end
688
689 :need4nt
690 @echo Error: 4DOS or 4NT is needed
691 goto end
692
693 :err
694 set C_DIR=%V122_DIR%
695 cd..
696 grep "error " %err_file%
697 @echo Errors occured ! See %err_file% for details.
698 endlocal
699 quit 1
700
701 goto final
702
703 :test
704 rem TEMP HACK
705 echo no automated tests supported so far :-(
706 goto final
707
708
709 :final
710 grep "warning " %err_file% 2> nul
711
712 :end
713 endlocal
714 quit 0