1
2spec2def(scsiport.sys scsiport.spec ADD_IMPORTLIB)
3
4# Embed RTC libs
5if (STACK_PROTECTOR)
6    target_sources(libscsiport PRIVATE $<TARGET_OBJECTS:gcc_ssp_scsiport>)
7endif()
8
9list(APPEND SOURCE
10    fdo.c
11    ioctl.c
12    pdo.c
13    power.c
14    registry.c
15    scsi.c
16    scsiport.c
17    stubs.c)
18
19list(APPEND PCH_SKIP_SOURCE
20    guid.c)
21
22add_library(scsiport MODULE
23    ${SOURCE}
24    ${PCH_SKIP_SOURCE}
25    scsiport.rc
26    ${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
27
28add_pch(scsiport scsiport.h "${PCH_SKIP_SOURCE}")
29set_module_type(scsiport kernelmodedriver)
30add_importlibs(scsiport ntoskrnl hal)
31add_cd_file(TARGET scsiport DESTINATION reactos/system32/drivers NO_CAB FOR all)
32