1
2add_definitions(-DDEBUG_MODE)
3include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
4
5list(APPEND SOURCE
6    descriptor.c
7    disk.c
8    fdo.c
9    misc.c
10    pdo.c
11    queue.c
12    error.c
13    scsi.c
14    usbstor.c
15    usbstor.h)
16
17add_library(usbstor MODULE
18    ${SOURCE}
19    guid.c
20    usbstor.rc)
21
22set_module_type(usbstor kernelmodedriver)
23add_importlibs(usbstor ntoskrnl hal usbd)
24add_pch(usbstor usbstor.h SOURCE)
25add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
26