xref: /reactos/hal/halx86/pc98.cmake (revision 8a978a17)
1
2# Generic
3list(APPEND HAL_PC98_SOURCE
4    pc98/beep.c
5    pc98/clock.c
6    pc98/cmos.c
7    pc98/delay.c
8    pc98/pic.c
9    pc98/profil.c
10    pc98/reboot.c
11    generic/bios.c
12    generic/display.c
13    generic/dma.c
14    generic/drive.c
15    generic/halinit.c
16    generic/memory.c
17    generic/misc.c
18    generic/nmi.c
19    generic/portio.c
20    generic/sysinfo.c
21    generic/usage.c)
22
23list(APPEND HAL_PC98_ASM_SOURCE
24    generic/v86.S)
25
26# PIC
27list(APPEND HAL_PC98_SOURCE
28    pc98/irql.c
29    generic/timer.c
30    up/halinit_up.c
31    up/pic.c)
32
33list(APPEND HAL_PC98_ASM_SOURCE
34    generic/trap.S
35    up/pic.S)
36
37# Legacy
38list(APPEND HAL_PC98_SOURCE
39    legacy/bus/bushndlr.c
40    legacy/bus/cmosbus.c
41    legacy/bus/isabus.c
42    legacy/bus/pcibus.c
43    ${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c
44    ${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c
45    legacy/bus/sysbus.c
46    legacy/bussupp.c
47    legacy/halpnpdd.c
48    legacy/halpcat.c)
49
50add_asm_files(lib_hal_pc98_asm ${HAL_PC98_ASM_SOURCE})
51add_object_library(lib_hal_pc98 ${HAL_PC98_SOURCE} ${lib_hal_pc98_asm})
52add_dependencies(lib_hal_pc98 bugcodes xdk asm)
53#add_pch(lib_hal_pc98 pc98/halpc98.h)
54
55if(MSVC)
56    target_link_libraries(lib_hal_pc98)
57endif()
58