2013-03-23 21:15:28 +00:00
|
|
|
|
2021-06-24 16:57:19 +00:00
|
|
|
include_directories(include ${REACTOS_SOURCE_DIR}/drivers/bus/acpi/acpica/include)
|
|
|
|
|
2013-03-23 21:15:28 +00:00
|
|
|
list(APPEND HAL_ACPI_SOURCE
|
|
|
|
acpi/halacpi.c
|
|
|
|
acpi/halpnpdd.c
|
|
|
|
acpi/busemul.c
|
2021-06-24 16:57:19 +00:00
|
|
|
acpi/madt.c
|
2013-03-23 21:15:28 +00:00
|
|
|
legacy/bus/pcibus.c)
|
|
|
|
|
2021-06-24 16:57:19 +00:00
|
|
|
# Needed to compile while using ACPICA
|
|
|
|
if(ARCH STREQUAL "amd64")
|
|
|
|
add_definitions(-DWIN64)
|
|
|
|
endif()
|
|
|
|
|
2021-02-02 15:33:15 +00:00
|
|
|
add_library(lib_hal_acpi OBJECT ${HAL_ACPI_SOURCE})
|
2022-04-09 18:18:03 +00:00
|
|
|
add_pch(lib_hal_acpi include/hal.h ${HAL_ACPI_SOURCE})
|
2015-09-07 10:05:42 +00:00
|
|
|
add_dependencies(lib_hal_acpi bugcodes xdk)
|