* Addendum to r57181. By Hermès Bélusca.
svn path=/trunk/; revision=57210
add_subdirectory(ntdll)
add_subdirectory(powrprof)
add_subdirectory(user32)
add_subdirectory(ntdll)
add_subdirectory(powrprof)
add_subdirectory(user32)
-if(NOT MSVC AND ARCH MATCHES i386)
+if(NOT MSVC AND ARCH STREQUAL "i386")
add_subdirectory(w32kdll)
add_subdirectory(w32knapi)
endif()
add_subdirectory(w32kdll)
add_subdirectory(w32knapi)
endif()
+if(ARCH STREQUAL "i386")
list(APPEND SOURCE_CRTDLL
# _CIpow.c
# _ftol.c
list(APPEND SOURCE_CRTDLL
# _CIpow.c
# _ftol.c
# _aullshr.c
# _chkstk.c
)
# _aullshr.c
# _chkstk.c
)
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
list(APPEND SOURCE_CRTDLL
# __C_specific_handler
# _setjmp.c
list(APPEND SOURCE_CRTDLL
# __C_specific_handler
# _setjmp.c
+if(ARCH STREQUAL "i386")
list(APPEND SOURCE_MSVCRT
# _CIacos.c
# _CIasin.c
list(APPEND SOURCE_MSVCRT
# _CIacos.c
# _CIasin.c
# _seh_longjmp_unwind.c
# -norelay _setjmp3.c
)
# _seh_longjmp_unwind.c
# -norelay _setjmp3.c
)
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
list(APPEND SOURCE_MSVCRT
# __C_specific_handler
# _setjmp.c
list(APPEND SOURCE_MSVCRT
# __C_specific_handler
# _setjmp.c
+if(ARCH STREQUAL "i386")
list(APPEND SOURCE_NTDLL
# _CIpow.c
# _ftol.c
list(APPEND SOURCE_NTDLL
# _CIpow.c
# _ftol.c
# _aullshr.c
# _chkstk.c
)
# _aullshr.c
# _chkstk.c
)
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
list(APPEND SOURCE_NTDLL
# __C_specific_handler
# _setjmp.c
list(APPEND SOURCE_NTDLL
# __C_specific_handler
# _setjmp.c
+if(ARCH STREQUAL "i386")
list(APPEND SOURCE i386/ZwContinue.S)
endif()
list(APPEND SOURCE i386/ZwContinue.S)
endif()