update files (rundll32 moved)
[reactos.git] / reactos / Makefile
1 # $Id$
2 #
3 # Global makefile
4 #
5
6 PATH_TO_TOP = .
7
8 include $(PATH_TO_TOP)/rules.mak
9 include $(PATH_TO_TOP)/config
10
11 #
12 # Define to build ReactOS external targets
13 #
14 ifeq ($(ROS_BUILD_EXT),)
15 ROS_BUILD_EXT = no
16 else
17 ROS_BUILD_EXT = yes
18 endif
19
20 ifneq ($(MINIMALDEPENDENCIES),no)
21 IMPLIB =
22 else
23 IMPLIB = implib
24 endif
25
26 # Boot loaders
27 BOOT_LOADERS = freeldr
28
29 # Required to run the system
30 COMPONENTS = ntoskrnl
31
32 # Hardware Abstraction Layers
33 # halx86
34 HALS = halx86/up halx86/mp
35
36 # Bus drivers
37 # acpi isapnp pci
38 BUS = acpi isapnp pci
39
40 # Filesystem libraries
41 # vfatlib
42 LIB_FSLIB = vfatlib
43
44 # libunicode, must be empty!
45 LIBUNICODE =
46
47 # Static libraries
48 LIB_STATIC = string rosrtl epsapi uuid libwine zlib rtl tgetopt pseh adns dxguid strmiids crt rossym wdmguid
49
50 # Keyboard layout libraries
51 DLLS_KBD = kbdda kbddv kbdes kbdfr kbdgr kbdse kbduk kbdus
52
53 # Control Panels
54 DLLS_CPL = cpl
55
56 # Shell extensions
57 DLLS_SHELLEXT = shellext
58
59 # User mode libraries
60 # libpcap packet epsapi
61 DLLS = acledit aclui advapi32 advpack cabinet cards comctl32 crtdll comdlg32 d3d8thk dbghelp expat fmifs freetype \
62 gdi32 gdiplus glu32 hid imagehlp imm32 iphlpapi kernel32 lzexpand mesa32 midimap mmdrv mpr msacm msafd \
63 msgina msi msimg32 msvcrt20 msvideo mswsock netapi32 ntdll ole32 oleaut32 oledlg olepro32 opengl32 \
64 packet psapi riched20 richedit rpcrt4 samlib secur32 setupapi shell32 shlwapi smdll snmpapi syssetup \
65 twain user32 userenv version wininet winmm winspool ws2help ws2_32 wsock32 wshirda dnsapi \
66 urlmon shdocvw dinput dinput8 dxdiagn devenum dsound lsasrv $(DLLS_KBD) $(DLLS_CPL) $(DLLS_SHELLEXT)
67
68 SUBSYS = smss win32k csrss ntvdm
69
70 #
71 # Select the server(s) you want to build
72 #
73 #SERVERS = posix linux os2
74 SERVERS = win32
75
76 # Driver support libraries
77 #bzip2 zlib oskittcp
78 DRIVERS_LIB = bzip2 oskittcp ip csq
79
80 # Kernel mode device drivers
81 # Obsolete: ide
82 # beep blue floppy null parallel ramdrv serenum serial
83 DEVICE_DRIVERS = beep blue debugout null serial bootvid
84
85 # Kernel mode input drivers
86 INPUT_DRIVERS = keyboard mouclass psaux sermouse
87
88 # Kernel mode file system drivers
89 # cdfs ext2 fs_rec ms np vfat
90 FS_DRIVERS = cdfs fs_rec ms np vfat mup ntfs
91
92 # Kernel mode networking drivers
93 # afd ndis npf tcpip tdi wshtcpip
94 NET_DRIVERS = afd ndis npf tcpip tdi wshtcpip
95
96 # Kernel mode networking device drivers
97 # ne2000 pcnet
98 NET_DEVICE_DRIVERS = ne2000 pcnet
99
100 # Kernel mode storage drivers
101 # atapi cdrom class2 disk scsiport
102 STORAGE_DRIVERS = atapi cdrom class2 disk floppy scsiport diskdump
103
104 # System applications
105 # autochk cmd format services setup usetup welcome winlogon msiexec
106 SYS_APPS = autochk calc cmd explorer expand format ibrowser msiexec regedt32 regsvr32 \
107 reporterror services setup taskmgr userinit usetup welcome vmwinst rundll32 \
108 winlogon regedit winefile notepad reactos lsass
109
110 # System services
111 SYS_SVC = rpcss eventlog umpnpmgr
112
113 APPS = testsets utils
114
115
116 # External modules and (sub)systems for ReactOS
117 # rosapps posix os2 (requires c++) java (non-existant)
118 EXTERNALS = rosapps
119
120 ifeq ($(ROS_BUILD_EXT),yes)
121 EXT_MODULES = $(EXTERNALS)
122 else
123 EXT_MODULES =
124 endif
125
126 KERNEL_DRIVERS = $(DRIVERS_LIB) $(DEVICE_DRIVERS) $(INPUT_DRIVERS) $(FS_DRIVERS) \
127 $(NET_DRIVERS) $(NET_DEVICE_DRIVERS) $(STORAGE_DRIVERS) VIDEO_DRIVERS USB_DRIVERS
128
129 # Regression tests
130 REGTESTS = regtests
131
132 all: bootstrap $(BOOT_LOADERS) $(COMPONENTS) $(REGTESTS) $(HALS) $(BUS) $(LIB_FSLIB) \
133 $(DLLS) $(SUBSYS) $(KERNEL_DRIVERS) $(SYS_APPS) $(SYS_SVC) $(APPS) $(EXT_MODULES)
134
135 bootstrap: dk implib iface_native
136
137 depends: $(LIB_STATIC:%=%_depends) $(LIB_FSLIB:%=%_depends) msvcrt_depends $(DLLS:%=%_depends) \
138 $(SUBSYS:%=%_depends) $(SYS_SVC:%=%_depends) \
139 $(EXT_MODULES:%=%_depends) $(POSIX_LIBS:%=%_depends)
140
141 implib: hallib $(LIB_STATIC) $(LIB_FSLIB) $(COMPONENTS:%=%_implib) $(HALS:%=%_implib) \
142 $(BUS:%=%_implib) $(LIB_STATIC:%=%_implib) $(LIB_FSLIB:%=%_implib) \
143 msvcrt_implib $(DLLS:%=%_implib) $(KERNEL_DRIVERS:%=%_implib) \
144 $(SUBSYS:%=%_implib) $(SYS_APPS:%=%_implib) $(SYS_SVC:%=%_implib) \
145 $(EXT_MODULES:%=%_implib) $(REGTESTS:%=%_implib)
146
147 test: $(BOOT_LOADERS:%=%_test) $(COMPONENTS:%=%_test) $(HALS:%=%_test) $(BUS:%=%_test) \
148 $(LIB_STATIC:%=%_test) $(LIB_FSLIB:%=%_test) msvcrt_test $(DLLS:%=%_test) \
149 $(KERNEL_DRIVERS:%=%_test) $(SUBSYS:%=%_test) \
150 $(SYS_SVC:%=%_test) $(EXT_MODULES:%=%_test)
151
152 clean: tools dk_clean iface_native_clean hallib_clean \
153 $(BOOT_LOADERS:%=%_clean) $(HALS:%=%_clean) $(COMPONENTS:%=%_clean) \
154 $(BUS:%=%_clean) $(LIB_STATIC:%=%_clean) $(LIB_FSLIB:%=%_clean) \
155 msvcrt_clean $(DLLS:%=%_clean) $(KERNEL_DRIVERS:%=%_clean) \
156 $(SUBSYS:%=%_clean) $(SYS_APPS:%=%_clean) $(SYS_SVC:%=%_clean) \
157 $(NET_APPS:%=%_clean) $(APPS:%=%_clean) $(EXT_MODULES:%=%_clean) \
158 $(REGTESTS:%=%_clean) clean_after tools_clean
159
160 clean_after:
161 $(HALFVERBOSEECHO) [RM] /include/roscfg.h
162 $(RM) $(PATH_TO_TOP)/include/roscfg.h
163
164 fastinstall: tools install_dirs install_before $(COMPONENTS:%=%_install) $(HALS:%=%_install) \
165 $(BUS:%=%_install) $(LIB_STATIC:%=%_install) $(LIB_FSLIB:%=%_install) \
166 msvcrt_install $(DLLS:%=%_install) $(KERNEL_DRIVERS:%=%_install) \
167 $(SUBSYS:%=%_install) $(SYS_APPS:%=%_install) $(SYS_SVC:%=%_install) \
168 $(APPS:%=%_install) $(EXT_MODULES:%=%_install) $(REGTESTS:%=%_install)
169 install: fastinstall registry
170
171 FREELDR_DIR = boot/freeldr
172
173 bootcd_directory_layout:
174 $(HALFVERBOSEECHO) [RMKDIR] $(BOOTCD_DIR)
175 $(RMKDIR) $(BOOTCD_DIR)
176 $(HALFVERBOSEECHO) [RMKDIR] $(BOOTCD_DIR)/bootdisk
177 $(RMKDIR) $(BOOTCD_DIR)/bootdisk
178 $(HALFVERBOSEECHO) [RMKDIR] $(BOOTCD_DIR)/loader
179 $(RMKDIR) $(BOOTCD_DIR)/loader
180 $(HALFVERBOSEECHO) [RMKDIR] $(BOOTCD_DIR)/reactos
181 $(RMKDIR) $(BOOTCD_DIR)/reactos
182 $(HALFVERBOSEECHO) [RMKDIR] $(BOOTCD_DIR)/reactos/system32
183 $(RMKDIR) $(BOOTCD_DIR)/reactos/system32
184
185 bootcd_bootstrap_files: $(BOOT_LOADERS:%=%_bootcd) $(COMPONENTS:%=%_bootcd) \
186 $(HALS:%=%_bootcd) $(BUS:%=%_bootcd) $(LIB_STATIC:%=%_bootcd) \
187 $(LIB_FSLIB:%=%_bootcd) msvcrt_bootcd $(DLLS:%=%_bootcd) \
188 $(KERNEL_DRIVERS:%=%_bootcd) $(SUBSYS:%=%_bootcd) $(SYS_APPS:%=%_bootcd)
189
190 bootcd_install_before:
191 $(HALFVERBOSEECHO) [RLINE] bootdata/autorun.inf to $(BOOTCD_DIR)/autorun.inf
192 $(RLINE) bootdata/autorun.inf $(BOOTCD_DIR)/autorun.inf
193 $(HALFVERBOSEECHO) [RLINE] bootdata/readme.txt to $(BOOTCD_DIR)/readme.txt
194 $(RLINE) bootdata/readme.txt $(BOOTCD_DIR)/readme.txt
195 $(HALFVERBOSEECHO) [RLINE] bootdata/hivecls.inf to $(BOOTCD_DIR)/reactos/hivecls.inf
196 $(RLINE) bootdata/hivecls.inf $(BOOTCD_DIR)/reactos/hivecls.inf
197 $(HALFVERBOSEECHO) [RLINE] bootdata/hivedef.inf to $(BOOTCD_DIR)/reactos/hivedef.inf
198 $(RLINE) bootdata/hivedef.inf $(BOOTCD_DIR)/reactos/hivedef.inf
199 $(HALFVERBOSEECHO) [RLINE] bootdata/hivesft.inf to $(BOOTCD_DIR)/reactos/hivesft.inf
200 $(RLINE) bootdata/hivesft.inf $(BOOTCD_DIR)/reactos/hivesft.inf
201 $(HALFVERBOSEECHO) [RLINE] bootdata/hivesys.inf to $(BOOTCD_DIR)/reactos/hivesys.inf
202 $(RLINE) bootdata/hivesys.inf $(BOOTCD_DIR)/reactos/hivesys.inf
203 $(HALFVERBOSEECHO) [RLINE] bootdata/txtsetup.sif to $(BOOTCD_DIR)/reactos/txtsetup.sif
204 $(RLINE) bootdata/txtsetup.sif $(BOOTCD_DIR)/reactos/txtsetup.sif
205 $(HALFVERBOSEECHO) [COPY] bootdata/icon.ico to $(BOOTCD_DIR)/icon.ico
206 $(CP) bootdata/icon.ico $(BOOTCD_DIR)/icon.ico
207 $(HALFVERBOSEECHO) [COPY] subsys/system/welcome/welcome.exe to $(BOOTCD_DIR)/reactos/welcome.exe
208 $(CP) subsys/system/welcome/welcome.exe $(BOOTCD_DIR)/reactos/welcome.exe
209 $(HALFVERBOSEECHO) [COPY] subsys/system/reactos/reactos.exe to $(BOOTCD_DIR)/reactos/reactos.exe
210 $(CP) subsys/system/reactos/reactos.exe $(BOOTCD_DIR)/reactos/reactos.exe
211 $(HALFVERBOSEECHO) [COPY] media/nls/c_1252.nls to $(BOOTCD_DIR)/reactos/c_1252.nls
212 $(CP) media/nls/c_1252.nls $(BOOTCD_DIR)/reactos/c_1252.nls
213 $(HALFVERBOSEECHO) [COPY] media/nls/c_437.nls to $(BOOTCD_DIR)/reactos/c_437.nls
214 $(CP) media/nls/c_437.nls $(BOOTCD_DIR)/reactos/c_437.nls
215 $(HALFVERBOSEECHO) [COPY] media/nls/l_intl.nls to $(BOOTCD_DIR)/reactos/l_intl.nls
216 $(CP) media/nls/l_intl.nls $(BOOTCD_DIR)/reactos/l_intl.nls
217 $(HALFVERBOSEECHO) [COPY] media/drivers/etc/services to $(BOOTCD_DIR)/reactos/services
218 $(CP) media/drivers/etc/services $(BOOTCD_DIR)/reactos/services
219
220 bootcd_basic: bootcd_directory_layout bootcd_bootstrap_files bootcd_install_before
221
222 bootcd_makecd:
223 $(CABMAN) /C bootdata/packages/reactos.dff /L $(BOOTCD_DIR)/reactos /I
224 $(CABMAN) /C bootdata/packages/reactos.dff /RC $(BOOTCD_DIR)/reactos/reactos.inf /L $(BOOTCD_DIR)/reactos /N
225 - $(RM) $(BOOTCD_DIR)/reactos/reactos.inf
226 $(HALFVERBOSEECHO) [CDMAKE] ReactOS.iso
227 $(CDMAKE) -v -m -b $(BOOTCD_DIR)/../isoboot.bin $(BOOTCD_DIR) REACTOS ReactOS.iso
228
229 ubootcd_unattend:
230 $(HALFVERBOSEECHO) [COPY] bootdata/unattend.inf to $(BOOTCD_DIR)/reactos/unattend.inf
231 $(CP) bootdata/unattend.inf $(BOOTCD_DIR)/reactos/unattend.inf
232
233 livecd_directory_layout:
234 $(HALFVERBOSEECHO) [RMKDIR] $(LIVECD_DIR)
235 $(RMKDIR) $(LIVECD_DIR)
236 $(HALFVERBOSEECHO) [RMKDIR] $(LIVECD_DIR)/loader
237 $(RMKDIR) $(LIVECD_DIR)/loader
238 $(HALFVERBOSEECHO) [RMKDIR] $(LIVECD_DIR)/reactos
239 $(RMKDIR) $(LIVECD_DIR)/reactos
240 $(HALFVERBOSEECHO) [RMKDIR] $(LIVECD_DIR)/Profiles/All\ Users/Desktop
241 $(RMKDIR) $(LIVECD_DIR)/Profiles/All\ Users/Desktop
242 $(HALFVERBOSEECHO) [RMKDIR] $(LIVECD_DIR)/Profiles/Default\ User/Desktop
243 $(RMKDIR) $(LIVECD_DIR)/Profiles/Default\ User/Desktop
244 $(HALFVERBOSEECHO) [RMKDIR] $(LIVECD_DIR)/Profiles/Default\ User/My\ Documents
245 $(RMKDIR) $(LIVECD_DIR)/Profiles/Default\ User/My\ Documents
246 $(HALFVERBOSEECHO) [COPY] ${FREELDR_DIR}/bootsect/isoboot.bin to ${LIVECD_DIR}/../isoboot.bin
247 $(CP) ${FREELDR_DIR}/bootsect/isoboot.bin ${LIVECD_DIR}/../isoboot.bin
248 $(HALFVERBOSEECHO) [COPY] ${FREELDR_DIR}/freeldr/freeldr.sys to ${LIVECD_DIR}/loader/setupldr.sys
249 $(CP) ${FREELDR_DIR}/freeldr/freeldr.sys ${LIVECD_DIR}/loader/setupldr.sys
250 $(HALFVERBOSEECHO) [RLINE] bootdata/livecd.ini to $(LIVECD_DIR)/freeldr.ini
251 $(RLINE) bootdata/livecd.ini $(LIVECD_DIR)/freeldr.ini
252
253 livecd_bootstrap_files:
254 $(MAKE) LIVECD_INSTALL=yes fastinstall
255
256 livecd_install_before:
257 $(MKHIVE) bootdata $(LIVECD_DIR)/reactos/system32/config bootdata/livecd.inf bootdata/hiveinst.inf
258
259 livecd_basic: livecd_directory_layout livecd_bootstrap_files livecd_install_before
260
261 livecd_makecd:
262 $(HALFVERBOSEECHO) [CDMAKE] roslive.iso
263 $(CDMAKE) -m -j -b $(LIVECD_DIR)/../isoboot.bin $(LIVECD_DIR) REACTOS roslive.iso
264
265 bootcd: bootcd_basic bootcd_makecd
266
267 ubootcd: bootcd_basic ubootcd_unattend bootcd_makecd
268
269 livecd: livecd_basic livecd_makecd
270
271 registry: tools
272 $(MKHIVE) bootdata $(INSTALL_DIR)/system32/config bootdata/hiveinst.inf
273
274 .PHONY: all bootstrap depends implib test clean clean_before install bootcd_directory_layout \
275 bootcd_bootstrap_files bootcd_install_before bootcd_basic bootcd_makecd ubootcd_unattend bootcd
276
277
278 #
279 # Boot Loaders
280 #
281 $(BOOT_LOADERS): %:
282 $(MAKE) -C boot/$*
283
284 $(BOOT_LOADERS:%=%_test): %_test:
285 $(MAKE) -C boot/$* test
286
287 $(BOOT_LOADERS:%=%_clean): %_clean:
288 $(MAKE) -C boot/$* clean
289
290 $(BOOT_LOADERS:%=%_bootcd): %_bootcd:
291 $(MAKE) -C boot/$* bootcd
292
293 .PHONY: $(BOOT_LOADERS) $(BOOT_LOADERS:%=%_test) $(BOOT_LOADERS:%=%_clean) \
294 $(BOOT_LOADERS:%=%_bootcd)
295
296 $(COMPONENTS): dk
297
298 #
299 # System Applications
300 #
301 $(SYS_APPS): %: $(IMPLIB)
302 $(MAKE) -C subsys/system/$*
303
304 $(SYS_APPS:%=%_implib): %_implib: dk
305 $(MAKE) --silent -C subsys/system/$* implib
306
307 $(SYS_APPS:%=%_test): %_test:
308 $(MAKE) -C subsys/system/$* test
309
310 $(SYS_APPS:%=%_clean): %_clean:
311 $(MAKE) -C subsys/system/$* clean
312
313 $(SYS_APPS:%=%_install): %_install:
314 $(MAKE) -C subsys/system/$* install
315
316 $(SYS_APPS:%=%_bootcd): %_bootcd:
317 $(MAKE) -C subsys/system/$* bootcd
318
319 .PHONY: $(SYS_APPS) $(SYS_APPS:%=%_implib) $(SYS_APPS:%=%_test) \
320 $(SYS_APPS:%=%_clean) $(SYS_APPS:%=%_install) $(SYS_APPS:%=%_bootcd)
321
322 #
323 # System Services
324 #
325 $(SYS_SVC): %: $(IMPLIB)
326 $(MAKE) -C services/$*
327
328 $(SYS_SVC:%=%_depends): %_depends:
329 $(MAKE) -C services/$* depends
330
331 $(SYS_SVC:%=%_implib): %_implib: dk
332 $(MAKE) --silent -C services/$* implib
333
334 $(SYS_SVC:%=%_test): %_test:
335 $(MAKE) -C services/$* test
336
337 $(SYS_SVC:%=%_clean): %_clean:
338 $(MAKE) -C services/$* clean
339
340 $(SYS_SVC:%=%_install): %_install:
341 $(MAKE) -C services/$* install
342
343 .PHONY: $(SYS_SVC) $(SYS_SVC:%=%_depends) $(SYS_SVC:%=%_implib) \
344 $(SYS_SVC:%=%_test) $(SYS_SVC:%=%_clean) $(SYS_SVC:%=%_install)
345
346
347 #
348 # Applications
349 #
350 #
351 # Extra (optional system) Applications
352 #
353 $(APPS): %: $(IMPLIB)
354 $(MAKE) -C apps/$*
355
356 # Not needed
357 # $(APPS:%=%_implib): %_implib: dk
358 # $(MAKE) --silent -C apps/$* implib
359
360 $(APPS:%=%_test): %_test:
361 $(MAKE) -C apps/$* test
362
363 $(APPS:%=%_clean): %_clean:
364 $(MAKE) -C apps/$* clean
365
366 $(APPS:%=%_install): %_install:
367 $(MAKE) -C apps/$* install
368
369 .PHONY: $(APPS) $(APPS:%=%_test) $(APPS:%=%_clean) $(APPS:%=%_install)
370
371
372 #
373 # External ports and subsystem personalities
374 #
375 $(EXTERNALS): %:
376 $(MAKE) -C $(ROOT_PATH)/$*
377
378 $(EXTERNALS:%=%_depends): %_depends:
379 $(MAKE) -C $(ROOT_PATH)/$* depends
380
381 $(EXTERNALS:%=%_implib): %_implib: dk
382 $(MAKE) --silent -C $(ROOT_PATH)/$* implib
383
384 $(EXTERNALS:%=%_clean): %_clean:
385 $(MAKE) -C $(ROOT_PATH)/$* clean
386
387 $(EXTERNALS:%=%_install): %_install:
388 $(MAKE) -C $(ROOT_PATH)/$* install
389
390 .PHONY: $(EXTERNALS) $(EXTERNALS:%=%_depends) $(EXTERNALS:%=%_implib) $(EXTERNALS:%=%_clean) $(EXTERNALS:%=%_install)
391
392
393 #
394 # Tools
395 #
396 tools:
397 $(MAKE) --silent -C tools
398
399 tools_implib:
400
401
402 tools_test:
403
404
405 tools_clean:
406 $(MAKE) -C tools clean
407
408 tools_install:
409
410 .PHONY: tools tools_implib tools_test tools_clean tools_install
411
412
413 #
414 # Developer Kits
415 #
416 dk: tools
417 @$(RMKDIR) $(DK_PATH)
418 @$(RMKDIR) $(DDK_PATH)
419 @$(RMKDIR) $(DDK_PATH_LIB)
420 @$(RMKDIR) $(DDK_PATH_INC)
421 @$(RMKDIR) $(SDK_PATH)
422 @$(RMKDIR) $(SDK_PATH_LIB)
423 @$(RMKDIR) $(SDK_PATH_INC)
424 @$(RMKDIR) $(XDK_PATH)
425 @$(RMKDIR) $(XDK_PATH_LIB)
426 # @$(RMKDIR) $(XDK_PATH_INC)
427
428 dk_implib:
429
430 # WARNING! Be very sure that there are no important files
431 # in these directories before cleaning them!!!
432 dk_clean:
433 $(HALFVERBOSEECHO) [RM] $(DDK_PATH_LIB)/*.a
434 $(RM) $(DDK_PATH_LIB)/*.a
435 # $(HALFVERBOSEECHO) [RM] $(DDK_PATH_INC)/*.h
436 # $(RM) $(DDK_PATH_INC)/*.h
437 $(HALFVERBOSEECHO) [RMDIR] $(DDK_PATH_LIB)
438 $(RMDIR) $(DDK_PATH_LIB)
439 # $(HALFVERBOSEECHO) [RMDIR] $(DDK_PATH_INC)
440 # $(RMDIR) $(DDK_PATH_INC)
441 $(HALFVERBOSEECHO) [RM] $(SDK_PATH_LIB)/*.a
442 $(RM) $(SDK_PATH_LIB)/*.a
443 # $(HALFVERBOSEECHO) [RM] $(SDK_PATH_INC)/*.h
444 # $(RM) $(SDK_PATH_INC)/*.h
445 $(HALFVERBOSEECHO) [RMDIR] $(SDK_PATH_LIB)
446 $(RMDIR) $(SDK_PATH_LIB)
447 # $(HALFVERBOSEECHO) [RMDIR] $(SDK_PATH_INC)
448 # $(RMDIR) $(SDK_PATH_INC)
449 $(HALFVERBOSEECHO) [RM] $(XDK_PATH_LIB)/*.a
450 $(RM) $(XDK_PATH_LIB)/*.a
451 # $(HALFVERBOSEECHO) [RM] $(XDK_PATH_INC)/*.h
452 # $(RM) $(XDK_PATH_INC)/*.h
453 $(HALFVERBOSEECHO) [RMDIR] $(XDK_PATH_LIB)
454 $(RMDIR) $(XDK_PATH_LIB)
455 # $(HALFVERBOSEECHO) [RMDIR] $(XDK_PATH_INC)
456 # $(RMDIR) $(XDK_PATH_INC)
457
458 dk_install:
459
460 .PHONY: dk dk_implib dk_clean dk_install
461
462
463 #
464 # Interfaces
465 #
466 iface_native:
467 $(MAKE) --silent -C tools/nci
468
469 iface_native_implib:
470
471 iface_native_test:
472
473 iface_native_clean:
474 $(MAKE) --silent -C tools/nci clean
475
476 iface_native_install:
477
478 iface_native_bootcd:
479
480 .PHONY: iface_native iface_native_implib iface_native_test iface_native_clean \
481 iface_native_install iface_native_bootcd
482
483
484 #
485 # Bus driver rules
486 #
487 $(BUS): %: $(IMPLIB)
488 $(MAKE) -C drivers/bus/$*
489
490 $(BUS:%=%_implib): %_implib: dk
491 $(MAKE) --silent -C drivers/bus/$* implib
492
493 $(BUS:%=%_test): %_test:
494 $(MAKE) -C drivers/bus/$* test
495
496 $(BUS:%=%_clean): %_clean:
497 $(MAKE) -C drivers/bus/$* clean
498
499 $(BUS:%=%_install): %_install:
500 $(MAKE) -C drivers/bus/$* install
501
502 $(BUS:%=%_bootcd): %_bootcd:
503 $(MAKE) -C drivers/bus/$* bootcd
504
505 .PHONY: $(BUS) $(BUS:%=%_implib) $(BUS:%=%_clean) \
506 $(BUS:%=%_install) $(BUS:%=%_bootcd)
507
508
509 #
510 # Driver support libraries rules
511 #
512 $(DRIVERS_LIB): %: $(IMPLIB)
513 $(MAKE) -C drivers/lib/$*
514
515 $(DRIVERS_LIB:%=%_implib): %_implib: dk
516 $(MAKE) --silent -C drivers/lib/$* implib
517
518 $(DRIVERS_LIB:%=%_test): %_test:
519 $(MAKE) -C drivers/lib/$* test
520
521 $(DRIVERS_LIB:%=%_clean): %_clean:
522 $(MAKE) -C drivers/lib/$* clean
523
524 $(DRIVERS_LIB:%=%_install): %_install:
525 $(MAKE) -C drivers/lib/$* install
526
527 $(DRIVERS_LIB:%=%_bootcd): %_bootcd:
528 $(MAKE) -C drivers/lib/$* bootcd
529
530 .PHONY: $(DRIVERS_LIB) $(DRIVERS_LIB:%=%_implib) $(DRIVERS_LIB:%=%_test) \
531 $(DRIVERS_LIB:%=%_clean) $(DRIVERS_LIB:%=%_install) $(DRIVERS_LIB:%=%_bootcd)
532
533
534 #
535 # Device driver rules
536 #
537 $(DEVICE_DRIVERS): %: $(IMPLIB)
538 $(MAKE) -C drivers/dd/$*
539
540 $(DEVICE_DRIVERS:%=%_implib): %_implib: dk
541 $(MAKE) --silent -C drivers/dd/$* implib
542
543 $(DEVICE_DRIVERS:%=%_test): %_test:
544 $(MAKE) -C drivers/dd/$* test
545
546 $(DEVICE_DRIVERS:%=%_clean): %_clean:
547 $(MAKE) -C drivers/dd/$* clean
548
549 $(DEVICE_DRIVERS:%=%_install): %_install:
550 $(MAKE) -C drivers/dd/$* install
551
552 $(DEVICE_DRIVERS:%=%_bootcd): %_bootcd:
553 $(MAKE) -C drivers/dd/$* bootcd
554
555 .PHONY: $(DEVICE_DRIVERS) $(DEVICE_DRIVERS:%=%_implib) $(DEVICE_DRIVERS:%=%_test) \
556 $(DEVICE_DRIVERS:%=%_clean) $(DEVICE_DRIVERS:%=%_install) $(DEVICE_DRIVERS:%=%_bootcd)
557
558
559 #
560 # Video device driver rules
561 #
562 VIDEO_DRIVERS: $(IMPLIB)
563 $(MAKE) -C drivers/video
564
565 VIDEO_DRIVERS_implib: dk
566 $(MAKE) --silent -C drivers/video implib
567
568 VIDEO_DRIVERS_test:
569 $(MAKE) -C drivers/video test
570
571 VIDEO_DRIVERS_clean:
572 $(MAKE) -C drivers/video clean
573
574 VIDEO_DRIVERS_install:
575 $(MAKE) -C drivers/video install
576
577 VIDEO_DRIVERS_bootcd:
578 $(MAKE) -C drivers/video bootcd
579
580 .PHONY: VIDEO_DRIVERS VIDEO_DRIVERS_implib VIDEO_DRIVERS_test\
581 VIDEO_DRIVERS_clean VIDEO_DRIVERS_install VIDEO_DRIVERS_bootcd
582
583 #
584 # USB device driver rules
585 #
586 USB_DRIVERS: $(IMPLIB)
587 $(MAKE) -C drivers/usb
588
589 USB_DRIVERS_implib: dk
590 $(MAKE) --silent -C drivers/usb implib
591
592 USB_DRIVERS_test:
593 $(MAKE) -C drivers/usb test
594
595 USB_DRIVERS_clean:
596 $(MAKE) -C drivers/usb clean
597
598 USB_DRIVERS_install:
599 $(MAKE) -C drivers/usb install
600
601 USB_DRIVERS_bootcd:
602 $(MAKE) -C drivers/usb bootcd
603
604 .PHONY: USB_DRIVERS USB_DRIVERS_implib USB_DRIVERS_test\
605 USB_DRIVERS_clean USB_DRIVERS_install USB_DRIVERS_bootcd
606
607
608 #
609 # Input driver rules
610 #
611 $(INPUT_DRIVERS): %: $(IMPLIB)
612 $(MAKE) -C drivers/input/$*
613
614 $(INPUT_DRIVERS:%=%_implib): %_implib: dk
615 $(MAKE) --silent -C drivers/input/$* implib
616
617 $(INPUT_DRIVERS:%=%_test): %_test:
618 $(MAKE) -C drivers/input/$* test
619
620 $(INPUT_DRIVERS:%=%_clean): %_clean:
621 $(MAKE) -C drivers/input/$* clean
622
623 $(INPUT_DRIVERS:%=%_install): %_install:
624 $(MAKE) -C drivers/input/$* install
625
626 $(INPUT_DRIVERS:%=%_bootcd): %_bootcd:
627 $(MAKE) -C drivers/input/$* bootcd
628
629 .PHONY: $(INPUT_DRIVERS) $(INPUT_DRIVERS:%=%_implib) $(INPUT_DRIVERS:%=%_test) \
630 $(INPUT_DRIVERS:%=%_clean) $(INPUT_DRIVERS:%=%_install) $(INPUT_DRIVERS:%=%_bootcd)
631
632 #
633 # Filesystem driver rules
634 #
635 $(FS_DRIVERS): %: $(IMPLIB)
636 $(MAKE) -C drivers/fs/$*
637
638 $(FS_DRIVERS:%=%_implib): %_implib: dk
639 $(MAKE) --silent -C drivers/fs/$* implib
640
641 $(FS_DRIVERS:%=%_test): %_test:
642 $(MAKE) -C drivers/fs/$* test
643
644 $(FS_DRIVERS:%=%_clean): %_clean:
645 $(MAKE) -C drivers/fs/$* clean
646
647 $(FS_DRIVERS:%=%_install): %_install:
648 $(MAKE) -C drivers/fs/$* install
649
650 $(FS_DRIVERS:%=%_bootcd): %_bootcd:
651 $(MAKE) -C drivers/fs/$* bootcd
652
653 .PHONY: $(FS_DRIVERS) $(FS_DRIVERS:%=%_implib) $(FS_DRIVERS:%=%_test) \
654 $(FS_DRIVERS:%=%_clean) $(FS_DRIVERS:%=%_install) $(FS_DRIVERS:%=%_bootcd)
655
656
657 #
658 # Network driver rules
659 #
660 $(NET_DRIVERS): %: $(IMPLIB)
661 $(MAKE) -C drivers/net/$*
662
663 $(NET_DRIVERS:%=%_implib): %_implib: dk
664 $(MAKE) --silent -C drivers/net/$* implib
665
666 $(NET_DRIVERS:%=%_test): %_test:
667 $(MAKE) -C drivers/net/$* test
668
669 $(NET_DRIVERS:%=%_clean): %_clean:
670 $(MAKE) -C drivers/net/$* clean
671
672 $(NET_DRIVERS:%=%_install): %_install:
673 $(MAKE) -C drivers/net/$* install
674
675 $(NET_DRIVERS:%=%_bootcd): %_bootcd:
676 $(MAKE) -C drivers/net/$* bootcd
677
678 .PHONY: $(NET_DRIVERS) $(NET_DRIVERS:%=%_implib) $(NET_DRIVERS:%=%_test) \
679 $(NET_DRIVERS:%=%_clean) $(NET_DRIVERS:%=%_install) $(NET_DRIVERS:%=%_bootcd)
680
681
682 #
683 # Network device driver rules
684 #
685 $(NET_DEVICE_DRIVERS): %: $(IMPLIB)
686 $(MAKE) -C drivers/net/dd/$*
687
688 $(NET_DEVICE_DRIVERS:%=%_implib): %_implib: dk
689 $(MAKE) --silent -C drivers/net/dd/$* implib
690
691 $(NET_DEVICE_DRIVERS:%=%_test): %_test:
692 $(MAKE) -C drivers/net/dd/$* test
693
694 $(NET_DEVICE_DRIVERS:%=%_clean): %_clean:
695 $(MAKE) -C drivers/net/dd/$* clean
696
697 $(NET_DEVICE_DRIVERS:%=%_install): %_install:
698 $(MAKE) -C drivers/net/dd/$* install
699
700 $(NET_DEVICE_DRIVERS:%=%_bootcd): %_bootcd:
701 $(MAKE) -C drivers/net/dd/$* bootcd
702
703 .PHONY: $(NET_DEVICE_DRIVERS) $(NET_DEVICE_DRIVERS:%=%_clean) \
704 $(NET_DEVICE_DRIVERS:%=%_implib) $(NET_DEVICE_DRIVERS:%=%_test) \
705 $(NET_DEVICE_DRIVERS:%=%_install) $(NET_DEVICE_DRIVERS:%=%_bootcd)
706
707
708 #
709 # storage driver rules
710 #
711 $(STORAGE_DRIVERS): %: $(IMPLIB)
712 $(MAKE) -C drivers/storage/$*
713
714 $(STORAGE_DRIVERS:%=%_implib): %_implib: dk
715 $(MAKE) --silent -C drivers/storage/$* implib
716
717 $(STORAGE_DRIVERS:%=%_test): %_test:
718 $(MAKE) -C drivers/storage/$* test
719
720 $(STORAGE_DRIVERS:%=%_clean): %_clean:
721 $(MAKE) -C drivers/storage/$* clean
722
723 $(STORAGE_DRIVERS:%=%_install): %_install:
724 $(MAKE) -C drivers/storage/$* install
725
726 $(STORAGE_DRIVERS:%=%_bootcd): %_bootcd:
727 $(MAKE) -C drivers/storage/$* bootcd
728
729 .PHONY: $(STORAGE_DRIVERS) $(STORAGE_DRIVERS:%=%_clean) \
730 $(STORAGE_DRIVERS:%=%_implib) $(STORAGE_DRIVERS:%=%_test) \
731 $(STORAGE_DRIVERS:%=%_install) $(STORAGE_DRIVERS:%=%_bootcd)
732
733
734 #
735 # Required system components
736 #
737 ntoskrnl: bootstrap
738 $(MAKE) -C ntoskrnl
739
740 ntoskrnl_implib: dk
741 $(MAKE) --silent -C ntoskrnl implib
742
743 ntoskrnl_test:
744 $(MAKE) -C ntoskrnl test
745
746 ntoskrnl_clean:
747 $(MAKE) -C ntoskrnl clean
748
749 ntoskrnl_install:
750 $(MAKE) -C ntoskrnl install
751
752 ntoskrnl_bootcd:
753 $(MAKE) -C ntoskrnl bootcd
754
755 .PHONY: ntoskrnl ntoskrnl_implib ntoskrnl_test \
756 ntoskrnl_clean ntoskrnl_install ntoskrnl_bootcd
757
758
759 #
760 # Hardware Abstraction Layer import library
761 #
762 hallib: $(PATH_TO_TOP)/include/roscfg.h ntoskrnl_implib
763 $(MAKE) --silent -C hal/hal
764
765 hallib_implib: dk ntoskrnl_implib
766 $(MAKE) --silent -C hal/hal implib
767
768 hallib_test:
769 $(MAKE) -C hal/hal test
770
771 hallib_clean:
772 $(MAKE) -C hal/hal clean
773
774 hallib_install:
775 $(MAKE) -C hal/hal install
776
777 hallib_bootcd:
778 $(MAKE) -C hal/hal bootcd
779
780 .PHONY: hallib hallib_implib hallib_test hallib_clean \
781 hallib_install hallib_bootcd
782
783
784 #
785 # Hardware Abstraction Layers
786 #
787 ifeq ($(CONFIG_SMP),1)
788 halx86: halx86/mp
789 else
790 halx86: halx86/up
791 endif
792
793 $(HALS): %: $(IMPLIB)
794 $(MAKE) -C hal/$*
795
796 $(HALS:%=%_implib): %_implib: dk
797 $(MAKE) --silent -C hal/$* implib
798
799 $(HALS:%=%_test): %_test:
800 $(MAKE) -C hal/$* test
801
802 $(HALS:%=%_clean): %_clean:
803 $(MAKE) -C hal/$* clean
804
805 $(HALS:%=%_install): %_install:
806 $(MAKE) -C hal/$* install
807
808 $(HALS:%=%_bootcd): %_bootcd:
809 $(MAKE) -C hal/$* bootcd
810
811 .PHONY: $(HALS) $(HALS:%=%_implib) $(HALS:%=%_test) \
812 $(HALS:%=%_clean) $(HALS:%=%_install) $(HALS:%=%_bootcd)
813
814
815 #
816 # File system libraries
817 #
818 $(LIB_FSLIB): %: dk
819 $(MAKE) -C lib/fslib/$*
820
821 $(LIB_FSLIB:%=%_depends): %_depends:
822 $(MAKE) -C lib/fslib/$* depends
823
824 $(LIB_FSLIB:%=%_implib): %_implib: dk
825 $(MAKE) --silent -C lib/fslib/$* implib
826
827 $(LIB_FSLIB:%=%_test): %_test:
828 $(MAKE) -C lib/fslib/$* test
829
830 $(LIB_FSLIB:%=%_clean): %_clean:
831 $(MAKE) -C lib/fslib/$* clean
832
833 $(LIB_FSLIB:%=%_install): %_install:
834 $(MAKE) -C lib/fslib/$* install
835
836 $(LIB_FSLIB:%=%_bootcd): %_bootcd:
837 $(MAKE) -C lib/fslib/$* bootcd
838
839 .PHONY: $(LIB_FSLIB) $(LIB_FSLIB:%=%_depends) $(LIB_FSLIB:%=%_implib) \
840 $(LIB_FSLIB:%=%_test) $(LIB_FSLIB:%=%_clean) \
841 $(LIB_FSLIB:%=%_install) $(LIB_FSLIB:%=%_bootcd)
842
843
844 #
845 # Static libraries
846 #
847 $(LIB_STATIC): %: dk
848 $(MAKE) --silent -C lib/$*
849
850 $(LIB_STATIC:%=%_depends): %_depends:
851 $(MAKE) -C lib/string depends
852
853 $(LIB_STATIC:%=%_implib): %_implib: dk
854 $(MAKE) --silent -C lib/$* implib
855
856 $(LIB_STATIC:%=%_test): %_test:
857 $(MAKE) -C lib/$* test
858
859 $(LIB_STATIC:%=%_clean): %_clean:
860 $(MAKE) -C lib/$* clean
861
862 $(LIB_STATIC:%=%_install): %_install:
863 $(MAKE) -C lib/$* install
864
865 $(LIB_STATIC:%=%_bootcd): %_bootcd:
866 $(MAKE) -C lib/$* bootcd
867
868 .PHONY: $(LIB_STATIC) $(LIB_STATIC:%=%_depends) $(LIB_STATIC:%=%_implib) \
869 $(LIB_STATIC:%=%_test) $(LIB_STATIC:%=%_clean) \
870 $(LIB_STATIC:%=%_install) $(LIB_STATIC:%=%_bootcd)
871
872
873 #
874 # MSVCRT is seperate since CRTDLL depend on this
875 #
876 msvcrt: $(IMPLIB)
877 $(MAKE) -C lib/msvcrt
878
879 msvcrt_depends:
880 $(MAKE) -C lib/msvcrt depends
881
882 msvcrt_implib: dk
883 $(MAKE) --silent -C lib/msvcrt implib
884
885 msvcrt_test:
886 $(MAKE) -C lib/msvcrt test
887
888 msvcrt_clean:
889 $(MAKE) -C lib/msvcrt clean
890
891 msvcrt_install:
892 $(MAKE) -C lib/msvcrt install
893
894 msvcrt_bootcd:
895 $(MAKE) -C lib/msvcrt bootcd
896
897 .PHONY: msvcrt msvcrt_depends msvcrt_implib msvcrt_test \
898 msvcrt_clean msvcrt_install msvcrt_bootcd
899
900
901 #
902 # DLLs
903 #
904 $(DLLS): %: $(IMPLIB) msvcrt
905 $(MAKE) -C lib/$*
906
907 $(DLLS:%=%_depends): %_depends:
908 $(MAKE) -C lib/$* depends
909
910 $(DLLS:%=%_implib): %_implib: dk
911 $(MAKE) --silent -C lib/$* implib
912
913 $(DLLS:%=%_test): %_test:
914 $(MAKE) -C lib/$* test
915
916 $(DLLS:%=%_clean): %_clean:
917 $(MAKE) -C lib/$* clean
918
919 $(DLLS:%=%_install): %_install:
920 $(MAKE) -C lib/$* install
921
922 $(DLLS:%=%_bootcd): %_bootcd:
923 $(MAKE) -C lib/$* bootcd
924
925 .PHONY: $(DLLS) $(DLLS:%=%_depends) $(DLLS:%=%_implib) $(DLLS:%=%_test) \
926 $(DLLS:%=%_clean) $(DLLS:%=%_install) $(DLLS:%=%_bootcd)
927
928
929 #
930 # Subsystem support modules
931 #
932 $(SUBSYS): %: $(IMPLIB)
933 $(MAKE) -C subsys/$*
934
935 $(SUBSYS:%=%_depends): %_depends:
936 $(MAKE) -C subsys/$* depends
937
938 $(SUBSYS:%=%_implib): %_implib: dk
939 $(MAKE) --silent -C subsys/$* implib
940
941 $(SUBSYS:%=%_test): %_test:
942 $(MAKE) -C subsys/$* test
943
944 $(SUBSYS:%=%_clean): %_clean:
945 $(MAKE) -C subsys/$* clean
946
947 $(SUBSYS:%=%_install): %_install:
948 $(MAKE) -C subsys/$* install
949
950 $(SUBSYS:%=%_bootcd): %_bootcd:
951 $(MAKE) -C subsys/$* bootcd
952
953 .PHONY: $(SUBSYS) $(SUBSYS:%=%_depends) $(SUBSYS:%=%_implib) $(SUBSYS:%=%_test) \
954 $(SUBSYS:%=%_clean) $(SUBSYS:%=%_install) $(SUBSYS:%=%_bootcd)
955
956 #
957 # Regression testsuite
958 #
959
960 $(REGTESTS): %: $(IMPLIB)
961 $(MAKE) --silent -C regtests
962
963 $(REGTESTS:%=%_implib): %_implib: dk
964 $(MAKE) --silent -C regtests implib
965
966 $(REGTESTS:%=%_clean): %_clean:
967 $(MAKE) -C regtests clean
968
969 $(REGTESTS:%=%_install): %_install:
970 $(MAKE) -C regtests install
971
972 .PHONY: $(REGTESTS) $(REGTESTS:%=%_depends) $(SUBSYS:%=%_clean) $(REGTESTS:%=%_install)
973
974
975 #
976 # Create an installation
977 #
978
979 install_clean:
980 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/system32/drivers/*.*
981 $(RM) $(INSTALL_DIR)/system32/drivers/*.*
982 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/system32/config/*.*
983 $(RM) $(INSTALL_DIR)/system32/config/*.*
984 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/system32/*.*
985 $(RM) $(INSTALL_DIR)/system32/*.*
986 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/media/fonts/*.*
987 $(RM) $(INSTALL_DIR)/media/fonts/*.*
988 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/media/*.*
989 $(RM) $(INSTALL_DIR)/media/*.*
990 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/inf/*.*
991 $(RM) $(INSTALL_DIR)/inf/*.*
992 $(HALFVERBOSEECHO) [RM] $(INSTALL_DIR)/bin/*.*
993 $(RM) $(INSTALL_DIR)/bin/*.*
994 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/system32/drivers
995 $(RMDIR) $(INSTALL_DIR)/system32/drivers
996 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/system32/config
997 $(RMDIR) $(INSTALL_DIR)/system32/config
998 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/system32
999 $(RMDIR) $(INSTALL_DIR)/system32
1000 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/media/fonts
1001 $(RMDIR) $(INSTALL_DIR)/media/fonts
1002 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/media
1003 $(RMDIR) $(INSTALL_DIR)/media
1004 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/inf
1005 $(RMDIR) $(INSTALL_DIR)/inf
1006 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)/bin
1007 $(RMDIR) $(INSTALL_DIR)/bin
1008 $(HALFVERBOSEECHO) [RMDIR] $(INSTALL_DIR)
1009 $(RMDIR) $(INSTALL_DIR)
1010
1011 install_dirs:
1012 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)
1013 $(RMKDIR) $(INSTALL_DIR)
1014 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/bin
1015 $(RMKDIR) $(INSTALL_DIR)/bin
1016 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/inf
1017 $(RMKDIR) $(INSTALL_DIR)/inf
1018 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/media
1019 $(RMKDIR) $(INSTALL_DIR)/media
1020 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/media/fonts
1021 $(RMKDIR) $(INSTALL_DIR)/media/fonts
1022 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/system32
1023 $(RMKDIR) $(INSTALL_DIR)/system32
1024 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/system32/config
1025 $(RMKDIR) $(INSTALL_DIR)/system32/config
1026 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/system32/drivers
1027 $(RMKDIR) $(INSTALL_DIR)/system32/drivers
1028 $(HALFVERBOSEECHO) [RMKDIR] $(INSTALL_DIR)/system32/drivers/etc
1029 $(RMKDIR) $(INSTALL_DIR)/system32/drivers/etc
1030
1031 install_before:
1032 $(HALFVERBOSEECHO) [INSTALL] media/inf to $(INSTALL_DIR)/inf
1033 $(CP) media/inf $(INSTALL_DIR)/inf
1034 $(HALFVERBOSEECHO) [INSTALL] media/fonts to $(INSTALL_DIR)/media/fonts
1035 $(CP) media/fonts $(INSTALL_DIR)/media/fonts
1036 $(HALFVERBOSEECHO) [INSTALL] media/nls to $(INSTALL_DIR)/system32
1037 $(CP) media/nls $(INSTALL_DIR)/system32
1038 $(HALFVERBOSEECHO) [INSTALL] media/nls/c_1252.nls to $(INSTALL_DIR)/system32/ansi.nls
1039 $(CP) media/nls/c_1252.nls $(INSTALL_DIR)/system32/ansi.nls
1040 $(HALFVERBOSEECHO) [INSTALL] media/nls/c_437.nls to $(INSTALL_DIR)/system32/oem.nls
1041 $(CP) media/nls/c_437.nls $(INSTALL_DIR)/system32/oem.nls
1042 $(HALFVERBOSEECHO) [INSTALL] media/nls/l_intl.nls to $(INSTALL_DIR)/system32/casemap.nls
1043 $(CP) media/nls/l_intl.nls $(INSTALL_DIR)/system32/casemap.nls
1044 $(HALFVERBOSEECHO) [INSTALL] media/drivers/etc/services to $(INSTALL_DIR)/system32/drivers/etc/services
1045 $(CP) media/drivers/etc/services $(INSTALL_DIR)/system32/drivers/etc/services
1046
1047 .PHONY: install_clean install_dirs install_before
1048
1049
1050 etags:
1051 find . -name "*.[ch]" -print | etags --language=c -
1052
1053
1054 docu:
1055 echo generating ReactOS NTOSKRNL documentation ...
1056 $(MAKE) -C ntoskrnl docu
1057
1058 echo generating ReactOS drivers documentation ...
1059 $(MAKE) -C drivers docu
1060
1061 echo generating ReactOS NTDLL documentation ...
1062 $(MAKE) -C lib/ntdll docu
1063
1064 echo generating ReactOS Freetype documentation ...
1065 $(MAKE) -C lib/freetype docu
1066
1067 echo generating ReactOS libs documentation ...
1068 $(MAKE) -C lib docu
1069
1070 echo generating ReactOS WIN32K documentation ...
1071 $(MAKE) -C subsys/win32k docu
1072
1073 echo generating ReactOS apps+tools documentation ...
1074 $(MAKE) -C apps docu
1075
1076 echo generating ReactOS explorer documentation ...
1077 $(MAKE) -C subsys/system/explorer full-docu
1078
1079 echo generating remaining ReactOS documentation ...
1080 doxygen Doxyfile
1081
1082 .PHONY: docu
1083
1084 include $(TOOLS_PATH)/config.mk