8 # Define to build WINE modules
10 ifeq ($(ROS_BUILD_WINE
),)
16 include $(PATH_TO_TOP
)/rules.mak
18 # Required to run the system
19 COMPONENTS
= iface_native iface_additional hallib ntoskrnl
22 # Hardware Abstraction Layers
31 # advapi32 crtdll fmifs gdi32 kernel32 libpcap packet msafd msvcrt ntdll ole32
32 # oleaut32 psapi rpcrt4 secur32 shell32 user32 version ws2help ws2_32 wsock32 wshirda
33 DLLS
= advapi32 crtdll fmifs gdi32 kernel32 packet msafd msvcrt ntdll \
34 secur32 user32 version ws2help ws2_32 wshirda
35 SUBSYS
= smss win32k csrss
38 # Select the server(s) you want to build
40 #SERVERS = posix linux os2
47 # Driver support libraries
49 DRIVERS_LIB
= bzip2 zlib
51 # Kernel mode device drivers
52 # beep blue floppy ide keyboard mouse null parallel ramdrv serial vga vidport
53 DEVICE_DRIVERS
= beep blue floppy ide null vga vidport
55 # Kernel mode input drivers
56 # keyboard mouclass psaux sermouse
57 INPUT_DRIVERS
= keyboard mouclass psaux
59 # Kernel mode file system drivers
60 # cdfs ext2 fs_rec ms np vfat
61 FS_DRIVERS
= cdfs fs_rec ms np vfat mup ntfs
63 # Kernel mode networking drivers
64 # afd ndis packet tcpip tdi wshtcpip
65 NET_DRIVERS
= afd ndis packet tcpip tdi wshtcpip
67 # Kernel mode networking device drivers
69 NET_DEVICE_DRIVERS
= ne2000
71 # Kernel mode storage drivers
72 # atapi cdrom class2 disk scsiport
73 STORAGE_DRIVERS
= atapi cdrom class2 disk scsiport
76 # autochk lsass services shell winlogon
77 SYS_APPS
= autochk services
shell winlogon gstart usetup
81 SYS_SVC
= rpcss eventlog
84 # alive apc args atomtest bench consume count dump_shared_data
85 # event file gditest hello isotest lpc mstest mutex nptest
86 # pteb regtest sectest shm simple thread vmtest winhello
87 TEST_APPS
= alive apc args atomtest bench consume count dump_shared_data \
88 event file gditest hello isotest lpc mstest mutex nptest \
89 pteb regtest sectest shm simple thread tokentest vmtest winhello
92 # cabman cat net objdir partinfo pice ps stats
93 UTIL_APPS
= cat objdir partinfo stats
96 # Win32 Subsystem support (Based on WINE)
97 # FIXME: Move to this its own Makefile
100 WINE_OTHER
= unicode library
102 WINE_TOOLS
= bin2res wrc winebuild
104 WINE_DLLS
= comcat crtdll comctl32 commdlg dsound dplayx imagehlp ole32 richedit \
105 shlwapi shell32 shdocvw twain urlmon winspool \
106 rpcrt4
# needed to make rcprt4 implib
108 # mapi32 oleaut32 oledlg olepro32 olecli olesvr shfolder
109 # winmm ddraw dinput dplay serialui tapi32 urlmon wintrust
110 # msinfo lzexpand (missing imports)
112 WINE_PROGS
= control expand osversioncheck regedit regsvr32 winver uninstaller
113 # (waiting on wrc fix for the rest of these)
114 # clock cmdlgtst notepad progman wcmd
115 # winefile winemine winetest uninstaller
118 ifeq ($(ROS_BUILD_WINE
),yes
)
119 WINE_MODULES
= $(WINE_OTHER
) $(WINE_TOOLS
) $(WINE_DLLS
) $(WINE_PROGS
)
124 KERNEL_DRIVERS
= $(DRIVERS_LIB
) $(DEVICE_DRIVERS
) $(INPUT_DRIVERS
) $(FS_DRIVERS
) \
125 $(NET_DRIVERS
) $(NET_DEVICE_DRIVERS
) $(STORAGE_DRIVERS
)
127 all: tools dk implib
$(COMPONENTS
) $(HALS
) $(BUS
) $(DLLS
) $(SUBSYS
) \
128 $(LOADERS
) $(KERNEL_DRIVERS
) $(SYS_APPS
) $(SYS_SVC
) $(TEST_APPS
) \
129 $(UTIL_APPS
) $(WINE_MODULES
)
131 implib
: $(COMPONENTS
:%=%_implib
) $(HALS
:%=%_implib
) $(BUS
:%=%_implib
) \
132 $(DLLS
:%=%_implib
) $(LOADERS
:%=%_implib
) \
133 $(KERNEL_DRIVERS
:%=%_implib
) $(SUBSYS
:%=%_implib
) \
134 $(SYS_APPS
:%=%_implib
) $(SYS_SVC
:%=%_implib
) \
135 $(TEST_APPS
:%=%_implib
) $(UTIL_APPS
:%=%_implib
) \
136 $(WINE_MODULES
:%=%_implib
)
138 clean: tools dk_clean
$(HALS
:%=%_clean
) \
139 $(COMPONENTS
:%=%_clean
) $(BUS
:%=%_clean
) $(DLLS
:%=%_clean
) \
140 $(LOADERS
:%=%_clean
) $(KERNEL_DRIVERS
:%=%_clean
) $(SUBSYS
:%=%_clean
) \
141 $(SYS_APPS
:%=%_clean
) $(SYS_SVC
:%=%_clean
) $(TEST_APPS
:%=%_clean
) \
142 $(UTIL_APPS
:%=%_clean
) $(NET_APPS
:%=%_clean
) $(WINE_MODULES
:%=%_clean
) \
143 clean_after tools_clean
146 $(RM
) $(PATH_TO_TOP
)/include/roscfg.h
148 install: tools install_dirs install_before \
149 $(COMPONENTS
:%=%_install
) $(HALS
:%=%_install
) $(BUS
:%=%_install
) \
150 $(DLLS
:%=%_install
) $(LOADERS
:%=%_install
) \
151 $(KERNEL_DRIVERS
:%=%_install
) $(SUBSYS
:%=%_install
) \
152 $(SYS_APPS
:%=%_install
) $(SYS_SVC
:%=%_install
) \
153 $(TEST_APPS
:%=%_install
) $(UTIL_APPS
:%=%_install
) \
154 $(WINE_MODULES
:%=%_install
)
156 dist: $(TOOLS_PATH
)/rcopy
$(EXE_POSTFIX
) dist_clean dist_dirs \
157 $(HALS
:%=%_dist
) $(COMPONENTS
:%=%_dist
) $(BUS
:%=%_dist
) $(DLLS
:%=%_dist
) \
158 $(LOADERS
:%=%_dist
) $(KERNEL_DRIVERS
:%=%_dist
) $(SUBSYS
:%=%_dist
) \
159 $(SYS_APPS
:%=%_dist
) $(SYS_SVC
:%=%_dist
) $(TEST_APPS
:%=%_dist
) \
160 $(UTIL_APPS
:%=%_dist
) $(NET_APPS
:%=%_dist
) $(WINE_MODULES
:%=%_dist
)
162 .PHONY
: all implib
clean clean_before
install dist
166 # System Applications
169 make
-C subsys
/system
/$*
171 $(SYS_APPS
:%=%_implib
): %_implib
:
172 make
-C subsys
/system
/$* implib
174 $(SYS_APPS
:%=%_clean
): %_clean
:
175 make
-C subsys
/system
/$* clean
177 $(SYS_APPS
:%=%_dist
): %_dist
:
178 make
-C subsys
/system
/$* dist
180 $(SYS_APPS
:%=%_install
): %_install
:
181 make
-C subsys
/system
/$* install
183 .PHONY
: $(SYS_APPS
) $(SYS_APPS
:%=%_implib
) $(SYS_APPS
:%=%_clean
) $(SYS_APPS
:%=%_install
) $(SYS_APPS
:%=%_dist
)
191 $(SYS_SVC
:%=%_implib
): %_implib
:
192 make
-C services
/$* implib
194 $(SYS_SVC
:%=%_clean
): %_clean
:
195 make
-C services
/$* clean
197 $(SYS_SVC
:%=%_dist
): %_dist
:
198 make
-C services
/$* dist
200 $(SYS_SVC
:%=%_install
): %_install
:
201 make
-C services
/$* install
203 .PHONY
: $(SYS_SVC
) $(SYS_SVC
:%=%_implib
) $(SYS_SVC
:%=%_clean
) $(SYS_SVC
:%=%_install
) $(SYS_SVC
:%=%_dist
)
210 make
-C apps
/tests
/$*
212 $(TEST_APPS
:%=%_implib
): %_implib
:
213 make
-C apps
/tests
/$* implib
215 $(TEST_APPS
:%=%_clean
): %_clean
:
216 make
-C apps
/tests
/$* clean
218 $(TEST_APPS
:%=%_dist
): %_dist
:
219 make
-C apps
/tests
/$* dist
221 $(TEST_APPS
:%=%_install
): %_install
:
222 make
-C apps
/tests
/$* install
224 .PHONY
: $(TEST_APPS
) $(TEST_APPS
:%=%_implib
) $(TEST_APPS
:%=%_clean
) $(TEST_APPS
:%=%_install
) $(TEST_APPS
:%=%_dist
)
228 # Utility Applications
231 make
-C apps
/utils
/$*
233 $(UTIL_APPS
:%=%_implib
): %_implib
:
234 make
-C apps
/utils
/$* implib
236 $(UTIL_APPS
:%=%_clean
): %_clean
:
237 make
-C apps
/utils
/$* clean
239 $(UTIL_APPS
:%=%_dist
): %_dist
:
240 make
-C apps
/utils
/$* dist
242 $(UTIL_APPS
:%=%_install
): %_install
:
243 make
-C apps
/utils
/$* install
245 .PHONY
: $(UTIL_APPS
) $(UTIL_APPS
:%=%_implib
) $(UTIL_APPS
:%=%_clean
) $(UTIL_APPS
:%=%_install
) $(UTIL_APPS
:%=%_dist
)
252 make
-f makefile.ros
-C
$(WINE_PATH
)/$*
254 $(WINE_OTHER
:%=%_implib
): %_implib
:
255 make
-f makefile.ros
-C
$(WINE_PATH
)/$* implib
257 $(WINE_OTHER
:%=%_clean
): %_clean
:
258 make
-f makefile.ros
-C
$(WINE_PATH
)/$* clean
260 $(WINE_OTHER
:%=%_dist
): %_dist
:
261 make
-f makefile.ros
-C
$(WINE_PATH
)/$* dist
263 $(WINE_OTHER
:%=%_install
): %_install
:
264 make
-f makefile.ros
-C
$(WINE_PATH
)/$* install
266 .PHONY
: $(WINE_OTHER
) $(WINE_OTHER
:%=%_implib
) $(WINE_OTHER
:%=%_clean
) $(WINE_OTHER
:%=%_install
) $(WINE_OTHER
:%=%_dist
)
273 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$*
275 $(WINE_TOOLS
:%=%_implib
): %_implib
:
276 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* implib
278 $(WINE_TOOLS
:%=%_clean
): %_clean
:
279 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* clean
281 $(WINE_TOOLS
:%=%_dist
): %_dist
:
282 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* dist
284 $(WINE_TOOLS
:%=%_install
): %_install
:
285 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* install
287 .PHONY
: $(WINE_DLLS
) $(WINE_DLLS
:%=%_implib
) $(WINE_DLLS
:%=%_clean
) $(WINE_DLLS
:%=%_install
) $(WINE_DLLS
:%=%_dist
)
294 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$*
296 $(WINE_DLLS
:%=%_implib
): %_implib
:
297 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* implib
299 $(WINE_DLLS
:%=%_clean
): %_clean
:
300 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* clean
302 $(WINE_DLLS
:%=%_dist
): %_dist
:
303 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* dist
305 $(WINE_DLLS
:%=%_install
): %_install
:
306 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* install
308 .PHONY
: $(WINE_DLLS
) $(WINE_DLLS
:%=%_implib
) $(WINE_DLLS
:%=%_clean
) $(WINE_DLLS
:%=%_install
) $(WINE_DLLS
:%=%_dist
)
315 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$*
317 $(WINE_PROGS
:%=%_implib
): %_implib
:
318 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* implib
320 $(WINE_PROGS
:%=%_clean
): %_clean
:
321 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* clean
323 $(WINE_PROGS
:%=%_dist
): %_dist
:
324 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* dist
326 $(WINE_PROGS
:%=%_install
): %_install
:
327 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* install
329 .PHONY
: $(WINE_PROGS
) $(WINE_PROGS
:%=%_implib
) $(WINE_PROGS
:%=%_clean
) $(WINE_PROGS
:%=%_install
) $(WINE_PROGS
:%=%_dist
)
347 .PHONY
: tools tools_implib tools_clean tools_install tools_dist
355 $(RMKDIR
) $(DDK_PATH
)
356 $(RMKDIR
) $(DDK_PATH_LIB
)
357 $(RMKDIR
) $(DDK_PATH_INC
)
358 $(RMKDIR
) $(SDK_PATH
)
359 $(RMKDIR
) $(SDK_PATH_LIB
)
360 $(RMKDIR
) $(SDK_PATH_INC
)
361 $(RMKDIR
) $(XDK_PATH
)
362 $(RMKDIR
) $(XDK_PATH_LIB
)
363 $(RMKDIR
) $(XDK_PATH_INC
)
367 # WARNING! Be very sure that there are no important files
368 # in these directories before cleaning them!!!
370 $(RM
) $(DDK_PATH_LIB
)/*.a
371 # $(RM) $(DDK_PATH_INC)/*.h
372 $(RMDIR
) $(DDK_PATH_LIB
)
373 # $(RMDIR) $(DDK_PATH_INC)
374 $(RM
) $(SDK_PATH_LIB
)/*.a
375 # $(RM) $(SDK_PATH_INC)/*.h
376 $(RMDIR
) $(SDK_PATH_LIB
)
377 # $(RMDIR) $(SDK_PATH_INC)
378 $(RM
) $(XDK_PATH_LIB
)/*.a
379 # $(RM) $(XDK_PATH_INC)/*.h
380 $(RMDIR
) $(XDK_PATH_LIB
)
381 # $(RMDIR) $(XDK_PATH_INC)
387 .PHONY
: dk dk_implib dk_clean dk_install dk_dist
399 make
-C iface
/native
clean
401 iface_native_install
:
408 iface_additional_implib
:
410 iface_additional_clean
:
411 make
-C iface
/addsys
clean
413 iface_additional_install
:
415 iface_additional_dist
:
417 .PHONY
: iface_native iface_native_implib iface_native_clean iface_native_install \
419 iface_additional iface_additional_implib iface_additional_clean \
420 iface_additional_install iface_additional_dist
426 make
-C drivers
/bus
/$*
428 $(BUS
:%=%_implib
): %_implib
:
429 make
-C drivers
/bus
/$* implib
431 $(BUS
:%=%_clean
): %_clean
:
432 make
-C drivers
/bus
/$* clean
434 $(BUS
:%=%_install
): %_install
:
435 make
-C drivers
/bus
/$* install
437 $(BUS
:%=%_dist
): %_dist
:
438 make
-C drivers
/bus
/$* dist
440 .PHONY
: $(BUS
) $(BUS
:%=%_implib
) $(BUS
:%=%_clean
) \
441 $(BUS
:%=%_install
) $(BUS
:%=%_dist
)
444 # Driver support libraries rules
447 make
-C drivers
/lib
/$*
449 $(DRIVERS_LIB
:%=%_implib
): %_implib
:
450 make
-C drivers
/lib
/$* implib
452 $(DRIVERS_LIB
:%=%_clean
): %_clean
:
453 make
-C drivers
/lib
/$* clean
455 $(DRIVERS_LIB
:%=%_install
): %_install
:
456 make
-C drivers
/lib
/$* install
458 $(DRIVERS_LIB
:%=%_dist
): %_dist
:
459 make
-C drivers
/lib
/$* dist
461 .PHONY
: $(DRIVERS_LIB
) $(DRIVERS_LIB
:%=%_implib
) $(DRIVERS_LIB
:%=%_clean
) \
462 $(DRIVERS_LIB
:%=%_install
) $(DRIVERS_LIB
:%=%_dist
)
465 # Device driver rules
467 $(DEVICE_DRIVERS
): %:
468 make
-C drivers
/dd
/$*
470 $(DEVICE_DRIVERS
:%=%_implib
): %_implib
:
471 make
-C drivers
/dd
/$* implib
473 $(DEVICE_DRIVERS
:%=%_clean
): %_clean
:
474 make
-C drivers
/dd
/$* clean
476 $(DEVICE_DRIVERS
:%=%_install
): %_install
:
477 make
-C drivers
/dd
/$* install
479 $(DEVICE_DRIVERS
:%=%_dist
): %_dist
:
480 make
-C drivers
/dd
/$* dist
482 .PHONY
: $(DEVICE_DRIVERS
) $(DEVICE_DRIVERS
:%=%_implib
) $(DEVICE_DRIVERS
:%=%_clean
) \
483 $(DEVICE_DRIVERS
:%=%_install
) $(DEVICE_DRIVERS
:%=%_dist
)
489 make
-C drivers
/input
/$*
491 $(INPUT_DRIVERS
:%=%_implib
): %_implib
:
492 make
-C drivers
/input
/$* implib
494 $(INPUT_DRIVERS
:%=%_clean
): %_clean
:
495 make
-C drivers
/input
/$* clean
497 $(INPUT_DRIVERS
:%=%_install
): %_install
:
498 make
-C drivers
/input
/$* install
500 $(INPUT_DRIVERS
:%=%_dist
): %_dist
:
501 make
-C drivers
/input
/$* dist
503 .PHONY
: $(INPUT_DRIVERS
) $(INPUT_DRIVERS
:%=%_implib
) $(INPUT_DRIVERS
:%=%_clean
)\
504 $(INPUT_DRIVERS
:%=%_install
) $(INPUT_DRIVERS
:%=%_dist
)
507 make
-C drivers
/fs
/$*
509 $(FS_DRIVERS
:%=%_implib
): %_implib
:
510 make
-C drivers
/fs
/$* implib
512 $(FS_DRIVERS
:%=%_clean
): %_clean
:
513 make
-C drivers
/fs
/$* clean
515 $(FS_DRIVERS
:%=%_install
): %_install
:
516 make
-C drivers
/fs
/$* install
518 $(FS_DRIVERS
:%=%_dist
): %_dist
:
519 make
-C drivers
/fs
/$* dist
521 .PHONY
: $(FS_DRIVERS
) $(FS_DRIVERS
:%=%_implib
) $(FS_DRIVERS
:%=%_clean
) \
522 $(FS_DRIVERS
:%=%_install
) $(FS_DRIVERS
:%=%_dist
)
525 # Network driver rules
528 make
-C drivers
/net
/$*
530 $(NET_DRIVERS
:%=%_implib
): %_implib
:
531 make
-C drivers
/net
/$* implib
533 $(NET_DRIVERS
:%=%_clean
): %_clean
:
534 make
-C drivers
/net
/$* clean
536 $(NET_DRIVERS
:%=%_install
): %_install
:
537 make
-C drivers
/net
/$* install
539 $(NET_DRIVERS
:%=%_dist
): %_dist
:
540 make
-C drivers
/net
/$* dist
542 .PHONY
: $(NET_DRIVERS
) $(NET_DRIVERS
:%=%_implib
) $(NET_DRIVERS
:%=%_clean
) \
543 $(NET_DRIVERS
:%=%_install
) $(NET_DRIVERS
:%=%_dist
)
545 $(NET_DEVICE_DRIVERS
): %:
546 make
-C drivers
/net
/dd
/$*
548 $(NET_DEVICE_DRIVERS
:%=%_implib
): %_implib
:
549 make
-C drivers
/net
/dd
/$* implib
551 $(NET_DEVICE_DRIVERS
:%=%_clean
): %_clean
:
552 make
-C drivers
/net
/dd
/$* clean
554 $(NET_DEVICE_DRIVERS
:%=%_install
): %_install
:
555 make
-C drivers
/net
/dd
/$* install
557 $(NET_DEVICE_DRIVERS
:%=%_dist
): %_dist
:
558 make
-C drivers
/net
/dd
/$* dist
560 .PHONY
: $(NET_DEVICE_DRIVERS
) $(NET_DEVICE_DRIVERS
:%=%_clean
) $(NET_DEVICE_DRIVERS
:%=%_implib
) \
561 $(NET_DEVICE_DRIVERS
:%=%_install
) $(NET_DEVICE_DRIVERS
:%=%_dist
)
564 # storage driver rules
566 $(STORAGE_DRIVERS
): %:
567 make
-C drivers
/storage
/$*
569 $(STORAGE_DRIVERS
:%=%_implib
): %_implib
:
570 make
-C drivers
/storage
/$* implib
572 $(STORAGE_DRIVERS
:%=%_clean
): %_clean
:
573 make
-C drivers
/storage
/$* clean
575 $(STORAGE_DRIVERS
:%=%_install
): %_install
:
576 make
-C drivers
/storage
/$* install
578 $(STORAGE_DRIVERS
:%=%_dist
): %_dist
:
579 make
-C drivers
/storage
/$* dist
581 .PHONY
: $(STORAGE_DRIVERS
) $(STORAGE_DRIVERS
:%=%_clean
) \
582 $(STORAGE_DRIVERS
:%=%_install
) $(STORAGE_DRIVERS
:%=%_dist
)
591 $(LOADERS
:%=%_implib
): %_implib
:
593 $(LOADERS
:%=%_clean
): %_clean
:
594 make
-C loaders
/$* clean
596 $(LOADERS
:%=%_install
): %_install
:
597 make
-C loaders
/$* install
599 $(LOADERS
:%=%_dist
): %_dist
:
600 make
-C loaders
/$* dist
602 .PHONY
: $(LOADERS
) $(LOADERS
:%=%_implib
) $(LOADERS
:%=%_clean
) $(LOADERS
:%=%_install
) \
606 # Required system components
613 make
-C ntoskrnl implib
616 make
-C ntoskrnl
clean
619 make
-C ntoskrnl
install
622 make
-C ntoskrnl
dist
624 .PHONY
: ntoskrnl ntoskrnl_implib ntoskrnl_clean ntoskrnl_install ntoskrnl_dist
627 # Hardware Abstraction Layer import library
634 make
-C hal
/hal implib
637 make
-C hal
/hal
clean
640 make
-C hal
/hal
install
645 .PHONY
: hallib hallib_implib hallib_clean hallib_install hallib_dist
648 # Hardware Abstraction Layers
654 $(HALS
:%=%_implib
): %_implib
:
655 make
-C hal
/$* implib
657 $(HALS
:%=%_clean
): %_clean
:
660 $(HALS
:%=%_install
): %_install
:
661 make
-C hal
/$* install
663 $(HALS
:%=%_dist
): %_dist
:
666 .PHONY
: $(HALS
) $(HALS
:%=%_implib
) $(HALS
:%=%_clean
) $(HALS
:%=%_install
) $(HALS
:%=%_dist
)
675 $(DLLS
:%=%_implib
): %_implib
:
676 make
-C lib
/$* implib
678 $(DLLS
:%=%_clean
): %_clean
:
681 $(DLLS
:%=%_install
): %_install
:
682 make
-C lib
/$* install
684 $(DLLS
:%=%_dist
): %_dist
:
687 .PHONY
: $(DLLS
) $(DLLS
:%=%_implib
) $(DLLS
:%=%_clean
) $(DLLS
:%=%_install
) $(DLLS
:%=%_dist
)
690 # Subsystem support modules
696 $(SUBSYS
:%=%_implib
): %_implib
:
697 make
-C subsys
/$* implib
699 $(SUBSYS
:%=%_clean
): %_clean
:
700 make
-C subsys
/$* clean
702 $(SUBSYS
:%=%_install
): %_install
:
703 make
-C subsys
/$* install
705 $(SUBSYS
:%=%_dist
): %_dist
:
706 make
-C subsys
/$* dist
708 .PHONY
: $(SUBSYS
) $(SUBSYS
:%=%_implib
) $(SUBSYS
:%=%_clean
) $(SUBSYS
:%=%_install
) \
712 # Create an installation
716 $(RM
) $(INSTALL_DIR
)/system32
/drivers
/*.
*
717 $(RM
) $(INSTALL_DIR
)/system32
/config
/*.
*
718 $(RM
) $(INSTALL_DIR
)/system32
/*.
*
719 $(RM
) $(INSTALL_DIR
)/symbols
/*.
*
720 $(RM
) $(INSTALL_DIR
)/media
/fonts
/*.
*
721 $(RM
) $(INSTALL_DIR
)/media
/*.
*
722 $(RM
) $(INSTALL_DIR
)/bin
/*.
*
723 $(RM
) $(INSTALL_DIR
)/*.com
724 $(RM
) $(INSTALL_DIR
)/*.bat
725 $(RMDIR
) $(INSTALL_DIR
)/system32
/drivers
726 $(RMDIR
) $(INSTALL_DIR
)/system32
/config
727 $(RMDIR
) $(INSTALL_DIR
)/system32
728 $(RMDIR
) $(INSTALL_DIR
)/symbols
729 $(RMDIR
) $(INSTALL_DIR
)/media
/fonts
730 $(RMDIR
) $(INSTALL_DIR
)/media
731 $(RMDIR
) $(INSTALL_DIR
)/bin
732 $(RMDIR
) $(INSTALL_DIR
)
735 $(RMKDIR
) $(INSTALL_DIR
)
736 $(RMKDIR
) $(INSTALL_DIR
)/bin
737 $(RMKDIR
) $(INSTALL_DIR
)/media
738 $(RMKDIR
) $(INSTALL_DIR
)/media
/fonts
739 $(RMKDIR
) $(INSTALL_DIR
)/symbols
740 $(RMKDIR
) $(INSTALL_DIR
)/system32
741 $(RMKDIR
) $(INSTALL_DIR
)/system32
/config
742 $(RMKDIR
) $(INSTALL_DIR
)/system32
/drivers
745 $(CP
) bootc.lst
$(INSTALL_DIR
)/bootc.lst
746 $(CP
) boot.bat
$(INSTALL_DIR
)/boot.bat
747 $(CP
) aboot.bat
$(INSTALL_DIR
)/aboot.bat
748 $(CP
) system.hiv
$(INSTALL_DIR
)/system32
/config
/system.hiv
749 $(CP
) media
/fonts
/helb____.ttf
$(INSTALL_DIR
)/media
/fonts
/helb____.ttf
750 $(CP
) media
/fonts
/timr____.ttf
$(INSTALL_DIR
)/media
/fonts
/timr____.ttf
752 .PHONY
: install_clean install_dirs install_before
756 # Make a distribution saveset
760 $(RM
) $(DIST_DIR
)/symbols
/*.sym
761 $(RM
) $(DIST_DIR
)/drivers
/*.sys
762 $(RM
) $(DIST_DIR
)/subsys
/*.exe
763 $(RM
) $(DIST_DIR
)/dlls
/*.dll
764 $(RM
) $(DIST_DIR
)/apps
/*.exe
765 $(RM
) $(DIST_DIR
)/*.exe
766 $(RMDIR
) $(DIST_DIR
)/symbols
767 $(RMDIR
) $(DIST_DIR
)/subsys
768 $(RMDIR
) $(DIST_DIR
)/drivers
769 $(RMDIR
) $(DIST_DIR
)/dlls
770 $(RMDIR
) $(DIST_DIR
)/apps
774 $(RMKDIR
) $(DIST_DIR
)
775 $(RMKDIR
) $(DIST_DIR
)/apps
776 $(RMKDIR
) $(DIST_DIR
)/dlls
777 $(RMKDIR
) $(DIST_DIR
)/drivers
778 $(RMKDIR
) $(DIST_DIR
)/subsys
779 $(RMKDIR
) $(DIST_DIR
)/symbols
781 .PHONY
: dist_clean dist_dirs
785 find .
-name
"*.[ch]" -print | etags
--language
=c
-