Rev 1840 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1840 | Rev 1841 | ||
---|---|---|---|
1 | # General rule for naming: variables with CAPITALIZED names hold settings, |
1 | # General rule for naming: variables with CAPITALIZED names hold settings, |
2 | # you can - and are expected - to modify it; variables with lowercase names |
2 | # you can - and are expected - to modify it; variables with lowercase names |
3 | # are intermediate variables and macroses not to be modified unless you |
3 | # are intermediate variables and macroses not to be modified unless you |
4 | # know what you're doing. |
4 | # know what you're doing. |
5 | 5 | ||
6 | # Define directories for destination, source repository, sources of kernel, sources of programs. |
6 | # Define directories for destination, source repository, sources of kernel, sources of programs. |
7 | BUILD_DIR:=build |
7 | BUILD_DIR:=build |
8 | REPOSITORY:=../.. |
8 | REPOSITORY:=../.. |
9 | KERNEL:=$(REPOSITORY)/kernel/trunk |
9 | KERNEL:=$(REPOSITORY)/kernel/trunk |
10 | PROGS:=$(REPOSITORY)/programs |
10 | PROGS:=$(REPOSITORY)/programs |
11 | 11 | ||
12 | # Docpak requires some documents; we place them |
12 | # Docpak requires some documents; we place them |
13 | # into 'docs' subdir and communicate with FASM |
13 | # into 'docs' subdir and communicate with FASM |
14 | # through environment var DOCDIR. |
14 | # through environment var DOCDIR. |
15 | DOCDIR:=docs/ |
15 | DOCDIR:=docs/ |
16 | export DOCDIR |
16 | export DOCDIR |
17 | 17 | ||
18 | # Because most programs are written in FASM and have |
18 | # Because most programs are written in FASM and have |
19 | # the common structure of one main .asm file possibly including |
19 | # the common structure of one main .asm file possibly including |
20 | # several .inc files, we handle this case separately. |
20 | # several .inc files, we handle this case separately. |
21 | # Namely, we organize one big list of such programs |
21 | # Namely, we organize one big list of such programs |
22 | # (FASM_PROGRAMS, see below) containing name of local binary file, |
22 | # (FASM_PROGRAMS, see below) containing name of local binary file, |
23 | # name of file inside kolibri.img and name of the source file. |
23 | # name of file inside kolibri.img and name of the source file. |
24 | # This list is maintained by hand, and the rest is done with some macroses... |
24 | # This list is maintained by hand, and the rest is done with some macroses... |
25 | # well, slightly complicated macroses - however, you do not need to |
25 | # well, slightly complicated macroses - however, you do not need to |
26 | # understand them in order to maintain the list. |
26 | # understand them in order to maintain the list. |
27 | # To add a FASM program with one .asm file, just |
27 | # To add a FASM program with one .asm file, just |
28 | # add the corresponding item to the list and enjoy |
28 | # add the corresponding item to the list and enjoy |
29 | # the power of GNU make. |
29 | # the power of GNU make. |
30 | 30 | ||
31 | # The list of all FASM programs with one main FASM file. |
31 | # The list of all FASM programs with one main FASM file. |
32 | # Every item consists of three parts, separated by ':'. |
32 | # Every item consists of three parts, separated by ':'. |
33 | # First part is the real name of binary file in $(BUILD_DIR) |
33 | # First part is the real name of binary file in $(BUILD_DIR) |
34 | # as it should be produced by make. |
34 | # as it should be produced by make. |
35 | # Second part is the name of a file inside kolibri.img, |
35 | # Second part is the name of a file inside kolibri.img, |
36 | # usually uppercased version of first part - to save space |
36 | # usually uppercased version of first part - to save space |
37 | # for FAT filesystem. |
37 | # for FAT filesystem. |
38 | # Third part is the name of the source file. |
38 | # Third part is the name of the source file. |
39 | # Spaces separate items, so spaces in names should be |
39 | # Spaces separate items, so spaces in names should be |
40 | # represented as '|'. |
40 | # represented as '|'. |
41 | FASM_PROGRAMS:=\ |
41 | FASM_PROGRAMS:=\ |
42 | @clip:@CLIP:$(PROGS)/system/clip/trunk/@clip.ASM \ |
42 | @clip:@CLIP:$(PROGS)/system/clip/trunk/@clip.ASM \ |
43 | @menu:@MENU:$(PROGS)/system/menu/trunk/menu.asm \ |
43 | @menu:@MENU:$(PROGS)/system/menu/trunk/menu.asm \ |
44 | @notify:@NOTIFY:$(PROGS)/system/notify/trunk/@notify.asm \ |
44 | @notify:@NOTIFY:$(PROGS)/system/notify/trunk/@notify.asm \ |
45 | @panel:@PANEL:$(PROGS)/system/panel/trunk/@PANEL.ASM \ |
45 | @panel:@PANEL:$(PROGS)/system/panel/trunk/@PANEL.ASM \ |
46 | @rb:@RB:$(PROGS)/system/rb/trunk/@RB.ASM \ |
46 | @rb:@RB:$(PROGS)/system/rb/trunk/@RB.ASM \ |
47 | @ss:@SS:$(PROGS)/system/ss/trunk/@ss.asm \ |
47 | @ss:@SS:$(PROGS)/system/ss/trunk/@ss.asm \ |
48 | calc:CALC:$(PROGS)/other/calc/trunk/calc.asm \ |
48 | calc:CALC:$(PROGS)/other/calc/trunk/calc.asm \ |
49 | calendar:CALENDAR:$(PROGS)/system/calendar/trunk/calendar.asm \ |
49 | calendar:CALENDAR:$(PROGS)/system/calendar/trunk/calendar.asm \ |
50 | commouse:COMMOUSE:$(PROGS)/system/commouse/trunk/commouse.asm \ |
50 | commouse:COMMOUSE:$(PROGS)/system/commouse/trunk/commouse.asm \ |
51 | copyr:COPYR:$(PROGS)/fs/copyr/trunk/copyr.asm \ |
51 | copyr:COPYR:$(PROGS)/fs/copyr/trunk/copyr.asm \ |
52 | cpu:CPU:$(PROGS)/system/cpu/trunk/cpu.asm \ |
52 | cpu:CPU:$(PROGS)/system/cpu/trunk/cpu.asm \ |
53 | cpuid:CPUID:$(PROGS)/system/cpuid/trunk/CPUID.ASM \ |
53 | cpuid:CPUID:$(PROGS)/system/cpuid/trunk/CPUID.ASM \ |
54 | desktop:DESKTOP:$(PROGS)/system/desktop/trunk/desktop.asm \ |
54 | desktop:DESKTOP:$(PROGS)/system/desktop/trunk/desktop.asm \ |
55 | disptest:DISPTEST:$(PROGS)/system/disptest/trunk/disptest.ASM \ |
55 | disptest:DISPTEST:$(PROGS)/system/disptest/trunk/disptest.ASM \ |
56 | docpak:DOCPAK:$(PROGS)/system/docpack/trunk/docpack.asm \ |
56 | docpak:DOCPAK:$(PROGS)/system/docpack/trunk/docpack.asm \ |
57 | downloader:downloader:$(PROGS)/network/downloader/trunk/downloader.asm \ |
57 | downloader:downloader:$(PROGS)/network/downloader/trunk/downloader.asm \ |
58 | end:END:$(PROGS)/system/end/light/end.asm \ |
58 | end:END:$(PROGS)/system/end/light/end.asm \ |
59 | gmon:GMON:$(PROGS)/system/gmon/gmon.asm \ |
59 | gmon:GMON:$(PROGS)/system/gmon/gmon.asm \ |
60 | hdd_info:HDD_INFO:$(PROGS)/system/hdd_info/trunk/hdd_info.asm \ |
60 | hdd_info:HDD_INFO:$(PROGS)/system/hdd_info/trunk/hdd_info.asm \ |
61 | icon:ICON:$(PROGS)/system/icon/trunk/icon.asm \ |
61 | icon:ICON:$(PROGS)/system/icon/trunk/icon.asm \ |
62 | kbd:KBD:$(PROGS)/system/kbd/trunk/kbd.ASM \ |
62 | kbd:KBD:$(PROGS)/system/kbd/trunk/kbd.ASM \ |
63 | kpack:KPACK:$(PROGS)/other/kpack/trunk/kpack.asm \ |
63 | kpack:KPACK:$(PROGS)/other/kpack/trunk/kpack.asm \ |
64 | launcher:LAUNCHER:$(PROGS)/system/launcher/trunk/launcher.asm \ |
64 | launcher:LAUNCHER:$(PROGS)/system/launcher/trunk/launcher.asm \ |
65 | magnify:MAGNIFY:$(PROGS)/demos/magnify/trunk/magnify.asm \ |
65 | magnify:MAGNIFY:$(PROGS)/demos/magnify/trunk/magnify.asm \ |
66 | mgb:MGB:$(PROGS)/system/mgb/trunk/mgb.asm \ |
66 | mgb:MGB:$(PROGS)/system/mgb/trunk/mgb.asm \ |
67 | mousemul:MOUSEMUL:$(PROGS)/system/mousemul/trunk/mousemul.asm \ |
67 | mousemul:MOUSEMUL:$(PROGS)/system/mousemul/trunk/mousemul.asm \ |
68 | mykey:MYKEY:$(PROGS)/system/MyKey/trunk/MyKey.asm \ |
68 | mykey:MYKEY:$(PROGS)/system/MyKey/trunk/MyKey.asm \ |
69 | pcidev:PCIDEV:$(PROGS)/system/pcidev/trunk/PCIDEV.ASM \ |
69 | pcidev:PCIDEV:$(PROGS)/system/pcidev/trunk/PCIDEV.ASM \ |
70 | period:PERIOD:$(PROGS)/other/period/trunk/period.asm \ |
70 | period:PERIOD:$(PROGS)/other/period/trunk/period.asm \ |
71 | pic4:PIC4:$(PROGS)/media/pic4/trunk/pic4.asm \ |
71 | pic4:PIC4:$(PROGS)/media/pic4/trunk/pic4.asm \ |
72 | rdsave:RDSAVE:$(PROGS)/system/rdsave/trunk/rdsave.asm \ |
72 | rdsave:RDSAVE:$(PROGS)/system/rdsave/trunk/rdsave.asm \ |
73 | rtfread:RTFREAD:$(PROGS)/other/rtfread/trunk/rtfread.asm \ |
73 | rtfread:RTFREAD:$(PROGS)/other/rtfread/trunk/rtfread.asm \ |
74 | run:RUN:$(PROGS)/system/run/trunk/run.asm \ |
74 | run:RUN:$(PROGS)/system/run/trunk/run.asm \ |
75 | scrshoot:SCRSHOOT:$(PROGS)/media/scrshoot/scrshoot.asm \ |
75 | scrshoot:SCRSHOOT:$(PROGS)/media/scrshoot/scrshoot.asm \ |
76 | setup:SETUP:$(PROGS)/system/setup/trunk/setup.asm \ |
76 | setup:SETUP:$(PROGS)/system/setup/trunk/setup.asm \ |
77 | spanel:SPANEL:$(PROGS)/system/spanel/trunk/spanel.asm \ |
77 | spanel:SPANEL:$(PROGS)/system/spanel/trunk/spanel.asm \ |
78 | test:TEST:$(PROGS)/system/test/trunk/test.asm \ |
78 | test:TEST:$(PROGS)/system/test/trunk/test.asm \ |
79 | tinypad:TINYPAD:$(PROGS)/develop/tinypad/trunk/tinypad.asm \ |
79 | tinypad:TINYPAD:$(PROGS)/develop/tinypad/trunk/tinypad.asm \ |
80 | vrr:VRR:$(PROGS)/system/vrr/trunk/vrr.asm \ |
80 | vrr:VRR:$(PROGS)/system/vrr/trunk/vrr.asm \ |
81 | vrr_m:VRR_M:$(PROGS)/system/vrr_m/trunk/vrr_m.asm \ |
81 | vrr_m:VRR_M:$(PROGS)/system/vrr_m/trunk/vrr_m.asm \ |
82 | zkey:ZKEY:$(PROGS)/system/zkey/trunk/ZKEY.ASM \ |
82 | zkey:ZKEY:$(PROGS)/system/zkey/trunk/ZKEY.ASM \ |
83 | 3d/3dcube2:3D/3DCUBE2:$(PROGS)/demos/3dcube2/trunk/3DCUBE2.ASM \ |
83 | 3d/3dcube2:3D/3DCUBE2:$(PROGS)/demos/3dcube2/trunk/3DCUBE2.ASM \ |
84 | 3d/3dspiral:3D/3DSPIRAL:$(PROGS)/demos/3dspiral/trunk/3dspiral.asm \ |
84 | 3d/3dspiral:3D/3DSPIRAL:$(PROGS)/demos/3dspiral/trunk/3dspiral.asm \ |
85 | 3d/3dtcub10:3D/3DTCUB10:$(PROGS)/demos/3dtcub10/trunk/3DTCUB10.ASM \ |
85 | 3d/3dtcub10:3D/3DTCUB10:$(PROGS)/demos/3dtcub10/trunk/3DTCUB10.ASM \ |
86 | 3d/crownscr:3D/CROWNSCR:$(PROGS)/demos/crownscr/trunk/crownscr.asm \ |
86 | 3d/crownscr:3D/CROWNSCR:$(PROGS)/demos/crownscr/trunk/crownscr.asm \ |
87 | 3d/flatwav:3D/FLATWAV:$(PROGS)/demos/flatwav/trunk/FLATWAV.ASM \ |
87 | 3d/flatwav:3D/FLATWAV:$(PROGS)/demos/flatwav/trunk/FLATWAV.ASM \ |
88 | 3d/free3d04:3D/FREE3D04:$(PROGS)/demos/free3d04/trunk/free3d04.asm \ |
88 | 3d/free3d04:3D/FREE3D04:$(PROGS)/demos/free3d04/trunk/free3d04.asm \ |
89 | 3d/view3ds:3D/VIEW3DS:$(PROGS)/demos/3DS/VIEW3DS.ASM \ |
89 | 3d/view3ds:3D/VIEW3DS:$(PROGS)/demos/3DS/VIEW3DS.ASM \ |
90 | demos/bcdclk:DEMOS/BCDCLK:$(PROGS)/demos/bcdclk/trunk/bcdclk.asm \ |
90 | demos/bcdclk:DEMOS/BCDCLK:$(PROGS)/demos/bcdclk/trunk/bcdclk.asm \ |
91 | demos/circle:DEMOS/CIRCLE:$(PROGS)/develop/examples/circle/trunk/circle.asm \ |
91 | demos/circle:DEMOS/CIRCLE:$(PROGS)/develop/examples/circle/trunk/circle.asm \ |
92 | demos/colorref:DEMOS/COLORREF:$(PROGS)/demos/colorref/trunk/colorref.asm \ |
92 | demos/colorref:DEMOS/COLORREF:$(PROGS)/demos/colorref/trunk/colorref.asm \ |
93 | demos/cslide:DEMOS/CSLIDE:$(PROGS)/demos/cslide/trunk/cslide.asm \ |
93 | demos/cslide:DEMOS/CSLIDE:$(PROGS)/demos/cslide/trunk/cslide.asm \ |
94 | demos/eyes:DEMOS/EYES:$(PROGS)/demos/eyes/trunk/eyes.asm \ |
94 | demos/eyes:DEMOS/EYES:$(PROGS)/demos/eyes/trunk/eyes.asm \ |
95 | demos/fire:DEMOS/FIRE:$(PROGS)/demos/fire/trunk/fire.asm \ |
95 | demos/fire:DEMOS/FIRE:$(PROGS)/demos/fire/trunk/fire.asm \ |
96 | demos/firework:DEMOS/FIREWORK:$(PROGS)/demos/firework/trunk/firework.asm \ |
96 | demos/firework:DEMOS/FIREWORK:$(PROGS)/demos/firework/trunk/firework.asm \ |
97 | demos/movback:DEMOS/MOVBACK:$(PROGS)/demos/movback/trunk/movback.asm \ |
97 | demos/movback:DEMOS/MOVBACK:$(PROGS)/demos/movback/trunk/movback.asm \ |
98 | demos/plasma:DEMOS/PLASMA:$(PROGS)/demos/plasma/trunk/plasma.asm \ |
98 | demos/plasma:DEMOS/PLASMA:$(PROGS)/demos/plasma/trunk/plasma.asm \ |
99 | demos/timer:DEMOS/TIMER:$(PROGS)/demos/timer/trunk/timer.asm \ |
99 | demos/timer:DEMOS/TIMER:$(PROGS)/demos/timer/trunk/timer.asm \ |
100 | demos/tinyfrac:DEMOS/TINYFRAC:$(PROGS)/demos/tinyfrac/trunk/tinyfrac.asm \ |
100 | demos/tinyfrac:DEMOS/TINYFRAC:$(PROGS)/demos/tinyfrac/trunk/tinyfrac.asm \ |
101 | demos/trantest:DEMOS/TRANTEST:$(PROGS)/demos/trantest/trunk/trantest.asm \ |
101 | demos/trantest:DEMOS/TRANTEST:$(PROGS)/demos/trantest/trunk/trantest.asm \ |
102 | demos/tube:DEMOS/TUBE:$(PROGS)/demos/tube/trunk/tube.asm \ |
102 | demos/tube:DEMOS/TUBE:$(PROGS)/demos/tube/trunk/tube.asm \ |
103 | demos/unvwater:DEMOS/UNVWATER:$(PROGS)/demos/unvwater/trunk/unvwater.asm \ |
103 | demos/unvwater:DEMOS/UNVWATER:$(PROGS)/demos/unvwater/trunk/unvwater.asm \ |
104 | demos/web:DEMOS/WEB:$(PROGS)/demos/web/trunk/web.asm \ |
104 | demos/web:DEMOS/WEB:$(PROGS)/demos/web/trunk/web.asm \ |
105 | develop/board:DEVELOP/BOARD:$(PROGS)/system/board/trunk/board.asm \ |
105 | develop/board:DEVELOP/BOARD:$(PROGS)/system/board/trunk/board.asm \ |
106 | develop/cObj:DEVELOP/cObj:$(PROGS)/develop/cObj/trunk/cObj.asm \ |
106 | develop/cObj:DEVELOP/cObj:$(PROGS)/develop/cObj/trunk/cObj.asm \ |
107 | develop/fasm:DEVELOP/FASM:$(PROGS)/develop/fasm/trunk/fasm.asm \ |
107 | develop/fasm:DEVELOP/FASM:$(PROGS)/develop/fasm/trunk/fasm.asm \ |
108 | develop/h2d2b:DEVELOP/H2D2B:$(PROGS)/develop/h2d2b/trunk/h2d2b.asm \ |
108 | develop/h2d2b:DEVELOP/H2D2B:$(PROGS)/develop/h2d2b/trunk/h2d2b.asm \ |
109 | develop/heed:DEVELOP/HEED:$(PROGS)/develop/heed/trunk/heed.asm \ |
109 | develop/heed:DEVELOP/HEED:$(PROGS)/develop/heed/trunk/heed.asm \ |
110 | develop/ipc:DEVELOP/IPC:$(PROGS)/network/ipc/trunk/ipc.asm \ |
110 | develop/ipc:DEVELOP/IPC:$(PROGS)/network/ipc/trunk/ipc.asm \ |
111 | develop/keyascii:DEVELOP/KEYASCII:$(PROGS)/develop/keyascii/trunk/keyascii.asm \ |
111 | develop/keyascii:DEVELOP/KEYASCII:$(PROGS)/develop/keyascii/trunk/keyascii.asm \ |
112 | develop/mtdbg:DEVELOP/MTDBG:$(PROGS)/develop/mtdbg/mtdbg.asm \ |
112 | develop/mtdbg:DEVELOP/MTDBG:$(PROGS)/develop/mtdbg/mtdbg.asm \ |
113 | develop/scancode:DEVELOP/SCANCODE:$(PROGS)/develop/scancode/trunk/scancode.asm \ |
113 | develop/scancode:DEVELOP/SCANCODE:$(PROGS)/develop/scancode/trunk/scancode.asm \ |
114 | develop/test_gets:DEVELOP/test_gets:$(PROGS)/develop/libraries/console/examples/test_gets.asm \ |
114 | develop/test_gets:DEVELOP/test_gets:$(PROGS)/develop/libraries/console/examples/test_gets.asm \ |
115 | develop/testcon2:DEVELOP/TESTCON2:$(PROGS)/develop/libraries/console/examples/testcon2.asm \ |
115 | develop/testcon2:DEVELOP/TESTCON2:$(PROGS)/develop/libraries/console/examples/testcon2.asm \ |
116 | develop/thread:DEVELOP/THREAD:$(PROGS)/develop/examples/thread/trunk/thread.asm \ |
116 | develop/thread:DEVELOP/THREAD:$(PROGS)/develop/examples/thread/trunk/thread.asm \ |
117 | drivers/atikms:DRIVERS/ATIKMS:$(REPOSITORY)/drivers/video/drm/radeon/atikms.asm \ |
117 | drivers/atikms:DRIVERS/ATIKMS:$(REPOSITORY)/drivers/video/drm/radeon/atikms.asm \ |
118 | drivers/com_mouse.obj:DRIVERS/COM_MOUSE.OBJ:$(KERNEL)/drivers/com_mouse.asm \ |
118 | drivers/com_mouse.obj:DRIVERS/COM_MOUSE.OBJ:$(KERNEL)/drivers/com_mouse.asm \ |
119 | drivers/emu10k1x.obj:DRIVERS/EMU10K1X.OBJ:$(KERNEL)/drivers/emu10k1x.asm \ |
119 | drivers/emu10k1x.obj:DRIVERS/EMU10K1X.OBJ:$(KERNEL)/drivers/emu10k1x.asm \ |
120 | drivers/fm801.obj:DRIVERS/FM801.OBJ:$(KERNEL)/drivers/fm801.asm \ |
120 | drivers/fm801.obj:DRIVERS/FM801.OBJ:$(KERNEL)/drivers/fm801.asm \ |
121 | drivers/infinity.obj:DRIVERS/INFINITY.OBJ:$(KERNEL)/drivers/infinity.asm \ |
121 | drivers/infinity.obj:DRIVERS/INFINITY.OBJ:$(KERNEL)/drivers/infinity.asm \ |
122 | drivers/ps2mouse.obj:DRIVERS/PS2MOUSE.OBJ:$(REPOSITORY)/drivers/mouse/ps2mouse4d/trunk/ps2mouse.asm \ |
122 | drivers/ps2mouse.obj:DRIVERS/PS2MOUSE.OBJ:$(REPOSITORY)/drivers/mouse/ps2mouse4d/trunk/ps2mouse.asm \ |
123 | drivers/sb16.obj:DRIVERS/SB16.OBJ:$(KERNEL)/drivers/sb16/sb16.asm \ |
123 | drivers/sb16.obj:DRIVERS/SB16.OBJ:$(KERNEL)/drivers/sb16/sb16.asm \ |
124 | drivers/sound.obj:DRIVERS/SOUND.OBJ:$(KERNEL)/drivers/sound.asm \ |
124 | drivers/sound.obj:DRIVERS/SOUND.OBJ:$(KERNEL)/drivers/sound.asm \ |
125 | drivers/vmode.mdr:DRIVERS/VMODE.MDR:$(KERNEL)/drivers/vmode.asm \ |
125 | drivers/vmode.mdr:DRIVERS/VMODE.MDR:$(KERNEL)/drivers/vmode.asm \ |
126 | drivers/vt8235.obj:DRIVERS/VT8235.OBJ:$(KERNEL)/drivers/vt823x.asm \ |
126 | drivers/vt8235.obj:DRIVERS/VT8235.OBJ:$(KERNEL)/drivers/vt823x.asm \ |
127 | File|Managers/kfar:File|Managers/KFAR:$(PROGS)/fs/kfar/trunk/kfar.asm \ |
127 | File|Managers/kfar:File|Managers/KFAR:$(PROGS)/fs/kfar/trunk/kfar.asm \ |
128 | File|Managers/kfm:File|Managers/KFM:$(PROGS)/fs/kfm/trunk/kfm.asm \ |
128 | File|Managers/kfm:File|Managers/KFM:$(PROGS)/fs/kfm/trunk/kfm.asm \ |
129 | File|Managers/OpenDial:File|Managers/OPENDIAL:$(PROGS)/develop/libraries/box_lib/asm/trunk/OpenDial.asm \ |
129 | File|Managers/OpenDial:File|Managers/OPENDIAL:$(PROGS)/develop/libraries/box_lib/asm/trunk/OpenDial.asm \ |
130 | fonts/bgitest:FONTS/BGITEST:$(PROGS)/demos/bgitest/trunk/bgitest.asm \ |
130 | fonts/bgitest:FONTS/BGITEST:$(PROGS)/demos/bgitest/trunk/bgitest.asm \ |
131 | games/15:GAMES/15:$(PROGS)/games/15/trunk/15.ASM \ |
131 | games/15:GAMES/15:$(PROGS)/games/15/trunk/15.ASM \ |
132 | games/arcanii:GAMES/ARCANII:$(PROGS)/games/arcanii/trunk/arcanii.asm \ |
132 | games/arcanii:GAMES/ARCANII:$(PROGS)/games/arcanii/trunk/arcanii.asm \ |
133 | games/bnc:GAMES/BNC:$(PROGS)/games/bnc/trunk/bnc.asm \ |
133 | games/bnc:GAMES/BNC:$(PROGS)/games/bnc/trunk/bnc.asm \ |
134 | games/gomoku:GAMES/GOMOKU:$(PROGS)/games/gomoku/trunk/gomoku.asm \ |
134 | games/gomoku:GAMES/GOMOKU:$(PROGS)/games/gomoku/trunk/gomoku.asm \ |
135 | games/msquare:GAMES/MSQUARE:$(PROGS)/games/MSquare/trunk/MSquare.asm \ |
135 | games/msquare:GAMES/MSQUARE:$(PROGS)/games/MSquare/trunk/MSquare.asm \ |
136 | games/sq_game:GAMES/SQ_GAME:$(PROGS)/games/sq_game/trunk/SQ_GAME.ASM \ |
136 | games/sq_game:GAMES/SQ_GAME:$(PROGS)/games/sq_game/trunk/SQ_GAME.ASM \ |
137 | games/sudoku:GAMES/SUDOKU:$(PROGS)/games/sudoku/trunk/sudoku.asm \ |
137 | games/sudoku:GAMES/SUDOKU:$(PROGS)/games/sudoku/trunk/sudoku.asm \ |
138 | games/freecell:GAMES/FREECELL:$(PROGS)/games/freecell/freecell.ASM \ |
138 | games/freecell:GAMES/FREECELL:$(PROGS)/games/freecell/freecell.ASM \ |
139 | games/invaders:GAMES/INVADERS:$(PROGS)/games/invaders/invaders.asm \ |
139 | games/invaders:GAMES/INVADERS:$(PROGS)/games/invaders/invaders.asm \ |
140 | games/kox:GAMES/KOX:$(PROGS)/games/kox/trunk/kox.asm \ |
140 | games/kox:GAMES/KOX:$(PROGS)/games/kox/trunk/kox.asm \ |
141 | games/lights:GAMES/LIGHTS:$(PROGS)/games/lights/trunk/lights.asm \ |
141 | games/lights:GAMES/LIGHTS:$(PROGS)/games/lights/trunk/lights.asm \ |
142 | games/lines:GAMES/LINES:$(PROGS)/games/lines/lines.asm \ |
142 | games/lines:GAMES/LINES:$(PROGS)/games/lines/lines.asm \ |
143 | games/mblocks:GAMES/MBLOCKS:$(PROGS)/games/mblocks/trunk/mblocks.asm \ |
143 | games/mblocks:GAMES/MBLOCKS:$(PROGS)/games/mblocks/trunk/mblocks.asm \ |
144 | games/phenix:GAMES/PHENIX:$(PROGS)/games/phenix/trunk/phenix.asm \ |
144 | games/phenix:GAMES/PHENIX:$(PROGS)/games/phenix/trunk/phenix.asm \ |
145 | games/pipes:GAMES/PIPES:$(PROGS)/games/pipes/pipes.asm \ |
145 | games/pipes:GAMES/PIPES:$(PROGS)/games/pipes/pipes.asm \ |
146 | games/pong:GAMES/PONG:$(PROGS)/games/pong/trunk/pong.asm \ |
146 | games/pong:GAMES/PONG:$(PROGS)/games/pong/trunk/pong.asm \ |
147 | games/pong3:GAMES/PONG3:$(PROGS)/games/pong3/trunk/pong3.asm \ |
147 | games/pong3:GAMES/PONG3:$(PROGS)/games/pong3/trunk/pong3.asm \ |
148 | games/rsquare:GAMES/RSQUARE:$(PROGS)/games/rsquare/trunk/rsquare.asm \ |
148 | games/rsquare:GAMES/RSQUARE:$(PROGS)/games/rsquare/trunk/rsquare.asm \ |
149 | games/snake:GAMES/SNAKE:$(PROGS)/games/snake/trunk/snake.asm \ |
149 | games/snake:GAMES/SNAKE:$(PROGS)/games/snake/trunk/snake.asm \ |
150 | games/sw:GAMES/SW:$(PROGS)/games/sw/trunk/sw.asm \ |
150 | games/sw:GAMES/SW:$(PROGS)/games/sw/trunk/sw.asm \ |
151 | games/tetris:GAMES/TETRIS:$(PROGS)/games/tetris/trunk/tetris.asm \ |
151 | games/tetris:GAMES/TETRIS:$(PROGS)/games/tetris/trunk/tetris.asm \ |
152 | lib/archiver.obj:LIB/ARCHIVER.OBJ:$(PROGS)/fs/kfar/trunk/kfar_arc/kfar_arc.asm \ |
152 | lib/archiver.obj:LIB/ARCHIVER.OBJ:$(PROGS)/fs/kfar/trunk/kfar_arc/kfar_arc.asm \ |
153 | lib/box_lib.obj:LIB/BOX_LIB.OBJ:$(PROGS)/develop/libraries/box_lib/trunk/box_lib.asm \ |
153 | lib/box_lib.obj:LIB/BOX_LIB.OBJ:$(PROGS)/develop/libraries/box_lib/trunk/box_lib.asm \ |
154 | lib/console.obj:LIB/CONSOLE.OBJ:$(PROGS)/develop/libraries/console/console.asm \ |
154 | lib/console.obj:LIB/CONSOLE.OBJ:$(PROGS)/develop/libraries/console/console.asm \ |
155 | lib/libgfx.obj:LIB/LIBGFX.OBJ:$(PROGS)/develop/libraries/libs-dev/libgfx/libgfx.asm \ |
155 | lib/libgfx.obj:LIB/LIBGFX.OBJ:$(PROGS)/develop/libraries/libs-dev/libgfx/libgfx.asm \ |
156 | lib/libimg.obj:LIB/LIBIMG.OBJ:$(PROGS)/develop/libraries/libs-dev/libimg/libimg.asm \ |
156 | lib/libimg.obj:LIB/LIBIMG.OBJ:$(PROGS)/develop/libraries/libs-dev/libimg/libimg.asm \ |
157 | lib/libini.obj:LIB/LIBINI.OBJ:$(PROGS)/develop/libraries/libs-dev/libini/libini.asm \ |
157 | lib/libini.obj:LIB/LIBINI.OBJ:$(PROGS)/develop/libraries/libs-dev/libini/libini.asm \ |
158 | lib/libio.obj:LIB/LIBIO.OBJ:$(PROGS)/develop/libraries/libs-dev/libio/libio.asm \ |
158 | lib/libio.obj:LIB/LIBIO.OBJ:$(PROGS)/develop/libraries/libs-dev/libio/libio.asm \ |
159 | lib/network.obj:LIB/NETWORK.OBJ:$(PROGS)/develop/libraries/network/network.asm \ |
159 | lib/network.obj:LIB/NETWORK.OBJ:$(PROGS)/develop/libraries/network/network.asm \ |
160 | lib/proc_lib.obj:LIB/PROC_LIB.OBJ:$(PROGS)/develop/libraries/proc_lib/trunk/proc_lib.asm \ |
160 | lib/proc_lib.obj:LIB/PROC_LIB.OBJ:$(PROGS)/develop/libraries/proc_lib/trunk/proc_lib.asm \ |
161 | media/animage:MEDIA/ANIMAGE:$(PROGS)/media/animage/trunk/animage.asm \ |
161 | media/animage:MEDIA/ANIMAGE:$(PROGS)/media/animage/trunk/animage.asm \ |
162 | media/cdp:MEDIA/CDP:$(PROGS)/media/cdp/trunk/cdp.asm \ |
162 | media/cdp:MEDIA/CDP:$(PROGS)/media/cdp/trunk/cdp.asm \ |
163 | media/kiv:MEDIA/KIV:$(PROGS)/media/kiv/trunk/kiv.asm \ |
163 | media/kiv:MEDIA/KIV:$(PROGS)/media/kiv/trunk/kiv.asm \ |
164 | media/midamp:MEDIA/MIDAMP:$(PROGS)/media/midamp/trunk/midamp.asm \ |
164 | media/midamp:MEDIA/MIDAMP:$(PROGS)/media/midamp/trunk/midamp.asm \ |
165 | media/listplay:MEDIA/LISTPLAY:$(PROGS)/media/listplay/trunk/listplay.asm \ |
165 | media/listplay:MEDIA/LISTPLAY:$(PROGS)/media/listplay/trunk/listplay.asm \ |
166 | media/startmus:MEDIA/STARTMUS:$(PROGS)/media/startmus/trunk/STARTMUS.ASM \ |
166 | media/startmus:MEDIA/STARTMUS:$(PROGS)/media/startmus/trunk/STARTMUS.ASM \ |
167 | network/airc:NETWORK/AIRC:$(PROGS)/network/airc/trunk/airc.asm \ |
167 | network/airc:NETWORK/AIRC:$(PROGS)/network/airc/trunk/airc.asm \ |
168 | network/arpstat:NETWORK/ARPSTAT:$(PROGS)/network/arpstat/trunk/arpstat.asm \ |
168 | network/arpstat:NETWORK/ARPSTAT:$(PROGS)/network/arpstat/trunk/arpstat.asm \ |
169 | network/chess:NETWORK/CHESS:$(PROGS)/network/chess/trunk/chess.asm \ |
169 | network/chess:NETWORK/CHESS:$(PROGS)/network/chess/trunk/chess.asm \ |
170 | network/ethstat:NETWORK/ETHSTAT:$(PROGS)/network/ethstat/trunk/ethstat.asm \ |
170 | network/ethstat:NETWORK/ETHSTAT:$(PROGS)/network/ethstat/trunk/ethstat.asm \ |
171 | network/ftps:NETWORK/FTPS:$(PROGS)/network/ftps/trunk/FTPS.ASM \ |
171 | network/ftps:NETWORK/FTPS:$(PROGS)/network/ftps/trunk/FTPS.ASM \ |
172 | network/httpc:NETWORK/HTTPC:$(PROGS)/network/httpc/trunk/httpc.asm \ |
172 | network/httpc:NETWORK/HTTPC:$(PROGS)/network/httpc/trunk/httpc.asm \ |
173 | network/https:NETWORK/HTTPS:$(PROGS)/network/https/trunk/https.asm \ |
173 | network/https:NETWORK/HTTPS:$(PROGS)/network/https/trunk/https.asm \ |
174 | network/nntpc:NETWORK/NNTPC:$(PROGS)/network/nntpc/trunk/nntpc.asm \ |
174 | network/nntpc:NETWORK/NNTPC:$(PROGS)/network/nntpc/trunk/nntpc.asm \ |
175 | network/nslookup:NETWORK/NSLOOKUP:$(PROGS)/develop/libraries/network/examples/nslookup.asm \ |
175 | network/nslookup:NETWORK/NSLOOKUP:$(PROGS)/develop/libraries/network/examples/nslookup.asm \ |
176 | network/popc:NETWORK/POPC:$(PROGS)/network/popc/trunk/popc.asm \ |
176 | network/popc:NETWORK/POPC:$(PROGS)/network/popc/trunk/popc.asm \ |
177 | network/smtps:NETWORK/SMTPS:$(PROGS)/network/smtps/trunk/smtps.asm \ |
177 | network/smtps:NETWORK/SMTPS:$(PROGS)/network/smtps/trunk/smtps.asm \ |
178 | network/stackcfg:NETWORK/STACKCFG:$(PROGS)/network/stackcfg/trunk/stackcfg.asm \ |
178 | network/stackcfg:NETWORK/STACKCFG:$(PROGS)/network/stackcfg/trunk/stackcfg.asm \ |
179 | network/telnet:NETWORK/TELNET:$(PROGS)/network/telnet/trunk/telnet.asm \ |
179 | network/telnet:NETWORK/TELNET:$(PROGS)/network/telnet/trunk/telnet.asm \ |
180 | network/tftpc:NETWORK/TFTPC:$(PROGS)/network/tftpc/trunk/tftpc.asm \ |
180 | network/tftpc:NETWORK/TFTPC:$(PROGS)/network/tftpc/trunk/tftpc.asm \ |
181 | network/VNCclient:NETWORK/VNCclient:$(PROGS)/network/VNCclient/VNCclient.asm \ |
181 | network/VNCclient:NETWORK/VNCclient:$(PROGS)/network/VNCclient/VNCclient.asm \ |
182 | network/ym:NETWORK/YM:$(PROGS)/network/ym/trunk/ym.asm \ |
182 | network/ym:NETWORK/YM:$(PROGS)/network/ym/trunk/ym.asm \ |
183 | network/zeroconf:NETWORK/ZEROCONF:$(PROGS)/network/zeroconf/trunk/zeroconf.asm \ |
183 | network/zeroconf:NETWORK/ZEROCONF:$(PROGS)/network/zeroconf/trunk/zeroconf.asm \ |
184 | # end of list |
184 | # end of list |
185 | 185 | ||
186 | # The list of all NASM programs with one main NASM file. |
186 | # The list of all NASM programs with one main NASM file. |
187 | # Format of an item is exactly the same as in the previous list. |
187 | # Format of an item is exactly the same as in the previous list. |
188 | NASM_PROGRAMS:=\ |
188 | NASM_PROGRAMS:=\ |
189 | demos/aclock:DEMOS/ACLOCK:$(PROGS)/demos/aclock/trunk/aclock.asm \ |
189 | demos/aclock:DEMOS/ACLOCK:$(PROGS)/demos/aclock/trunk/aclock.asm \ |
190 | games/c4:GAMES/C4:$(PROGS)/games/c4/trunk/c4.asm \ |
190 | games/c4:GAMES/C4:$(PROGS)/games/c4/trunk/c4.asm \ |
191 | # end of list |
191 | # end of list |
192 | 192 | ||
193 | # The list of files which should be copied from somewhere. |
193 | # The list of files which should be copied from somewhere. |
194 | # Format of an item is exactly the same as in the previous list. |
194 | # Format of an item is exactly the same as in the previous list. |
195 | COPY_FILES:=\ |
195 | COPY_FILES:=\ |
196 | macros.inc:MACROS.INC:$(PROGS)/macros.inc \ |
196 | macros.inc:MACROS.INC:$(PROGS)/macros.inc \ |
197 | config.inc:CONFIG.INC:$(PROGS)/config.inc \ |
197 | config.inc:CONFIG.INC:$(PROGS)/config.inc \ |
198 | struct.inc:STRUCT.INC:$(PROGS)/struct.inc \ |
198 | struct.inc:STRUCT.INC:$(PROGS)/struct.inc \ |
199 | File|Managers/z_icons.png:File|Managers/Z_ICONS.PNG:$(PROGS)/develop/libraries/box_lib/asm/trunk/z_icons.png \ |
199 | File|Managers/z_icons.png:File|Managers/Z_ICONS.PNG:$(PROGS)/develop/libraries/box_lib/asm/trunk/z_icons.png \ |
200 | File|Managers/kfm_keys.txt:File|Managers/KFM_KEYS.TXT:$(PROGS)/fs/kfm/trunk/docs/russian/dos_kolibri/kfm_keys.txt \ |
200 | File|Managers/kfm_keys.txt:File|Managers/KFM_KEYS.TXT:$(PROGS)/fs/kfm/trunk/docs/russian/dos_kolibri/kfm_keys.txt \ |
201 | File|Managers/buttons.bmp:File|Managers/BUTTONS.BMP:$(PROGS)/fs/kfm/trunk/buttons.bmp \ |
201 | File|Managers/buttons.bmp:File|Managers/BUTTONS.BMP:$(PROGS)/fs/kfm/trunk/buttons.bmp \ |
202 | File|Managers/icons.bmp:File|Managers/ICONS.BMP:$(PROGS)/fs/kfm/trunk/icons.bmp \ |
202 | File|Managers/icons.bmp:File|Managers/ICONS.BMP:$(PROGS)/fs/kfm/trunk/icons.bmp \ |
203 | fonts/euro.chr:FONTS/EURO.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/EURO.CHR \ |
203 | fonts/euro.chr:FONTS/EURO.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/EURO.CHR \ |
204 | fonts/goth.chr:FONTS/GOTH.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/GOTH.CHR \ |
204 | fonts/goth.chr:FONTS/GOTH.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/GOTH.CHR \ |
205 | fonts/lcom.chr:FONTS/LCOM.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/LCOM.CHR \ |
205 | fonts/lcom.chr:FONTS/LCOM.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/LCOM.CHR \ |
206 | fonts/litt.chr:FONTS/LITT.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/LITT.CHR \ |
206 | fonts/litt.chr:FONTS/LITT.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/LITT.CHR \ |
207 | fonts/sans.chr:FONTS/SANS.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SANS.CHR \ |
207 | fonts/sans.chr:FONTS/SANS.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SANS.CHR \ |
208 | fonts/scri.chr:FONTS/SCRI.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SCRI.CHR \ |
208 | fonts/scri.chr:FONTS/SCRI.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SCRI.CHR \ |
209 | fonts/simp.chr:FONTS/SIMP.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SIMP.CHR \ |
209 | fonts/simp.chr:FONTS/SIMP.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SIMP.CHR \ |
210 | fonts/smal.chr:FONTS/SMAL.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SMAL.CHR \ |
210 | fonts/smal.chr:FONTS/SMAL.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/SMAL.CHR \ |
211 | fonts/trip.chr:FONTS/TRIP.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TRIP.CHR \ |
211 | fonts/trip.chr:FONTS/TRIP.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TRIP.CHR \ |
212 | fonts/tscr.chr:FONTS/TSCR.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TSCR.CHR \ |
212 | fonts/tscr.chr:FONTS/TSCR.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TSCR.CHR \ |
213 | games/snake.ini:GAMES/SNAKE.INI:$(PROGS)/games/snake/trunk/snake.ini |
213 | games/snake.ini:GAMES/SNAKE.INI:$(PROGS)/games/snake/trunk/snake.ini |
214 | 214 | ||
215 | # The list of all C-- programs with one main C-- file. |
215 | # The list of all C-- programs with one main C-- file. |
216 | # Format of an item is exactly the same as in the previous list, |
216 | # Format of an item is exactly the same as in the previous list, |
217 | # except that there can be fourth field with parameters for a compiler. |
217 | # except that there can be fourth field with parameters for a compiler. |
218 | CMM_PROGRAMS:=\ |
218 | CMM_PROGRAMS:=\ |
219 | File|Managers/eolite:File|Managers/EOLITE:$(PROGS)/fs/Eolite/trunk/Eolite.c-- \ |
219 | File|Managers/eolite:File|Managers/EOLITE:$(PROGS)/fs/Eolite/trunk/Eolite.c-- \ |
220 | games/clicks:GAMES/CLICKS:$(PROGS)/games/clicks/trunk/clicks.c-- \ |
220 | games/clicks:GAMES/CLICKS:$(PROGS)/games/clicks/trunk/clicks.c-- \ |
221 | games/FindNumbers:GAMES/FindNumbers:$(PROGS)/games/FindNumbers/trunk/FindNumbers.c-- \ |
221 | games/FindNumbers:GAMES/FindNumbers:$(PROGS)/games/FindNumbers/trunk/FindNumbers.c-- \ |
222 | games/mine:GAMES/MINE:$(PROGS)/games/mine/trunk/mine.c--:/MEOS \ |
222 | games/mine:GAMES/MINE:$(PROGS)/games/mine/trunk/mine.c--:/MEOS \ |
223 | # end if list |
223 | # end if list |
224 | 224 | ||
225 | # List of other files to be included in the image file. |
225 | # List of other files to be included in the image file. |
226 | # Some of them are auto-built with special rules, some just exist before build. |
226 | # Some of them are auto-built with special rules, some just exist before build. |
227 | # Each item is of the form |
227 | # Each item is of the form |
228 | # Spaces should be represented as |. |
228 | # Spaces should be represented as |. |
229 | OTHER_FILES:=asciivju:ASCIIVJU autorun.dat:AUTORUN.DAT \ |
229 | OTHER_FILES:=asciivju:ASCIIVJU autorun.dat:AUTORUN.DAT \ |
230 | background.gif:background.gif default.skn:DEFAULT.SKN \ |
230 | background.gif:background.gif default.skn:DEFAULT.SKN \ |
231 | e80:E80 graph:GRAPH hdread:HDREAD htmlv:HTMLV \ |
231 | e80:E80 graph:GRAPH hdread:HDREAD htmlv:HTMLV \ |
232 | icons.dat:ICONS.DAT iconstrp.gif:ICONSTRP.GIF index_htm:INDEX.HTM \ |
232 | icons.dat:ICONS.DAT iconstrp.gif:ICONSTRP.GIF index_htm:INDEX.HTM \ |
233 | kernel.mnt:KERNEL.MNT kerpack:KERPACK keymap.key:KEYMAP.KEY \ |
233 | kernel.mnt:KERNEL.MNT kerpack:KERPACK keymap.key:KEYMAP.KEY \ |
234 | kuzkina.mid:KUZKINA.MID lang.inc:LANG.INC lang.ini:LANG.INI \ |
234 | kuzkina.mid:KUZKINA.MID lang.inc:LANG.INC lang.ini:LANG.INI \ |
235 | menu.dat:MENU.DAT \ |
235 | menu.dat:MENU.DAT \ |
236 | panel.dat:PANEL.DAT pipetka:PIPETKA setup.dat:SETUP.DAT \ |
236 | panel.dat:PANEL.DAT pipetka:PIPETKA setup.dat:SETUP.DAT \ |
237 | shell:SHELL table:TABLE \ |
237 | shell:SHELL table:TABLE \ |
238 | vmode:VMODE 3d/3dsheart:3D/3DSHEART \ |
238 | vmode:VMODE 3d/3dsheart:3D/3DSHEART \ |
239 | 3d/cubeline:3D/CUBELINE 3d/gears:3D/GEARS 3d/house.3ds:3D/HOUSE.3DS \ |
239 | 3d/cubeline:3D/CUBELINE 3d/gears:3D/GEARS 3d/house.3ds:3D/HOUSE.3DS \ |
240 | demos/ak47.lif:DEMOS/AK47.LIF \ |
240 | demos/ak47.lif:DEMOS/AK47.LIF \ |
241 | demos/barge.lif:DEMOS/BARGE.LIF demos/life2:DEMOS/LIFE2 \ |
241 | demos/barge.lif:DEMOS/BARGE.LIF demos/life2:DEMOS/LIFE2 \ |
242 | demos/relay.lif:DEMOS/RELAY.LIF demos/rpento.lif:DEMOS/RPENTO.LIF \ |
242 | demos/relay.lif:DEMOS/RELAY.LIF demos/rpento.lif:DEMOS/RPENTO.LIF \ |
243 | demos/use_mb:DEMOS/USE_MB \ |
243 | demos/use_mb:DEMOS/USE_MB \ |
244 | drivers/atikms.dll:DRIVERS/ATIKMS.DLL \ |
244 | drivers/atikms.dll:DRIVERS/ATIKMS.DLL \ |
245 | File|Managers/eolite.ini:File|Managers/EOLITE.INI \ |
245 | File|Managers/eolite.ini:File|Managers/EOLITE.INI \ |
246 | File|Managers/icons.ini:File|Managers/ICONS.INI \ |
246 | File|Managers/icons.ini:File|Managers/ICONS.INI \ |
247 | File|Managers/kfar.ini:File|Managers/KFAR.INI \ |
247 | File|Managers/kfar.ini:File|Managers/KFAR.INI \ |
248 | File|Managers/kfm.ini:File|Managers/KFM.INI \ |
248 | File|Managers/kfm.ini:File|Managers/KFM.INI \ |
249 | fonts/bold.chr:FONTS/BOLD.CHR fonts/char2.mt:FONTS/CHAR2.MT \ |
249 | fonts/bold.chr:FONTS/BOLD.CHR fonts/char2.mt:FONTS/CHAR2.MT \ |
250 | fonts/char.mt:FONTS/CHAR.MT \ |
250 | fonts/char.mt:FONTS/CHAR.MT \ |
251 | games/appdata.dat:GAMES/APPDATA.DAT games/ataka:GAMES/ATAKA \ |
251 | games/appdata.dat:GAMES/APPDATA.DAT games/ataka:GAMES/ATAKA \ |
252 | games/basekurs.kla:GAMES/BASEKURS.KLA games/checkers:GAMES/CHECKERS \ |
252 | games/basekurs.kla:GAMES/BASEKURS.KLA games/checkers:GAMES/CHECKERS \ |
253 | games/klavisha:GAMES/KLAVISHA games/kosilka:GAMES/KOSILKA \ |
253 | games/klavisha:GAMES/KLAVISHA games/kosilka:GAMES/KOSILKA \ |
254 | games/kosskin.gfx:GAMES/KOSSKIN.GFX games/megamaze:GAMES/MEGAMAZE \ |
254 | games/kosskin.gfx:GAMES/KOSSKIN.GFX games/megamaze:GAMES/MEGAMAZE \ |
255 | games/padenie:GAMES/PADENIE \ |
255 | games/padenie:GAMES/PADENIE \ |
256 | games/reversi:GAMES/REVERSI games/rforces:GAMES/RFORCES \ |
256 | games/reversi:GAMES/REVERSI games/rforces:GAMES/RFORCES \ |
257 | games/whowtbam:GAMES/WHOWTBAM games/xonix:GAMES/XONIX \ |
257 | games/whowtbam:GAMES/WHOWTBAM games/xonix:GAMES/XONIX \ |
258 | lib/cnv_png.obj:LIB/CNV_PNG.OBJ lib/msgbox.obj:LIB/MSGBOX.OBJ \ |
258 | lib/cnv_png.obj:LIB/CNV_PNG.OBJ lib/msgbox.obj:LIB/MSGBOX.OBJ \ |
259 | lib/pixlib.obj:LIB/PIXLIB.OBJ lib/sort.obj:LIB/SORT.OBJ \ |
259 | lib/pixlib.obj:LIB/PIXLIB.OBJ lib/sort.obj:LIB/SORT.OBJ \ |
260 | media/ac97snd:MEDIA/AC97SND media/kiv.ini:MEDIA/KIV.INI \ |
260 | media/ac97snd:MEDIA/AC97SND media/kiv.ini:MEDIA/KIV.INI \ |
261 | network/jmail:NETWORK/JMAIL network/zeroconf.ini:NETWORK/ZEROCONF.INI \ |
261 | network/jmail:NETWORK/JMAIL network/zeroconf.ini:NETWORK/ZEROCONF.INI \ |
262 | #end of list |
262 | #end of list |
263 | #3d/logio.bmp:3D/LOGIO.BMP 3d/cubetext:3D/CUBETEXT |
263 | #3d/logio.bmp:3D/LOGIO.BMP 3d/cubetext:3D/CUBETEXT |
264 | 264 | ||
265 | # Some macro for convenient work. |
265 | # Some macro for convenient work. |
266 | # Macros for replacing '|' to escaped space '\ '. |
266 | # Macros for replacing '|' to escaped space '\ '. |
267 | space:=\ #plus space |
267 | space:=\ #plus space |
268 | respace=$(subst |,$(space),$(1)) |
268 | respace=$(subst |,$(space),$(1)) |
269 | # Macro for selecting different parts of ':'-separated items. |
269 | # Macro for selecting different parts of ':'-separated items. |
270 | binarypart=$(word 1,$(subst :, ,$(1))) |
270 | binarypart=$(word 1,$(subst :, ,$(1))) |
271 | imagepart=$(word 2,$(subst :, ,$(1))) |
271 | imagepart=$(word 2,$(subst :, ,$(1))) |
272 | sourcepart=$(word 3,$(subst :, ,$(1))) |
272 | sourcepart=$(word 3,$(subst :, ,$(1))) |
273 | parampart=$(word 4,$(subst :, ,$(1))) |
273 | parampart=$(word 4,$(subst :, ,$(1))) |
274 | # Get file names, possibly with spaces inside, from an item. |
274 | # Get file names, possibly with spaces inside, from an item. |
275 | # Here $(f) is an item - in fact, macro argument. |
275 | # Here $(f) is an item - in fact, macro argument. |
276 | fbinary=$(call respace,$(call binarypart,$(f))) |
276 | fbinary=$(call respace,$(call binarypart,$(f))) |
277 | fimage=$(call respace,$(call imagepart,$(f))) |
277 | fimage=$(call respace,$(call imagepart,$(f))) |
278 | fsource=$(call respace,$(call sourcepart,$(f))) |
278 | fsource=$(call respace,$(call sourcepart,$(f))) |
279 | fparam=$(call respace,$(call parampart,$(f))) |
279 | fparam=$(call respace,$(call parampart,$(f))) |
280 | 280 | ||
281 | # Define targets for image file. |
281 | # Define targets for image file. |
282 | # Join all the lists above. |
282 | # Join all the lists above. |
283 | targets_full:=$(COPY_FILES) $(FASM_PROGRAMS) $(NASM_PROGRAMS) $(OTHER_FILES) $(CMM_PROGRAMS) |
283 | targets_full:=$(COPY_FILES) $(FASM_PROGRAMS) $(NASM_PROGRAMS) $(OTHER_FILES) $(CMM_PROGRAMS) |
284 | # For each item in the united list call fbinary. |
284 | # For each item in the united list call fbinary. |
285 | targets:=$(foreach f,$(targets_full),$(fbinary)) |
285 | targets:=$(foreach f,$(targets_full),$(fbinary)) |
286 | 286 | ||
287 | # Define a command for copying a file inside the image. |
287 | # Define a command for copying a file inside the image. |
288 | # mcopy_command is a macro with two parameters, |
288 | # mcopy_command is a macro with two parameters, |
289 | # local file name $(1) and image file name $(2). |
289 | # local file name $(1) and image file name $(2). |
290 | # Note that spaces in these have to be escaped with backslashes. |
290 | # Note that spaces in these have to be escaped with backslashes. |
291 | mcopy_command=mcopy -moi $(BUILD_DIR)/kolibri.img $(1) ::$(2) |
291 | mcopy_command=mcopy -moi $(BUILD_DIR)/kolibri.img $(1) ::$(2) |
292 | # Specialize a previous command for an item $(f) in one of lists. |
292 | # Specialize a previous command for an item $(f) in one of lists. |
293 | mcopy_item_command=$(call mcopy_command,$(fbinary),$(fimage)) |
293 | mcopy_item_command=$(call mcopy_command,$(fbinary),$(fimage)) |
294 | 294 | ||
295 | # Join all $(mcopy_item_command) for all items, |
295 | # Join all $(mcopy_item_command) for all items, |
296 | # append newline after each item. |
296 | # append newline after each item. |
297 | # The first newline character after "define" line and |
297 | # The first newline character after "define" line and |
298 | # the last newline character before "endef" line get away |
298 | # the last newline character before "endef" line get away |
299 | # with define/endef, so we make three newline characters, |
299 | # with define/endef, so we make three newline characters, |
300 | # that is two empty lines, in order to get one in $(newline). |
300 | # that is two empty lines, in order to get one in $(newline). |
301 | define newline |
301 | define newline |
302 | 302 | ||
303 | 303 | ||
304 | endef |
304 | endef |
305 | mcopy_all_items:=$(foreach f,$(targets_full),$(mcopy_item_command)$(newline)) |
305 | mcopy_all_items:=$(foreach f,$(targets_full),$(mcopy_item_command)$(newline)) |
306 | 306 | ||
307 | # The main goal: image. |
307 | # The main goal: image. |
308 | $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \ |
308 | $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \ |
309 | Makefile \ |
309 | Makefile \ |
310 | $(BUILD_DIR)/boot_fat12.bin \ |
310 | $(BUILD_DIR)/boot_fat12.bin \ |
311 | $(targets) |
311 | $(targets) |
312 | # SYSXTREE |
312 | # SYSXTREE |
313 | # 3d/CUBETEXT |
313 | # 3d/CUBETEXT |
314 | # 3d/LOGIO.BMP |
314 | # 3d/LOGIO.BMP |
315 | str=`LANG=ru_RU.utf8 date -u +"[автосборка %d %b %Y %R из r$(REV)]"|iconv -f utf8 -t cp866`; \ |
315 | str=`LANG=ru_RU.utf8 date -u +"[автосборка %d %b %Y %R, r$(REV)]"|iconv -f utf8 -t cp866`; \ |
316 | echo -n $$str|dd of=kernel.mnt bs=1 seek=`expr 279 - length "$$str"` conv=notrunc 2>/dev/null |
316 | echo -n $$str|dd of=kernel.mnt bs=1 seek=`expr 279 - length "$$str"` conv=notrunc 2>/dev/null |
317 | dd if=/dev/zero of=$(BUILD_DIR)/kolibri.img count=2880 bs=512 2>&1 |
317 | dd if=/dev/zero of=$(BUILD_DIR)/kolibri.img count=2880 bs=512 2>&1 |
318 | mformat -f 1440 -i $(BUILD_DIR)/kolibri.img :: |
318 | mformat -f 1440 -i $(BUILD_DIR)/kolibri.img :: |
319 | dd if=$(BUILD_DIR)/boot_fat12.bin of=$(BUILD_DIR)/kolibri.img count=1 bs=512 conv=notrunc 2>&1 |
319 | dd if=$(BUILD_DIR)/boot_fat12.bin of=$(BUILD_DIR)/kolibri.img count=1 bs=512 conv=notrunc 2>&1 |
320 | mmd -i $(BUILD_DIR)/kolibri.img ::3D |
320 | mmd -i $(BUILD_DIR)/kolibri.img ::3D |
321 | mmd -i $(BUILD_DIR)/kolibri.img ::DEMOS |
321 | mmd -i $(BUILD_DIR)/kolibri.img ::DEMOS |
322 | mmd -i $(BUILD_DIR)/kolibri.img ::DEVELOP |
322 | mmd -i $(BUILD_DIR)/kolibri.img ::DEVELOP |
323 | mmd -i $(BUILD_DIR)/kolibri.img ::DRIVERS |
323 | mmd -i $(BUILD_DIR)/kolibri.img ::DRIVERS |
324 | mmd -i $(BUILD_DIR)/kolibri.img ::File\ Managers |
324 | mmd -i $(BUILD_DIR)/kolibri.img ::File\ Managers |
325 | mmd -i $(BUILD_DIR)/kolibri.img ::FONTS |
325 | mmd -i $(BUILD_DIR)/kolibri.img ::FONTS |
326 | mmd -i $(BUILD_DIR)/kolibri.img ::GAMES |
326 | mmd -i $(BUILD_DIR)/kolibri.img ::GAMES |
327 | mmd -i $(BUILD_DIR)/kolibri.img ::LIB |
327 | mmd -i $(BUILD_DIR)/kolibri.img ::LIB |
328 | mmd -i $(BUILD_DIR)/kolibri.img ::MEDIA |
328 | mmd -i $(BUILD_DIR)/kolibri.img ::MEDIA |
329 | mmd -i $(BUILD_DIR)/kolibri.img ::NETWORK |
329 | mmd -i $(BUILD_DIR)/kolibri.img ::NETWORK |
330 | $(mcopy_all_items) |
330 | $(mcopy_all_items) |
331 | 331 | ||
332 | # Special targets to modify behaviour of make. |
332 | # Special targets to modify behaviour of make. |
333 | .DELETE_ON_ERROR: |
333 | .DELETE_ON_ERROR: |
334 | .SUFFIXES: # disable all predefined rules |
334 | .SUFFIXES: # disable all predefined rules |
335 | 335 | ||
336 | # The floppy bootsector. |
336 | # The floppy bootsector. |
337 | $(BUILD_DIR)/boot_fat12.bin: $(KERNEL)/bootloader/boot_fat12.asm $(KERNEL)/bootloader/floppy1440.inc |
337 | $(BUILD_DIR)/boot_fat12.bin: $(KERNEL)/bootloader/boot_fat12.asm $(KERNEL)/bootloader/floppy1440.inc |
338 | fasm $(KERNEL)/bootloader/boot_fat12.asm $(BUILD_DIR)/boot_fat12.bin |
338 | fasm $(KERNEL)/bootloader/boot_fat12.asm $(BUILD_DIR)/boot_fat12.bin |
339 | 339 | ||
340 | $(BUILD_DIR)/.dir 3d/.dir demos/.dir develop/.dir drivers/.dir fonts/.dir \ |
340 | $(BUILD_DIR)/.dir 3d/.dir demos/.dir develop/.dir drivers/.dir fonts/.dir \ |
341 | games/.dir lib/.dir media/.dir network/.dir .deps/.dir: |
341 | games/.dir lib/.dir media/.dir network/.dir .deps/.dir: |
342 | mkdir -p $(dir $@) |
342 | mkdir -p $(dir $@) |
343 | touch $@ |
343 | touch $@ |
344 | File\ Managers/.dir: |
344 | File\ Managers/.dir: |
345 | mkdir -p "File Managers" |
345 | mkdir -p "File Managers" |
346 | touch "File Managers/.dir" |
346 | touch "File Managers/.dir" |
347 | 347 | ||
348 | # FASM black magic goes to Makefile.fasm. |
348 | # FASM black magic goes to Makefile.fasm. |
349 | include Makefile.fasm |
349 | include Makefile.fasm |
350 | 350 | ||
351 | # Similar for NASM. |
351 | # Similar for NASM. |
352 | include Makefile.nasm |
352 | include Makefile.nasm |
353 | 353 | ||
354 | # Similar for copying files. |
354 | # Similar for copying files. |
355 | include Makefile.copy |
355 | include Makefile.copy |
356 | 356 | ||
357 | # Special rules for copying sysfuncr.txt - it isn't directly included in the image. |
357 | # Special rules for copying sysfuncr.txt - it isn't directly included in the image. |
358 | docpak: $(DOCDIR)SYSFUNCR.TXT $(wildcard $(DOCDIR)*) |
358 | docpak: $(DOCDIR)SYSFUNCR.TXT $(wildcard $(DOCDIR)*) |
359 | $(DOCDIR)SYSFUNCR.TXT: $(KERNEL)/docs/sysfuncr.txt |
359 | $(DOCDIR)SYSFUNCR.TXT: $(KERNEL)/docs/sysfuncr.txt |
360 | cp $(KERNEL)/docs/sysfuncr.txt $(DOCDIR)SYSFUNCR.TXT |
360 | cp $(KERNEL)/docs/sysfuncr.txt $(DOCDIR)SYSFUNCR.TXT |
361 | 361 | ||
362 | # Similar for C--. |
362 | # Similar for C--. |
363 | include Makefile.cmm |
363 | include Makefile.cmm |
364 | 364 | ||
365 | # Sorry, even black magic seems to be insufficient for |
365 | # Sorry, even black magic seems to be insufficient for |
366 | # auto-handling all subtle effects. So we just define |
366 | # auto-handling all subtle effects. So we just define |
367 | # command lines for compiling and linking, and |
367 | # command lines for compiling and linking, and |
368 | # maintain the list of sources and objects by hand. |
368 | # maintain the list of sources and objects by hand. |
369 | include Makefile.msvc |
369 | include Makefile.msvc |
370 | 370 | ||
371 | # Rules for table |
371 | # Rules for table |
372 | table: .obj.table/table.exe |
372 | table: .obj.table/table.exe |
373 | $(msvc_final) |
373 | $(msvc_final) |
374 | TABLE_OBJECTS:=.obj.table/calc.obj .obj.table/func.obj .obj.table/hello.obj \ |
374 | TABLE_OBJECTS:=.obj.table/calc.obj .obj.table/func.obj .obj.table/hello.obj \ |
375 | .obj.table/KosFile.obj .obj.table/kosSyst.obj .obj.table/math2.obj \ |
375 | .obj.table/KosFile.obj .obj.table/kosSyst.obj .obj.table/math2.obj \ |
376 | .obj.table/mcsmemm.obj .obj.table/parser.obj |
376 | .obj.table/mcsmemm.obj .obj.table/parser.obj |
377 | TABLE_H_FILES:=$(wildcard $(PROGS)/other/table/*.h) |
377 | TABLE_H_FILES:=$(wildcard $(PROGS)/other/table/*.h) |
378 | .obj.table/table.exe: $(TABLE_OBJECTS) |
378 | .obj.table/table.exe: $(TABLE_OBJECTS) |
379 | $(msvc_link) |
379 | $(msvc_link) |
380 | $(TABLE_OBJECTS): .obj.table/%.obj: $(PROGS)/other/table/%.cpp $(TABLE_H_FILES) Makefile.msvc | .obj.table |
380 | $(TABLE_OBJECTS): .obj.table/%.obj: $(PROGS)/other/table/%.cpp $(TABLE_H_FILES) Makefile.msvc | .obj.table |
381 | $(msvc_compile) |
381 | $(msvc_compile) |
382 | .obj.table: |
382 | .obj.table: |
383 | mkdir -p .obj.table |
383 | mkdir -p .obj.table |
384 | 384 | ||
385 | # Rules for graph |
385 | # Rules for graph |
386 | graph: .obj.graph/graph.exe |
386 | graph: .obj.graph/graph.exe |
387 | $(msvc_final) |
387 | $(msvc_final) |
388 | GRAPH_CPP_OBJECTS:=.obj.graph/func.obj .obj.graph/hello.obj .obj.graph/kolibri.obj \ |
388 | GRAPH_CPP_OBJECTS:=.obj.graph/func.obj .obj.graph/hello.obj .obj.graph/kolibri.obj \ |
389 | .obj.graph/KosFile.obj .obj.graph/kosSyst.obj .obj.graph/math2.obj \ |
389 | .obj.graph/KosFile.obj .obj.graph/kosSyst.obj .obj.graph/math2.obj \ |
390 | .obj.graph/mcsmemm.obj .obj.graph/parser.obj |
390 | .obj.graph/mcsmemm.obj .obj.graph/parser.obj |
391 | GRAPH_C_OBJECTS:=.obj.graph/string.obj |
391 | GRAPH_C_OBJECTS:=.obj.graph/string.obj |
392 | GRAPH_H_FILES:=$(wildcard $(PROGS)/other/graph/*.h) |
392 | GRAPH_H_FILES:=$(wildcard $(PROGS)/other/graph/*.h) |
393 | GRAPH_FASM_OBJECTS:=.obj.graph/memcpy.obj .obj.graph/memset.obj |
393 | GRAPH_FASM_OBJECTS:=.obj.graph/memcpy.obj .obj.graph/memset.obj |
394 | .obj.graph/graph.exe: $(GRAPH_CPP_OBJECTS) $(GRAPH_C_OBJECTS) $(GRAPH_FASM_OBJECTS) |
394 | .obj.graph/graph.exe: $(GRAPH_CPP_OBJECTS) $(GRAPH_C_OBJECTS) $(GRAPH_FASM_OBJECTS) |
395 | $(msvc_link) |
395 | $(msvc_link) |
396 | $(GRAPH_CPP_OBJECTS): .obj.graph/%.obj: $(PROGS)/other/graph/%.cpp $(GRAPH_H_FILES) Makefile.msvc | .obj.graph |
396 | $(GRAPH_CPP_OBJECTS): .obj.graph/%.obj: $(PROGS)/other/graph/%.cpp $(GRAPH_H_FILES) Makefile.msvc | .obj.graph |
397 | $(msvc_compile) |
397 | $(msvc_compile) |
398 | $(GRAPH_C_OBJECTS): .obj.graph/%.obj: $(PROGS)/other/graph/%.c $(GRAPH_H_FILES) Makefile.msvc | .obj.graph |
398 | $(GRAPH_C_OBJECTS): .obj.graph/%.obj: $(PROGS)/other/graph/%.c $(GRAPH_H_FILES) Makefile.msvc | .obj.graph |
399 | $(msvc_compile) |
399 | $(msvc_compile) |
400 | $(GRAPH_FASM_OBJECTS): .obj.graph/%.obj: $(PROGS)/other/graph/%.asm Makefile.msvc | .obj.graph |
400 | $(GRAPH_FASM_OBJECTS): .obj.graph/%.obj: $(PROGS)/other/graph/%.asm Makefile.msvc | .obj.graph |
401 | fasm $< $@ |
401 | fasm $< $@ |
402 | .obj.graph: |
402 | .obj.graph: |
403 | mkdir -p .obj.graph |
403 | mkdir -p .obj.graph |
404 | 404 | ||
405 | # Rules for kosilka |
405 | # Rules for kosilka |
406 | games/kosilka: .obj.kosilka/kosilka.exe |
406 | games/kosilka: .obj.kosilka/kosilka.exe |
407 | $(msvc_final) |
407 | $(msvc_final) |
408 | KOSILKA_OBJECTS:=.obj.kosilka/kosilka.obj .obj.kosilka/KosFile.obj .obj.kosilka/kosSyst.obj .obj.kosilka/mcsmemm.obj |
408 | KOSILKA_OBJECTS:=.obj.kosilka/kosilka.obj .obj.kosilka/KosFile.obj .obj.kosilka/kosSyst.obj .obj.kosilka/mcsmemm.obj |
409 | KOSILKA_H_FILES:=$(PROGS)/games/kosilka/*.h |
409 | KOSILKA_H_FILES:=$(PROGS)/games/kosilka/*.h |
410 | .obj.kosilka/kosilka.exe: $(KOSILKA_OBJECTS) |
410 | .obj.kosilka/kosilka.exe: $(KOSILKA_OBJECTS) |
411 | $(msvc_link) |
411 | $(msvc_link) |
412 | $(KOSILKA_OBJECTS): .obj.kosilka/%.obj: $(PROGS)/games/kosilka/%.cpp $(KOSILKA_H_FILES) Makefile.msvc | .obj.kosilka |
412 | $(KOSILKA_OBJECTS): .obj.kosilka/%.obj: $(PROGS)/games/kosilka/%.cpp $(KOSILKA_H_FILES) Makefile.msvc | .obj.kosilka |
413 | $(msvc_compile) |
413 | $(msvc_compile) |
414 | .obj.kosilka: |
414 | .obj.kosilka: |
415 | mkdir -p .obj.kosilka |
415 | mkdir -p .obj.kosilka |
416 | 416 | ||
417 | include Makefile.gcc |
417 | include Makefile.gcc |
418 | 418 | ||
419 | # Rules for shell |
419 | # Rules for shell |
420 | shell: .obj.shell/start.o .obj.shell/shell.o .obj.shell/kolibri.o .obj.shell/stdlib.o .obj.shell/string.o \ |
420 | shell: .obj.shell/start.o .obj.shell/shell.o .obj.shell/kolibri.o .obj.shell/stdlib.o .obj.shell/string.o \ |
421 | $(PROGS)/system/shell/kolibri.ld |
421 | $(PROGS)/system/shell/kolibri.ld |
422 | $(call gcc_link,$(PROGS)/system/shell/kolibri.ld) |
422 | $(call gcc_link,$(PROGS)/system/shell/kolibri.ld) |
423 | .obj.shell/shell.o: $(PROGS)/system/shell/shell.c \ |
423 | .obj.shell/shell.o: $(PROGS)/system/shell/shell.c \ |
424 | $(PROGS)/system/shell/all.h \ |
424 | $(PROGS)/system/shell/all.h \ |
425 | $(PROGS)/system/shell/system/*.h \ |
425 | $(PROGS)/system/shell/system/*.h \ |
426 | $(PROGS)/system/shell/cmd/*.c \ |
426 | $(PROGS)/system/shell/cmd/*.c \ |
427 | $(PROGS)/system/shell/modules/*.c \ |
427 | $(PROGS)/system/shell/modules/*.c \ |
428 | $(PROGS)/system/shell/locale/rus/globals.h \ |
428 | $(PROGS)/system/shell/locale/rus/globals.h \ |
429 | Makefile.gcc | .obj.shell |
429 | Makefile.gcc | .obj.shell |
430 | $(gcc_compile) |
430 | $(gcc_compile) |
431 | .obj.shell/kolibri.o .obj.shell/stdlib.o .obj.shell/string.o: .obj.shell/%.o: \ |
431 | .obj.shell/kolibri.o .obj.shell/stdlib.o .obj.shell/string.o: .obj.shell/%.o: \ |
432 | $(PROGS)/system/shell/system/%.c $(PROGS)/system/shell/system/*.h \ |
432 | $(PROGS)/system/shell/system/%.c $(PROGS)/system/shell/system/*.h \ |
433 | Makefile.gcc | .obj.shell |
433 | Makefile.gcc | .obj.shell |
434 | $(gcc_compile) |
434 | $(gcc_compile) |
435 | .obj.shell/start.o: $(PROGS)/system/shell/start.asm | .obj.shell |
435 | .obj.shell/start.o: $(PROGS)/system/shell/start.asm | .obj.shell |
436 | fasm $< $@ |
436 | fasm $< $@ |
437 | .obj.shell: |
437 | .obj.shell: |
438 | mkdir -p .obj.shell |
438 | mkdir -p .obj.shell |
439 | 439 | ||
440 | # Rules for media/ac97snd |
440 | # Rules for media/ac97snd |
441 | # Not compilable from svn sources, using preloaded binary |
441 | # Not compilable from svn sources, using preloaded binary |
442 | 442 | ||
443 | # Rules for atikms.dll |
443 | # Rules for atikms.dll |
444 | # Use Makefile from $(REPOSITORY)/drivers/ddk and $(REPOSITORY)/drivers/video/drm/radeon |
444 | # Use Makefile from $(REPOSITORY)/drivers/ddk and $(REPOSITORY)/drivers/video/drm/radeon |
445 | # However, dependencies must be duplicated - I don't know how to avoid this |
445 | # However, dependencies must be duplicated - I don't know how to avoid this |
446 | # without need to rebuild kolibri.img at every iteration... |
446 | # without need to rebuild kolibri.img at every iteration... |
447 | # Note that we are going to write in the directory shared |
447 | # Note that we are going to write in the directory shared |
448 | # between all Makefiles, so we need locked operations. |
448 | # between all Makefiles, so we need locked operations. |
449 | drivers/atikms.dll: $(REPOSITORY)/drivers/video/drm/radeon/atikms.dll drivers/.dir |
449 | drivers/atikms.dll: $(REPOSITORY)/drivers/video/drm/radeon/atikms.dll drivers/.dir |
450 | kpack --nologo $< $@ |
450 | kpack --nologo $< $@ |
451 | $(REPOSITORY)/drivers/video/drm/radeon/atikms.dll: |
451 | $(REPOSITORY)/drivers/video/drm/radeon/atikms.dll: |
452 | flock $(REPOSITORY)/drivers/video/drm/radeon/.lock \ |
452 | flock $(REPOSITORY)/drivers/video/drm/radeon/.lock \ |
453 | $(MAKE) CC=win32-gcc AS=win32-as LD=win32-ld AR=win32-ar FASM=fasm -C $(REPOSITORY)/drivers/video/drm/radeon |
453 | $(MAKE) CC=win32-gcc AS=win32-as LD=win32-ld AR=win32-ar FASM=fasm -C $(REPOSITORY)/drivers/video/drm/radeon |
454 | $(REPOSITORY)/drivers/ddk/libddk.a: |
454 | $(REPOSITORY)/drivers/ddk/libddk.a: |
455 | flock $(REPOSITORY)/drivers/ddk/.lock \ |
455 | flock $(REPOSITORY)/drivers/ddk/.lock \ |
456 | $(MAKE) CC=win32-gcc AS=win32-as LD=win32-ld AR=win32-ar FASM=fasm -C $(REPOSITORY)/drivers/ddk |
456 | $(MAKE) CC=win32-gcc AS=win32-as LD=win32-ld AR=win32-ar FASM=fasm -C $(REPOSITORY)/drivers/ddk |
457 | # dependencies |
457 | # dependencies |
458 | $(REPOSITORY)/drivers/video/drm/radeon/atikms.dll: \ |
458 | $(REPOSITORY)/drivers/video/drm/radeon/atikms.dll: \ |
459 | $(REPOSITORY)/drivers/video/drm/radeon/atikms.lds \ |
459 | $(REPOSITORY)/drivers/video/drm/radeon/atikms.lds \ |
460 | $(REPOSITORY)/drivers/ddk/libddk.a \ |
460 | $(REPOSITORY)/drivers/ddk/libddk.a \ |
461 | $(REPOSITORY)/drivers/video/drm/radeon/*.[Sch] \ |
461 | $(REPOSITORY)/drivers/video/drm/radeon/*.[Sch] \ |
462 | $(REPOSITORY)/drivers/video/drm/radeon/*.asm \ |
462 | $(REPOSITORY)/drivers/video/drm/radeon/*.asm \ |
463 | $(REPOSITORY)/drivers/video/drm/radeon/Makefile \ |
463 | $(REPOSITORY)/drivers/video/drm/radeon/Makefile \ |
464 | $(REPOSITORY)/drivers/video/drm/radeon/firmware/*.bin \ |
464 | $(REPOSITORY)/drivers/video/drm/radeon/firmware/*.bin \ |
465 | $(REPOSITORY)/drivers/include/*.h \ |
465 | $(REPOSITORY)/drivers/include/*.h \ |
466 | $(REPOSITORY)/drivers/include/*/*.h \ |
466 | $(REPOSITORY)/drivers/include/*/*.h \ |
467 | $(REPOSITORY)/drivers/include/*/*/*.h \ |
467 | $(REPOSITORY)/drivers/include/*/*/*.h \ |
468 | $(REPOSITORY)/drivers/include/*/*/*/*.h |
468 | $(REPOSITORY)/drivers/include/*/*/*/*.h |
469 | $(REPOSITORY)/drivers/ddk/libddk.a: \ |
469 | $(REPOSITORY)/drivers/ddk/libddk.a: \ |
470 | $(REPOSITORY)/drivers/ddk/Makefile \ |
470 | $(REPOSITORY)/drivers/ddk/Makefile \ |
471 | $(REPOSITORY)/drivers/ddk/*/* \ |
471 | $(REPOSITORY)/drivers/ddk/*/* \ |
472 | $(REPOSITORY)/drivers/include/*.h \ |
472 | $(REPOSITORY)/drivers/include/*.h \ |
473 | $(REPOSITORY)/drivers/include/*/*.h \ |
473 | $(REPOSITORY)/drivers/include/*/*.h \ |
474 | $(REPOSITORY)/drivers/include/*/*/*.h \ |
474 | $(REPOSITORY)/drivers/include/*/*/*.h \ |
475 | $(REPOSITORY)/drivers/include/*/*/*/*.h>>> |
475 | $(REPOSITORY)/drivers/include/*/*/*/*.h>>> |