1list(APPEND SOURCE
2    nfs41_driver.c
3    nfs41_debug.c
4    nfs41_driver.h
5    nfs41_debug.h)
6
7include_directories(
8    ${REACTOS_SOURCE_DIR}/dll/np/nfs)
9
10add_definitions(-DRDBSS_TRACKER)
11
12add_library(nfs41_driver MODULE ${SOURCE} nfs.rc)
13set_module_type(nfs41_driver kernelmodedriver)
14target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib rxce copysup memcmp ${PSEH_LIB})
15add_importlibs(nfs41_driver ntoskrnl hal)
16
17if(USE_CLANG_CL OR (NOT MSVC))
18    add_target_compile_flags(nfs41_driver "-Wno-switch")
19    if(USE_CLANG_CL)
20        add_target_compile_flags(nfs41_driver "-Wno-unused-value")
21    endif()
22endif()
23
24add_cd_file(TARGET nfs41_driver DESTINATION reactos/system32/drivers FOR all)
25