xref: /reactos/hal/halx86/xbox.cmake (revision 8a978a17)
1
2list(APPEND HAL_XBOX_ASM_SOURCE
3    generic/systimer.S
4    generic/trap.S
5    generic/v86.S
6    up/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/memory.c
16    generic/misc.c
17    generic/nmi.c
18    generic/pic.c
19    generic/sysinfo.c
20    generic/usage.c
21    generic/bios.c
22    generic/portio.c
23    legacy/bus/bushndlr.c
24    legacy/bus/cmosbus.c
25    legacy/bus/isabus.c
26    legacy/bus/pcibus.c
27    ${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c
28    ${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c
29    legacy/bus/sysbus.c
30    legacy/bussupp.c
31    legacy/halpnpdd.c
32    legacy/halpcat.c
33    generic/profil.c
34    generic/timer.c
35    xbox/clock.c
36    xbox/part_xbox.c
37    xbox/halinit_xbox.c
38    xbox/reboot.c
39    up/irql.c
40    up/pic.c)
41
42add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE})
43add_object_library(lib_hal_xbox ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm})
44add_dependencies(lib_hal_xbox bugcodes xdk asm)
45#add_pch(lib_hal_xbox xbox/halxbox.h)
46
47if(MSVC)
48    target_link_libraries(lib_hal_xbox)
49endif()
50