Added file system recognizer driver.
[reactos.git] / reactos / Makefile
1 #
2 # Global makefile
3 #
4
5 PATH_TO_TOP = .
6
7 #
8 # Define to build WINE modules
9 #
10 ifeq ($(ROS_BUILD_WINE),)
11 ROS_BUILD_WINE = no
12 else
13 ROS_BUILD_WINE = yes
14 endif
15
16 include $(PATH_TO_TOP)/rules.mak
17
18 #
19 # Required to run the system
20 #
21 COMPONENTS = iface_native iface_additional hallib ntoskrnl
22 HALS = halx86
23 BUS = acpi isapnp pci
24 DLLS = ntdll kernel32 advapi32 crtdll msvcrt fmifs gdi32 msafd \
25 user32 secur32 ws2_32 version
26 SUBSYS = smss win32k csrss
27
28 #
29 # Select the server(s) you want to build
30 #
31 #SERVERS = posix linux os2
32 SERVERS = win32
33
34 #
35 # Select the loader(s) you want to build
36 #
37 #LOADERS = boot dos
38 LOADERS = dos
39
40 #
41 # Select the device drivers and filesystems you want
42 #
43 #DEVICE_DRIVERS = beep floppy mouse sound test parallel serial
44 DEVICE_DRIVERS = vidport vga blue ide null floppy
45
46 #INPUT_DRIVERS = keyboard
47 INPUT_DRIVERS = keyboard mouclass psaux
48
49 #FS_DRIVERS = minix ext2 template
50 FS_DRIVERS = vfat ms np cdfs fs_rec
51
52 #NET_DRIVERS = ndis tdi tcpip tditest wshtcpip afd
53 NET_DRIVERS = ndis tdi tcpip tditest wshtcpip afd
54
55 #NET_DEVICE_DRIVERS = ne2000
56 NET_DEVICE_DRIVERS = ne2000
57
58 #
59 # storage drivers (don't change the order)
60 #
61 STORAGE_DRIVERS = class2 scsiport atapi disk cdrom
62
63 #
64 # system applications (required for startup)
65 #
66 #SYS_APPS = lsass
67 SYS_APPS = services shell winlogon
68
69 #readfile
70 APPS = args hello test cat bench apc shm lpc thread event file gditest \
71 pteb consume dump_shared_data vmtest regtest alive mstest nptest \
72 objdir atomtest winhello partinfo mutex stats pice isotest sectest
73
74
75 #
76 # Wine userspace win32 subsystem plus other stuff. This will all be moved
77 # to helper makefile down the road and there will be peace on earth.
78 #
79
80 WINE_OTHER = unicode
81
82 WINE_TOOLS = wrc winebuild
83
84 WINE_DLLS = rpcrt4 mapi32 ole32 oleaut32 oledlg olepro32 olecli olesvr \
85 shell32 shlwapi comctl32 shfolder shdocvw commdlg \
86 ddraw dinput dplay dplayx \
87 psapi richedit serialui tapi32 urlmon winspool wintrust
88 #lzexpand (missing imports)
89 #dsound (missing winmm.dll)
90
91
92 WINE_PROGS = clock cmdlgtst control notepad osversioncheck \
93 progman uninstaller view wcmd winefile winemine \
94 winver
95
96 ifeq ($(ROS_BUILD_WINE),yes)
97 WINE_MODULES = $(WINE_OTHER) $(WINE_TOOLS) $(WINE_DLLS) $(WINE_PROGS)
98 else
99 WINE_MODULES =
100 endif
101
102 KERNEL_SERVICES = $(DEVICE_DRIVERS) $(INPUT_DRIVERS) $(FS_DRIVERS) \
103 $(NET_DRIVERS) $(NET_DEVICE_DRIVERS) $(STORAGE_DRIVERS)
104
105 all: tools dk implib $(COMPONENTS) $(HALS) $(BUS) $(DLLS) $(SUBSYS) \
106 $(LOADERS) $(KERNEL_SERVICES) $(SYS_APPS) $(APPS) \
107 $(WINE_MODULES)
108
109 implib: $(COMPONENTS:%=%_implib) $(HALS:%=%_implib) $(BUS:%=%_implib) \
110 $(DLLS:%=%_implib) $(LOADERS:%=%_implib) \
111 $(KERNEL_SERVICES:%=%_implib) $(SUBSYS:%=%_implib) \
112 $(SYS_APPS:%=%_implib) $(APPS:%=%_implib) \
113 $(WINE_MODULES:%=%_implib)
114
115 clean: dk_clean $(HALS:%=%_clean) \
116 $(COMPONENTS:%=%_clean) $(BUS:%=%_clean) $(DLLS:%=%_clean) \
117 $(LOADERS:%=%_clean) $(KERNEL_SERVICES:%=%_clean) $(SUBSYS:%=%_clean) \
118 $(SYS_APPS:%=%_clean) $(APPS:%=%_clean) $(NET_APPS:%=%_clean) \
119 $(WINE_MODULES:%=%_clean) clean_after tools_clean
120
121 clean_after:
122 $(RM) $(PATH_TO_TOP)/include/roscfg.h
123
124 install: tools install_dirs install_before \
125 $(COMPONENTS:%=%_install) $(HALS:%=%_install) $(BUS:%=%_install) \
126 $(DLLS:%=%_install) $(LOADERS:%=%_install) \
127 $(KERNEL_SERVICES:%=%_install) $(SUBSYS:%=%_install) \
128 $(SYS_APPS:%=%_install) $(APPS:%=%_install) \
129 $(WINE_MODULES:%=%_install)
130
131 dist: $(TOOLS_PATH)/rcopy$(EXE_POSTFIX) dist_clean dist_dirs \
132 $(HALS:%=%_dist) $(COMPONENTS:%=%_dist) $(BUS:%=%_dist) $(DLLS:%=%_dist) \
133 $(LOADERS:%=%_dist) $(KERNEL_SERVICES:%=%_dist) $(SUBSYS:%=%_dist) \
134 $(SYS_APPS:%=%_dist) $(APPS:%=%_dist) $(NET_APPS:%=%_dist) \
135 $(WINE_MODULES:%=%_dist)
136
137 .PHONY: all implib clean clean_before install dist
138
139 #
140 # System Applications
141 #
142 $(SYS_APPS): %:
143 make -C apps/system/$*
144
145 $(SYS_APPS:%=%_implib): %_implib:
146 make -C apps/system/$* implib
147
148 $(SYS_APPS:%=%_clean): %_clean:
149 make -C apps/system/$* clean
150
151 $(SYS_APPS:%=%_dist): %_dist:
152 make -C apps/system/$* dist
153
154 $(SYS_APPS:%=%_install): %_install:
155 make -C apps/system/$* install
156
157 .PHONY: $(SYS_APPS) $(SYS_APPS:%=%_implib) $(SYS_APPS:%=%_clean) $(SYS_APPS:%=%_install) $(SYS_APPS:%=%_dist)
158
159 #
160 # Applications
161 #
162 $(APPS): %:
163 make -C apps/$*
164
165 $(APPS:%=%_implib): %_implib:
166 make -C apps/$* implib
167
168 $(APPS:%=%_clean): %_clean:
169 make -C apps/$* clean
170
171 $(APPS:%=%_dist): %_dist:
172 make -C apps/$* dist
173
174 $(APPS:%=%_install): %_install:
175 make -C apps/$* install
176
177 .PHONY: $(APPS) $(APPS:%=%_implib) $(APPS:%=%_clean) $(APPS:%=%_install) $(APPS:%=%_dist)
178
179 #
180 # Other Wine Modules
181 #
182 $(WINE_OTHER): %:
183 make -f makefile.ros -C $(WINE_PATH)/$*
184
185 $(WINE_OTHER:%=%_implib): %_implib:
186 make -f makefile.ros -C $(WINE_PATH)/$* implib
187
188 $(WINE_OTHER:%=%_clean): %_clean:
189 make -f makefile.ros -C $(WINE_PATH)/$* clean
190
191 $(WINE_OTHER:%=%_dist): %_dist:
192 make -f makefile.ros -C $(WINE_PATH)/$* dist
193
194 $(WINE_OTHER:%=%_install): %_install:
195 make -f makefile.ros -C $(WINE_PATH)/$* install
196
197 .PHONY: $(WINE_OTHER) $(WINE_OTHER:%=%_implib) $(WINE_OTHER:%=%_clean) $(WINE_OTHER:%=%_install) $(WINE_OTHER:%=%_dist)
198
199 #
200 # Wine Tools
201 #
202 $(WINE_TOOLS): %:
203 make -f makefile.ros -C $(WINE_PATH)/tools/$*
204
205 $(WINE_TOOLS:%=%_implib): %_implib:
206 make -f makefile.ros -C $(WINE_PATH)/tools/$* implib
207
208 $(WINE_TOOLS:%=%_clean): %_clean:
209 make -f makefile.ros -C $(WINE_PATH)/tools/$* clean
210
211 $(WINE_TOOLS:%=%_dist): %_dist:
212 make -f makefile.ros -C $(WINE_PATH)/tools/$* dist
213
214 $(WINE_TOOLS:%=%_install): %_install:
215 make -f makefile.ros -C $(WINE_PATH)/tools/$* install
216
217 .PHONY: $(WINE_DLLS) $(WINE_DLLS:%=%_implib) $(WINE_DLLS:%=%_clean) $(WINE_DLLS:%=%_install) $(WINE_DLLS:%=%_dist)
218
219
220 #
221 # Wine DLLs
222 #
223 $(WINE_DLLS): %:
224 make -f makefile.ros -C $(WINE_PATH)/dlls/$*
225
226 $(WINE_DLLS:%=%_implib): %_implib:
227 make -f makefile.ros -C $(WINE_PATH)/dlls/$* implib
228
229 $(WINE_DLLS:%=%_clean): %_clean:
230 make -f makefile.ros -C $(WINE_PATH)/dlls/$* clean
231
232 $(WINE_DLLS:%=%_dist): %_dist:
233 make -f makefile.ros -C $(WINE_PATH)/dlls/$* dist
234
235 $(WINE_DLLS:%=%_install): %_install:
236 make -f makefile.ros -C $(WINE_PATH)/dlls/$* install
237
238 .PHONY: $(WINE_DLLS) $(WINE_DLLS:%=%_implib) $(WINE_DLLS:%=%_clean) $(WINE_DLLS:%=%_install) $(WINE_DLLS:%=%_dist)
239
240
241 #
242 # Wine programs
243 #
244 $(WINE_PROGS): %:
245 make -f makefile.ros -C $(WINE_PATH)/programs/$*
246
247 $(WINE_PROGS:%=%_implib): %_implib:
248 make -f makefile.ros -C $(WINE_PATH)/programs/$* implib
249
250 $(WINE_PROGS:%=%_clean): %_clean:
251 make -f makefile.ros -C $(WINE_PATH)/programs/$* clean
252
253 $(WINE_PROGS:%=%_dist): %_dist:
254 make -f makefile.ros -C $(WINE_PATH)/programs/$* dist
255
256 $(WINE_PROGS:%=%_install): %_install:
257 make -f makefile.ros -C $(WINE_PATH)/programs/$* install
258
259 .PHONY: $(WINE_PROGS) $(WINE_PROGS:%=%_implib) $(WINE_PROGS:%=%_clean) $(WINE_PROGS:%=%_install) $(WINE_PROGS:%=%_dist)
260
261
262 #
263 # Tools
264 #
265 tools:
266 make -C tools
267
268 tools_implib:
269
270 tools_clean:
271 make -C tools clean
272
273 tools_install:
274
275 tools_dist:
276
277 .PHONY: tools tools_implib tools_clean tools_install tools_dist
278
279
280 #
281 # Developer Kits
282 #
283 dk:
284 $(RMKDIR) $(DK_PATH)
285 $(RMKDIR) $(DDK_PATH)
286 $(RMKDIR) $(DDK_PATH_LIB)
287 $(RMKDIR) $(DDK_PATH_INC)
288 $(RMKDIR) $(SDK_PATH)
289 $(RMKDIR) $(SDK_PATH_LIB)
290 $(RMKDIR) $(SDK_PATH_INC)
291 $(RMKDIR) $(XDK_PATH)
292 $(RMKDIR) $(XDK_PATH_LIB)
293 $(RMKDIR) $(XDK_PATH_INC)
294
295 dk_implib:
296
297 # WARNING! Be very sure that there are no important files
298 # in these directories before cleaning them!!!
299 dk_clean:
300 $(RM) $(DDK_PATH_LIB)/*.a
301 # $(RM) $(DDK_PATH_INC)/*.h
302 $(RMDIR) $(DDK_PATH_LIB)
303 # $(RMDIR) $(DDK_PATH_INC)
304 $(RM) $(SDK_PATH_LIB)/*.a
305 # $(RM) $(SDK_PATH_INC)/*.h
306 $(RMDIR) $(SDK_PATH_LIB)
307 # $(RMDIR) $(SDK_PATH_INC)
308 $(RM) $(XDK_PATH_LIB)/*.a
309 # $(RM) $(XDK_PATH_INC)/*.h
310 $(RMDIR) $(XDK_PATH_LIB)
311 # $(RMDIR) $(XDK_PATH_INC)
312
313 dk_install:
314
315 dk_dist:
316
317 .PHONY: dk dk_implib dk_clean dk_install dk_dist
318
319
320 #
321 # Interfaces
322 #
323 iface_native:
324 make -C iface/native
325
326 iface_native_implib:
327
328 iface_native_clean:
329 make -C iface/native clean
330
331 iface_native_install:
332
333 iface_native_dist:
334
335 iface_additional:
336 make -C iface/addsys
337
338 iface_additional_implib:
339
340 iface_additional_clean:
341 make -C iface/addsys clean
342
343 iface_additional_install:
344
345 iface_additional_dist:
346
347 .PHONY: iface_native iface_native_implib iface_native_clean iface_native_install \
348 iface_native_dist \
349 iface_additional iface_additional_implib iface_additional_clean \
350 iface_additional_install iface_additional_dist
351
352 #
353 # Bus driver rules
354 #
355 $(BUS): %:
356 make -C services/bus/$*
357
358 $(BUS:%=%_implib): %_implib:
359 make -C services/bus/$* implib
360
361 $(BUS:%=%_clean): %_clean:
362 make -C services/bus/$* clean
363
364 $(BUS:%=%_install): %_install:
365 make -C services/bus/$* install
366
367 $(BUS:%=%_dist): %_dist:
368 make -C services/bus/$* dist
369
370 .PHONY: $(BUS) $(BUS:%=%_implib) $(BUS:%=%_clean) \
371 $(BUS:%=%_install) $(BUS:%=%_dist)
372
373 #
374 # Device driver rules
375 #
376 $(DEVICE_DRIVERS): %:
377 make -C services/dd/$*
378
379 $(DEVICE_DRIVERS:%=%_implib): %_implib:
380 make -C services/dd/$* implib
381
382 $(DEVICE_DRIVERS:%=%_clean): %_clean:
383 make -C services/dd/$* clean
384
385 $(DEVICE_DRIVERS:%=%_install): %_install:
386 make -C services/dd/$* install
387
388 $(DEVICE_DRIVERS:%=%_dist): %_dist:
389 make -C services/dd/$* dist
390
391 .PHONY: $(DEVICE_DRIVERS) $(DEVICE_DRIVERS:%=%_implib) $(DEVICE_DRIVERS:%=%_clean) \
392 $(DEVICE_DRIVERS:%=%_install) $(DEVICE_DRIVERS:%=%_dist)
393
394 #
395 # Input driver rules
396 #
397 $(INPUT_DRIVERS): %:
398 make -C services/input/$*
399
400 $(INPUT_DRIVERS:%=%_implib): %_implib:
401 make -C services/input/$* implib
402
403 $(INPUT_DRIVERS:%=%_clean): %_clean:
404 make -C services/input/$* clean
405
406 $(INPUT_DRIVERS:%=%_install): %_install:
407 make -C services/input/$* install
408
409 $(INPUT_DRIVERS:%=%_dist): %_dist:
410 make -C services/input/$* dist
411
412 .PHONY: $(INPUT_DRIVERS) $(INPUT_DRIVERS:%=%_implib) $(INPUT_DRIVERS:%=%_clean)\
413 $(INPUT_DRIVERS:%=%_install) $(INPUT_DRIVERS:%=%_dist)
414
415 $(FS_DRIVERS): %:
416 make -C services/fs/$*
417
418 $(FS_DRIVERS:%=%_implib): %_implib:
419 make -C services/fs/$* implib
420
421 $(FS_DRIVERS:%=%_clean): %_clean:
422 make -C services/fs/$* clean
423
424 $(FS_DRIVERS:%=%_install): %_install:
425 make -C services/fs/$* install
426
427 $(FS_DRIVERS:%=%_dist): %_dist:
428 make -C services/fs/$* dist
429
430 .PHONY: $(FS_DRIVERS) $(FS_DRIVERS:%=%_implib) $(FS_DRIVERS:%=%_clean) \
431 $(FS_DRIVERS:%=%_install) $(FS_DRIVERS:%=%_dist)
432
433 #
434 # Network driver rules
435 #
436 $(NET_DRIVERS): %:
437 make -C services/net/$*
438
439 $(NET_DRIVERS:%=%_implib): %_implib:
440 make -C services/net/$* implib
441
442 $(NET_DRIVERS:%=%_clean): %_clean:
443 make -C services/net/$* clean
444
445 $(NET_DRIVERS:%=%_install): %_install:
446 make -C services/net/$* install
447
448 $(NET_DRIVERS:%=%_dist): %_dist:
449 make -C services/net/$* dist
450
451 .PHONY: $(NET_DRIVERS) $(NET_DRIVERS:%=%_implib) $(NET_DRIVERS:%=%_clean) \
452 $(NET_DRIVERS:%=%_install) $(NET_DRIVERS:%=%_dist)
453
454 $(NET_DEVICE_DRIVERS): %:
455 make -C services/net/dd/$*
456
457 $(NET_DEVICE_DRIVERS:%=%_implib): %_implib:
458 make -C services/net/dd/$* implib
459
460 $(NET_DEVICE_DRIVERS:%=%_clean): %_clean:
461 make -C services/net/dd/$* clean
462
463 $(NET_DEVICE_DRIVERS:%=%_install): %_install:
464 make -C services/net/dd/$* install
465
466 $(NET_DEVICE_DRIVERS:%=%_dist): %_dist:
467 make -C services/net/dd/$* dist
468
469 .PHONY: $(NET_DEVICE_DRIVERS) $(NET_DEVICE_DRIVERS:%=%_clean) $(NET_DEVICE_DRIVERS:%=%_implib) \
470 $(NET_DEVICE_DRIVERS:%=%_install) $(NET_DEVICE_DRIVERS:%=%_dist)
471
472 #
473 # storage driver rules
474 #
475 $(STORAGE_DRIVERS): %:
476 make -C services/storage/$*
477
478 $(STORAGE_DRIVERS:%=%_implib): %_implib:
479 make -C services/storage/$* implib
480
481 $(STORAGE_DRIVERS:%=%_clean): %_clean:
482 make -C services/storage/$* clean
483
484 $(STORAGE_DRIVERS:%=%_install): %_install:
485 make -C services/storage/$* install
486
487 $(STORAGE_DRIVERS:%=%_dist): %_dist:
488 make -C services/storage/$* dist
489
490 .PHONY: $(STORAGE_DRIVERS) $(STORAGE_DRIVERS:%=%_clean) \
491 $(STORAGE_DRIVERS:%=%_install) $(STORAGE_DRIVERS:%=%_dist)
492
493 #
494 # Kernel loaders
495 #
496
497 $(LOADERS): %:
498 make -C loaders/$*
499
500 $(LOADERS:%=%_implib): %_implib:
501
502 $(LOADERS:%=%_clean): %_clean:
503 make -C loaders/$* clean
504
505 $(LOADERS:%=%_install): %_install:
506 make -C loaders/$* install
507
508 $(LOADERS:%=%_dist): %_dist:
509 make -C loaders/$* dist
510
511 .PHONY: $(LOADERS) $(LOADERS:%=%_implib) $(LOADERS:%=%_clean) $(LOADERS:%=%_install) \
512 $(LOADERS:%=%_dist)
513
514 #
515 # Required system components
516 #
517
518 ntoskrnl:
519 make -C ntoskrnl
520
521 ntoskrnl_implib:
522 make -C ntoskrnl implib
523
524 ntoskrnl_clean:
525 make -C ntoskrnl clean
526
527 ntoskrnl_install:
528 make -C ntoskrnl install
529
530 ntoskrnl_dist:
531 make -C ntoskrnl dist
532
533 .PHONY: ntoskrnl ntoskrnl_implib ntoskrnl_clean ntoskrnl_install ntoskrnl_dist
534
535 #
536 # Hardware Abstraction Layer import library
537 #
538
539 hallib:
540 make -C hal/hal
541
542 hallib_implib:
543 make -C hal/hal implib
544
545 hallib_clean:
546 make -C hal/hal clean
547
548 hallib_install:
549 make -C hal/hal install
550
551 hallib_dist:
552 make -C hal/hal dist
553
554 .PHONY: hallib hallib_implib hallib_clean hallib_install hallib_dist
555
556 #
557 # Hardware Abstraction Layers
558 #
559
560 $(HALS): %:
561 make -C hal/$*
562
563 $(HALS:%=%_implib): %_implib:
564 make -C hal/$* implib
565
566 $(HALS:%=%_clean): %_clean:
567 make -C hal/$* clean
568
569 $(HALS:%=%_install): %_install:
570 make -C hal/$* install
571
572 $(HALS:%=%_dist): %_dist:
573 make -C hal/$* dist
574
575 .PHONY: $(HALS) $(HALS:%=%_implib) $(HALS:%=%_clean) $(HALS:%=%_install) $(HALS:%=%_dist)
576
577 #
578 # Required DLLs
579 #
580
581 $(DLLS): %:
582 make -C lib/$*
583
584 $(DLLS:%=%_implib): %_implib:
585 make -C lib/$* implib
586
587 $(DLLS:%=%_clean): %_clean:
588 make -C lib/$* clean
589
590 $(DLLS:%=%_install): %_install:
591 make -C lib/$* install
592
593 $(DLLS:%=%_dist): %_dist:
594 make -C lib/$* dist
595
596 .PHONY: $(DLLS) $(DLLS:%=%_implib) $(DLLS:%=%_clean) $(DLLS:%=%_install) $(DLLS:%=%_dist)
597
598 #
599 # Kernel Subsystems
600 #
601
602 $(SUBSYS): %:
603 make -C subsys/$*
604
605 $(SUBSYS:%=%_implib): %_implib:
606 make -C subsys/$* implib
607
608 $(SUBSYS:%=%_clean): %_clean:
609 make -C subsys/$* clean
610
611 $(SUBSYS:%=%_install): %_install:
612 make -C subsys/$* install
613
614 $(SUBSYS:%=%_dist): %_dist:
615 make -C subsys/$* dist
616
617 .PHONY: $(SUBSYS) $(SUBSYS:%=%_implib) $(SUBSYS:%=%_clean) $(SUBSYS:%=%_install) \
618 $(SUBSYS:%=%_dist)
619
620 #
621 # Create an installation
622 #
623
624 install_clean:
625 $(RM) $(INSTALL_DIR)/system32/drivers/*.*
626 $(RM) $(INSTALL_DIR)/system32/config/*.*
627 $(RM) $(INSTALL_DIR)/system32/*.*
628 $(RM) $(INSTALL_DIR)/symbols/*.*
629 $(RM) $(INSTALL_DIR)/media/fonts/*.*
630 $(RM) $(INSTALL_DIR)/media/*.*
631 $(RM) $(INSTALL_DIR)/bin/*.*
632 $(RM) $(INSTALL_DIR)/*.com
633 $(RM) $(INSTALL_DIR)/*.bat
634 $(RMDIR) $(INSTALL_DIR)/system32/drivers
635 $(RMDIR) $(INSTALL_DIR)/system32/config
636 $(RMDIR) $(INSTALL_DIR)/system32
637 $(RMDIR) $(INSTALL_DIR)/symbols
638 $(RMDIR) $(INSTALL_DIR)/media/fonts
639 $(RMDIR) $(INSTALL_DIR)/media
640 $(RMDIR) $(INSTALL_DIR)/bin
641 $(RMDIR) $(INSTALL_DIR)
642
643 install_dirs:
644 $(RMKDIR) $(INSTALL_DIR)
645 $(RMKDIR) $(INSTALL_DIR)/bin
646 $(RMKDIR) $(INSTALL_DIR)/media
647 $(RMKDIR) $(INSTALL_DIR)/media/fonts
648 $(RMKDIR) $(INSTALL_DIR)/symbols
649 $(RMKDIR) $(INSTALL_DIR)/system32
650 $(RMKDIR) $(INSTALL_DIR)/system32/config
651 $(RMKDIR) $(INSTALL_DIR)/system32/drivers
652
653 install_before:
654 $(CP) boot.bat $(INSTALL_DIR)/boot.bat
655 $(CP) aboot.bat $(INSTALL_DIR)/aboot.bat
656 $(CP) boot.hiv $(INSTALL_DIR)/system32/boot.hiv
657 $(CP) media/fonts/helb____.ttf $(INSTALL_DIR)/media/fonts/helb____.ttf
658 $(CP) media/fonts/timr____.ttf $(INSTALL_DIR)/media/fonts/timr____.ttf
659
660 .PHONY: install_clean install_dirs install_before
661
662
663 #
664 # Make a distribution saveset
665 #
666
667 dist_clean:
668 $(RM) $(DIST_DIR)/symbols/*.sym
669 $(RM) $(DIST_DIR)/drivers/*.sys
670 $(RM) $(DIST_DIR)/subsys/*.exe
671 $(RM) $(DIST_DIR)/dlls/*.dll
672 $(RM) $(DIST_DIR)/apps/*.exe
673 $(RM) $(DIST_DIR)/*.exe
674 $(RMDIR) $(DIST_DIR)/symbols
675 $(RMDIR) $(DIST_DIR)/subsys
676 $(RMDIR) $(DIST_DIR)/drivers
677 $(RMDIR) $(DIST_DIR)/dlls
678 $(RMDIR) $(DIST_DIR)/apps
679 $(RMDIR) $(DIST_DIR)
680
681 dist_dirs:
682 $(RMKDIR) $(DIST_DIR)
683 $(RMKDIR) $(DIST_DIR)/apps
684 $(RMKDIR) $(DIST_DIR)/dlls
685 $(RMKDIR) $(DIST_DIR)/drivers
686 $(RMKDIR) $(DIST_DIR)/subsys
687 $(RMKDIR) $(DIST_DIR)/symbols
688
689 .PHONY: dist_clean dist_dirs
690
691
692 etags:
693 find . -name "*.[ch]" -print | etags --language=c -
694
695 # EOF