2011-05-16 13:12:07 +00:00
|
|
|
|
2015-02-23 22:55:43 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-02-23 22:55:43 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(netapi32.dll netapi32.spec ADD_IMPORTLIB)
|
2015-03-01 15:41:11 +00:00
|
|
|
add_rpc_files(client
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/atsvc.idl
|
2017-06-14 13:10:36 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/browser.idl
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/dssetup.idl
|
2017-06-26 22:08:37 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/netlogon.idl
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/srvsvc.idl
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/wkssvc.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
apibuf.c
|
2017-06-14 12:17:08 +00:00
|
|
|
browser.c
|
2017-09-26 07:32:49 +00:00
|
|
|
display.c
|
2015-03-01 15:41:11 +00:00
|
|
|
dssetup.c
|
2012-12-22 20:11:43 +00:00
|
|
|
group.c
|
2011-05-16 13:12:07 +00:00
|
|
|
local_group.c
|
2017-09-26 09:03:27 +00:00
|
|
|
misc.c
|
2011-05-16 13:12:07 +00:00
|
|
|
nbcmdqueue.c
|
|
|
|
nbnamecache.c
|
|
|
|
nbt.c
|
|
|
|
netapi32.c
|
|
|
|
netbios.c
|
2017-06-24 16:42:21 +00:00
|
|
|
netlogon.c
|
2017-06-08 00:30:49 +00:00
|
|
|
obsolete.c
|
2015-03-22 21:57:55 +00:00
|
|
|
schedule.c
|
2015-04-14 21:47:06 +00:00
|
|
|
srvsvc.c
|
2012-12-22 20:11:43 +00:00
|
|
|
user.c
|
2017-09-26 07:51:56 +00:00
|
|
|
utils.c
|
2011-05-16 13:12:07 +00:00
|
|
|
wksta.c
|
2015-02-23 22:55:43 +00:00
|
|
|
wksta_new.c
|
|
|
|
netapi32.h
|
2015-03-22 21:57:55 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/atsvc_c.c
|
2017-06-14 13:10:36 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/browser_c.c
|
2015-03-01 15:41:11 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dssetup_c.c
|
2017-06-26 22:08:37 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netlogon_c.c
|
2015-04-14 21:47:06 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/srvsvc_c.c
|
2015-02-23 22:55:43 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wkssvc_c.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(netapi32 SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netapi32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
|
|
|
|
|
|
|
|
set_module_type(netapi32 win32dll)
|
2015-02-23 22:55:43 +00:00
|
|
|
target_link_libraries(netapi32 wine ${PSEH_LIB})
|
2013-06-30 13:02:45 +00:00
|
|
|
add_delay_importlibs(netapi32 samlib secur32)
|
2016-03-27 15:14:32 +00:00
|
|
|
add_importlibs(netapi32 iphlpapi ws2_32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(netapi32 netapi32.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET netapi32 DESTINATION reactos/system32 FOR all)
|