2012-04-18 17:21:18 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE_NTDLL
|
|
|
|
# _CIcos.c
|
|
|
|
# _CIlog.c
|
|
|
|
# _CIsin.c
|
|
|
|
# _CIsqrt.c
|
|
|
|
# __isascii.c
|
|
|
|
# __iscsym.c
|
|
|
|
# __iscsymf.c
|
|
|
|
# __toascii.c
|
|
|
|
# _atoi64.c
|
|
|
|
# _fltused.c
|
|
|
|
# _i64toa.c
|
|
|
|
# _i64tow.c
|
|
|
|
# _itoa.c
|
|
|
|
# _itow.c
|
|
|
|
# _lfind.c
|
|
|
|
# _ltoa.c
|
|
|
|
# _ltow.c
|
|
|
|
# _memccpy.c
|
|
|
|
# _memicmp.c
|
2015-12-28 15:24:47 +00:00
|
|
|
_snprintf.c
|
|
|
|
_snwprintf.c
|
2012-04-18 17:21:18 +00:00
|
|
|
# _splitpath.c
|
|
|
|
# _strcmpi == _stricmp
|
|
|
|
# _stricmp.c
|
|
|
|
# _strlwr.c
|
|
|
|
# _strnicmp.c
|
|
|
|
# _strupr.c
|
|
|
|
# _tolower.c
|
|
|
|
# _toupper.c
|
|
|
|
# _ui64toa.c
|
|
|
|
# _ui64tow.c
|
|
|
|
# _ultoa.c
|
|
|
|
# _ultow.c
|
2012-07-21 20:00:56 +00:00
|
|
|
_vscwprintf.c
|
2012-07-21 17:15:08 +00:00
|
|
|
_vsnprintf.c
|
2012-07-21 20:00:56 +00:00
|
|
|
_vsnwprintf.c
|
2012-04-18 17:21:18 +00:00
|
|
|
# _wcsicmp.c
|
|
|
|
# _wcslwr.c
|
|
|
|
# _wcsnicmp.c
|
|
|
|
# _wcsupr.c
|
|
|
|
# _wtoi.c
|
|
|
|
# _wtoi64.c
|
|
|
|
# _wtol.c
|
|
|
|
# abs.c
|
|
|
|
# atan.c
|
|
|
|
# atoi.c
|
|
|
|
# atol.c
|
|
|
|
# bsearch.c
|
|
|
|
# ceil.c
|
|
|
|
# cos.c
|
|
|
|
# fabs.c
|
|
|
|
# floor.c
|
|
|
|
# isalnum.c
|
|
|
|
# isalpha.c
|
|
|
|
# iscntrl.c
|
|
|
|
# isdigit.c
|
|
|
|
# isgraph.c
|
|
|
|
# islower.c
|
|
|
|
# isprint.c
|
|
|
|
# ispunct.c
|
|
|
|
# isspace.c
|
|
|
|
# isupper.c
|
|
|
|
# iswalpha.c
|
|
|
|
# iswctype.c
|
|
|
|
# iswdigit.c
|
|
|
|
# iswlower.c
|
|
|
|
# iswspace.c
|
|
|
|
# iswxdigit.c
|
|
|
|
# isxdigit.c
|
|
|
|
# labs.c
|
|
|
|
# log.c
|
2015-10-24 23:18:33 +00:00
|
|
|
mbstowcs.c
|
2020-04-26 10:18:41 +00:00
|
|
|
mbtowc.c
|
2012-04-18 17:21:18 +00:00
|
|
|
# memchr.c
|
|
|
|
# memcmp.c
|
|
|
|
# memcpy == memmove
|
|
|
|
# memmove.c
|
|
|
|
# memset.c
|
|
|
|
# pow.c
|
|
|
|
# qsort.c
|
|
|
|
# sin.c
|
2012-07-04 17:33:56 +00:00
|
|
|
sprintf.c
|
2012-04-18 17:21:18 +00:00
|
|
|
# sqrt.c
|
|
|
|
# sscanf.c
|
|
|
|
# strcat.c
|
|
|
|
# strchr.c
|
|
|
|
# strcmp.c
|
|
|
|
strcpy.c
|
|
|
|
# strcspn.c
|
2015-12-26 19:20:54 +00:00
|
|
|
strlen.c
|
2012-04-18 17:21:18 +00:00
|
|
|
# strncat.c
|
|
|
|
# strncmp.c
|
|
|
|
# strncpy.c
|
|
|
|
# strpbrk.c
|
|
|
|
# strrchr.c
|
|
|
|
# strspn.c
|
|
|
|
# strstr.c
|
|
|
|
# strtol.c
|
2015-12-28 15:24:47 +00:00
|
|
|
strtoul.c
|
2012-04-18 17:21:18 +00:00
|
|
|
# swprintf.c
|
|
|
|
# tan.c
|
|
|
|
# tolower.c
|
|
|
|
# toupper.c
|
|
|
|
# towlower.c
|
|
|
|
# towupper.c
|
|
|
|
# vsprintf.c
|
|
|
|
# wcscat.c
|
|
|
|
# wcschr.c
|
|
|
|
# wcscmp.c
|
|
|
|
# wcscpy.c
|
|
|
|
# wcscspn.c
|
|
|
|
# wcslen.c
|
|
|
|
# wcsncat.c
|
|
|
|
# wcsncmp.c
|
|
|
|
# wcsncpy.c
|
|
|
|
# wcspbrk.c
|
|
|
|
# wcsrchr.c
|
|
|
|
# wcsspn.c
|
|
|
|
# wcsstr.c
|
|
|
|
# wcstok.c
|
|
|
|
# wcstol.c
|
2015-10-24 23:18:33 +00:00
|
|
|
wcstombs.c
|
2015-12-28 15:24:47 +00:00
|
|
|
wcstoul.c
|
2020-05-01 14:01:11 +00:00
|
|
|
wctomb.c
|
2012-04-18 17:21:18 +00:00
|
|
|
)
|
|
|
|
|
2012-09-01 11:35:12 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
2012-04-18 17:21:18 +00:00
|
|
|
list(APPEND SOURCE_NTDLL
|
|
|
|
# _CIpow.c
|
|
|
|
# _ftol.c
|
|
|
|
# _alldiv.c
|
|
|
|
# _alldvrm.c
|
|
|
|
# _allmul.c
|
|
|
|
# _allrem.c
|
|
|
|
# _allshl.c
|
|
|
|
# _allshr.c
|
|
|
|
# _alloca_probe.c
|
|
|
|
# _aulldiv.c
|
|
|
|
# _aulldvrm.c
|
|
|
|
# _aullrem.c
|
|
|
|
# _aullshr.c
|
|
|
|
# _chkstk.c
|
|
|
|
)
|
2012-09-01 11:35:12 +00:00
|
|
|
elseif(ARCH STREQUAL "amd64")
|
2012-04-18 17:21:18 +00:00
|
|
|
list(APPEND SOURCE_NTDLL
|
|
|
|
# __C_specific_handler
|
|
|
|
# _setjmp.c
|
|
|
|
# _setjmpex.c
|
|
|
|
# _local_unwind.c
|
|
|
|
# longjmp.c
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(ntdll_crt_apitest testlist.c ${SOURCE_NTDLL})
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_definitions(ntdll_crt_apitest PRIVATE TEST_NTDLL)
|
2012-04-18 17:21:18 +00:00
|
|
|
target_link_libraries(ntdll_crt_apitest wine ${PSEH_LIB})
|
|
|
|
set_module_type(ntdll_crt_apitest win32cui)
|
2012-07-04 17:04:44 +00:00
|
|
|
add_importlibs(ntdll_crt_apitest ntdll msvcrt kernel32)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET ntdll_crt_apitest)
|