Subversion Repositories Kolibri OS

Rev

Rev 340 | Rev 485 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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