- Delete an unneeded lib.mak
- Don't build bin2c, we don't seem to need it.
- A minor cleanup, no functionality change intended.

svn path=/branches/cmake-bringup/; revision=50308
This commit is contained in:
Amine Khaldi 2011-01-07 12:11:46 +00:00
parent 24511aea48
commit a0cb4ff5eb
20 changed files with 326 additions and 348 deletions

View file

@ -66,39 +66,38 @@ list(APPEND SOURCE
workitem.c)
if(ARCH MATCHES i386)
list(APPEND SOURCE
i386/debug_asm.S
i386/except_asm.s
i386/except.c
i386/interlck.S
i386/rtlmem.s
i386/res_asm.s
i386/thread.c)
list(APPEND SOURCE
i386/debug_asm.S
i386/except_asm.s
i386/except.c
i386/interlck.S
i386/rtlmem.s
i386/res_asm.s
i386/thread.c)
elseif(ARCH MATCHES amd64)
list(APPEND SOURCE
amd64/debug_asm.S
amd64/except_asm.S
amd64/slist.S
amd64/unwind.c
amd64/stubs.c
mem.c
memgen.c)
list(APPEND SOURCE
amd64/debug_asm.S
amd64/except_asm.S
amd64/slist.S
amd64/unwind.c
amd64/stubs.c
mem.c
memgen.c)
elseif(ARCH MATCHES arm)
list(APPEND SOURCE
arm/debug_asm.S
mem.c
memgen.c)
list(APPEND SOURCE
arm/debug_asm.S
mem.c
memgen.c)
elseif(ARCH MATCHES powerpc)
list(APPEND SOURCE
powerpc/debug.c
powerpc/except.c
powerpc/interlocked.c
powerpc/rtlmem.s
powerpc/rtlswap.s
powerpc/thread.c)
endif(ARCH MATCHES i386)
list(APPEND SOURCE
powerpc/debug.c
powerpc/except.c
powerpc/interlocked.c
powerpc/rtlmem.s
powerpc/rtlswap.s
powerpc/thread.c)
endif()
add_library(rtl ${CMAKE_CURRENT_BINARY_DIR}/rtl_rtl.h.gch ${SOURCE})
add_pch(rtl ${CMAKE_CURRENT_SOURCE_DIR}/rtl.h ${SOURCE})
add_dependencies(rtl psdk asm)