Rev 372 | Rev 489 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
338 | kaitz | 1 | @echo off |
2 | |||
3 | set languages=en ru ge et |
||
485 | heavyiron | 4 | set __CPU_type=p5 p6 k6 |
340 | heavyiron | 5 | set kpack=y n |
338 | kaitz | 6 | cls |
7 | echo Build KolibriOS apps |
||
340 | heavyiron | 8 | echo Enter valide language |
338 | kaitz | 9 | echo [%languages%] |
10 | |||
11 | set /P res="> |
||
12 | |||
13 | @erase lang.inc |
||
14 | echo lang fix %res% > lang.inc |
||
15 | |||
485 | heavyiron | 16 | echo Enter CPU_type ("p5" for interrupt, "p6" for SYSENTER, "k6" for SYSCALL) |
17 | |||
18 | set /p res="> |
||
19 | |||
20 | @erase config.inc |
||
21 | echo __CPU_type fix %res% > config.inc |
||
22 | |||
23 | |||
340 | heavyiron | 24 | if not exist bin mkdir bin |
25 | if not exist bin\demos mkdir bin\demos |
||
26 | if not exist bin\develop mkdir bin\develop |
||
27 | if not exist bin\games mkdir bin\games |
||
28 | if not exist bin\network mkdir bin\network |
||
29 | if not exist bin\3d mkdir bin\3d |
||
30 | if not exist bin\fonts mkdir bin\fonts |
||
31 | |||
338 | kaitz | 32 | echo * |
33 | echo Building system |
||
34 | echo * |
||
340 | heavyiron | 35 | @fasm system\calendar\trunk\calendar.asm bin\calendar |
36 | @fasm system\board\trunk\board.asm bin\develop\board |
||
37 | @fasm system\cpu\trunk\cpu.asm bin\cpu |
||
38 | @fasm system\cpuid\trunk\cpuid.asm bin\cpuid |
||
39 | @fasm system\desktop\trunk\desktop.asm bin\desktop |
||
40 | @fasm system\docpack\trunk\docpack.asm bin\docpack |
||
41 | @fasm system\end\trunk\end.asm bin\end |
||
42 | @fasm system\gmon\gmon.asm bin\gmon |
||
43 | @fasm system\icon\trunk\icon.asm bin\icon |
||
44 | @fasm system\kbd\trunk\kbd.ASM bin\kbd |
||
45 | @fasm system\launcher\trunk\launcher.asm bin\launcher |
||
372 | heavyiron | 46 | @fasm system\menu\trunk\menu.asm bin\@menu |
485 | heavyiron | 47 | @fasm system\mgb\trunk\mgb.asm bin\mgb |
340 | heavyiron | 48 | @fasm system\PANEL\trunk\@PANEL.ASM bin\@PANEL |
49 | @fasm system\pcidev\trunk\pcidev.asm bin\pcidev |
||
50 | @fasm system\RB\trunk\@RB.ASM bin\@RB |
||
51 | @fasm system\rdsave\trunk\rdsave.asm bin\rdsave |
||
52 | @fasm system\run\trunk\run.asm bin\run |
||
53 | @fasm system\setup\trunk\setup.asm bin\setup |
||
54 | @fasm system\skinsel\skinsel.asm bin\skinsel |
||
55 | @fasm system\vrr\trunk\vrr.asm bin\vrr |
||
56 | @fasm system\vrr_m\trunk\vrr_m.asm bin\vrr_m |
||
338 | kaitz | 57 | |
58 | echo * |
||
59 | echo Building develop |
||
60 | echo * |
||
340 | heavyiron | 61 | @fasm develop\cmd\trunk\cmd.asm bin\cmd |
62 | @fasm develop\fasm\trunk\fasm.asm bin\develop\fasm |
||
63 | @fasm develop\h2d2b\trunk\h2d2b.asm bin\develop\h2d2b |
||
64 | @fasm develop\heed\trunk\heed.asm bin\demos\heed |
||
65 | rem @fasm develop\hexview\trunk\hexview.asm hexview |
||
66 | @fasm develop\keyascii\trunk\keyascii.asm bin\develop\keyascii |
||
67 | @fasm develop\mtdbg\mtdbg.asm bin\develop\mtdbg |
||
68 | rem @fasm develop\param\trunk\param.asm param |
||
69 | @fasm develop\scancode\trunk\scancode.asm bin\develop\scancode |
||
70 | @fasm develop\tinypad\trunk\tinypad.asm bin\tinypad |
||
338 | kaitz | 71 | |
72 | echo * |
||
73 | echo Building fs |
||
74 | echo * |
||
340 | heavyiron | 75 | @fasm fs\copy2\trunk\copy2.asm bin\copy2 |
76 | @fasm fs\copyr\trunk\copyr.asm bin\copyr |
||
77 | @fasm fs\kfar\trunk\kfar.asm bin\kfar |
||
78 | rem @fasm fs\mfar\trunk\mfar.asm bin\mfar |
||
79 | @fasm fs\sysxtree\trunk\sysxtree.asm bin\sysxtree |
||
338 | kaitz | 80 | |
81 | echo * |
||
82 | echo Building network |
||
83 | echo * |
||
340 | heavyiron | 84 | @fasm network\airc\trunk\airc.asm bin\network\airc |
85 | @fasm network\arpstat\trunk\arpstat.asm bin\network\arpstat |
||
86 | @fasm network\autodhcp\trunk\autodhcp.asm bin\network\autodhcp |
||
87 | @fasm network\dhcp\trunk\dhcp.asm bin\network\dhcp |
||
88 | @fasm network\dnsr\trunk\dnsr.asm bin\network\dnsr |
||
89 | @fasm network\ethstat\trunk\ethstat.asm bin\network\ethstat |
||
485 | heavyiron | 90 | @fasm network\ftps\trunk\https.asm bin\network\ftps |
340 | heavyiron | 91 | @fasm network\httpc\trunk\httpc.asm bin\network\httpc |
92 | @fasm network\https\trunk\https.asm bin\network\https |
||
93 | @fasm network\ipc\trunk\ipc.asm bin\network\ipc |
||
94 | @fasm network\local\trunk\local.asm bin\network\local |
||
485 | heavyiron | 95 | @fasm network\mp3s\trunk\mp3s.asm bin\network\mp3s |
340 | heavyiron | 96 | @fasm network\netsendc\trunk\netsendc.asm bin\network\netsendc |
97 | @fasm network\netsends\trunk\netsends.asm bin\network\netsends |
||
98 | @fasm network\nntpc\trunk\nntpc.asm bin\network\nntpc |
||
99 | @fasm network\popc\trunk\popc.asm bin\network\popc |
||
100 | @fasm network\ppp\trunk\ppp.asm bin\network\ppp |
||
101 | @fasm network\rccc\trunk\rccc.asm bin\network\rccc |
||
102 | @fasm network\rccs\trunk\rccs.asm bin\network\rccs |
||
103 | @fasm network\remote\trunk\remote.asm bin\network\remote |
||
104 | @fasm network\smtps\trunk\smtps.asm bin\network\smtps |
||
105 | @fasm network\stackcfg\trunk\stackcfg.asm bin\network\stackcfg |
||
106 | @fasm network\telnet\trunk\telnet.asm bin\network\telnet |
||
107 | @fasm network\terminal\trunk\terminal.asm bin\network\terminal |
||
108 | @fasm network\tftpa\trunk\tftpa.asm bin\network\tftpa |
||
109 | @fasm network\tftpc\trunk\tftpc.asm bin\network\tftpc |
||
110 | @fasm network\VNCclient\VNCclient.asm bin\network\VNCclient |
||
111 | @fasm network\ym\trunk\ym.asm bin\network\ym |
||
338 | kaitz | 112 | |
113 | echo * |
||
114 | echo Building other |
||
115 | echo * |
||
340 | heavyiron | 116 | rem @fasm other\archer\trunk\@rcher.asm bin\@rcher |
117 | @fasm other\calc\trunk\calc.asm bin\calc |
||
118 | @fasm other\mhc\trunk\mhc.asm bin\mhc |
||
119 | @fasm other\period\trunk\period.asm bin\period |
||
120 | @fasm other\rtfread\trunk\rtfread.asm bin\rtfread |
||
338 | kaitz | 121 | |
122 | echo * |
||
123 | echo Building media |
||
124 | echo * |
||
340 | heavyiron | 125 | rem media\ac97snd\trunk\ac97snd.asm ac97snd |
126 | @fasm media\animage\trunk\animage.asm bin\animage |
||
127 | @fasm media\cdp\trunk\cdp.asm bin\cdp |
||
128 | @fasm media\gifview\trunk\gifview.asm bin\gifview |
||
129 | @fasm media\iconedit\trunk\iconedit.asm bin\iconedit |
||
130 | @fasm media\jpegview\trunk\jpegview.asm bin\jpegview |
||
131 | @fasm media\midamp\trunk\midamp.asm bin\midamp |
||
132 | @fasm media\midiplay\trunk\midiplay.asm bin\midiplay |
||
133 | @fasm media\mixer\trunk\mixer.asm bin\mixer |
||
485 | heavyiron | 134 | |
340 | heavyiron | 135 | @fasm media\mv\trunk\mv.asm bin\mv |
136 | @fasm media\pic4\trunk\pic4.asm bin\pic4 |
||
137 | @fasm media\sb\trunk\sb.asm bin\sb |
||
138 | @fasm media\scrshoot\scrshoot.asm bin\scrshoot |
||
338 | kaitz | 139 | |
140 | echo * |
||
141 | echo Building games |
||
142 | echo * |
||
340 | heavyiron | 143 | @fasm games\15\trunk\15.asm bin\games\15 |
144 | @fasm games\arcanii\trunk\arcanii.asm bin\games\arcanii |
||
145 | @fasm games\arcanoid\trunk\arcanoid.asm bin\games\arcanoid |
||
146 | cd games\c4\trunk\ |
||
147 | @nasmw -f bin -o ..\..\..\bin\games\c4 c4.asm |
||
148 | cd ..\..\.. |
||
149 | @fasm games\chess\trunk\chess.asm bin\games\chess |
||
150 | @fasm games\freecell\freecell.asm bin\games\freecell |
||
151 | @fasm games\mblocks\trunk\mblocks.asm bin\games\mblocks |
||
152 | @fasm games\phenix\trunk\phenix.asm bin\games\phenix |
||
153 | @fasm games\pipes\pipes.asm bin\games\pipes |
||
154 | @fasm games\pong\trunk\pong.asm bin\games\pong |
||
155 | @fasm games\pong3\trunk\pong3.asm bin\games\pong3 |
||
156 | @fasm games\tanks\trunk\tanks.asm bin\games\tanks |
||
157 | @fasm games\tetris\trunk\tetris.asm bin\games\tetris |
||
485 | heavyiron | 158 | rem @fasm games\hunter\trunk\hunter.asm bin\games\hunter |
338 | kaitz | 159 | |
160 | echo * |
||
161 | echo Building demos |
||
162 | echo * |
||
340 | heavyiron | 163 | @fasm demos\3dcube2\trunk\3dcube2.asm bin\3d\3dcube2 |
164 | rem @fasm demos\3detx60b\trunk\3detx60b.asm bin\3d\3detx60b |
||
165 | @fasm demos\3dtcub10\trunk\3dtcub10.asm bin\3d\3dtcub10 |
||
166 | cd demos\aclock\trunk\ |
||
167 | @nasmw -t -f bin -o ..\..\..\bin\demos\aclock aclock.asm |
||
168 | cd ..\..\.. |
||
169 | @fasm demos\bcdclk\bcdclk\bcdclk.asm bin\demos\bcdclk |
||
170 | @fasm demos\bgitest\trunk\bgitest.asm bin\fonts\bgitest |
||
171 | @fasm demos\colorref\trunk\colorref.asm bin\demos\colorref |
||
172 | @fasm demos\crownscr\trunk\crownscr.asm bin\3d\crownscr |
||
173 | @fasm demos\cslide\trunk\cslide.asm bin\demos\cslide |
||
174 | @fasm demos\eyes\trunk\eyes.asm bin\demos\eyes |
||
175 | @fasm demos\fire\trunk\fire.asm bin\demos\fire |
||
176 | @fasm demos\fire2\trunk\fire2.asm bin\demos\fire2 |
||
177 | @fasm demos\free3d04\trunk\free3d04.asm bin\3d\free3d04 |
||
178 | @fasm demos\magnify\trunk\magnify.asm bin\magnify |
||
179 | @fasm demos\movback\trunk\movback.asm bin\demos\movback |
||
180 | @fasm demos\plasma\trunk\plasma.asm bin\demos\plasma |
||
181 | @fasm demos\ss\trunk\@ss.asm bin\@ss |
||
182 | @fasm demos\timer\trunk\timer.asm bin\demos\timer |
||
183 | @fasm demos\tinyfrac\trunk\tinyfrac.asm bin\demos\tinyfrac |
||
184 | @fasm demos\transp\trunk\transp.asm bin\demos\transp |
||
185 | @fasm demos\trantest\trunk\trantest.asm bin\demos\trantest |
||
186 | @fasm demos\tube\trunk\tube.asm bin\demos\tube |
||
338 | kaitz | 187 | |
188 | @erase lang.inc |
||
189 | |||
190 | echo * |
||
191 | echo Finished building |
||
192 | echo * |
||
340 | heavyiron | 193 | |
194 | echo Kpack KolibriOS apps? |
||
195 | echo [%kpack%] |
||
196 | |||
197 | set /P res="> |
||
198 | |||
199 | if "%res%"=="y" ( |
||
200 | |||
201 | echo * |
||
202 | echo Compressing system |
||
203 | echo * |
||
204 | @kpack bin\calendar |
||
205 | @kpack bin\develop\board |
||
206 | @kpack bin\cpu |
||
207 | @kpack bin\cpuid |
||
208 | @kpack bin\desktop |
||
209 | @kpack bin\docpack |
||
210 | @kpack bin\end |
||
211 | @kpack bin\gmon |
||
212 | @kpack bin\icon |
||
213 | @kpack bin\kbd |
||
214 | @kpack bin\launcher |
||
215 | @kpack bin\menu |
||
485 | heavyiron | 216 | @kpack bin\mgb |
340 | heavyiron | 217 | @kpack bin\@PANEL |
218 | @kpack bin\pcidev |
||
219 | @kpack bin\@RB |
||
220 | @kpack bin\rdsave |
||
221 | @kpack bin\run |
||
222 | @kpack bin\setup |
||
223 | @kpack bin\skinsel |
||
224 | @kpack bin\vrr |
||
225 | @kpack bin\vrr_m |
||
226 | |||
227 | echo * |
||
228 | echo Compressing develop |
||
229 | echo * |
||
230 | |||
231 | @kpack bin\cmd |
||
232 | @kpack bin\develop\fasm |
||
233 | @kpack bin\develop\h2d2b |
||
234 | @kpack bin\demos\heed |
||
235 | @kpack bin\develop\keyascii |
||
236 | @kpack bin\develop\mtdbg |
||
237 | @kpack bin\develop\scancode |
||
238 | |||
239 | echo * |
||
240 | echo Compressing fs |
||
241 | echo * |
||
242 | |||
243 | @kpack bin\copy2 |
||
244 | @kpack bin\copyr |
||
245 | @kpack bin\kfar |
||
246 | @kpack bin\sysxtree |
||
247 | |||
248 | echo * |
||
249 | echo Compressing network |
||
250 | echo * |
||
251 | |||
252 | @kpack bin\network\airc |
||
253 | @kpack bin\network\arpstat |
||
254 | @kpack bin\network\autodhcp |
||
255 | @kpack bin\network\dhcp |
||
256 | @kpack bin\network\dnsr |
||
257 | @kpack bin\network\ethstat |
||
258 | @kpack bin\network\httpc |
||
259 | @kpack bin\network\https |
||
260 | @kpack bin\network\ipc |
||
261 | @kpack bin\network\local |
||
262 | @kpack bin\network\netsendc |
||
263 | @kpack bin\network\netsends |
||
264 | @kpack bin\network\nntpc |
||
265 | @kpack bin\network\popc |
||
266 | @kpack bin\network\ppp |
||
267 | @kpack bin\network\rccc |
||
268 | @kpack bin\network\rccs |
||
269 | @kpack bin\network\remote |
||
270 | @kpack bin\network\smtps |
||
271 | @kpack bin\network\stackcfg |
||
272 | @kpack bin\network\telnet |
||
273 | @kpack bin\network\terminal |
||
274 | @kpack bin\network\tftpa |
||
275 | @kpack bin\network\tftpc |
||
276 | @kpack bin\network\VNCclient |
||
277 | @kpack bin\network\ym |
||
278 | |||
279 | echo * |
||
280 | echo Compressing other |
||
281 | echo * |
||
282 | |||
283 | rem @kpack bin\@rcher |
||
284 | @kpack bin\calc |
||
285 | @kpack bin\mhc |
||
286 | @kpack bin\period |
||
287 | @kpack bin\rtfread |
||
288 | |||
289 | echo * |
||
290 | echo Compressing media |
||
291 | echo * |
||
292 | |||
293 | @kpack bin\animage |
||
294 | @kpack bin\cdp |
||
295 | @kpack bin\gifview |
||
296 | @kpack bin\iconedit |
||
297 | @kpack bin\jpegview |
||
298 | @kpack bin\midamp |
||
299 | @kpack bin\midiplay |
||
300 | @kpack bin\mixer |
||
301 | @kpack bin\mp3s |
||
302 | @kpack bin\mv |
||
303 | @kpack bin\pic4 |
||
304 | @kpack bin\sb |
||
305 | @kpack bin\scrshoot |
||
306 | |||
307 | echo * |
||
308 | echo Compressing games |
||
309 | echo * |
||
310 | |||
311 | @kpack bin\games\15 |
||
312 | @kpack bin\games\arcanii |
||
313 | @kpack bin\games\arcanoid |
||
314 | @kpack bin\games\chess |
||
315 | @kpack bin\games\freecell |
||
316 | @kpack bin\games\mblocks |
||
317 | @kpack bin\games\phenix |
||
318 | @kpack bin\games\pipes |
||
319 | @kpack bin\games\pong |
||
320 | @kpack bin\games\pong3 |
||
321 | @kpack bin\games\tanks |
||
322 | @kpack bin\games\tetris |
||
323 | |||
324 | echo * |
||
325 | echo Compressing demos |
||
326 | echo * |
||
327 | |||
328 | @kpack bin\3d\3dcube2 |
||
329 | @kpack bin\3d\3dtcub10 |
||
330 | @kpack bin\demos\aclock |
||
331 | @kpack bin\demos\bcdclk |
||
332 | @kpack bin\fonts\bgitest |
||
333 | @kpack bin\demos\colorref |
||
334 | @kpack bin\3d\crownscr |
||
335 | @kpack bin\demos\cslide |
||
336 | @kpack bin\demos\eyes |
||
337 | @kpack bin\demos\fire |
||
338 | @kpack bin\demos\fire2 |
||
339 | @kpack bin\3d\free3d04 |
||
340 | @kpack bin\magnify |
||
341 | @kpack bin\demos\movback |
||
342 | @kpack bin\demos\plasma |
||
343 | @kpack bin\@ss |
||
344 | @kpack bin\demos\timer |
||
345 | @kpack bin\demos\tinyfrac |
||
346 | @kpack bin\demos\transp |
||
347 | @kpack bin\demos\trantest |
||
348 | @kpack bin\demos\tube |
||
349 | |||
350 | echo * |
||
351 | echo Compressing complete |
||
352 | echo * |
||
353 | ) |
||
354 | |||
338 | kaitz | 355 | pause |