2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
2011-08-11 15:16:48 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys/lsass)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-03-01 15:21:23 +00:00
|
|
|
add_rpc_files(server
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/dssetup.idl
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/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
|
2015-03-01 15:21:23 +00:00
|
|
|
dssetup.c
|
2012-10-20 14:21:32 +00:00
|
|
|
lookup.c
|
2011-05-16 13:12:07 +00:00
|
|
|
lsarpc.c
|
|
|
|
lsasrv.c
|
2018-08-04 20:17:52 +00:00
|
|
|
notify.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
|
2016-08-06 17:07:59 +00:00
|
|
|
service.c
|
2013-09-30 19:49:46 +00:00
|
|
|
session.c
|
2015-10-25 14:33:27 +00:00
|
|
|
srm.c
|
2013-09-10 21:20:22 +00:00
|
|
|
utils.c
|
2014-02-10 12:19:56 +00:00
|
|
|
lsasrv.h
|
2015-03-01 15:21:23 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dssetup_s.c
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(lsasrv MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${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)
|