1 2spec2def(ntlanman.dll ntlanman.spec) 3 4list(APPEND SOURCE 5 ntlanman.c 6 ntlanman.rc 7 ${CMAKE_CURRENT_BINARY_DIR}/ntlanman_stubs.c 8 ${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def) 9 10add_library(ntlanman MODULE ${SOURCE}) 11set_module_type(ntlanman win32dll UNICODE) 12target_link_libraries(ntlanman wine) 13add_importlibs(ntlanman netapi32 msvcrt kernel32 ntdll) 14add_cd_file(TARGET ntlanman DESTINATION reactos/system32 FOR all) 15