2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
2011-05-16 13:12:07 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/dll/win32/dhcpcsvc/include
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/tdilib)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(iphlpapi.dll iphlpapi.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-04-28 09:28:24 +00:00
|
|
|
add_definitions(
|
|
|
|
-DGetAdaptersAddressesV2
|
|
|
|
-D_CRT_NO_POSIX_ERROR_CODES)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
2014-11-03 12:55:59 +00:00
|
|
|
address.c
|
2011-05-16 13:12:07 +00:00
|
|
|
dhcp_reactos.c
|
2015-12-04 10:57:44 +00:00
|
|
|
icmp.c
|
2011-05-16 13:12:07 +00:00
|
|
|
ifenum_reactos.c
|
|
|
|
ipstats_reactos.c
|
2015-11-22 14:47:42 +00:00
|
|
|
iphlpapi_reactos.c
|
2011-05-16 13:12:07 +00:00
|
|
|
iphlpapi_main.c
|
|
|
|
media.c
|
|
|
|
registry.c
|
|
|
|
resinfo_reactos.c
|
|
|
|
route_reactos.c
|
2014-02-10 12:19:56 +00:00
|
|
|
iphlpapi_private.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/iphlpapi_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(iphlpapi MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
iphlpapi.rc
|
2019-02-09 12:23:47 +00:00
|
|
|
iphlpapi_fakestubs.c
|
|
|
|
iphlpapi.spec
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/iphlpapi.def)
|
|
|
|
|
2015-11-04 18:06:16 +00:00
|
|
|
set_module_type(iphlpapi win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(iphlpapi wine tdilib)
|
2018-11-29 19:28:06 +00:00
|
|
|
add_importlibs(iphlpapi dhcpcsvc advapi32 psapi ws2_32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(iphlpapi iphlpapi_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET iphlpapi DESTINATION reactos/system32 FOR all)
|