2016-03-23 20:35:05 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers
|
2016-09-04 15:27:46 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
|
2016-03-23 20:35:05 +00:00
|
|
|
inc)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2017-01-01 17:12:12 +00:00
|
|
|
balance.c
|
2016-03-23 20:35:05 +00:00
|
|
|
btrfs.c
|
|
|
|
cache.c
|
2017-01-01 17:12:12 +00:00
|
|
|
calcthread.c
|
2016-09-04 15:27:46 +00:00
|
|
|
compress.c
|
2016-03-23 20:35:05 +00:00
|
|
|
crc32c.c
|
|
|
|
create.c
|
2016-10-29 17:05:10 +00:00
|
|
|
devctrl.c
|
2016-03-23 20:35:05 +00:00
|
|
|
dirctrl.c
|
2016-05-05 17:26:47 +00:00
|
|
|
extent-tree.c
|
2016-03-23 20:35:05 +00:00
|
|
|
fastio.c
|
|
|
|
fileinfo.c
|
|
|
|
flushthread.c
|
2016-05-05 17:26:47 +00:00
|
|
|
free-space.c
|
2016-03-23 20:35:05 +00:00
|
|
|
fsctl.c
|
2016-10-29 17:05:10 +00:00
|
|
|
galois.c
|
2017-09-08 08:02:43 +00:00
|
|
|
guid.c
|
2016-05-05 17:26:47 +00:00
|
|
|
pnp.c
|
2016-03-23 20:35:05 +00:00
|
|
|
read.c
|
2016-07-27 19:24:26 +00:00
|
|
|
registry.c
|
2016-03-23 20:35:05 +00:00
|
|
|
reparse.c
|
2017-09-08 08:02:43 +00:00
|
|
|
scrub.c
|
2016-03-23 20:35:05 +00:00
|
|
|
search.c
|
|
|
|
security.c
|
2017-09-08 08:02:43 +00:00
|
|
|
send.c
|
2016-03-23 20:35:05 +00:00
|
|
|
treefuncs.c
|
2017-09-08 08:02:43 +00:00
|
|
|
volume.c
|
2016-07-27 19:24:26 +00:00
|
|
|
worker-thread.c
|
2016-03-23 20:35:05 +00:00
|
|
|
write.c
|
|
|
|
btrfs_drv.h)
|
|
|
|
|
|
|
|
add_library(btrfs SHARED ${SOURCE} btrfs.rc)
|
|
|
|
|
|
|
|
add_definitions(-D__KERNEL__)
|
|
|
|
set_module_type(btrfs kernelmodedriver)
|
2017-01-01 17:12:12 +00:00
|
|
|
target_link_libraries(btrfs rtlver ntoskrnl_vista zlib_solo wdmguid ${PSEH_LIB})
|
2016-03-23 20:35:05 +00:00
|
|
|
add_importlibs(btrfs ntoskrnl hal)
|
2018-06-13 23:30:06 +00:00
|
|
|
add_cd_file(TARGET btrfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|