2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
2013-04-03 22:43:22 +00:00
|
|
|
-D_WINE
|
|
|
|
-D_CRYPT32_)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
base64.c
|
|
|
|
cert.c
|
|
|
|
chain.c
|
|
|
|
collectionstore.c
|
|
|
|
context.c
|
|
|
|
crl.c
|
|
|
|
ctl.c
|
|
|
|
decode.c
|
|
|
|
encode.c
|
|
|
|
filestore.c
|
|
|
|
main.c
|
|
|
|
message.c
|
|
|
|
msg.c
|
|
|
|
object.c
|
|
|
|
oid.c
|
|
|
|
proplist.c
|
|
|
|
protectdata.c
|
|
|
|
provstore.c
|
|
|
|
regstore.c
|
|
|
|
rootstore.c
|
|
|
|
serialize.c
|
|
|
|
sip.c
|
|
|
|
store.c
|
|
|
|
str.c
|
2014-02-10 12:19:56 +00:00
|
|
|
crypt32_private.h)
|
|
|
|
|
|
|
|
add_library(crypt32 SHARED
|
|
|
|
${SOURCE}
|
|
|
|
crypt32.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
|
|
|
|
|
|
|
|
set_module_type(crypt32 win32dll)
|
2012-02-20 22:08:14 +00:00
|
|
|
target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
|
2014-06-08 12:45:39 +00:00
|
|
|
add_importlibs(crypt32 user32 advapi32 shlwapi msvcrt kernel32 ntdll)
|
2014-04-22 15:10:43 +00:00
|
|
|
add_delay_importlibs(crypt32 cryptnet)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(crypt32 crypt32_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)
|