- Fix more modules.

svn path=/branches/cmake-bringup/; revision=49811
This commit is contained in:
Amine Khaldi 2010-11-27 09:00:22 +00:00
parent 4e1f5725ff
commit eb8df6a835
30 changed files with 40 additions and 26 deletions

View file

@ -1,12 +1,13 @@
add_definitions(-D_NOTIFYHOOK_IMPL)
add_library(notifyhook SHARED notifyhook.c ${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.rc)
add_library(notifyhook SHARED
notifyhook.c
notifyhook.rc
notifyhook.def)
set_module_type(notifyhook win32dll)
target_link_libraries(notifyhook
${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.def
-lkernel32
-luser32)
add_importlibs(notifyhook user32 msvcrt kernel32)
add_cab_target(notifyhook 1)
add_cab_target(notifyhook 1)

View file

@ -10,6 +10,7 @@ set_module_type(ncpa cpl)
add_importlibs(ncpa
msvcrt
advapi32
shell32)
shell32
kernel32)
add_cab_target(ncpa 1)

View file

@ -7,5 +7,5 @@ add_library(odbccp32i SHARED odbccp32.c odbccp32.rc ${CMAKE_CURRENT_BINARY_DIR}/
set_module_type(odbccp32i cpl)
add_importlibs(odbccp32i user32 comctl32 kernel32)
add_importlibs(odbccp32i user32 comctl32 msvcrt kernel32)
add_cab_target(odbccp32i 1)

View file

@ -15,6 +15,7 @@ add_importlibs(telephon
comctl32
ole32
shell32
msvcrt
kernel32)
add_cab_target(telephon 1)

View file

@ -26,6 +26,7 @@ target_link_libraries(amstream
add_importlibs(amstream
ole32
advapi32
msvcrt
kernel32
ntdll)

View file

@ -30,6 +30,7 @@ add_importlibs(devenum
winmm
user32
avicap32
msvcrt
kernel32
ntdll)

View file

@ -32,6 +32,7 @@ add_importlibs(dinput
advapi32
ole32
winmm
msvcrt
kernel32
ntdll)

View file

@ -23,6 +23,7 @@ add_importlibs(dxdiagn
advapi32
ole32
oleaut32
msvcrt
kernel32
ntdll)

View file

@ -5,6 +5,6 @@ add_library(ksuser SHARED ksuser.c ksuser.rc ${CMAKE_CURRENT_BINARY_DIR}/ksuser.
set_module_type(ksuser win32dll)
add_importlibs(ksuser advapi32 kernel32 ntdll)
add_importlibs(ksuser advapi32 msvcrt kernel32 ntdll)
add_dependencies(ksuser psdk bugcodes)
add_cab_target(ksuser 1)

View file

@ -25,6 +25,8 @@ add_library(crtdll SHARED
set_module_type(crtdll win32dll)
set_entrypoint(crtdll DllMain@12)
target_link_libraries(crtdll
wine
crt)

View file

@ -113,6 +113,7 @@ add_library(kernel32 SHARED
${SOURCE})
set_module_type(kernel32 win32dll)
set_entrypoint(kernel32 DllMain@12)
target_link_libraries(kernel32 ${PSEH_LIB})

View file

@ -26,8 +26,11 @@ add_library(msvcrt SHARED
if (NOT MSVC)
set_target_properties(msvcrt PROPERTIES LINK_FLAGS "-u __seh_longjmp_unwind@4")
endif()
set_module_type(msvcrt win32dll)
set_entrypoint(msvcrt DllMain@12)
target_link_libraries(msvcrt
crt
wine

View file

@ -17,7 +17,7 @@ set_module_type(msvfw32 win32dll)
target_link_libraries(msvfw32 wine)
add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 kernel32 ntdll)
add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
add_cab_target(msvfw32 1)
add_importlib_target(msvfw32.spec)

View file

@ -11,7 +11,7 @@ add_library(sfc_os SHARED
set_module_type(sfc_os win32dll)
add_importlibs(sfc_os kernel32 ntdll)
add_importlibs(sfc_os msvcrt kernel32 ntdll)
add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(sfc_os 1)

View file

@ -13,6 +13,7 @@ add_importlibs(shimgvw
user32
gdi32
gdiplus
msvcrt
kernel32
ntdll)

View file

@ -12,6 +12,6 @@ set_module_type(traffic win32dll)
target_link_libraries(traffic wine)
add_importlibs(traffic kernel32 ntdll)
add_importlibs(traffic msvcrt kernel32 ntdll)
add_dependencies(traffic psdk buildno_header)
add_cab_target(traffic 1)

View file

@ -9,6 +9,6 @@ set_module_type(ufat win32dll)
target_link_libraries(ufat vfatlib)
add_importlibs(ufat kernel32 ntdll)
add_importlibs(ufat msvcrt kernel32 ntdll)
add_cab_target(ufat 1)

View file

@ -9,6 +9,6 @@ set_module_type(untfs win32dll)
target_link_libraries(untfs ntfslib)
add_importlibs(untfs kernel32 ntdll)
add_importlibs(untfs msvcrt kernel32 ntdll)
add_cab_target(untfs 1)

View file

@ -82,7 +82,7 @@ target_link_libraries(user32
${PSEH_LIB})
add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE})
add_importlibs(user32 gdi32 advapi32 imm32 kernel32 ntdll)
add_importlibs(user32 gdi32 advapi32 imm32 msvcrt kernel32 ntdll)
add_cab_target(user32 1)
add_importlib_target(user32.spec)

View file

@ -22,7 +22,7 @@ set_module_type(userenv win32dll)
target_link_libraries(userenv uuid)
add_importlibs(userenv advapi32 user32 kernel32 ntdll)
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(userenv 1)

View file

@ -13,7 +13,7 @@ add_library(vdmdbg SHARED
set_module_type(vdmdbg win32dll)
add_importlibs(vdmdbg kernel32 ntdll)
add_importlibs(vdmdbg msvcrt kernel32 ntdll)
add_pch(vdmdbg ${CMAKE_CURRENT_SOURCE_DIR}/vdmdbg.h ${SOURCE})
add_cab_target(vdmdbg 1)

View file

@ -32,6 +32,6 @@ set_module_type(wldap32 win32dll)
target_link_libraries(wldap32 wine)
add_importlibs(wldap32 user32 kernel32 ntdll)
add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
add_cab_target(wldap32 1)

View file

@ -53,6 +53,6 @@ set_module_type(ws2_32_new win32dll)
target_link_libraries(ws2_32_new wine)
add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help kernel32 ntdll)
add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
add_cab_target(ws2_32_new 1)

View file

@ -13,7 +13,7 @@ add_library(ws2help SHARED
set_module_type(ws2help win32dll)
add_importlibs(ws2help advapi32 ws2_32 kernel32 ntdll)
add_importlibs(ws2help advapi32 ws2_32 msvcrt kernel32 ntdll)
add_cab_target(ws2help 1)
add_importlib_target(ws2help.spec)

View file

@ -26,6 +26,6 @@ target_link_libraries(wuapi
wine
uuid)
add_importlibs(wuapi ole32 advapi32 kernel32 ntdll)
add_importlibs(wuapi ole32 advapi32 msvcrt kernel32 ntdll)
add_cab_target(wuapi 1)

View file

@ -10,6 +10,6 @@ endif()
set_module_type(xinput1_1 win32dll)
add_importlibs(xinput1_1 kernel32)
add_importlibs(xinput1_1 msvcrt kernel32)
add_cab_target(xinput1_1 1)

View file

@ -8,7 +8,7 @@ if(NOT MSVC)
set_source_files_properties(xinput1_2.def PROPERTIES EXTERNAL_OBJECT TRUE)
endif()
add_importlibs(xinput1_2 kernel32)
add_importlibs(xinput1_2 msvcrt kernel32)
set_module_type(xinput1_2 win32dll)

View file

@ -8,7 +8,7 @@ if(NOT MSVC)
set_source_files_properties(xinput9_1_0.def PROPERTIES EXTERNAL_OBJECT TRUE)
endif()
add_importlibs(xinput9_1_0 kernel32)
add_importlibs(xinput9_1_0 msvcrt kernel32)
set_module_type(xinput9_1_0 win32dll)

View file

@ -11,7 +11,7 @@ set_module_type(xmllite win32dll)
target_link_libraries(xmllite
wine)
add_importlibs(xmllite kernel32 ntdll)
add_importlibs(xmllite msvcrt kernel32 ntdll)
add_cab_target(xmllite 1)

View file

@ -36,7 +36,7 @@ target_link_libraries(win32csr
set_module_type(win32csr win32dll)
add_importlibs(win32csr user32 gdi32 advapi32 psapi kernel32 ntdll)
add_importlibs(win32csr user32 gdi32 advapi32 psapi msvcrt kernel32 ntdll)
add_pch(win32csr ${CMAKE_CURRENT_SOURCE_DIR}/w32csr.h ${SOURCE})