2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
include
|
|
|
|
acpica/include)
|
|
|
|
|
2012-08-27 18:58:27 +00:00
|
|
|
if(ARCH STREQUAL "amd64")
|
2011-08-23 08:13:33 +00:00
|
|
|
add_definitions(-DWIN64)
|
|
|
|
endif()
|
|
|
|
|
2014-02-09 17:28:01 +00:00
|
|
|
list(APPEND ACPICA_SOURCE
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/dispatcher/dsargs.c
|
|
|
|
acpica/dispatcher/dscontrol.c
|
2015-11-10 16:56:46 +00:00
|
|
|
acpica/dispatcher/dsdebug.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/dispatcher/dsfield.c
|
|
|
|
acpica/dispatcher/dsinit.c
|
|
|
|
acpica/dispatcher/dsmethod.c
|
|
|
|
acpica/dispatcher/dsmthdat.c
|
|
|
|
acpica/dispatcher/dsobject.c
|
|
|
|
acpica/dispatcher/dsopcode.c
|
2017-08-01 09:11:52 +00:00
|
|
|
acpica/dispatcher/dspkginit.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/dispatcher/dsutils.c
|
|
|
|
acpica/dispatcher/dswexec.c
|
|
|
|
acpica/dispatcher/dswload.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/dispatcher/dswload2.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/dispatcher/dswscope.c
|
|
|
|
acpica/dispatcher/dswstate.c
|
|
|
|
acpica/events/evevent.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/events/evglock.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/events/evgpe.c
|
|
|
|
acpica/events/evgpeblk.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/events/evgpeinit.c
|
|
|
|
acpica/events/evgpeutil.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/events/evhandler.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/events/evmisc.c
|
|
|
|
acpica/events/evregion.c
|
|
|
|
acpica/events/evrgnini.c
|
|
|
|
acpica/events/evsci.c
|
|
|
|
acpica/events/evxface.c
|
|
|
|
acpica/events/evxfevnt.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/events/evxfgpe.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/events/evxfregn.c
|
2016-04-12 15:44:33 +00:00
|
|
|
acpica/executer/exconcat.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/executer/exconfig.c
|
|
|
|
acpica/executer/exconvrt.c
|
|
|
|
acpica/executer/excreate.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/executer/exdebug.c
|
2014-04-03 21:12:09 +00:00
|
|
|
# acpica/executer/exdump.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/executer/exfield.c
|
|
|
|
acpica/executer/exfldio.c
|
|
|
|
acpica/executer/exmisc.c
|
|
|
|
acpica/executer/exmutex.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/executer/exnames.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/executer/exoparg1.c
|
|
|
|
acpica/executer/exoparg2.c
|
|
|
|
acpica/executer/exoparg3.c
|
|
|
|
acpica/executer/exoparg6.c
|
|
|
|
acpica/executer/exprep.c
|
|
|
|
acpica/executer/exregion.c
|
|
|
|
acpica/executer/exresnte.c
|
|
|
|
acpica/executer/exresolv.c
|
|
|
|
acpica/executer/exresop.c
|
2018-10-25 10:11:45 +00:00
|
|
|
acpica/executer/exserial.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/executer/exstore.c
|
|
|
|
acpica/executer/exstoren.c
|
|
|
|
acpica/executer/exstorob.c
|
|
|
|
acpica/executer/exsystem.c
|
2015-12-31 14:25:35 +00:00
|
|
|
acpica/executer/extrace.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/executer/exutils.c
|
|
|
|
acpica/hardware/hwacpi.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/hardware/hwesleep.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/hardware/hwgpe.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/hardware/hwpci.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/hardware/hwregs.c
|
|
|
|
acpica/hardware/hwsleep.c
|
|
|
|
acpica/hardware/hwtimer.c
|
|
|
|
acpica/hardware/hwvalid.c
|
|
|
|
acpica/hardware/hwxface.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/hardware/hwxfsleep.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/namespace/nsaccess.c
|
|
|
|
acpica/namespace/nsalloc.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/namespace/nsarguments.c
|
|
|
|
acpica/namespace/nsconvert.c
|
|
|
|
# acpica/namespace/nsdump.c
|
|
|
|
# acpica/namespace/nsdumpdv.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/namespace/nseval.c
|
|
|
|
acpica/namespace/nsinit.c
|
|
|
|
acpica/namespace/nsload.c
|
|
|
|
acpica/namespace/nsnames.c
|
|
|
|
acpica/namespace/nsobject.c
|
|
|
|
acpica/namespace/nsparse.c
|
|
|
|
acpica/namespace/nspredef.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/namespace/nsprepkg.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/namespace/nsrepair.c
|
|
|
|
acpica/namespace/nsrepair2.c
|
|
|
|
acpica/namespace/nssearch.c
|
|
|
|
acpica/namespace/nsutils.c
|
|
|
|
acpica/namespace/nswalk.c
|
|
|
|
acpica/namespace/nsxfeval.c
|
|
|
|
acpica/namespace/nsxfname.c
|
|
|
|
acpica/namespace/nsxfobj.c
|
|
|
|
acpica/parser/psargs.c
|
|
|
|
acpica/parser/psloop.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/parser/psobject.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/parser/psopcode.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/parser/psopinfo.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/parser/psparse.c
|
|
|
|
acpica/parser/psscope.c
|
|
|
|
acpica/parser/pstree.c
|
|
|
|
acpica/parser/psutils.c
|
|
|
|
acpica/parser/pswalk.c
|
|
|
|
acpica/parser/psxface.c
|
|
|
|
acpica/resources/rsaddr.c
|
|
|
|
acpica/resources/rscalc.c
|
|
|
|
acpica/resources/rscreate.c
|
2014-04-03 21:12:09 +00:00
|
|
|
# acpica/resources/rsdump.c
|
|
|
|
# acpica/resources/rsdumpinfo.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/resources/rsinfo.c
|
|
|
|
acpica/resources/rsio.c
|
|
|
|
acpica/resources/rsirq.c
|
|
|
|
acpica/resources/rslist.c
|
|
|
|
acpica/resources/rsmemory.c
|
|
|
|
acpica/resources/rsmisc.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/resources/rsserial.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/resources/rsutils.c
|
|
|
|
acpica/resources/rsxface.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/tables/tbdata.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/tables/tbfadt.c
|
|
|
|
acpica/tables/tbfind.c
|
|
|
|
acpica/tables/tbinstal.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/tables/tbprint.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/tables/tbutils.c
|
|
|
|
acpica/tables/tbxface.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/tables/tbxfload.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/tables/tbxfroot.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/utilities/utaddress.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utalloc.c
|
2017-02-25 20:06:05 +00:00
|
|
|
acpica/utilities/utascii.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/utilities/utbuffer.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utcache.c
|
2022-11-05 16:00:04 +00:00
|
|
|
acpica/utilities/utcksum.c
|
2017-02-25 20:06:05 +00:00
|
|
|
# acpica/utilities/utclib.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utcopy.c
|
2015-11-10 13:51:38 +00:00
|
|
|
# acpica/utilities/utdebug.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/utilities/utdecode.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utdelete.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/utilities/uterror.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/uteval.c
|
2015-11-10 13:51:38 +00:00
|
|
|
# acpica/utilities/utfileio.c
|
|
|
|
acpica/utilities/uthex.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utids.c
|
|
|
|
acpica/utilities/utinit.c
|
|
|
|
acpica/utilities/utlock.c
|
|
|
|
acpica/utilities/utmath.c
|
|
|
|
acpica/utilities/utmisc.c
|
|
|
|
acpica/utilities/utmutex.c
|
2015-11-10 16:56:46 +00:00
|
|
|
acpica/utilities/utnonansi.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utobject.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/utilities/utosi.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/utilities/utownerid.c
|
|
|
|
acpica/utilities/utpredef.c
|
2015-11-10 13:51:38 +00:00
|
|
|
# acpica/utilities/utprint.c
|
2017-07-26 14:49:35 +00:00
|
|
|
# acpica/utilities/utresdecode.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/utresrc.c
|
|
|
|
acpica/utilities/utstate.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/utilities/utstring.c
|
2017-02-26 00:26:24 +00:00
|
|
|
acpica/utilities/utstrtoul64.c
|
2018-10-25 09:31:02 +00:00
|
|
|
acpica/utilities/utstrsuppt.c
|
2015-11-10 13:51:38 +00:00
|
|
|
# acpica/utilities/utuuid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
acpica/utilities/uttrack.c
|
2011-09-29 20:57:14 +00:00
|
|
|
acpica/utilities/utxface.c
|
2014-02-09 17:28:01 +00:00
|
|
|
acpica/utilities/utxferror.c
|
2014-04-03 21:12:09 +00:00
|
|
|
acpica/utilities/utxfinit.c
|
2020-05-09 21:37:40 +00:00
|
|
|
acpica/utilities/utxfmutex.c)
|
2014-02-09 17:28:01 +00:00
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
list(APPEND ACPICA_PCH_SKIP_SOURCE
|
2014-04-22 13:13:45 +00:00
|
|
|
acpica/utilities/utexcep.c
|
2014-02-09 17:28:01 +00:00
|
|
|
acpica/utilities/utglobal.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
add_library(acpica
|
|
|
|
${ACPICA_SOURCE}
|
|
|
|
${ACPICA_PCH_SKIP_SOURCE})
|
|
|
|
|
|
|
|
add_pch(acpica acpica/include/acpi.h "${ACPICA_PCH_SKIP_SOURCE}")
|
2017-08-01 09:11:52 +00:00
|
|
|
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE;ACPI_USE_SYSTEM_INTTYPES")
|
2015-09-07 10:05:42 +00:00
|
|
|
add_dependencies(acpica bugcodes xdk)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-09 17:28:01 +00:00
|
|
|
list(APPEND ACPI_SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
busmgr/bus.c
|
|
|
|
busmgr/button.c
|
|
|
|
busmgr/power.c
|
|
|
|
busmgr/utils.c
|
|
|
|
busmgr/system.c
|
|
|
|
osl.c
|
|
|
|
acpienum.c
|
|
|
|
eval.c
|
|
|
|
interface.c
|
|
|
|
pnp.c
|
|
|
|
power.c
|
|
|
|
buspdo.c
|
2020-05-09 21:37:40 +00:00
|
|
|
main.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2023-12-04 00:17:08 +00:00
|
|
|
add_library(acpi MODULE
|
|
|
|
${ACPI_SOURCE}
|
|
|
|
acpi.rc)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(acpi kernelmodedriver)
|
2016-06-01 07:32:30 +00:00
|
|
|
target_link_libraries(acpi wdmguid acpica memcmp strtol ${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(acpi ntoskrnl hal)
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(acpi precomp.h ACPI_SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
2020-04-26 16:50:44 +00:00
|
|
|
add_driver_inf(acpi acpi.inf)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_subdirectory(cmbatt)
|
|
|
|
add_subdirectory(compbatt)
|