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
= 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
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
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 # Wine userspace win32 subsystem plus other stuff. This will all be moved
97 # to helper makefile down the road and there will be peace on earth.
102 WINE_TOOLS
= wrc winebuild
104 WINE_DLLS
= rpcrt4 mapi32 ole32 oleaut32 oledlg olepro32 olecli olesvr \
105 shell32 shlwapi comctl32 shfolder shdocvw commdlg \
106 ddraw dinput dplay dplayx \
107 psapi richedit serialui tapi32 urlmon winspool wintrust
108 #lzexpand (missing imports)
109 #dsound (missing winmm.dll)
112 WINE_PROGS
= clock cmdlgtst control notepad osversioncheck \
113 progman uninstaller view wcmd winefile winemine \
116 ifeq ($(ROS_BUILD_WINE
),yes
)
117 WINE_MODULES
= $(WINE_OTHER
) $(WINE_TOOLS
) $(WINE_DLLS
) $(WINE_PROGS
)
122 KERNEL_DRIVERS
= $(DRIVERS_LIB
) $(DEVICE_DRIVERS
) $(INPUT_DRIVERS
) $(FS_DRIVERS
) \
123 $(NET_DRIVERS
) $(NET_DEVICE_DRIVERS
) $(STORAGE_DRIVERS
)
125 all: tools dk implib
$(COMPONENTS
) $(HALS
) $(BUS
) $(DLLS
) $(SUBSYS
) \
126 $(LOADERS
) $(KERNEL_DRIVERS
) $(SYS_APPS
) $(SYS_SVC
) $(TEST_APPS
) \
127 $(UTIL_APPS
) $(WINE_MODULES
)
129 implib
: $(COMPONENTS
:%=%_implib
) $(HALS
:%=%_implib
) $(BUS
:%=%_implib
) \
130 $(DLLS
:%=%_implib
) $(LOADERS
:%=%_implib
) \
131 $(KERNEL_DRIVERS
:%=%_implib
) $(SUBSYS
:%=%_implib
) \
132 $(SYS_APPS
:%=%_implib
) $(SYS_SVC
:%=%_implib
) \
133 $(TEST_APPS
:%=%_implib
) $(UTIL_APPS
:%=%_implib
) \
134 $(WINE_MODULES
:%=%_implib
)
136 clean: tools dk_clean
$(HALS
:%=%_clean
) \
137 $(COMPONENTS
:%=%_clean
) $(BUS
:%=%_clean
) $(DLLS
:%=%_clean
) \
138 $(LOADERS
:%=%_clean
) $(KERNEL_DRIVERS
:%=%_clean
) $(SUBSYS
:%=%_clean
) \
139 $(SYS_APPS
:%=%_clean
) $(SYS_SVC
:%=%_clean
) $(TEST_APPS
:%=%_clean
) \
140 $(UTIL_APPS
:%=%_clean
) $(NET_APPS
:%=%_clean
) $(WINE_MODULES
:%=%_clean
) \
141 clean_after tools_clean
144 $(RM
) $(PATH_TO_TOP
)/include/roscfg.h
146 install: tools install_dirs install_before \
147 $(COMPONENTS
:%=%_install
) $(HALS
:%=%_install
) $(BUS
:%=%_install
) \
148 $(DLLS
:%=%_install
) $(LOADERS
:%=%_install
) \
149 $(KERNEL_DRIVERS
:%=%_install
) $(SUBSYS
:%=%_install
) \
150 $(SYS_APPS
:%=%_install
) $(SYS_SVC
:%=%_install
) \
151 $(TEST_APPS
:%=%_install
) $(UTIL_APPS
:%=%_install
) \
152 $(WINE_MODULES
:%=%_install
)
154 dist: $(TOOLS_PATH
)/rcopy
$(EXE_POSTFIX
) dist_clean dist_dirs \
155 $(HALS
:%=%_dist
) $(COMPONENTS
:%=%_dist
) $(BUS
:%=%_dist
) $(DLLS
:%=%_dist
) \
156 $(LOADERS
:%=%_dist
) $(KERNEL_DRIVERS
:%=%_dist
) $(SUBSYS
:%=%_dist
) \
157 $(SYS_APPS
:%=%_dist
) $(SYS_SVC
:%=%_dist
) $(TEST_APPS
:%=%_dist
) \
158 $(UTIL_APPS
:%=%_dist
) $(NET_APPS
:%=%_dist
) $(WINE_MODULES
:%=%_dist
)
160 .PHONY
: all implib
clean clean_before
install dist
164 # System Applications
167 make
-C subsys
/system
/$*
169 $(SYS_APPS
:%=%_implib
): %_implib
:
170 make
-C subsys
/system
/$* implib
172 $(SYS_APPS
:%=%_clean
): %_clean
:
173 make
-C subsys
/system
/$* clean
175 $(SYS_APPS
:%=%_dist
): %_dist
:
176 make
-C subsys
/system
/$* dist
178 $(SYS_APPS
:%=%_install
): %_install
:
179 make
-C subsys
/system
/$* install
181 .PHONY
: $(SYS_APPS
) $(SYS_APPS
:%=%_implib
) $(SYS_APPS
:%=%_clean
) $(SYS_APPS
:%=%_install
) $(SYS_APPS
:%=%_dist
)
189 $(SYS_SVC
:%=%_implib
): %_implib
:
190 make
-C services
/$* implib
192 $(SYS_SVC
:%=%_clean
): %_clean
:
193 make
-C services
/$* clean
195 $(SYS_SVC
:%=%_dist
): %_dist
:
196 make
-C services
/$* dist
198 $(SYS_SVC
:%=%_install
): %_install
:
199 make
-C services
/$* install
201 .PHONY
: $(SYS_SVC
) $(SYS_SVC
:%=%_implib
) $(SYS_SVC
:%=%_clean
) $(SYS_SVC
:%=%_install
) $(SYS_SVC
:%=%_dist
)
208 make
-C apps
/tests
/$*
210 $(TEST_APPS
:%=%_implib
): %_implib
:
211 make
-C apps
/tests
/$* implib
213 $(TEST_APPS
:%=%_clean
): %_clean
:
214 make
-C apps
/tests
/$* clean
216 $(TEST_APPS
:%=%_dist
): %_dist
:
217 make
-C apps
/tests
/$* dist
219 $(TEST_APPS
:%=%_install
): %_install
:
220 make
-C apps
/tests
/$* install
222 .PHONY
: $(TEST_APPS
) $(TEST_APPS
:%=%_implib
) $(TEST_APPS
:%=%_clean
) $(TEST_APPS
:%=%_install
) $(TEST_APPS
:%=%_dist
)
226 # Utility Applications
229 make
-C apps
/utils
/$*
231 $(UTIL_APPS
:%=%_implib
): %_implib
:
232 make
-C apps
/utils
/$* implib
234 $(UTIL_APPS
:%=%_clean
): %_clean
:
235 make
-C apps
/utils
/$* clean
237 $(UTIL_APPS
:%=%_dist
): %_dist
:
238 make
-C apps
/utils
/$* dist
240 $(UTIL_APPS
:%=%_install
): %_install
:
241 make
-C apps
/utils
/$* install
243 .PHONY
: $(UTIL_APPS
) $(UTIL_APPS
:%=%_implib
) $(UTIL_APPS
:%=%_clean
) $(UTIL_APPS
:%=%_install
) $(UTIL_APPS
:%=%_dist
)
250 make
-f makefile.ros
-C
$(WINE_PATH
)/$*
252 $(WINE_OTHER
:%=%_implib
): %_implib
:
253 make
-f makefile.ros
-C
$(WINE_PATH
)/$* implib
255 $(WINE_OTHER
:%=%_clean
): %_clean
:
256 make
-f makefile.ros
-C
$(WINE_PATH
)/$* clean
258 $(WINE_OTHER
:%=%_dist
): %_dist
:
259 make
-f makefile.ros
-C
$(WINE_PATH
)/$* dist
261 $(WINE_OTHER
:%=%_install
): %_install
:
262 make
-f makefile.ros
-C
$(WINE_PATH
)/$* install
264 .PHONY
: $(WINE_OTHER
) $(WINE_OTHER
:%=%_implib
) $(WINE_OTHER
:%=%_clean
) $(WINE_OTHER
:%=%_install
) $(WINE_OTHER
:%=%_dist
)
271 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$*
273 $(WINE_TOOLS
:%=%_implib
): %_implib
:
274 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* implib
276 $(WINE_TOOLS
:%=%_clean
): %_clean
:
277 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* clean
279 $(WINE_TOOLS
:%=%_dist
): %_dist
:
280 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* dist
282 $(WINE_TOOLS
:%=%_install
): %_install
:
283 make
-f makefile.ros
-C
$(WINE_PATH
)/tools
/$* install
285 .PHONY
: $(WINE_DLLS
) $(WINE_DLLS
:%=%_implib
) $(WINE_DLLS
:%=%_clean
) $(WINE_DLLS
:%=%_install
) $(WINE_DLLS
:%=%_dist
)
292 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$*
294 $(WINE_DLLS
:%=%_implib
): %_implib
:
295 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* implib
297 $(WINE_DLLS
:%=%_clean
): %_clean
:
298 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* clean
300 $(WINE_DLLS
:%=%_dist
): %_dist
:
301 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* dist
303 $(WINE_DLLS
:%=%_install
): %_install
:
304 make
-f makefile.ros
-C
$(WINE_PATH
)/dlls
/$* install
306 .PHONY
: $(WINE_DLLS
) $(WINE_DLLS
:%=%_implib
) $(WINE_DLLS
:%=%_clean
) $(WINE_DLLS
:%=%_install
) $(WINE_DLLS
:%=%_dist
)
313 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$*
315 $(WINE_PROGS
:%=%_implib
): %_implib
:
316 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* implib
318 $(WINE_PROGS
:%=%_clean
): %_clean
:
319 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* clean
321 $(WINE_PROGS
:%=%_dist
): %_dist
:
322 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* dist
324 $(WINE_PROGS
:%=%_install
): %_install
:
325 make
-f makefile.ros
-C
$(WINE_PATH
)/programs
/$* install
327 .PHONY
: $(WINE_PROGS
) $(WINE_PROGS
:%=%_implib
) $(WINE_PROGS
:%=%_clean
) $(WINE_PROGS
:%=%_install
) $(WINE_PROGS
:%=%_dist
)
345 .PHONY
: tools tools_implib tools_clean tools_install tools_dist
353 $(RMKDIR
) $(DDK_PATH
)
354 $(RMKDIR
) $(DDK_PATH_LIB
)
355 $(RMKDIR
) $(DDK_PATH_INC
)
356 $(RMKDIR
) $(SDK_PATH
)
357 $(RMKDIR
) $(SDK_PATH_LIB
)
358 $(RMKDIR
) $(SDK_PATH_INC
)
359 $(RMKDIR
) $(XDK_PATH
)
360 $(RMKDIR
) $(XDK_PATH_LIB
)
361 $(RMKDIR
) $(XDK_PATH_INC
)
365 # WARNING! Be very sure that there are no important files
366 # in these directories before cleaning them!!!
368 $(RM
) $(DDK_PATH_LIB
)/*.a
369 # $(RM) $(DDK_PATH_INC)/*.h
370 $(RMDIR
) $(DDK_PATH_LIB
)
371 # $(RMDIR) $(DDK_PATH_INC)
372 $(RM
) $(SDK_PATH_LIB
)/*.a
373 # $(RM) $(SDK_PATH_INC)/*.h
374 $(RMDIR
) $(SDK_PATH_LIB
)
375 # $(RMDIR) $(SDK_PATH_INC)
376 $(RM
) $(XDK_PATH_LIB
)/*.a
377 # $(RM) $(XDK_PATH_INC)/*.h
378 $(RMDIR
) $(XDK_PATH_LIB
)
379 # $(RMDIR) $(XDK_PATH_INC)
385 .PHONY
: dk dk_implib dk_clean dk_install dk_dist
397 make
-C iface
/native
clean
399 iface_native_install
:
406 iface_additional_implib
:
408 iface_additional_clean
:
409 make
-C iface
/addsys
clean
411 iface_additional_install
:
413 iface_additional_dist
:
415 .PHONY
: iface_native iface_native_implib iface_native_clean iface_native_install \
417 iface_additional iface_additional_implib iface_additional_clean \
418 iface_additional_install iface_additional_dist
424 make
-C drivers
/bus
/$*
426 $(BUS
:%=%_implib
): %_implib
:
427 make
-C drivers
/bus
/$* implib
429 $(BUS
:%=%_clean
): %_clean
:
430 make
-C drivers
/bus
/$* clean
432 $(BUS
:%=%_install
): %_install
:
433 make
-C drivers
/bus
/$* install
435 $(BUS
:%=%_dist
): %_dist
:
436 make
-C drivers
/bus
/$* dist
438 .PHONY
: $(BUS
) $(BUS
:%=%_implib
) $(BUS
:%=%_clean
) \
439 $(BUS
:%=%_install
) $(BUS
:%=%_dist
)
442 # Driver support libraries rules
445 make
-C drivers
/lib
/$*
447 $(DRIVERS_LIB
:%=%_implib
): %_implib
:
448 make
-C drivers
/lib
/$* implib
450 $(DRIVERS_LIB
:%=%_clean
): %_clean
:
451 make
-C drivers
/lib
/$* clean
453 $(DRIVERS_LIB
:%=%_install
): %_install
:
454 make
-C drivers
/lib
/$* install
456 $(DRIVERS_LIB
:%=%_dist
): %_dist
:
457 make
-C drivers
/lib
/$* dist
459 .PHONY
: $(DRIVERS_LIB
) $(DRIVERS_LIB
:%=%_implib
) $(DRIVERS_LIB
:%=%_clean
) \
460 $(DRIVERS_LIB
:%=%_install
) $(DRIVERS_LIB
:%=%_dist
)
463 # Device driver rules
465 $(DEVICE_DRIVERS
): %:
466 make
-C drivers
/dd
/$*
468 $(DEVICE_DRIVERS
:%=%_implib
): %_implib
:
469 make
-C drivers
/dd
/$* implib
471 $(DEVICE_DRIVERS
:%=%_clean
): %_clean
:
472 make
-C drivers
/dd
/$* clean
474 $(DEVICE_DRIVERS
:%=%_install
): %_install
:
475 make
-C drivers
/dd
/$* install
477 $(DEVICE_DRIVERS
:%=%_dist
): %_dist
:
478 make
-C drivers
/dd
/$* dist
480 .PHONY
: $(DEVICE_DRIVERS
) $(DEVICE_DRIVERS
:%=%_implib
) $(DEVICE_DRIVERS
:%=%_clean
) \
481 $(DEVICE_DRIVERS
:%=%_install
) $(DEVICE_DRIVERS
:%=%_dist
)
487 make
-C drivers
/input
/$*
489 $(INPUT_DRIVERS
:%=%_implib
): %_implib
:
490 make
-C drivers
/input
/$* implib
492 $(INPUT_DRIVERS
:%=%_clean
): %_clean
:
493 make
-C drivers
/input
/$* clean
495 $(INPUT_DRIVERS
:%=%_install
): %_install
:
496 make
-C drivers
/input
/$* install
498 $(INPUT_DRIVERS
:%=%_dist
): %_dist
:
499 make
-C drivers
/input
/$* dist
501 .PHONY
: $(INPUT_DRIVERS
) $(INPUT_DRIVERS
:%=%_implib
) $(INPUT_DRIVERS
:%=%_clean
)\
502 $(INPUT_DRIVERS
:%=%_install
) $(INPUT_DRIVERS
:%=%_dist
)
505 make
-C drivers
/fs
/$*
507 $(FS_DRIVERS
:%=%_implib
): %_implib
:
508 make
-C drivers
/fs
/$* implib
510 $(FS_DRIVERS
:%=%_clean
): %_clean
:
511 make
-C drivers
/fs
/$* clean
513 $(FS_DRIVERS
:%=%_install
): %_install
:
514 make
-C drivers
/fs
/$* install
516 $(FS_DRIVERS
:%=%_dist
): %_dist
:
517 make
-C drivers
/fs
/$* dist
519 .PHONY
: $(FS_DRIVERS
) $(FS_DRIVERS
:%=%_implib
) $(FS_DRIVERS
:%=%_clean
) \
520 $(FS_DRIVERS
:%=%_install
) $(FS_DRIVERS
:%=%_dist
)
523 # Network driver rules
526 make
-C drivers
/net
/$*
528 $(NET_DRIVERS
:%=%_implib
): %_implib
:
529 make
-C drivers
/net
/$* implib
531 $(NET_DRIVERS
:%=%_clean
): %_clean
:
532 make
-C drivers
/net
/$* clean
534 $(NET_DRIVERS
:%=%_install
): %_install
:
535 make
-C drivers
/net
/$* install
537 $(NET_DRIVERS
:%=%_dist
): %_dist
:
538 make
-C drivers
/net
/$* dist
540 .PHONY
: $(NET_DRIVERS
) $(NET_DRIVERS
:%=%_implib
) $(NET_DRIVERS
:%=%_clean
) \
541 $(NET_DRIVERS
:%=%_install
) $(NET_DRIVERS
:%=%_dist
)
543 $(NET_DEVICE_DRIVERS
): %:
544 make
-C drivers
/net
/dd
/$*
546 $(NET_DEVICE_DRIVERS
:%=%_implib
): %_implib
:
547 make
-C drivers
/net
/dd
/$* implib
549 $(NET_DEVICE_DRIVERS
:%=%_clean
): %_clean
:
550 make
-C drivers
/net
/dd
/$* clean
552 $(NET_DEVICE_DRIVERS
:%=%_install
): %_install
:
553 make
-C drivers
/net
/dd
/$* install
555 $(NET_DEVICE_DRIVERS
:%=%_dist
): %_dist
:
556 make
-C drivers
/net
/dd
/$* dist
558 .PHONY
: $(NET_DEVICE_DRIVERS
) $(NET_DEVICE_DRIVERS
:%=%_clean
) $(NET_DEVICE_DRIVERS
:%=%_implib
) \
559 $(NET_DEVICE_DRIVERS
:%=%_install
) $(NET_DEVICE_DRIVERS
:%=%_dist
)
562 # storage driver rules
564 $(STORAGE_DRIVERS
): %:
565 make
-C drivers
/storage
/$*
567 $(STORAGE_DRIVERS
:%=%_implib
): %_implib
:
568 make
-C drivers
/storage
/$* implib
570 $(STORAGE_DRIVERS
:%=%_clean
): %_clean
:
571 make
-C drivers
/storage
/$* clean
573 $(STORAGE_DRIVERS
:%=%_install
): %_install
:
574 make
-C drivers
/storage
/$* install
576 $(STORAGE_DRIVERS
:%=%_dist
): %_dist
:
577 make
-C drivers
/storage
/$* dist
579 .PHONY
: $(STORAGE_DRIVERS
) $(STORAGE_DRIVERS
:%=%_clean
) \
580 $(STORAGE_DRIVERS
:%=%_install
) $(STORAGE_DRIVERS
:%=%_dist
)
589 $(LOADERS
:%=%_implib
): %_implib
:
591 $(LOADERS
:%=%_clean
): %_clean
:
592 make
-C loaders
/$* clean
594 $(LOADERS
:%=%_install
): %_install
:
595 make
-C loaders
/$* install
597 $(LOADERS
:%=%_dist
): %_dist
:
598 make
-C loaders
/$* dist
600 .PHONY
: $(LOADERS
) $(LOADERS
:%=%_implib
) $(LOADERS
:%=%_clean
) $(LOADERS
:%=%_install
) \
604 # Required system components
611 make
-C ntoskrnl implib
614 make
-C ntoskrnl
clean
617 make
-C ntoskrnl
install
620 make
-C ntoskrnl
dist
622 .PHONY
: ntoskrnl ntoskrnl_implib ntoskrnl_clean ntoskrnl_install ntoskrnl_dist
625 # Hardware Abstraction Layer import library
632 make
-C hal
/hal implib
635 make
-C hal
/hal
clean
638 make
-C hal
/hal
install
643 .PHONY
: hallib hallib_implib hallib_clean hallib_install hallib_dist
646 # Hardware Abstraction Layers
652 $(HALS
:%=%_implib
): %_implib
:
653 make
-C hal
/$* implib
655 $(HALS
:%=%_clean
): %_clean
:
658 $(HALS
:%=%_install
): %_install
:
659 make
-C hal
/$* install
661 $(HALS
:%=%_dist
): %_dist
:
664 .PHONY
: $(HALS
) $(HALS
:%=%_implib
) $(HALS
:%=%_clean
) $(HALS
:%=%_install
) $(HALS
:%=%_dist
)
673 $(DLLS
:%=%_implib
): %_implib
:
674 make
-C lib
/$* implib
676 $(DLLS
:%=%_clean
): %_clean
:
679 $(DLLS
:%=%_install
): %_install
:
680 make
-C lib
/$* install
682 $(DLLS
:%=%_dist
): %_dist
:
685 .PHONY
: $(DLLS
) $(DLLS
:%=%_implib
) $(DLLS
:%=%_clean
) $(DLLS
:%=%_install
) $(DLLS
:%=%_dist
)
688 # Subsystem support modules
694 $(SUBSYS
:%=%_implib
): %_implib
:
695 make
-C subsys
/$* implib
697 $(SUBSYS
:%=%_clean
): %_clean
:
698 make
-C subsys
/$* clean
700 $(SUBSYS
:%=%_install
): %_install
:
701 make
-C subsys
/$* install
703 $(SUBSYS
:%=%_dist
): %_dist
:
704 make
-C subsys
/$* dist
706 .PHONY
: $(SUBSYS
) $(SUBSYS
:%=%_implib
) $(SUBSYS
:%=%_clean
) $(SUBSYS
:%=%_install
) \
710 # Create an installation
714 $(RM
) $(INSTALL_DIR
)/system32
/drivers
/*.
*
715 $(RM
) $(INSTALL_DIR
)/system32
/config
/*.
*
716 $(RM
) $(INSTALL_DIR
)/system32
/*.
*
717 $(RM
) $(INSTALL_DIR
)/symbols
/*.
*
718 $(RM
) $(INSTALL_DIR
)/media
/fonts
/*.
*
719 $(RM
) $(INSTALL_DIR
)/media
/*.
*
720 $(RM
) $(INSTALL_DIR
)/bin
/*.
*
721 $(RM
) $(INSTALL_DIR
)/*.com
722 $(RM
) $(INSTALL_DIR
)/*.bat
723 $(RMDIR
) $(INSTALL_DIR
)/system32
/drivers
724 $(RMDIR
) $(INSTALL_DIR
)/system32
/config
725 $(RMDIR
) $(INSTALL_DIR
)/system32
726 $(RMDIR
) $(INSTALL_DIR
)/symbols
727 $(RMDIR
) $(INSTALL_DIR
)/media
/fonts
728 $(RMDIR
) $(INSTALL_DIR
)/media
729 $(RMDIR
) $(INSTALL_DIR
)/bin
730 $(RMDIR
) $(INSTALL_DIR
)
733 $(RMKDIR
) $(INSTALL_DIR
)
734 $(RMKDIR
) $(INSTALL_DIR
)/bin
735 $(RMKDIR
) $(INSTALL_DIR
)/media
736 $(RMKDIR
) $(INSTALL_DIR
)/media
/fonts
737 $(RMKDIR
) $(INSTALL_DIR
)/symbols
738 $(RMKDIR
) $(INSTALL_DIR
)/system32
739 $(RMKDIR
) $(INSTALL_DIR
)/system32
/config
740 $(RMKDIR
) $(INSTALL_DIR
)/system32
/drivers
743 $(CP
) bootc.lst
$(INSTALL_DIR
)/bootc.lst
744 $(CP
) boot.bat
$(INSTALL_DIR
)/boot.bat
745 $(CP
) aboot.bat
$(INSTALL_DIR
)/aboot.bat
746 $(CP
) system.hiv
$(INSTALL_DIR
)/system32
/system.hiv
747 $(CP
) media
/fonts
/helb____.ttf
$(INSTALL_DIR
)/media
/fonts
/helb____.ttf
748 $(CP
) media
/fonts
/timr____.ttf
$(INSTALL_DIR
)/media
/fonts
/timr____.ttf
750 .PHONY
: install_clean install_dirs install_before
754 # Make a distribution saveset
758 $(RM
) $(DIST_DIR
)/symbols
/*.sym
759 $(RM
) $(DIST_DIR
)/drivers
/*.sys
760 $(RM
) $(DIST_DIR
)/subsys
/*.exe
761 $(RM
) $(DIST_DIR
)/dlls
/*.dll
762 $(RM
) $(DIST_DIR
)/apps
/*.exe
763 $(RM
) $(DIST_DIR
)/*.exe
764 $(RMDIR
) $(DIST_DIR
)/symbols
765 $(RMDIR
) $(DIST_DIR
)/subsys
766 $(RMDIR
) $(DIST_DIR
)/drivers
767 $(RMDIR
) $(DIST_DIR
)/dlls
768 $(RMDIR
) $(DIST_DIR
)/apps
772 $(RMKDIR
) $(DIST_DIR
)
773 $(RMKDIR
) $(DIST_DIR
)/apps
774 $(RMKDIR
) $(DIST_DIR
)/dlls
775 $(RMKDIR
) $(DIST_DIR
)/drivers
776 $(RMKDIR
) $(DIST_DIR
)/subsys
777 $(RMKDIR
) $(DIST_DIR
)/symbols
779 .PHONY
: dist_clean dist_dirs
783 find .
-name
"*.[ch]" -print | etags
--language
=c
-