xref: /reactos/hal/halx86/generic.cmake (revision cdf90707)
1
2list(APPEND HAL_GENERIC_SOURCE
3    generic/beep.c
4    generic/cmos.c
5    generic/display.c
6    generic/dma.c
7    generic/drive.c
8    generic/halinit.c
9    generic/kdpci.c
10    generic/memory.c
11    generic/misc.c
12    generic/nmi.c
13    generic/pic.c
14    generic/reboot.c
15    generic/sysinfo.c
16    generic/usage.c)
17
18if(ARCH STREQUAL "i386")
19    list(APPEND HAL_GENERIC_SOURCE
20        generic/bios.c
21        generic/portio.c)
22
23    list(APPEND HAL_GENERIC_ASM_SOURCE
24        generic/v86.S)
25endif()
26
27add_asm_files(lib_hal_generic_asm ${HAL_GENERIC_ASM_SOURCE})
28add_library(lib_hal_generic OBJECT ${HAL_GENERIC_SOURCE} ${lib_hal_generic_asm})
29add_dependencies(lib_hal_generic asm)
30