2018-01-28 22:44:28 +00:00
|
|
|
|
2020-04-09 17:19:00 +00:00
|
|
|
include_directories(
|
2018-01-28 22:44:28 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/arbiter
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
arb/ar_busno.c
|
|
|
|
arb/ar_memio.c
|
|
|
|
arb/arb_comn.c
|
|
|
|
arb/tr_irq.c
|
|
|
|
intrface/agpintrf.c
|
|
|
|
intrface/busintrf.c
|
|
|
|
intrface/cardbus.c
|
|
|
|
intrface/devhere.c
|
|
|
|
intrface/ideintrf.c
|
|
|
|
intrface/intrface.c
|
|
|
|
intrface/lddintrf.c
|
|
|
|
intrface/locintrf.c
|
|
|
|
intrface/pmeintf.c
|
|
|
|
intrface/routintf.c
|
|
|
|
pci/busno.c
|
|
|
|
pci/config.c
|
|
|
|
pci/devhere.c
|
|
|
|
pci/id.c
|
|
|
|
pci/ppbridge.c
|
|
|
|
pci/romimage.c
|
|
|
|
pci/state.c
|
|
|
|
debug.c
|
|
|
|
device.c
|
|
|
|
dispatch.c
|
|
|
|
enum.c
|
|
|
|
fdo.c
|
|
|
|
hookhal.c
|
|
|
|
init.c
|
|
|
|
pcivrify.c
|
|
|
|
pdo.c
|
|
|
|
power.c
|
|
|
|
usage.c
|
2020-05-09 21:37:40 +00:00
|
|
|
utils.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(pcix MODULE
|
2014-02-09 17:28:01 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-09 17:28:01 +00:00
|
|
|
pci.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
set_module_type(pcix kernelmodedriver)
|
2020-04-09 17:19:00 +00:00
|
|
|
target_link_libraries(pcix arbiter)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(pcix ntoskrnl hal)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(pcix pci.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(pcix pciclass)
|
|
|
|
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
|