1
2list(APPEND SOURCE_NTDLL
3#    _CIcos.c
4#    _CIlog.c
5#    _CIsin.c
6#    _CIsqrt.c
7#    __isascii.c
8#    __iscsym.c
9#    __iscsymf.c
10#    __toascii.c
11#    _atoi64.c
12#    _fltused.c
13#    _i64toa.c
14#    _i64tow.c
15#    _itoa.c
16#    _itow.c
17#    _lfind.c
18#    _ltoa.c
19#    _ltow.c
20#    _memccpy.c
21#    _memicmp.c
22    _snprintf.c
23    _snwprintf.c
24#    _splitpath.c
25    # _strcmpi == _stricmp
26#    _stricmp.c
27#    _strlwr.c
28#    _strnicmp.c
29#    _strupr.c
30#    _tolower.c
31#    _toupper.c
32#    _ui64toa.c
33#    _ui64tow.c
34#    _ultoa.c
35#    _ultow.c
36    _vscwprintf.c
37    _vsnprintf.c
38    _vsnwprintf.c
39#    _wcsicmp.c
40#    _wcslwr.c
41#    _wcsnicmp.c
42#    _wcsupr.c
43#    _wtoi.c
44#    _wtoi64.c
45#    _wtol.c
46#    abs.c
47#    atan.c
48#    atoi.c
49#    atol.c
50#    bsearch.c
51#    ceil.c
52#    cos.c
53#    fabs.c
54#    floor.c
55#    isalnum.c
56#    isalpha.c
57#    iscntrl.c
58#    isdigit.c
59#    isgraph.c
60#    islower.c
61#    isprint.c
62#    ispunct.c
63#    isspace.c
64#    isupper.c
65#    iswalpha.c
66#    iswctype.c
67#    iswdigit.c
68#    iswlower.c
69#    iswspace.c
70#    iswxdigit.c
71#    isxdigit.c
72#    labs.c
73#    log.c
74    mbstowcs.c
75#    memchr.c
76#    memcmp.c
77    # memcpy == memmove
78#    memmove.c
79#    memset.c
80#    pow.c
81#    qsort.c
82#    sin.c
83    sprintf.c
84#    sqrt.c
85#    sscanf.c
86#    strcat.c
87#    strchr.c
88#    strcmp.c
89    strcpy.c
90#    strcspn.c
91    strlen.c
92#    strncat.c
93#    strncmp.c
94#    strncpy.c
95#    strpbrk.c
96#    strrchr.c
97#    strspn.c
98#    strstr.c
99#    strtol.c
100    strtoul.c
101#    swprintf.c
102#    tan.c
103#    tolower.c
104#    toupper.c
105#    towlower.c
106#    towupper.c
107#    vsprintf.c
108#    wcscat.c
109#    wcschr.c
110#    wcscmp.c
111#    wcscpy.c
112#    wcscspn.c
113#    wcslen.c
114#    wcsncat.c
115#    wcsncmp.c
116#    wcsncpy.c
117#    wcspbrk.c
118#    wcsrchr.c
119#    wcsspn.c
120#    wcsstr.c
121#    wcstok.c
122#    wcstol.c
123    wcstombs.c
124    wcstoul.c
125)
126
127if(ARCH STREQUAL "i386")
128    list(APPEND SOURCE_NTDLL
129    #    _CIpow.c
130    #    _ftol.c
131    #    _alldiv.c
132    #    _alldvrm.c
133    #    _allmul.c
134    #    _allrem.c
135    #    _allshl.c
136    #    _allshr.c
137    #    _alloca_probe.c
138    #    _aulldiv.c
139    #    _aulldvrm.c
140    #    _aullrem.c
141    #    _aullshr.c
142    #    _chkstk.c
143    )
144elseif(ARCH STREQUAL "amd64")
145    list(APPEND SOURCE_NTDLL
146    #    __C_specific_handler
147    #    _setjmp.c
148    #    _setjmpex.c
149    #    _local_unwind.c
150    #    longjmp.c
151    )
152endif()
153
154add_executable(ntdll_crt_apitest testlist.c ${SOURCE_NTDLL})
155add_target_compile_definitions(ntdll_crt_apitest TEST_NTDLL)
156target_link_libraries(ntdll_crt_apitest wine ${PSEH_LIB})
157set_module_type(ntdll_crt_apitest win32cui)
158add_importlibs(ntdll_crt_apitest ntdll msvcrt kernel32)
159add_rostests_file(TARGET ntdll_crt_apitest)
160