xref: /reactos/hal/halx86/xbox.cmake (revision 09dde2cf)
1
2list(APPEND HAL_XBOX_ASM_SOURCE
3    generic/systimer.S
4    generic/trap.S
5    generic/v86.S
6    pic/pic.S)
7
8list(APPEND HAL_XBOX_SOURCE
9    generic/beep.c
10    generic/cmos.c
11    generic/display.c
12    generic/dma.c
13    generic/drive.c
14    generic/halinit.c
15    generic/kdpci.c
16    generic/memory.c
17    generic/misc.c
18    generic/nmi.c
19    generic/pic.c
20    generic/sysinfo.c
21    generic/usage.c
22    generic/bios.c
23    generic/portio.c
24    legacy/bus/bushndlr.c
25    legacy/bus/cmosbus.c
26    legacy/bus/isabus.c
27    legacy/bus/pcibus.c
28    ${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c
29    ${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c
30    legacy/bus/sysbus.c
31    legacy/bussupp.c
32    legacy/halpnpdd.c
33    legacy/halpcat.c
34    generic/profil.c
35    generic/timer.c
36    xbox/clock.c
37    xbox/part_xbox.c
38    xbox/halinit.c
39    xbox/reboot.c
40    pic/irql.c
41    pic/pic.c
42    pic/processor.c)
43
44add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE})
45add_library(lib_hal_xbox OBJECT ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm})
46add_dependencies(lib_hal_xbox bugcodes xdk asm)
47#add_pch(lib_hal_xbox xbox/halxbox.h)
48target_compile_definitions(lib_hal_xbox PRIVATE SARCH_XBOX)
49