2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
2011-08-11 15:16:48 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2011-08-07 00:53:19 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
2011-05-16 13:12:07 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
|
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2013-03-03 19:43:33 +00:00
|
|
|
authpackage.c
|
2011-05-16 13:12:07 +00:00
|
|
|
authport.c
|
2011-09-20 23:15:51 +00:00
|
|
|
database.c
|
2012-10-20 14:21:32 +00:00
|
|
|
lookup.c
|
2011-05-16 13:12:07 +00:00
|
|
|
lsarpc.c
|
|
|
|
lsasrv.c
|
2011-09-20 23:15:51 +00:00
|
|
|
policy.c
|
2011-05-16 13:12:07 +00:00
|
|
|
privileges.c
|
2012-11-24 23:19:40 +00:00
|
|
|
registry.c
|
2012-11-19 21:33:07 +00:00
|
|
|
security.c
|
2013-09-30 19:49:46 +00:00
|
|
|
session.c
|
2013-09-10 21:20:22 +00:00
|
|
|
utils.c
|
2014-02-10 12:19:56 +00:00
|
|
|
lsasrv.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c)
|
|
|
|
|
|
|
|
add_library(lsasrv SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
lsasrv.rc
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(lsasrv win32dll UNICODE)
|
2011-08-11 15:16:48 +00:00
|
|
|
target_link_libraries(lsasrv wine ${PSEH_LIB})
|
2012-10-07 18:33:48 +00:00
|
|
|
add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(lsasrv lsasrv.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
|