[NTOSKRNL][LSASRV]
[reactos.git] / reactos / dll / win32 / lsasrv / CMakeLists.txt
1
2 include_directories(
3 ${CMAKE_CURRENT_BINARY_DIR}
4 ${REACTOS_SOURCE_DIR}/include/reactos/idl
5 ${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
6
7 add_rpc_files(server
8 ${REACTOS_SOURCE_DIR}/include/reactos/idl/dssetup.idl
9 ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
10 spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
11
12 list(APPEND SOURCE
13 authpackage.c
14 authport.c
15 database.c
16 dssetup.c
17 lookup.c
18 lsarpc.c
19 lsasrv.c
20 policy.c
21 privileges.c
22 registry.c
23 security.c
24 session.c
25 srm.c
26 utils.c
27 lsasrv.h
28 ${CMAKE_CURRENT_BINARY_DIR}/dssetup_s.c
29 ${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c
30 ${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c)
31
32 add_library(lsasrv SHARED
33 ${SOURCE}
34 lsasrv.rc
35 ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
36
37 set_module_type(lsasrv win32dll UNICODE)
38 target_link_libraries(lsasrv wine ${PSEH_LIB})
39 add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
40 add_pch(lsasrv lsasrv.h SOURCE)
41 add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)